omni-context-cli 0.0.33 → 0.0.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omni-context-cli",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "Omx is a small, helpful, zero-telemetry coding assistant.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,67 +0,0 @@
1
- ---
2
- name: graphic
3
- description: Analyze code relationships and structure. Shows dependencies, call flows, or hierarchies. Best for understanding architecture.
4
- allowedTools: [Read, Grep, Glob]
5
- parameters:
6
- properties:
7
- target:
8
- type: string
9
- description: The feature, module, or component to diagram
10
- diagramType:
11
- type: string
12
- description: Type of diagram—flowchart, dependency, class, or sequence. If not specified, automatically choose the best fit.
13
- required: [target]
14
- ---
15
-
16
- Target: {{target}}
17
- Diagram type: {{diagramType}}
18
-
19
- First, locate all files related to the target feature or module using glob and grep.
20
-
21
- Analyze the code structure to understand the architecture and relationships.
22
-
23
- {{#if (eq diagramType "flowchart")}}
24
- Generate a flowchart showing the logic flow and decision points:
25
-
26
- ```mermaid
27
- flowchart TD
28
- [diagram code]
29
- ```
30
-
31
- Include a brief description explaining the flow.
32
- {{/if}}
33
-
34
- {{#if (eq diagramType "dependency")}}
35
- Generate a dependency graph showing how modules depend on each other:
36
-
37
- ```mermaid
38
- graph LR
39
- [diagram code]
40
- ```
41
-
42
- Include a brief description explaining the dependencies.
43
- {{/if}}
44
-
45
- {{#if (eq diagramType "class")}}
46
- Generate a class diagram showing class structure and relationships:
47
-
48
- ```mermaid
49
- classDiagram
50
- [diagram code]
51
- ```
52
-
53
- Include a brief description explaining the class architecture.
54
- {{/if}}
55
-
56
- {{#if (eq diagramType "sequence")}}
57
- Generate a sequence diagram showing interaction flow between components:
58
-
59
- ```mermaid
60
- sequenceDiagram
61
- [diagram code]
62
- ```
63
-
64
- Include a brief description explaining the interaction sequence.
65
- {{/if}}
66
-
67
- Keep the diagram focused and readable—show the most important elements, not every detail.
@@ -1,31 +0,0 @@
1
- ---
2
- name: spark
3
- description: Handle ultra-specific, step-by-step tasks that require zero judgment or analysis. Only use for foolproof mechanical operations with exact instructions.
4
- allowedTools: [Read, Write, Edit, Glob, Grep, Bash, BashOutput]
5
- parameters:
6
- properties:
7
- task:
8
- type: string
9
- description: The specific task to complete. Be concrete and unambiguous—state exactly what to do and what the end result should look like.
10
- required: [task]
11
- ---
12
-
13
- Task: {{task}}
14
-
15
- Execute this task directly. Don't ask questions or propose alternatives—just do it.
16
-
17
- Follow these rules:
18
- 1. Take the most straightforward path to complete the task
19
- 2. If something is unclear, make a reasonable assumption and proceed
20
- 3. Don't add anything beyond what was asked
21
- 4. Don't refactor or improve unrelated code
22
-
23
- When done, return the result in this format:
24
- ```
25
- Done: [brief summary of what was completed]
26
- ```
27
-
28
- If the task cannot be completed, return:
29
- ```
30
- Blocked: [what's preventing completion]
31
- ```
@@ -1,48 +0,0 @@
1
- ---
2
- name: unravel
3
- description: Analyze a function to identify which other functions it calls, then retrieve their implementations. Returns the actual code of all called functions.
4
- allowedTools: [Read, Grep, Glob]
5
- parameters:
6
- properties:
7
- filePath:
8
- type: string
9
- description: Path to the file containing the function to analyze
10
- functionName:
11
- type: string
12
- description: Name of the function to analyze for its internal function calls
13
- required: [filePath, functionName]
14
- ---
15
-
16
- File: {{filePath}}
17
- Function: {{functionName}}
18
-
19
- Read the file and locate the function. Analyze its body to identify all function calls it makes.
20
-
21
- For each significant function call (ignore built-ins, standard library, and trivial operations):
22
- 1. Use grep and glob to locate the implementation
23
- 2. Read the file to extract the implementation code
24
-
25
- Return the implementations in this exact format. For each called function found, include:
26
-
27
- ```
28
- Function: functionName
29
- File: path/to/file.ts
30
- Lines X-Y:
31
- <code>
32
- ```
33
-
34
- If multiple functions are called, separate each with "---":
35
-
36
- ```
37
- Function: firstFunction
38
- File: path/to/file1.ts
39
- Lines X-Y:
40
- <code>
41
- ---
42
- Function: secondFunction
43
- File: path/to/file2.ts
44
- Lines A-B:
45
- <code>
46
- ```
47
-
48
- Do not include explanations beyond the result format. Keep responses concise and structured.