omni-context-cli 0.0.85 → 0.0.87

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 +3 -3
  2. package/README.zh-CN.md +2 -2
  3. package/dist/agents/deduce.md +2 -6
  4. package/dist/agents/explore.md +8 -13
  5. package/dist/agents/glance.md +4 -12
  6. package/dist/agents/recall.md +2 -10
  7. package/dist/agents/review.md +2 -13
  8. package/dist/agents/search.md +3 -13
  9. package/dist/cli.js +7 -7
  10. package/dist/clients/extension.vsix +0 -0
  11. package/dist/clients/web/assets/{_baseUniq-DPXZIoRI.js → _baseUniq-DMGbNleF.js} +1 -1
  12. package/dist/clients/web/assets/{arc-DY6tHnoQ.js → arc-1E4LvFFg.js} +1 -1
  13. package/dist/clients/web/assets/{architectureDiagram-VXUJARFQ-Kwn-Eayz.js → architectureDiagram-VXUJARFQ-BVjg28X_.js} +1 -1
  14. package/dist/clients/web/assets/{blockDiagram-VD42YOAC-D2z0aL0I.js → blockDiagram-VD42YOAC-DO8Mj8oU.js} +1 -1
  15. package/dist/clients/web/assets/{c4Diagram-YG6GDRKO-ByIv3z1W.js → c4Diagram-YG6GDRKO-CMXabUI8.js} +1 -1
  16. package/dist/clients/web/assets/channel-BKaWMhr7.js +1 -0
  17. package/dist/clients/web/assets/{chunk-4BX2VUAB-DrPbd9N4.js → chunk-4BX2VUAB-BdwJfKs1.js} +1 -1
  18. package/dist/clients/web/assets/{chunk-55IACEB6-BoDPzIjE.js → chunk-55IACEB6-COxDwbWD.js} +1 -1
  19. package/dist/clients/web/assets/{chunk-B4BG7PRW-CM2YZtXd.js → chunk-B4BG7PRW-CbL8GmAN.js} +1 -1
  20. package/dist/clients/web/assets/{chunk-DI55MBZ5-4H2aa_y_.js → chunk-DI55MBZ5-BMbTRQzH.js} +1 -1
  21. package/dist/clients/web/assets/{chunk-FMBD7UC4-9_6jj8Fa.js → chunk-FMBD7UC4-1TxIBdW7.js} +1 -1
  22. package/dist/clients/web/assets/{chunk-QN33PNHL-DDgJe79T.js → chunk-QN33PNHL-KJIajClE.js} +1 -1
  23. package/dist/clients/web/assets/{chunk-QZHKN3VN-DtAYVGIR.js → chunk-QZHKN3VN-D41kt0rh.js} +1 -1
  24. package/dist/clients/web/assets/{chunk-TZMSLE5B-brEdW_Wx.js → chunk-TZMSLE5B-7WoYnea-.js} +1 -1
  25. package/dist/clients/web/assets/classDiagram-2ON5EDUG-Bfn69ffQ.js +1 -0
  26. package/dist/clients/web/assets/classDiagram-v2-WZHVMYZB-Bfn69ffQ.js +1 -0
  27. package/dist/clients/web/assets/clone-Uvk9xifz.js +1 -0
  28. package/dist/clients/web/assets/{cose-bilkent-S5V4N54A-lCOfQXtB.js → cose-bilkent-S5V4N54A-CvwtfU7-.js} +1 -1
  29. package/dist/clients/web/assets/{dagre-6UL2VRFP-D_pD2mTL.js → dagre-6UL2VRFP-DMvXT58T.js} +1 -1
  30. package/dist/clients/web/assets/{diagram-PSM6KHXK-Bu5J6kyW.js → diagram-PSM6KHXK-C1jTn75Q.js} +1 -1
  31. package/dist/clients/web/assets/{diagram-QEK2KX5R-CUVkZ3ve.js → diagram-QEK2KX5R-DDJlQWg6.js} +1 -1
  32. package/dist/clients/web/assets/{diagram-S2PKOQOG-mHERzzm4.js → diagram-S2PKOQOG-BpY8shnK.js} +1 -1
  33. package/dist/clients/web/assets/{erDiagram-Q2GNP2WA-CJRkSTX3.js → erDiagram-Q2GNP2WA-AF83pDzp.js} +1 -1
  34. package/dist/clients/web/assets/{flowDiagram-NV44I4VS-C0Y90ham.js → flowDiagram-NV44I4VS-CDE9ISic.js} +1 -1
  35. package/dist/clients/web/assets/{ganttDiagram-JELNMOA3-BdUVkpzH.js → ganttDiagram-JELNMOA3-tl9zS1K3.js} +1 -1
  36. package/dist/clients/web/assets/{gitGraphDiagram-NY62KEGX-BtrqYBNt.js → gitGraphDiagram-NY62KEGX-BGmXCmka.js} +1 -1
  37. package/dist/clients/web/assets/{graph-CHwi4EhD.js → graph-CwgcBGfY.js} +1 -1
  38. package/dist/clients/web/assets/index-BhkDi5B0.js +2 -0
  39. package/dist/clients/web/assets/{infoDiagram-WHAUD3N6-CILo2fKO.js → infoDiagram-WHAUD3N6-bNPb22yd.js} +1 -1
  40. package/dist/clients/web/assets/{journeyDiagram-XKPGCS4Q-Dpq5iNqi.js → journeyDiagram-XKPGCS4Q-CKSHNei7.js} +1 -1
  41. package/dist/clients/web/assets/{kanban-definition-3W4ZIXB7-Ct5y6xSX.js → kanban-definition-3W4ZIXB7-64KSCxdq.js} +1 -1
  42. package/dist/clients/web/assets/{layout-BnAA2IUO.js → layout-zF01hWxQ.js} +1 -1
  43. package/dist/clients/web/assets/{linear-2R4AdsOq.js → linear-D0Xsd-aa.js} +1 -1
  44. package/dist/clients/web/assets/{min-gW-yM5RQ.js → min-tLikK7rh.js} +1 -1
  45. package/dist/clients/web/assets/{mindmap-definition-VGOIOE7T-B0qidwDV.js → mindmap-definition-VGOIOE7T-DNQ9_VmS.js} +1 -1
  46. package/dist/clients/web/assets/{pieDiagram-ADFJNKIX-DlifPJiS.js → pieDiagram-ADFJNKIX-8fzGETjL.js} +1 -1
  47. package/dist/clients/web/assets/{quadrantDiagram-AYHSOK5B-Crn33A5s.js → quadrantDiagram-AYHSOK5B-yri91FWB.js} +1 -1
  48. package/dist/clients/web/assets/{requirementDiagram-UZGBJVZJ-D7ZEQ5Ko.js → requirementDiagram-UZGBJVZJ-Dz__UXpg.js} +1 -1
  49. package/dist/clients/web/assets/{sankeyDiagram-TZEHDZUN-CE4CxFqE.js → sankeyDiagram-TZEHDZUN-UKXSPrO_.js} +1 -1
  50. package/dist/clients/web/assets/{sequenceDiagram-WL72ISMW-BAaRV6XI.js → sequenceDiagram-WL72ISMW-CjFKts3v.js} +1 -1
  51. package/dist/clients/web/assets/{stateDiagram-FKZM4ZOC-DegPr2lo.js → stateDiagram-FKZM4ZOC-eoi13Ifa.js} +1 -1
  52. package/dist/clients/web/assets/stateDiagram-v2-4FDKWEC3-BYlXltPP.js +1 -0
  53. package/dist/clients/web/assets/{timeline-definition-IT6M3QCI-DisR5qy_.js → timeline-definition-IT6M3QCI-BhkPk0iE.js} +1 -1
  54. package/dist/clients/web/assets/{treemap-KMMF4GRG-JpVr6-kW.js → treemap-KMMF4GRG-CwQwhUMV.js} +1 -1
  55. package/dist/clients/web/assets/{xychartDiagram-PRI3JC2R-otgrE-B-.js → xychartDiagram-PRI3JC2R-BQYvBeRp.js} +1 -1
  56. package/dist/clients/web/index.html +1 -1
  57. package/dist/skills/landmark/SKILL.md +4 -27
  58. package/dist/skills/simplify/SKILL.md +6 -43
  59. package/dist/workflows/analytics.md +7 -17
  60. package/dist/workflows/general.md +5 -7
  61. package/dist/workflows/memory.md +16 -0
  62. package/dist/workflows/programming.md +7 -25
  63. package/dist/workflows/recall.md +5 -11
  64. package/package.json +1 -2
  65. package/dist/clients/web/assets/channel-Dn1hKnnO.js +0 -1
  66. package/dist/clients/web/assets/classDiagram-2ON5EDUG-BdvHM_DJ.js +0 -1
  67. package/dist/clients/web/assets/classDiagram-v2-WZHVMYZB-BdvHM_DJ.js +0 -1
  68. package/dist/clients/web/assets/clone-cgW5GTJs.js +0 -1
  69. package/dist/clients/web/assets/index-CKVwxImE.js +0 -2
  70. package/dist/clients/web/assets/stateDiagram-v2-4FDKWEC3-D8PiOhPS.js +0 -1
package/README.md CHANGED
@@ -14,13 +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. Four 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. Five 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
23
  | **Analytics** | Usage analysis | Query the local request analytics database to explore token usage, costs, latency, and model comparison. |
24
+ | **Memory** | Key point management | Browse, edit, and clean up cross-session key points stored in the project memory. |
24
25
  | **Recall** | Session search | Search and review past chat sessions for decisions, context, and discussion history. |
25
26
 
26
27
  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.
@@ -76,7 +77,7 @@ Memory extraction runs automatically when a conversation is compacted. The model
76
77
  | Neutral | -1 |
77
78
  | Harmful | -6 |
78
79
 
79
- Points that drop below -10 are pruned. This means good insights accumulate weight over multiple sessions while bad advice is flushed quickly and stale knowledge decays on its own. Every project keeps its memory in `~/.omx/projects/<project-id>/memory.json`. Edit it directly for full control.
80
+ Points that reach -10 or lower are pruned. This means good insights accumulate weight over multiple sessions while bad advice is flushed quickly and stale knowledge decays on its own. Every project keeps its memory in `~/.omx/projects/<project-id>/memory.json`. Edit it directly for full control.
80
81
 
81
82
  ## Desktop & Integrations
82
83
 
@@ -86,7 +87,6 @@ Terminal is home base, but OmniContext CLI extends into every tool you use. The
86
87
  - **VS Code Extension** - IDE integration with file context, diagnostics, and diff views
87
88
  - **Chrome Extension** - sidebar on any webpage for summarization, data extraction, and browser automation
88
89
  - **Office Add-in** - AI panel inside Word, Excel, and PowerPoint
89
- - **ACP Clients** - external agent integration via Agent Client Protocol over stdio
90
90
  - **Web Client** - browser UI with LaTeX, Mermaid diagrams, file attachments, and drag-and-drop
91
91
  - **Mobile Access** - run `omx --serve` and connect from your phone
92
92
 
package/README.zh-CN.md CHANGED
@@ -14,13 +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
23
  | **Analytics** | 使用分析 | 查询本地请求分析数据库,探索 token 用量、成本、延迟和模型对比。 |
24
+ | **Memory** | 要点管理 | 浏览、编辑和清理项目记忆中的跨会话关键要点。 |
24
25
  | **Recall** | 会话搜索 | 搜索和回顾过去的聊天会话,查找决策、上下文和讨论历史。 |
25
26
 
26
27
  桌面应用还会安装 **Browser** 工作流供 Chrome 侧边栏使用,可访问标签页、页面内容、书签、历史记录、截图和脚本执行能力。它也会安装 **Memo** 工作流用于提醒和通知。
@@ -86,7 +87,6 @@ omx --remove-provider openrouter
86
87
  - **VS Code 扩展** - IDE 集成,感知打开文件、诊断信息和 diff 视图
87
88
  - **Chrome 扩展** - 任意网页上的侧边栏,支持摘要、数据提取和浏览器自动化
88
89
  - **Office 插件** - Word、Excel 和 PowerPoint 内的 AI 面板
89
- - **ACP 客户端** - 通过 Agent Client Protocol over stdio 作为外部代理接入
90
90
  - **Web 客户端** - 浏览器 UI,支持 LaTeX、Mermaid 图表、文件附件和拖拽
91
91
  - **移动端访问** - 运行 `omx --serve` 后从手机连接
92
92
 
@@ -14,13 +14,9 @@ parameters:
14
14
  required: [question]
15
15
  ---
16
16
 
17
- Investigate this question: {{question}}
17
+ Investigate this question: {{question}}. {{#if hints}}Use these hints as starting clues: {{hints}}.{{/if}}
18
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.
19
+ Do not modify files. Use read-only exploration only. Bash is allowed for read-only inspection such as `ls`, `cat`, `git log`, `git diff`, and `git blame`. Work in multiple rounds. Form hypotheses, trace code paths, gather evidence, and rule out alternatives before landing on a conclusion. Cite file:line for every material claim. If something cannot be proven from the code or available evidence, say where the trail went cold instead of overstating confidence.
24
20
 
25
21
  Return the results in this format:
26
22
 
@@ -10,30 +10,25 @@ parameters:
10
10
  description: Directory to explore. If not provided, explores the entire project.
11
11
  ---
12
12
 
13
- Survey the project structure.
13
+ Survey the project or directory at a high level. {{#if directory}}Keep the exploration inside this directory: {{directory}}.{{/if}}
14
14
 
15
- {{#if directory}}Limit the exploration to this directory: {{directory}}.{{/if}}
16
-
17
- Use glob to map out the directory tree. Start broad, then selectively read key files (READMEs, configs, entry points) to understand their roles.
18
-
19
- Focus on the big picture: what directories exist, how the project is organized, where different concerns are separated. Don't dive deep into implementation details.
15
+ Start broad. Use Glob to map the tree, then read a small set of anchor files such as READMEs, package files, configs, and obvious entry points. Focus on what exists, how the project is organized, and where the main concerns live. Do not drift into detailed implementation analysis. If the structure is large, prefer representative directories and key files over exhaustive reading. Use Bash only when the other tools would be awkward for a simple read-only inspection.
20
16
 
21
17
  Return the results in this format:
22
18
 
23
19
  ```
24
- Overview: One-paragraph summary of the project and its tech stack.
20
+ Overview: One short paragraph summarizing the project, stack, and overall shape.
25
21
 
26
22
  Directory Structure:
27
- src/ - Source code, organized by feature
28
- tests/ - Test suites
29
- scripts/ - Build and deployment scripts
23
+ path/ - What lives here
24
+ path/ - What lives here
30
25
 
31
26
  Key Files:
32
- package.json - Dependencies and scripts
33
- src/index.ts - Application entry point
27
+ path/to/file - Why it matters
28
+ path/to/file - Why it matters
34
29
 
35
30
  Architecture:
36
- How the codebase is organized (features, layers, modules, patterns).
31
+ One short section explaining how the main pieces fit together.
37
32
  ```
38
33
 
39
34
  Do not include explanations beyond the result format. Keep responses concise and structured.
@@ -19,26 +19,18 @@ parameters:
19
19
  required: [paths]
20
20
  ---
21
21
 
22
- Preview these files and directories: {{paths}}
22
+ Preview these files and directories: {{paths}}. {{#if recursive}}Scan directories recursively.{{else}}Only inspect the top level inside any directory.{{/if}} Respect the max file budget: {{#if maxFiles}}{{maxFiles}}{{else}}20{{/if}}.
23
23
 
24
- {{#if recursive}}Recursively scan directories.{{else}}Only scan the top level of directories.{{/if}}
25
-
26
- Maximum files to process: {{#if maxFiles}}{{maxFiles}}{{else}}20 (default){{/if}}.
27
-
28
- First, expand any directories into file lists using glob. Then read each file and write a brief summary (under 100 words) describing what the file does, its main exports, or key contents.
29
-
30
- For large files, focus on the top-level structure rather than reading everything.
24
+ Expand directories with Glob before reading. For each file, read just enough to understand its role. For large files, skim the top-level structure and the most informative sections instead of reading everything. Keep each summary under 100 words. If a path cannot be read, note that briefly and move on.
31
25
 
32
26
  Return the results in this format:
33
27
 
34
28
  ```
35
29
  path/to/file.ts
36
- Brief summary of what this file does, its purpose, main functions or exports.
30
+ Short summary of the file's purpose, main exports, or important contents.
37
31
 
38
32
  path/to/config.json
39
- Brief summary of the configuration or data structure.
33
+ Short summary of the configuration or data stored here.
40
34
  ```
41
35
 
42
- If a file can't be read (binary, missing, etc.), note it briefly and move on.
43
-
44
36
  Do not include explanations beyond the result format. Keep responses concise and structured.
@@ -17,17 +17,9 @@ parameters:
17
17
  required: [question]
18
18
  ---
19
19
 
20
- Recall what happened in past sessions about: {{question}}
20
+ Recall what past sessions say about this topic: {{question}}. Summarize at most {{#if limit}}{{limit}}{{else}}3{{/if}} sessions.{{#if days}} Only search the last {{days}} days.{{/if}}
21
21
 
22
- Summarize at most {{#if limit}}{{limit}}{{else}}3{{/if}} relevant sessions.{{#if days}} Only look at the last {{days}} days.{{/if}}
23
-
24
- Use RecallSearch to find matching sessions.{{#if days}} Pass days={{days}} to limit the time range.{{/if}}
25
-
26
- RecallSearch is keyword-based, not semantic. It only matches exact words in the text. Search for words that would literally appear in the conversation, not abstract category labels.
27
-
28
- If no results, rethink what words the conversation would actually contain and retry. Try up to 3 rounds before giving up.
29
-
30
- When you find relevant hits, use RecallRead to get the surrounding conversation. Pass the sessionId and messageIndex from the hit. Use contextBefore and contextAfter to control the reading window (defaults to 2 before, 5 after).
22
+ Start with RecallSearch. It is literal full-text search, not semantic recall, so search for names, file paths, error strings, commands, or short phrases that would actually appear in the conversation. If the first query is weak or returns nothing, try better keyword variations. Make up to three search attempts before giving up. When you find promising hits, use RecallRead with the sessionId and messageIndex from RecallSearch. Read enough surrounding context to understand the key decision, bug, or task. Use contextBefore and contextAfter to widen the window only when needed. Pay attention to totalMatchedSessions so you notice when search results were truncated.
31
23
 
32
24
  Return the results in this format:
33
25
 
@@ -10,18 +10,9 @@ parameters:
10
10
  description: Optional angle to prioritize during the review, such as security, performance, tests, readability, or error handling.
11
11
  ---
12
12
 
13
- Review the work just completed with fresh eyes.
13
+ Review the recent work in this conversation with fresh eyes. {{#if focus}}Prioritize {{focus}}.{{/if}} Do not modify files. Read the changed files and verify the actual code before judging it. Do not assume the implementation matches what was described in the conversation.
14
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
15
+ Look for real problems first: correctness bugs, edge cases, missing validation, broken assumptions, gaps between the request and the implementation, and complexity that was not needed. Also note important inconsistencies with surrounding code, confusing naming or logic, and smaller nits that are safe to skip. If the work is clean, say so plainly. Do not invent issues just to fill the format.
25
16
 
26
17
  Return the results in this format:
27
18
 
@@ -41,6 +32,4 @@ Missed:
41
32
  - Anything the work should have covered but did not.
42
33
  ```
43
34
 
44
- If nothing needs changing, say so plainly. Do not invent problems.
45
-
46
35
  Do not include explanations beyond the result format. Keep responses concise and structured.
@@ -14,19 +14,11 @@ parameters:
14
14
  required: [question]
15
15
  ---
16
16
 
17
- Find and extract code that answers this question: {{question}}
17
+ Find code that answers this question: {{question}}. {{#if directory}}Keep the search inside this directory: {{directory}}.{{/if}}
18
18
 
19
- {{#if directory}}Limit the search to this directory: {{directory}}.{{/if}}
19
+ Start by running Grep with keywords drawn from the question. Follow function calls, imports, and references until you reach the code that actually answers it. Use Glob to narrow the file set when Grep reveals likely locations. Read only the files and sections that matter. For single-file answers, return the most relevant section. For multi-file flows, include the key segments from each file so the caller can see how the pieces connect. Use line ranges when you are excerpting, and full file contents only when the file is small and the whole thing is relevant.
20
20
 
21
- Use grep to search for keywords related to the question. Trace function calls, imports, and references.
22
-
23
- Use glob to identify relevant files based on your grep findings.
24
-
25
- Read the files that contain the answer to the question. Focus on the specific code sections that address what's being asked.
26
-
27
- For complex flows, read multiple files to understand the complete picture.
28
-
29
- Return the results in this format. Use line ranges when only a section is relevant, complete contents for small files:
21
+ Return the results in this format:
30
22
 
31
23
  ```
32
24
  File: path/to/file.ts
@@ -37,6 +29,4 @@ File: path/to/another.ts
37
29
  <complete file contents>
38
30
  ```
39
31
 
40
- If the code references other parts that explain the answer, include those too.
41
-
42
32
  Do not include explanations beyond the result format. Keep responses concise and structured.