omni-context-cli 0.0.74 → 0.0.77

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 (92) hide show
  1. package/README.md +68 -112
  2. package/README.zh-CN.md +68 -112
  3. package/dist/agents/explore.md +26 -19
  4. package/dist/agents/glance.md +7 -22
  5. package/dist/agents/{slice.md → search.md} +4 -4
  6. package/dist/assets/cone-bw-white.svg +24 -7
  7. package/dist/assets/cone-bw.svg +24 -7
  8. package/dist/assets/cone-mac@256.png +0 -0
  9. package/dist/assets/cone-mac@512.png +0 -0
  10. package/dist/assets/cone.svg +24 -2
  11. package/dist/assets/cone@128.png +0 -0
  12. package/dist/assets/cone@16.png +0 -0
  13. package/dist/assets/cone@24.png +0 -0
  14. package/dist/assets/cone@256.png +0 -0
  15. package/dist/assets/cone@32.png +0 -0
  16. package/dist/assets/cone@512.png +0 -0
  17. package/dist/assets/cone@64.png +0 -0
  18. package/dist/assets/icon.ico +0 -0
  19. package/dist/assets/omnicontext-cli-logo-white.svg +24 -7
  20. package/dist/assets/omnicontext-cli-logo.svg +24 -7
  21. package/dist/cli.js +7 -7
  22. package/dist/clients/extension.vsix +0 -0
  23. package/dist/clients/web/assets/{_baseUniq-CH4b0N5_.js → _baseUniq-BbAI5D6T.js} +1 -1
  24. package/dist/clients/web/assets/{arc-BQVP7-Bp.js → arc-C01cHi_J.js} +1 -1
  25. package/dist/clients/web/assets/{architectureDiagram-VXUJARFQ-CZtE2OyB.js → architectureDiagram-VXUJARFQ-C4SW9geU.js} +1 -1
  26. package/dist/clients/web/assets/{blockDiagram-VD42YOAC-CtSz7Vx1.js → blockDiagram-VD42YOAC-BJBjUKKm.js} +1 -1
  27. package/dist/clients/web/assets/{c4Diagram-YG6GDRKO-CeUU0lHA.js → c4Diagram-YG6GDRKO-DRMS2exe.js} +1 -1
  28. package/dist/clients/web/assets/channel-BFxt5Aug.js +1 -0
  29. package/dist/clients/web/assets/{chunk-4BX2VUAB-Df-kQvTf.js → chunk-4BX2VUAB-DdM_Xgvz.js} +1 -1
  30. package/dist/clients/web/assets/{chunk-55IACEB6-DR-uhhX0.js → chunk-55IACEB6-sCGtW4jw.js} +1 -1
  31. package/dist/clients/web/assets/{chunk-B4BG7PRW-DOrSo5dD.js → chunk-B4BG7PRW-CrTfpFlk.js} +1 -1
  32. package/dist/clients/web/assets/{chunk-DI55MBZ5-BbUWe3KA.js → chunk-DI55MBZ5-BJxcEBin.js} +1 -1
  33. package/dist/clients/web/assets/{chunk-FMBD7UC4-BnLGK1jf.js → chunk-FMBD7UC4-ZCzWQMnr.js} +1 -1
  34. package/dist/clients/web/assets/{chunk-QN33PNHL-VCJVvyMp.js → chunk-QN33PNHL-7lsjOUTT.js} +1 -1
  35. package/dist/clients/web/assets/{chunk-QZHKN3VN-CPfXJo_T.js → chunk-QZHKN3VN-DM6taDix.js} +1 -1
  36. package/dist/clients/web/assets/{chunk-TZMSLE5B-BkHNVsyH.js → chunk-TZMSLE5B-Dc2DN3ii.js} +1 -1
  37. package/dist/clients/web/assets/classDiagram-2ON5EDUG-CMfvUA3j.js +1 -0
  38. package/dist/clients/web/assets/classDiagram-v2-WZHVMYZB-CMfvUA3j.js +1 -0
  39. package/dist/clients/web/assets/clone-BWI7Baa7.js +1 -0
  40. package/dist/clients/web/assets/{cose-bilkent-S5V4N54A-C9Wxnne5.js → cose-bilkent-S5V4N54A-r8T3f5yK.js} +1 -1
  41. package/dist/clients/web/assets/{dagre-6UL2VRFP-B6-ozXSh.js → dagre-6UL2VRFP-UnxnSeQH.js} +1 -1
  42. package/dist/clients/web/assets/{diagram-PSM6KHXK-D2TK1Mkk.js → diagram-PSM6KHXK-D2ENZ6qS.js} +1 -1
  43. package/dist/clients/web/assets/{diagram-QEK2KX5R-C5OGEwzB.js → diagram-QEK2KX5R-Eye3JgZm.js} +1 -1
  44. package/dist/clients/web/assets/{diagram-S2PKOQOG-CjdFw3eQ.js → diagram-S2PKOQOG-Blf5P9RJ.js} +1 -1
  45. package/dist/clients/web/assets/{erDiagram-Q2GNP2WA-hQIEDub-.js → erDiagram-Q2GNP2WA-wyIeLoVZ.js} +1 -1
  46. package/dist/clients/web/assets/{flowDiagram-NV44I4VS-WDuMquGw.js → flowDiagram-NV44I4VS-D99ef0t0.js} +1 -1
  47. package/dist/clients/web/assets/{ganttDiagram-JELNMOA3-BT_k8mao.js → ganttDiagram-JELNMOA3-CvsjeBuE.js} +1 -1
  48. package/dist/clients/web/assets/{gitGraphDiagram-NY62KEGX-Dq5JUR6E.js → gitGraphDiagram-NY62KEGX-B2ylogok.js} +1 -1
  49. package/dist/clients/web/assets/{graph-EhiCIhKK.js → graph-BEwCLq4h.js} +1 -1
  50. package/dist/clients/web/assets/index-30onxp6I.js +2 -0
  51. package/dist/clients/web/assets/index-pGSHhaP9.css +1 -0
  52. package/dist/clients/web/assets/{infoDiagram-WHAUD3N6-BrkLiOdx.js → infoDiagram-WHAUD3N6-C9HLlPj3.js} +1 -1
  53. package/dist/clients/web/assets/{journeyDiagram-XKPGCS4Q-2iAEjN27.js → journeyDiagram-XKPGCS4Q-BGMoCoGu.js} +1 -1
  54. package/dist/clients/web/assets/{kanban-definition-3W4ZIXB7-C222cIK8.js → kanban-definition-3W4ZIXB7-Z1B1b4dY.js} +1 -1
  55. package/dist/clients/web/assets/{layout-DDV6LJLJ.js → layout-KBr90mM8.js} +1 -1
  56. package/dist/clients/web/assets/{linear-Cj0itOnY.js → linear-VOTetRqU.js} +1 -1
  57. package/dist/clients/web/assets/{min-DB8NGWI2.js → min-BcFr1Xgw.js} +1 -1
  58. package/dist/clients/web/assets/{mindmap-definition-VGOIOE7T-CCAhA60J.js → mindmap-definition-VGOIOE7T-Bf9fJD2v.js} +1 -1
  59. package/dist/clients/web/assets/{pieDiagram-ADFJNKIX-D-XXo3zP.js → pieDiagram-ADFJNKIX-DITjn_1i.js} +1 -1
  60. package/dist/clients/web/assets/{quadrantDiagram-AYHSOK5B-5IBnb1WQ.js → quadrantDiagram-AYHSOK5B-CG8qEQsc.js} +1 -1
  61. package/dist/clients/web/assets/{requirementDiagram-UZGBJVZJ-4woYoyhj.js → requirementDiagram-UZGBJVZJ-_fiifEP6.js} +1 -1
  62. package/dist/clients/web/assets/{sankeyDiagram-TZEHDZUN-CQITNuFm.js → sankeyDiagram-TZEHDZUN-dGOtogtu.js} +1 -1
  63. package/dist/clients/web/assets/{sequenceDiagram-WL72ISMW-BIUgU_on.js → sequenceDiagram-WL72ISMW-BPWg-aZ3.js} +1 -1
  64. package/dist/clients/web/assets/{stateDiagram-FKZM4ZOC-C3Wi-EZk.js → stateDiagram-FKZM4ZOC-XlU9RkKz.js} +1 -1
  65. package/dist/clients/web/assets/stateDiagram-v2-4FDKWEC3-Rsaa7fF9.js +1 -0
  66. package/dist/clients/web/assets/{timeline-definition-IT6M3QCI-CwRxrax-.js → timeline-definition-IT6M3QCI-CQGxtqhi.js} +1 -1
  67. package/dist/clients/web/assets/{treemap-KMMF4GRG-i_IDwp2d.js → treemap-KMMF4GRG-Do7kW41s.js} +1 -1
  68. package/dist/clients/web/assets/{xychartDiagram-PRI3JC2R-BIS0b9I9.js → xychartDiagram-PRI3JC2R-C_QymW0P.js} +1 -1
  69. package/dist/clients/web/favicon.png +0 -0
  70. package/dist/clients/web/index.html +2 -2
  71. package/dist/skills/simplify/SKILL.md +53 -0
  72. package/dist/workflows/general.md +19 -0
  73. package/dist/workflows/programming.md +33 -0
  74. package/package.json +2 -3
  75. package/scripts/bump-version.mjs +0 -3
  76. package/scripts/clean.mjs +17 -0
  77. package/scripts/release-build.mjs +8 -129
  78. package/dist/agents/pluck.md +0 -49
  79. package/dist/agents/quest.md +0 -47
  80. package/dist/agents/ripple.md +0 -58
  81. package/dist/agents/sculpt.md +0 -63
  82. package/dist/agents/spark.md +0 -53
  83. package/dist/agents/sweep.md +0 -44
  84. package/dist/agents/weave.md +0 -54
  85. package/dist/clients/web/assets/channel-D-ssYovj.js +0 -1
  86. package/dist/clients/web/assets/classDiagram-2ON5EDUG-W6DMTXK_.js +0 -1
  87. package/dist/clients/web/assets/classDiagram-v2-WZHVMYZB-W6DMTXK_.js +0 -1
  88. package/dist/clients/web/assets/clone-Dn7sFHUy.js +0 -1
  89. package/dist/clients/web/assets/index-B5OdXvjH.js +0 -27
  90. package/dist/clients/web/assets/index-BP79FsyI.css +0 -1
  91. package/dist/clients/web/assets/stateDiagram-v2-4FDKWEC3-BudH3yEK.js +0 -1
  92. package/dist/slash/ping.md +0 -4
@@ -1,47 +0,0 @@
1
- ---
2
- name: Quest
3
- description: Research topics using web search and external knowledge bases. Returns information matching what you need to know.
4
- allowedTools: [WebSearch]
5
- displayFields: [query, expectedResult]
6
- parameters:
7
- properties:
8
- query:
9
- type: string
10
- description: What to research.
11
- expectedResult:
12
- type: string
13
- description: What result you expect, like "latest version number", "list of best practices", "comparison of approaches", or "code examples".
14
- required: [query, expectedResult]
15
- ---
16
-
17
- Research this topic: {{query}}
18
-
19
- Expected result: {{expectedResult}}.
20
-
21
- Use available web search tools and external knowledge bases to find the answer.
22
-
23
- Gather information from multiple sources if needed for a comprehensive result.
24
-
25
- Return what you find in this format:
26
-
27
- ```
28
- Here's what I found: [the result matching what was expected]
29
- ```
30
-
31
- If sources are worth mentioning:
32
-
33
- ```
34
- Here's what I found: [the result matching what was expected]
35
-
36
- Sources:
37
- - [source 1]
38
- - [source 2]
39
- ```
40
-
41
- If you couldn't find relevant information:
42
-
43
- ```
44
- Couldn't find this: [brief explanation of what you searched and why nothing turned up]
45
- ```
46
-
47
- Do not include explanations beyond the result format. Keep responses concise and structured.
@@ -1,58 +0,0 @@
1
- ---
2
- name: Ripple
3
- description: Find all references to a symbol (function, class, method, etc.). Returns code snippets showing where it's used with surrounding context.
4
- allowedTools: [Read, Grep, Glob]
5
- displayFields: [filePath, symbolName, symbolType]
6
- parameters:
7
- properties:
8
- filePath:
9
- type: string
10
- description: Path to the file containing the symbol definition
11
- symbolName:
12
- type: string
13
- description: Name of the symbol to find references for
14
- symbolType:
15
- type: string
16
- description: Type of symbol (function, class, interface, variable, etc.). Helps narrow the search.
17
- required: [filePath, symbolName]
18
- ---
19
-
20
- Find all references to a symbol in the codebase.
21
-
22
- Symbol name: {{symbolName}}.
23
-
24
- {{#if symbolType}}Symbol type: {{symbolType}}.{{/if}}
25
-
26
- Defined in: {{filePath}}.
27
-
28
- Use grep and glob to search for all places where this symbol is referenced.
29
-
30
- For each reference found, read the file and extract the code snippet with 5 lines of context before and after.
31
-
32
- Return the references in this format:
33
-
34
- ```
35
- File: path/to/file.ts
36
- Lines X-Y:
37
- <the code with context>
38
- ```
39
-
40
- If there are multiple references, separate them like this:
41
-
42
- ```
43
- File: path/to/file1.ts
44
- Lines X-Y:
45
- <the code with context>
46
- ---
47
- File: path/to/file2.ts
48
- Lines A-B:
49
- <the code with context>
50
- ```
51
-
52
- If you can't find any references:
53
-
54
- ```
55
- No references found: [brief explanation of what you searched]
56
- ```
57
-
58
- Do not include explanations beyond the result format. Keep responses concise and structured.
@@ -1,63 +0,0 @@
1
- ---
2
- name: Sculpt
3
- description: Edit files by replacing text. Automatically fixes matching errors and retries if the edit fails.
4
- allowedTools: [Edit, Read, Grep]
5
- displayFields: [filePath, replaceAll]
6
- parameters:
7
- properties:
8
- filePath:
9
- type: string
10
- description: File to edit, relative or absolute path.
11
- oldString:
12
- type: string
13
- description: Exact text to replace. Must match perfectly, including whitespace and indentation.
14
- newString:
15
- type: string
16
- description: Replacement text. Use empty string to delete.
17
- replaceAll:
18
- type: boolean
19
- description: Replace all occurrences? Defaults to false (single replacement).
20
- required: [filePath, oldString, newString]
21
- ---
22
-
23
- Edit this file by replacing text: {{filePath}}
24
-
25
- {{#if replaceAll}}Replace all occurrences of the old text.{{else}}Replace only the first occurrence.{{/if}}
26
-
27
- Old text to find and replace:
28
-
29
- <old_text>
30
- {{oldString}}
31
- </old_text>
32
-
33
- New text to insert:
34
-
35
- <new_text>
36
- {{newString}}
37
- </new_text>
38
-
39
- Try to make the edit using the edit tool.
40
-
41
- If it works, return:
42
-
43
- ```
44
- Done: Edited {{filePath}}
45
- ```
46
-
47
- If it fails, figure out why. Maybe the text doesn't match exactly, or there's a whitespace issue. Fix it and try again.
48
-
49
- If the fix worked:
50
-
51
- ```
52
- Done: Edited {{filePath}}
53
- What I fixed: [quick note on what was off and how you corrected it]
54
- ```
55
-
56
- If nothing worked after a few tries:
57
-
58
- ```
59
- Couldn't complete this: [what went wrong]
60
- What I tried: [the fixes you attempted]
61
- ```
62
-
63
- Do not include explanations beyond the result format. Keep responses concise and structured.
@@ -1,53 +0,0 @@
1
- ---
2
- name: Spark
3
- description: Execute bash commands when no suitable specialized tool exists. Automatically fixes errors and retries if the command fails.
4
- allowedTools: [Bash, BashOutput, Read, Write]
5
- displayFields: [command, expectedResult, timeout, workdir]
6
- parameters:
7
- properties:
8
- command:
9
- type: string
10
- description: Bash command to run. Pipes, redirects, and chains all work.
11
- expectedResult:
12
- type: string
13
- description: What result you expect from this command, like "list of JavaScript files", "successful installation message", or "version number".
14
- timeout:
15
- type: number
16
- description: Max runtime in milliseconds. Defaults to 120000 (2 minutes).
17
- workdir:
18
- type: string
19
- description: Where to run the command, relative or absolute path. Defaults to current directory.
20
- required: [command, expectedResult]
21
- ---
22
-
23
- Use the bash tool to run this command: {{command}}
24
-
25
- Working directory: {{#if workdir}}{{workdir}}{{else}}current directory{{/if}}.
26
-
27
- Timeout: {{#if timeout}}{{timeout}}ms{{else}}120000ms (2 minutes){{/if}}.
28
-
29
- Expected result: {{expectedResult}}.
30
-
31
- If it works, extract what was asked for and return:
32
-
33
- ```
34
- Done: [the result matching what was expected]
35
- ```
36
-
37
- If something goes wrong, figure out why and fix it. Then try again.
38
-
39
- If the fix worked, return:
40
-
41
- ```
42
- Done: [the result matching what was expected]
43
- What I fixed: [quick note on what went wrong and how you fixed it]
44
- ```
45
-
46
- If nothing worked after a few tries, return:
47
-
48
- ```
49
- Couldn't complete this: [what went wrong]
50
- What I tried: [the fixes you attempted]
51
- ```
52
-
53
- Do not include explanations beyond the result format. Keep responses concise and structured.
@@ -1,44 +0,0 @@
1
- ---
2
- name: Sweep
3
- description: Find files matching search criteria. Returns file paths only, doesn't read contents.
4
- allowedTools: [Glob, Grep, Read]
5
- displayFields: [query, directory, maxFiles]
6
- parameters:
7
- properties:
8
- query:
9
- type: string
10
- description: What files to find, like "configuration files", "React components", or "test files for user authentication".
11
- directory:
12
- type: string
13
- description: Limit the search to this directory. If not provided, searches the entire project.
14
- maxFiles:
15
- type: number
16
- description: Maximum number of files to return. Defaults to 50.
17
- required: [query]
18
- ---
19
-
20
- Find files in the project that match this criteria: {{query}}
21
-
22
- {{#if directory}}Limit the search to this directory: {{directory}}.{{/if}}
23
-
24
- Maximum files to return: {{#if maxFiles}}{{maxFiles}}{{else}}50 (default){{/if}}.
25
-
26
- Use glob and grep to search for matching files. Only return file paths, don't read the contents.
27
-
28
- Return just the list of matching file paths:
29
-
30
- ```
31
- path/to/file1.ts
32
- path/to/file2.tsx
33
- path/to/file3.json
34
- ```
35
-
36
- If more files match than the limit allows, return the most relevant ones.
37
-
38
- If you can't find any matching files:
39
-
40
- ```
41
- Couldn't find any matches: [brief explanation of what you searched]
42
- ```
43
-
44
- Do not include explanations beyond the result format. Keep responses concise and structured.
@@ -1,54 +0,0 @@
1
- ---
2
- name: Weave
3
- description: Write content to files. Creates or overwrites files. Automatically fixes errors and retries if writing fails.
4
- allowedTools: [Write, Read, Bash, BashOutput]
5
- displayFields: [filePath, createOnly]
6
- parameters:
7
- properties:
8
- filePath:
9
- type: string
10
- description: Destination path, relative or absolute. Parent directories created automatically.
11
- content:
12
- type: string
13
- description: Complete file content. Replaces everything in the file.
14
- createOnly:
15
- type: boolean
16
- description: Only create new files? If true, won't overwrite existing files. Defaults to false.
17
- required: [filePath, content]
18
- ---
19
-
20
- Write content to this file: {{filePath}}
21
-
22
- {{#if createOnly}}Only create the file if it doesn't exist. Do not overwrite existing files.{{else}}Overwrite the file if it already exists.{{/if}}
23
-
24
- Content to write:
25
-
26
- <file_content>
27
- {{content}}
28
- </file_content>
29
-
30
- Try to write the content using the write tool.
31
-
32
- If it works, return:
33
-
34
- ```
35
- Done: Wrote N lines to {{filePath}}
36
- ```
37
-
38
- If it fails, figure out why and fix it. Then try again.
39
-
40
- If the fix worked:
41
-
42
- ```
43
- Done: Wrote N lines to {{filePath}}
44
- What I fixed: [quick note on what went wrong and how you fixed it]
45
- ```
46
-
47
- If nothing worked after a few tries:
48
-
49
- ```
50
- Couldn't complete this: [what went wrong]
51
- What I tried: [the fixes you attempted]
52
- ```
53
-
54
- Do not include explanations beyond the result format. Keep responses concise and structured.
@@ -1 +0,0 @@
1
- import{ap as a,aq as s}from"./index-B5OdXvjH.js";const o=(o,p)=>a.lang.round(s.parse(o)[p]);export{o as c};
@@ -1 +0,0 @@
1
- import{s as r,c as s,a as t,C as e}from"./chunk-B4BG7PRW-DOrSo5dD.js";import{_ as i}from"./index-B5OdXvjH.js";import"./chunk-FMBD7UC4-BnLGK1jf.js";import"./chunk-55IACEB6-DR-uhhX0.js";import"./chunk-QN33PNHL-VCJVvyMp.js";var n={parser:t,get db(){return new e},renderer:s,styles:r,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{n as diagram};
@@ -1 +0,0 @@
1
- import{s as r,c as s,a as t,C as e}from"./chunk-B4BG7PRW-DOrSo5dD.js";import{_ as i}from"./index-B5OdXvjH.js";import"./chunk-FMBD7UC4-BnLGK1jf.js";import"./chunk-55IACEB6-DR-uhhX0.js";import"./chunk-QN33PNHL-VCJVvyMp.js";var n={parser:t,get db(){return new e},renderer:s,styles:r,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{n as diagram};
@@ -1 +0,0 @@
1
- import{b as r}from"./graph-EhiCIhKK.js";function o(o){return r(o,4)}export{o as c};