@octonodes/cli 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octonodes/cli",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Octonode API and plugin development CLI.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -21,7 +21,7 @@
21
21
  "prepack": "tsc -b"
22
22
  },
23
23
  "dependencies": {
24
- "@octonodes/sdk": "0.1.10",
24
+ "@octonodes/sdk": "0.1.11",
25
25
  "@supabase/supabase-js": "2.107.0",
26
26
  "esbuild": "0.28.1",
27
27
  "tar": "7.5.22",
@@ -2222,8 +2222,10 @@ var require_collaboration = __commonJS({
2222
2222
  projectId: zod_1.z.string().trim().min(1).max(128),
2223
2223
  projectIds: zod_1.z.array(zod_1.z.string().trim().min(1).max(128)).min(1).max(100).refine((ids) => new Set(ids).size === ids.length, "projectIds must be unique").optional(),
2224
2224
  name: zod_1.z.string().trim().min(1).max(80).optional(),
2225
+ worktreeId: zod_1.z.string().uuid().optional(),
2226
+ mode: zod_1.z.enum(["full", "quick"]).optional(),
2225
2227
  clientMutationId: exports2.idempotencyKeySchema
2226
- }).strict().refine(({ projectId, projectIds }) => !projectIds || projectIds[0] === projectId, "projectId must be the first projectIds entry");
2228
+ }).strict().refine(({ projectId, projectIds, worktreeId }) => (!projectIds || projectIds[0] === projectId) && (!worktreeId || !projectIds || projectIds.length === 1), "projectId must be first and checkout sessions require one project");
2227
2229
  exports2.assistantSessionSortSchema = zod_1.z.enum(["activity", "created", "name"]);
2228
2230
  exports2.assistantSessionOrderSchema = zod_1.z.enum(["asc", "desc"]);
2229
2231
  exports2.assistantSessionListQuerySchema = zod_1.z.object({