omni-context-cli 0.0.84 → 0.0.85

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.
Files changed (70) hide show
  1. package/README.md +7 -4
  2. package/README.zh-CN.md +7 -4
  3. package/dist/agents/deduce.md +47 -0
  4. package/dist/agents/explore.md +1 -1
  5. package/dist/agents/glance.md +1 -1
  6. package/dist/agents/recall.md +1 -1
  7. package/dist/agents/review.md +46 -0
  8. package/dist/agents/search.md +1 -1
  9. package/dist/cli.js +7 -7
  10. package/dist/clients/extension.vsix +0 -0
  11. package/dist/clients/web/assets/{_baseUniq-CXLGS_pA.js → _baseUniq-DPXZIoRI.js} +1 -1
  12. package/dist/clients/web/assets/{arc-4Z7JckQX.js → arc-DY6tHnoQ.js} +1 -1
  13. package/dist/clients/web/assets/{architectureDiagram-VXUJARFQ-Dp64qP_w.js → architectureDiagram-VXUJARFQ-Kwn-Eayz.js} +1 -1
  14. package/dist/clients/web/assets/{blockDiagram-VD42YOAC-CLQKEpqC.js → blockDiagram-VD42YOAC-D2z0aL0I.js} +1 -1
  15. package/dist/clients/web/assets/{c4Diagram-YG6GDRKO-QgDkv6UE.js → c4Diagram-YG6GDRKO-ByIv3z1W.js} +1 -1
  16. package/dist/clients/web/assets/channel-Dn1hKnnO.js +1 -0
  17. package/dist/clients/web/assets/{chunk-4BX2VUAB-Dahw83LE.js → chunk-4BX2VUAB-DrPbd9N4.js} +1 -1
  18. package/dist/clients/web/assets/{chunk-55IACEB6-DzaxJDHn.js → chunk-55IACEB6-BoDPzIjE.js} +1 -1
  19. package/dist/clients/web/assets/{chunk-B4BG7PRW-D0vomqbV.js → chunk-B4BG7PRW-CM2YZtXd.js} +1 -1
  20. package/dist/clients/web/assets/{chunk-DI55MBZ5-qiVnK6p8.js → chunk-DI55MBZ5-4H2aa_y_.js} +1 -1
  21. package/dist/clients/web/assets/{chunk-FMBD7UC4-C2sJxaxL.js → chunk-FMBD7UC4-9_6jj8Fa.js} +1 -1
  22. package/dist/clients/web/assets/{chunk-QN33PNHL-D5AwC2-G.js → chunk-QN33PNHL-DDgJe79T.js} +1 -1
  23. package/dist/clients/web/assets/{chunk-QZHKN3VN-IFvcMven.js → chunk-QZHKN3VN-DtAYVGIR.js} +1 -1
  24. package/dist/clients/web/assets/{chunk-TZMSLE5B-DMB_9lpR.js → chunk-TZMSLE5B-brEdW_Wx.js} +1 -1
  25. package/dist/clients/web/assets/classDiagram-2ON5EDUG-BdvHM_DJ.js +1 -0
  26. package/dist/clients/web/assets/classDiagram-v2-WZHVMYZB-BdvHM_DJ.js +1 -0
  27. package/dist/clients/web/assets/clone-cgW5GTJs.js +1 -0
  28. package/dist/clients/web/assets/{cose-bilkent-S5V4N54A-kviy0s3Q.js → cose-bilkent-S5V4N54A-lCOfQXtB.js} +1 -1
  29. package/dist/clients/web/assets/{dagre-6UL2VRFP-CH4Wzhwt.js → dagre-6UL2VRFP-D_pD2mTL.js} +1 -1
  30. package/dist/clients/web/assets/{diagram-PSM6KHXK-CJG0PuJC.js → diagram-PSM6KHXK-Bu5J6kyW.js} +1 -1
  31. package/dist/clients/web/assets/{diagram-QEK2KX5R-Bfcdv7nY.js → diagram-QEK2KX5R-CUVkZ3ve.js} +1 -1
  32. package/dist/clients/web/assets/{diagram-S2PKOQOG-CFAxMjgR.js → diagram-S2PKOQOG-mHERzzm4.js} +1 -1
  33. package/dist/clients/web/assets/{erDiagram-Q2GNP2WA-B1IZMS-3.js → erDiagram-Q2GNP2WA-CJRkSTX3.js} +1 -1
  34. package/dist/clients/web/assets/{flowDiagram-NV44I4VS-B20jmVdi.js → flowDiagram-NV44I4VS-C0Y90ham.js} +1 -1
  35. package/dist/clients/web/assets/{ganttDiagram-JELNMOA3-CN_UmMdY.js → ganttDiagram-JELNMOA3-BdUVkpzH.js} +1 -1
  36. package/dist/clients/web/assets/{gitGraphDiagram-NY62KEGX-4_JTxeSU.js → gitGraphDiagram-NY62KEGX-BtrqYBNt.js} +1 -1
  37. package/dist/clients/web/assets/{graph-q8jimC6O.js → graph-CHwi4EhD.js} +1 -1
  38. package/dist/clients/web/assets/index-5mQ2UgiF.css +1 -0
  39. package/dist/clients/web/assets/index-CKVwxImE.js +2 -0
  40. package/dist/clients/web/assets/{infoDiagram-WHAUD3N6-CZ6m9EkC.js → infoDiagram-WHAUD3N6-CILo2fKO.js} +1 -1
  41. package/dist/clients/web/assets/{journeyDiagram-XKPGCS4Q-DQDsc9_r.js → journeyDiagram-XKPGCS4Q-Dpq5iNqi.js} +1 -1
  42. package/dist/clients/web/assets/{kanban-definition-3W4ZIXB7-BnCFTjcI.js → kanban-definition-3W4ZIXB7-Ct5y6xSX.js} +1 -1
  43. package/dist/clients/web/assets/{layout-Cpghn7MH.js → layout-BnAA2IUO.js} +1 -1
  44. package/dist/clients/web/assets/{linear-CQh1t4yP.js → linear-2R4AdsOq.js} +1 -1
  45. package/dist/clients/web/assets/{min-D8ZfxGeM.js → min-gW-yM5RQ.js} +1 -1
  46. package/dist/clients/web/assets/{mindmap-definition-VGOIOE7T-B1wT0z3Z.js → mindmap-definition-VGOIOE7T-B0qidwDV.js} +1 -1
  47. package/dist/clients/web/assets/{pieDiagram-ADFJNKIX-D3fiR6Th.js → pieDiagram-ADFJNKIX-DlifPJiS.js} +1 -1
  48. package/dist/clients/web/assets/{quadrantDiagram-AYHSOK5B-D9BQB94o.js → quadrantDiagram-AYHSOK5B-Crn33A5s.js} +1 -1
  49. package/dist/clients/web/assets/{requirementDiagram-UZGBJVZJ-DUYZZiA1.js → requirementDiagram-UZGBJVZJ-D7ZEQ5Ko.js} +1 -1
  50. package/dist/clients/web/assets/{sankeyDiagram-TZEHDZUN-B0sGIcH7.js → sankeyDiagram-TZEHDZUN-CE4CxFqE.js} +1 -1
  51. package/dist/clients/web/assets/{sequenceDiagram-WL72ISMW-D7SULYFs.js → sequenceDiagram-WL72ISMW-BAaRV6XI.js} +1 -1
  52. package/dist/clients/web/assets/{stateDiagram-FKZM4ZOC-C3HTi2Ed.js → stateDiagram-FKZM4ZOC-DegPr2lo.js} +1 -1
  53. package/dist/clients/web/assets/stateDiagram-v2-4FDKWEC3-D8PiOhPS.js +1 -0
  54. package/dist/clients/web/assets/{timeline-definition-IT6M3QCI-C2-N2wnL.js → timeline-definition-IT6M3QCI-DisR5qy_.js} +1 -1
  55. package/dist/clients/web/assets/{treemap-KMMF4GRG-BTZXx0BR.js → treemap-KMMF4GRG-JpVr6-kW.js} +1 -1
  56. package/dist/clients/web/assets/{xychartDiagram-PRI3JC2R-HRlOIi7r.js → xychartDiagram-PRI3JC2R-otgrE-B-.js} +1 -1
  57. package/dist/clients/web/index.html +2 -2
  58. package/dist/skills/landmark/SKILL.md +35 -0
  59. package/dist/workflows/analytics.md +1 -1
  60. package/dist/workflows/general.md +3 -2
  61. package/dist/workflows/programming.md +7 -2
  62. package/dist/workflows/recall.md +1 -1
  63. package/package.json +1 -1
  64. package/dist/clients/web/assets/channel-BpF6PGG7.js +0 -1
  65. package/dist/clients/web/assets/classDiagram-2ON5EDUG-DyrQA-YS.js +0 -1
  66. package/dist/clients/web/assets/classDiagram-v2-WZHVMYZB-DyrQA-YS.js +0 -1
  67. package/dist/clients/web/assets/clone-i_-uxRn_.js +0 -1
  68. package/dist/clients/web/assets/index-BxRbZ9su.js +0 -2
  69. package/dist/clients/web/assets/index-CUmxgXdk.css +0 -1
  70. package/dist/clients/web/assets/stateDiagram-v2-4FDKWEC3-CBHbI6jw.js +0 -1
package/README.md CHANGED
@@ -14,12 +14,14 @@ Every token matters. OmniContext CLI is engineered from the ground up to squeeze
14
14
 
15
15
  ## Workflow System
16
16
 
17
- A workflow controls everything about how OmniContext CLI behaves: the system prompt, which tools are available, and how the assistant interacts with you. Two workflows ship built-in:
17
+ A workflow controls everything about how OmniContext CLI behaves: the system prompt, which tools are available, and how the assistant interacts with you. Four workflows ship built-in:
18
18
 
19
19
  | Preset | Use Case | Description |
20
20
  |--------|----------|-------------|
21
21
  | **Programming** (default) | Terminal, VS Code | Coding assistant with base tools, agent tools, and MCP integration. Concise output, minimal overhead. |
22
22
  | **General** | Office, desktop | Personal assistant for documents, spreadsheets, and presentations. Proactive with tools, conversational tone. |
23
+ | **Analytics** | Usage analysis | Query the local request analytics database to explore token usage, costs, latency, and model comparison. |
24
+ | **Recall** | Session search | Search and review past chat sessions for decisions, context, and discussion history. |
23
25
 
24
26
  The desktop app also installs a **Browser** workflow for the Chrome sidebar, with tab, page content, bookmark, history, screenshot, and script execution access. It also installs a **Memo** workflow for reminders and notifications.
25
27
 
@@ -28,9 +30,10 @@ Create your own by dropping a markdown file in `~/.omx/workflows/` or `.omx/work
28
30
  ```markdown
29
31
  ---
30
32
  name: My Workflow
31
- allowBaseTools: true
33
+ allowBuiltinTools: true
34
+ allowExternalTools: true
32
35
  allowBuiltinAgents: true
33
- allowCustomAgents: true
36
+ allowExternalAgents: true
34
37
  allowMcpTools: true
35
38
  allowRemoteTools: true
36
39
  ---
@@ -61,7 +64,7 @@ omx --add-provider openrouter --api-key sk-...
61
64
  omx --remove-provider openrouter
62
65
  ```
63
66
 
64
- Built-in providers: **Zenmux**, **DeepSeek**, **Kimi for Coding**, **OpenRouter**, **Zhipu (GLM)**, **MiniMax**
67
+ Built-in providers: **Zenmux**, **DeepSeek**, **Kimi for Coding**, **MiniMax**, **OpenCode Go**, **OpenRouter**, **Zhipu (GLM)**
65
68
 
66
69
  ## Cross-Session Memory
67
70
 
package/README.zh-CN.md CHANGED
@@ -14,12 +14,14 @@
14
14
 
15
15
  ## 工作流系统
16
16
 
17
- 工作流控制 OmniContext CLI 行为的方方面面:系统提示词、可用工具列表、助手交互方式。内置两套工作流:
17
+ 工作流控制 OmniContext CLI 行为的方方面面:系统提示词、可用工具列表、助手交互方式。内置四套工作流:
18
18
 
19
19
  | 预设 | 使用场景 | 说明 |
20
20
  |------|----------|------|
21
21
  | **Programming**(默认) | 终端、VS Code | 编程助手,包含基础工具、Agent 工具和 MCP 集成。简洁输出,最小开销。 |
22
22
  | **General** | Office、桌面端 | 多功能个人助理,处理文档、表格和演示文稿。主动使用工具,匹配对话语气。 |
23
+ | **Analytics** | 使用分析 | 查询本地请求分析数据库,探索 token 用量、成本、延迟和模型对比。 |
24
+ | **Recall** | 会话搜索 | 搜索和回顾过去的聊天会话,查找决策、上下文和讨论历史。 |
23
25
 
24
26
  桌面应用还会安装 **Browser** 工作流供 Chrome 侧边栏使用,可访问标签页、页面内容、书签、历史记录、截图和脚本执行能力。它也会安装 **Memo** 工作流用于提醒和通知。
25
27
 
@@ -28,9 +30,10 @@
28
30
  ```markdown
29
31
  ---
30
32
  name: My Workflow
31
- allowBaseTools: true
33
+ allowBuiltinTools: true
34
+ allowExternalTools: true
32
35
  allowBuiltinAgents: true
33
- allowCustomAgents: true
36
+ allowExternalAgents: true
34
37
  allowMcpTools: true
35
38
  allowRemoteTools: true
36
39
  ---
@@ -61,7 +64,7 @@ omx --add-provider openrouter --api-key sk-...
61
64
  omx --remove-provider openrouter
62
65
  ```
63
66
 
64
- 内置供应商:**Zenmux**、**DeepSeek**、**Kimi for Coding**、**OpenRouter**、**Zhipu (GLM)**、**MiniMax**
67
+ 内置供应商:**Zenmux**、**DeepSeek**、**Kimi for Coding**、**MiniMax**、**OpenCode Go**、**OpenRouter**、**Zhipu (GLM)**
65
68
 
66
69
  ## 跨会话记忆
67
70
 
@@ -0,0 +1,47 @@
1
+ ---
2
+ name: Deduce
3
+ description: Work through a bug or complex question using read-only exploration. Spends multiple rounds tracing code and evidence, returns root cause and fix proposal. Does not modify files.
4
+ inheritContext: true
5
+ displayFields: [question]
6
+ parameters:
7
+ properties:
8
+ question:
9
+ type: string
10
+ description: The bug, symptom, or question to investigate. Be specific about what is happening and what is expected to happen.
11
+ hints:
12
+ type: string
13
+ description: Optional known clues, such as stack traces, recent changes, or files where the issue likely lives.
14
+ required: [question]
15
+ ---
16
+
17
+ Investigate this question: {{question}}
18
+
19
+ {{#if hints}}Known hints: {{hints}}.{{/if}}
20
+
21
+ Do not modify any files. Bash is allowed for read-only commands like ls, cat, git log, git diff, git blame.
22
+
23
+ Spend multiple rounds reading, searching, and tracing. Form hypotheses, gather evidence, rule out alternatives, and land on a root cause. Cite file:line for every claim. If something cannot be proven, say where the trail went cold.
24
+
25
+ Return the results in this format:
26
+
27
+ ```
28
+ Question: Restate what was investigated.
29
+
30
+ Evidence:
31
+ - Finding with file:line
32
+ - Finding with file:line
33
+
34
+ Root Cause:
35
+ One or two sentences stating what is actually going on, backed by the evidence above.
36
+
37
+ Fix Proposal:
38
+ - Concrete change at file:line
39
+ - Side effects to watch for
40
+
41
+ Open Questions:
42
+ - What still needs user input or runtime verification.
43
+ ```
44
+
45
+ If the investigation is inconclusive, say so and list what would be needed to finish it.
46
+
47
+ Do not include explanations beyond the result format. Keep responses concise and structured.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: Explore
3
3
  description: Get a high-level overview of how a project or directory is organized. Use this to understand what exists and where things live, not to answer specific code questions.
4
- allowBaseTools: [Read, Glob, Grep, Bash, BashOutput]
4
+ allowBuiltinTools: [Read, Glob, Grep, Bash, BashOutput]
5
5
  displayFields: [directory]
6
6
  parameters:
7
7
  properties:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: Glance
3
3
  description: Preview multiple files at once. Reads files and directories, returns a brief summary for each file to help understand what's in them without reading the full contents.
4
- allowBaseTools: [Read, Glob, Grep, Bash, BashOutput]
4
+ allowBuiltinTools: [Read, Glob, Grep, Bash, BashOutput]
5
5
  displayFields: [paths, recursive, maxFiles]
6
6
  parameters:
7
7
  properties:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: Recall
3
3
  description: Search past chat sessions and summarize the most relevant history for the current question. Use this when earlier conversations might have useful context for the current task.
4
- allowBaseTools: [RecallSearch, RecallRead]
4
+ allowBuiltinTools: [RecallSearch, RecallRead]
5
5
  displayFields: [question, limit, days]
6
6
  parameters:
7
7
  properties:
@@ -0,0 +1,46 @@
1
+ ---
2
+ name: Review
3
+ description: Review the recent work in this conversation with a fresh eye. Returns blockers, important issues, and nits found in the changes. Does not modify files.
4
+ inheritContext: true
5
+ displayFields: [focus]
6
+ parameters:
7
+ properties:
8
+ focus:
9
+ type: string
10
+ description: Optional angle to prioritize during the review, such as security, performance, tests, readability, or error handling.
11
+ ---
12
+
13
+ Review the work just completed with fresh eyes.
14
+
15
+ {{#if focus}}Prioritize this angle: {{focus}}.{{/if}}
16
+
17
+ Do not modify any files. Read the changed files to verify the claims made. Do not assume what was described is what was really written.
18
+
19
+ Check for:
20
+ - Correctness bugs, unhandled edge cases, missing validation
21
+ - Inconsistency with surrounding code style
22
+ - Unclear naming or logic that will confuse later readers
23
+ - Over-engineering or unneeded complexity
24
+ - Gaps between what was requested and what was delivered
25
+
26
+ Return the results in this format:
27
+
28
+ ```
29
+ Verdict: ship / fix blockers / rethink
30
+
31
+ Blockers:
32
+ - Issue that would cause real problems. Cite file:line.
33
+
34
+ Important:
35
+ - Worth addressing before shipping. Cite file:line.
36
+
37
+ Nits:
38
+ - Style or polish. Safe to skip.
39
+
40
+ Missed:
41
+ - Anything the work should have covered but did not.
42
+ ```
43
+
44
+ If nothing needs changing, say so plainly. Do not invent problems.
45
+
46
+ Do not include explanations beyond the result format. Keep responses concise and structured.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: Search
3
3
  description: Search the codebase to answer a specific question. Returns targeted code segments from across the project that address the query.
4
- allowBaseTools: [Read, Glob, Grep, Bash, BashOutput]
4
+ allowBuiltinTools: [Read, Glob, Grep, Bash, BashOutput]
5
5
  displayFields: [question, directory]
6
6
  parameters:
7
7
  properties: