Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import { describe, expect, it } from 'vitest'
import { AgentSkillShareRequestSchema } from './agent-skill-sharing-contract'
describe('agent skill sharing contract', () => {
it('accepts a Windows discovery cwd without assuming POSIX separators', () => {
expect(
AgentSkillShareRequestSchema.parse({
skillSelectors: ['alpha'],
bundleName: 'team-skills',
target: { cwd: 'C:\\Users\\alice\\repo' }
}).target?.cwd
).toBe('C:\\Users\\alice\\repo')
})
it('rejects arbitrary source paths and more than 512 explicit selectors', () => {
expect(
AgentSkillShareRequestSchema.parse({
skillSelectors: Array.from({ length: 512 }, (_, index) => `skill-${index}`),
bundleName: 'team-skills'
}).skillSelectors
).toHaveLength(512)
expect(
AgentSkillShareRequestSchema.safeParse({
skillSelectors: ['alpha'],
bundleName: 'team-skills',
sourceDirectory: '/private/skill'
}).success
).toBe(false)
expect(
AgentSkillShareRequestSchema.safeParse({
skillSelectors: Array.from({ length: 513 }, (_, index) => `skill-${index}`),
bundleName: 'team-skills'
}).success
).toBe(false)
})
})