@lumyne/omni-cli 0.0.0-stage → 0.3.1
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/INSTALL.md +11 -0
- package/README.md +38 -2
- package/UPDATE.md +17 -0
- package/bin/omni.mjs +47 -0
- package/capabilities.json +2231 -0
- package/lib/core.mjs +62 -0
- package/lib/database.mjs +35 -0
- package/lib/lifecycle.mjs +99 -0
- package/lib/local-agent.mjs +30 -0
- package/lib/management.mjs +42 -0
- package/lib/market.mjs +192 -0
- package/lib/project-artifact.mjs +25 -0
- package/lib/project-edit.mjs +33 -0
- package/lib/project-execution.mjs +33 -0
- package/lib/project-read.mjs +10 -0
- package/package.json +39 -4
- package/schema/tenant-001.sql +119 -0
- package/schema/tenant-002.sql +12 -0
- package/schema/tenant-003.sql +6 -0
- package/schema/tenant-004.sql +137 -0
- package/skills/omni-data/SKILL.md +40 -0
- package/skills/omni-data/adapters/generic.json +25 -0
- package/skills/omni-data/agents/openai.yaml +3 -0
- package/skills/omni-data/capabilities.json +42 -0
- package/skills/omni-data/references/daily-metrics.md +11 -0
- package/skills/omni-data/references/management.md +15 -0
- package/skills/omni-data/references/market.md +20 -0
- package/skills/omni-project/SKILL.md +68 -0
- package/skills/omni-project/adapters/generic.json +25 -0
- package/skills/omni-project/agents/openai.yaml +3 -0
- package/skills/omni-project/capabilities.json +42 -0
- package/skills/omni-project/references/queries.md +24 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "portable-skill-capabilities",
|
|
3
|
+
"schema_version": "1.0.0",
|
|
4
|
+
"skill": "omni-project",
|
|
5
|
+
"target_platforms": [
|
|
6
|
+
"generic"
|
|
7
|
+
],
|
|
8
|
+
"capabilities": [
|
|
9
|
+
{
|
|
10
|
+
"id": "command.execute",
|
|
11
|
+
"purpose": "Execute the target-owned OMNI CLI",
|
|
12
|
+
"required": true,
|
|
13
|
+
"required_features": [
|
|
14
|
+
"node22",
|
|
15
|
+
"json-output",
|
|
16
|
+
"private-file-access",
|
|
17
|
+
"https"
|
|
18
|
+
],
|
|
19
|
+
"input_fields": [
|
|
20
|
+
"argv",
|
|
21
|
+
"cwd"
|
|
22
|
+
],
|
|
23
|
+
"output_fields": [
|
|
24
|
+
"stdout",
|
|
25
|
+
"stderr",
|
|
26
|
+
"exit_code"
|
|
27
|
+
],
|
|
28
|
+
"side_effects": {
|
|
29
|
+
"local_write": "explicit install/update only; update detection caches metadata",
|
|
30
|
+
"external_write": "explicit authorized data write",
|
|
31
|
+
"cost": "no paid generation",
|
|
32
|
+
"external_mutation": true,
|
|
33
|
+
"may_cost_money": false,
|
|
34
|
+
"authorization": "Explicit caller read/write authorization; live enterprise and shop grants"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"host_resolution": {
|
|
39
|
+
"fallback_adapter": "generic",
|
|
40
|
+
"target": "explicit absolute current Agent Skill directory"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Query commands
|
|
2
|
+
|
|
3
|
+
Use the resolved `omni` entry; append `--profile dev|stable --json`. Discover options through `<command> --help --json`. All commands below are read-only.
|
|
4
|
+
|
|
5
|
+
| Intent | Command and selectors |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| Find projects | `project list --q "keywords" --page 1 --limit 50` |
|
|
8
|
+
| List groups | `directory list` |
|
|
9
|
+
| Project detail or compact context | `project get` / `project context --project-id "id"` |
|
|
10
|
+
| Nodes in project order | `node list --project-id "id"` |
|
|
11
|
+
| One node | `node get --project-id "id" --node-id "node-id"` |
|
|
12
|
+
| Tasks | `task list --project-id "id" --node "exact node name"` |
|
|
13
|
+
| Task status and related records | `task get --project-id "id" --task-id "task-id"` |
|
|
14
|
+
| Document metadata | `document list --project-id "id"` |
|
|
15
|
+
| Search document text | `document search --project-id "id" --q "keywords"` |
|
|
16
|
+
| Read document | `document get --project-id "id" --path "wiki/path.md"` |
|
|
17
|
+
| Document history | `document history --project-id "id" --document-id "id"` |
|
|
18
|
+
| Read a prior version | `document get --project-id "id" --document-id "id" --version 1` |
|
|
19
|
+
| Published templates | `template list --kind sop` |
|
|
20
|
+
| Exact template | `template get --kind sop --id "template-id" --version 1` |
|
|
21
|
+
|
|
22
|
+
Name selectors `--project`, `--node`, `--task`, and `--document` are exact matches. Prefer IDs after discovery. Specify one identity per object; document `--path` is an alternative to its name or ID. `--q` supports keyword discovery. Task `--status` uses the service's current Chinese status value, such as `进行中`. Lists default to 50 items with a maximum `--limit 100`; inspect `hasMore` and increase `--page` to continue.
|
|
23
|
+
|
|
24
|
+
Document lists exclude full content and history; search returns short excerpts, and `document get` returns the full selected version. A task detail includes attachment metadata and historical runs/events; attachment upload/download and real execution commands are outside this read-only contract.
|