@overaihq/cli 0.1.0 → 0.3.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
@@ -1,7 +1,7 @@
1
1
  # OverAI CLI
2
2
 
3
3
  Work on [OverAI](https://overai.com) workspaces from the command line: clone
4
- automations, web pages, functions, and tablespaces as local files, edit them
4
+ authored resources as local files, edit them
5
5
  with any editor or AI coding agent, then push and deploy new versions.
6
6
 
7
7
  ## Install
@@ -12,17 +12,21 @@ npm install -g @overaihq/cli # or: pnpm add -g @overaihq/cli
12
12
  overai update # later, update a global install in place
13
13
  ```
14
14
 
15
- Requires Node.js 22+.
16
-
17
15
  ## Quick start
18
16
 
19
17
  ```sh
20
- overai signin # browser sign-in
21
- overai clone <workspaceId> # materialize a workspace as files
18
+ overai signin # browser sign-in; choose your organization for SSO
19
+ overai workspace list # find a workspace id
20
+ overai workspace show <id> # read its name and overview
21
+ overai workspace users <id> # list users and direct/inherited roles
22
+ overai create agent --workspace <id> --name "Support agent"
23
+ overai clone <workspaceId> # materialize resources and WORKSPACE.md
22
24
  # ...edit files...
23
25
  overai status # local edits + remote drift
24
26
  overai diff # what changed
25
27
  overai review # validation + best-practice review packet
28
+ overai report bug "<details>" # report broken or unexplained behavior
29
+ overai report feature "<details>" # request a missing platform capability
26
30
  overai push -m "why" # create new versions (not live yet)
27
31
  overai deploy # make the pushed versions live
28
32
  ```
@@ -32,6 +36,34 @@ Run `overai help` for the full command list, including function invocation,
32
36
  automation runs and per-node state, tablespace SQL (a psql-style REPL), and
33
37
  `overai dev` for live-previewing a web page from local files.
34
38
 
39
+ Inside a clone, `workspace show` and `workspace users` infer the workspace id.
40
+ `WORKSPACE.md` is the overview captured when the clone is created; use
41
+ `workspace show` when you need the current server value.
42
+
43
+ `overai create` supports workspaces, automations, functions, web pages,
44
+ printable pages, agents, integrations, TableSpaces, data streams, data files,
45
+ and action runners. `resource show|update <id>` handles their mutable metadata.
46
+ Versioned automations, functions, pages, and agents are edited through
47
+ clone/push/deploy. Runtime commands include `agent generate`, `data-stream
48
+ append|query`, `data-file upload|download|head`, `integration configure|config`,
49
+ and `printable-page render`; `overai help` shows their arguments.
50
+
51
+ ## Passing queries, JSON, and scripts
52
+
53
+ Arguments that carry a whole document rather than a scalar also accept `@<file>`
54
+ to read it from disk, or `@-` to read it from stdin:
55
+
56
+ ```sh
57
+ overai graphql -q @mutation.graphql --variables @vars.json
58
+ overai sql <tableSpaceId> @report.sql
59
+ overai runner run <runnerId> --interpreter powershell --code @collect.ps1
60
+ ```
61
+
62
+ Prefer this for anything long or quote-heavy. An inline value is parsed by your
63
+ shell first, and a single apostrophe inside it closes the quoting — the rest of
64
+ the blob is then read as shell source, which mangles it silently. Write `@@` to
65
+ send a literal value that starts with `@`.
66
+
35
67
  ## For AI agents
36
68
 
37
69
  The CLI bundles its own guidance — no extra setup files needed. Point your
@@ -41,3 +73,8 @@ agent at a cloned workspace and have it run:
41
73
  overai best-practices # platform + per-resource-type guides
42
74
  overai review # before every push
43
75
  ```
76
+
77
+ When platform behavior blocks progress, agents can send detailed feedback with
78
+ `overai report bug -` or `overai report feature -` and the report body on stdin.
79
+ Reports include CLI, runtime, organization, and cloned-workspace identifiers,
80
+ but never files, diffs, environment variables, paths, or command history.