@overaihq/cli 0.2.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 +17 -2
- package/dist/{chunk-UMCJCOZX.js → chunk-6YTIPJTD.js} +1 -1
- package/dist/chunk-U67V476Y.js +35 -0
- package/dist/chunk-WGPBYGU6.js +12 -0
- package/dist/{webPage-FN3A45OT.js → chunk-XGGDXRQI.js} +5 -4
- package/dist/esm-7L3WA75V.js +21402 -0
- package/dist/index.js +19129 -1114
- package/dist/{types-7F2H2ASS.js → types-6UYJVF36.js} +5 -11
- package/dist/webPage-UHT5X2WK.js +14 -0
- package/package.json +4 -3
- package/dist/chunk-MLKGABMK.js +0 -9
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
|
-
|
|
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
|
|
@@ -17,7 +17,10 @@ overai update # later, update a global install in place
|
|
|
17
17
|
```sh
|
|
18
18
|
overai signin # browser sign-in; choose your organization for SSO
|
|
19
19
|
overai workspace list # find a workspace id
|
|
20
|
-
overai
|
|
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
|
|
21
24
|
# ...edit files...
|
|
22
25
|
overai status # local edits + remote drift
|
|
23
26
|
overai diff # what changed
|
|
@@ -33,6 +36,18 @@ Run `overai help` for the full command list, including function invocation,
|
|
|
33
36
|
automation runs and per-node state, tablespace SQL (a psql-style REPL), and
|
|
34
37
|
`overai dev` for live-previewing a web page from local files.
|
|
35
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
|
+
|
|
36
51
|
## Passing queries, JSON, and scripts
|
|
37
52
|
|
|
38
53
|
Arguments that carry a whole document rather than a scalar also accept `@<file>`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
8
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
9
|
+
};
|
|
10
|
+
var __export = (target, all) => {
|
|
11
|
+
for (var name in all)
|
|
12
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
13
|
+
};
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from))
|
|
17
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
18
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
24
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
25
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
28
|
+
mod
|
|
29
|
+
));
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
__commonJS,
|
|
33
|
+
__export,
|
|
34
|
+
__toESM
|
|
35
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
external_exports
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-MLKGABMK.js";
|
|
3
|
+
} from "./chunk-6YTIPJTD.js";
|
|
5
4
|
|
|
6
5
|
// ../common/src/types/value-type.ts
|
|
7
6
|
var TypeEnum = /* @__PURE__ */ ((TypeEnum2) => {
|
|
@@ -386,9 +385,11 @@ var defaultWebPageTemplate = reactDefaultTemplate.replace(
|
|
|
386
385
|
'className="page"',
|
|
387
386
|
'className="web-page"'
|
|
388
387
|
);
|
|
388
|
+
|
|
389
389
|
export {
|
|
390
|
-
|
|
390
|
+
itemFilterExpressionRootSchema,
|
|
391
|
+
webPageLanguage,
|
|
391
392
|
webPageConfigSchema,
|
|
392
393
|
webPageConfigWriteSchema,
|
|
393
|
-
|
|
394
|
+
defaultWebPageTemplate
|
|
394
395
|
};
|