@overaihq/cli 0.11.2 → 0.13.0

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/README.md CHANGED
@@ -42,10 +42,18 @@ Clone includes accessible, non-archived descendants in nested
42
42
  filenames and the top-level clone directory stay unchanged.
43
43
 
44
44
  Commands use the nearest workspace folder: `cd` into a child to edit or sync it.
45
- `status`, `pull`, `push`, `deploy`, and `restore` still affect only that workspace,
46
- not its descendants. Pull does not discover new child workspaces. Clone those
47
- separately, or clone the parent into a fresh directory. Local file moves never
48
- move resources between workspaces in OverAI.
45
+ Add `--recursive` to `status`, `diff`, `pull`, or `push` to include its accessible,
46
+ non-archived descendants. Recursive pull discovers and clones new children;
47
+ existing folders match by workspace ID, so renames do not duplicate them.
48
+ Recursive commands check the live subtree, including diff. Output is grouped by
49
+ workspace; conflicts and failures exit nonzero while keeping successful work.
50
+ If a new child clone is interrupted, move its incomplete folder aside before
51
+ retrying; recursive pull never overwrites an existing destination.
52
+
53
+ Recursive push saves versions only and rejects `--deploy`. Deploy and restore
54
+ remain single-workspace. Missing, archived, moved-out, or inaccessible workspaces
55
+ are reported and kept locally, never deleted or pushed. Local file moves do not
56
+ move resources in OverAI; automatic relocation remains unsupported.
49
57
 
50
58
  Inside a clone, `workspace show` and `workspace users` infer the workspace id.
51
59
  `WORKSPACE.md` is the overview captured when the clone is created; use
@@ -370,12 +370,22 @@ var pageErrorPayloadSchema = external_exports.object({
370
370
  message: external_exports.string(),
371
371
  stack: external_exports.string().optional()
372
372
  });
373
+ var screenshotResultPayloadSchema = external_exports.object({
374
+ requestId: external_exports.string(),
375
+ error: external_exports.string().optional(),
376
+ mediaType: external_exports.string().optional(),
377
+ data: external_exports.string().optional(),
378
+ width: external_exports.number().optional(),
379
+ height: external_exports.number().optional()
380
+ });
373
381
 
374
382
  // ../common/src/webPage.ts
375
383
  var webPageLanguage = ["react"];
376
384
  var configFlag = external_exports.union([external_exports.boolean(), external_exports.string()]).nullish().transform((value) => value === true || value === "true").catch(false);
377
385
  var webPageConfigSchema = external_exports.object({
378
386
  language: external_exports.enum(["react"]).catch("react"),
387
+ /* Missing on legacy versions; invalid modes fail closed instead of granting workspace access. */
388
+ authorizationMode: external_exports.enum(["workspace", "viewer"]).default("workspace"),
379
389
  customTitle: external_exports.string().nullish(),
380
390
  code: external_exports.string().default(reactDefaultTemplate),
381
391
  dataSourceUrl: external_exports.string().nullish(),