gm-copilot-cli 2.0.352 → 2.0.354
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/copilot-profile.md +1 -1
- package/index.html +1 -1
- package/manifest.yml +1 -1
- package/package.json +1 -1
- package/skills/code-search/SKILL.md +57 -0
- package/skills/gm/SKILL.md +9 -2
- package/skills/gm-execute/SKILL.md +9 -2
- package/tools.json +1 -1
package/copilot-profile.md
CHANGED
package/index.html
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<script type="module">
|
|
19
19
|
import { createElement as h, applyDiff, Fragment } from "webjsx";
|
|
20
20
|
const PLATFORM_NAME="Copilot CLI",PLATFORM_TYPE="CLI Tool",PLATFORM_TYPE_COLOR="#3b82f6";
|
|
21
|
-
const DESCRIPTION="State machine agent with hooks, skills, and automated git enforcement",VERSION="2.0.
|
|
21
|
+
const DESCRIPTION="State machine agent with hooks, skills, and automated git enforcement",VERSION="2.0.354";
|
|
22
22
|
const GITHUB_URL="https://github.com/AnEntrypoint/gm-copilot-cli",BADGE_LABEL="copilot-cli";
|
|
23
23
|
const FEATURES=[{"title":"State Machine","desc":"Immutable PLAN→EXECUTE→EMIT→VERIFY→COMPLETE phases with full mutable tracking"},{"title":"Semantic Search","desc":"Natural language codebase exploration via codesearch skill — no grep needed"},{"title":"Hooks","desc":"Pre-tool, session-start, prompt-submit, and stop hooks for full lifecycle control"},{"title":"Agents","desc":"gm, codesearch, and websearch agents pre-configured and ready to use"},{"title":"MCP Integration","desc":"Model Context Protocol server support built in"},{"title":"Auto-Recovery","desc":"Supervisor hierarchy ensures the system never crashes"}],INSTALL_STEPS=[{"desc":"Install via GitHub CLI","cmd":"gh extension install AnEntrypoint/gm-copilot-cli"},{"desc":"Restart your terminal — activates automatically"}];
|
|
24
24
|
const CURRENT_PLATFORM="gm-copilot-cli";
|
package/manifest.yml
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-search
|
|
3
|
+
description: Mandatory codebase search workflow. Use whenever you need to find anything in the codebase. Start with two words, iterate by changing or adding words until found.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# CODEBASE SEARCH — Mandatory Workflow
|
|
7
|
+
|
|
8
|
+
`exec:codesearch` is the only way to search the codebase. Glob, Grep, Find, Explore are hook-blocked.
|
|
9
|
+
|
|
10
|
+
## Syntax
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
exec:codesearch
|
|
14
|
+
<natural language query>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Mandatory Search Protocol
|
|
18
|
+
|
|
19
|
+
**Start with exactly two words.** Never start broader. Never start with one word.
|
|
20
|
+
|
|
21
|
+
**Iterate by changing or adding words** — do not switch approach or give up until the content is found:
|
|
22
|
+
|
|
23
|
+
1. Start: two-word query most likely to match
|
|
24
|
+
2. No results → change one word (synonym, related term)
|
|
25
|
+
3. Still no results → add a third word (narrow scope)
|
|
26
|
+
4. Still no results → swap the changed word again
|
|
27
|
+
5. Keep iterating — changing or adding words each pass — until content is found
|
|
28
|
+
|
|
29
|
+
**Never**: start with one word | start with a sentence | give up after one miss | switch to a different tool | declare content missing after fewer than 4 search attempts
|
|
30
|
+
|
|
31
|
+
**Each search is one `exec:codesearch` call.** Run them sequentially — use each result to inform the next query.
|
|
32
|
+
|
|
33
|
+
## Examples
|
|
34
|
+
|
|
35
|
+
Finding where a function is defined:
|
|
36
|
+
```
|
|
37
|
+
exec:codesearch
|
|
38
|
+
session cleanup idle
|
|
39
|
+
```
|
|
40
|
+
→ no results →
|
|
41
|
+
```
|
|
42
|
+
exec:codesearch
|
|
43
|
+
cleanup sessions timeout
|
|
44
|
+
```
|
|
45
|
+
→ found.
|
|
46
|
+
|
|
47
|
+
Finding config format:
|
|
48
|
+
```
|
|
49
|
+
exec:codesearch
|
|
50
|
+
plugin registration format
|
|
51
|
+
```
|
|
52
|
+
→ no results →
|
|
53
|
+
```
|
|
54
|
+
exec:codesearch
|
|
55
|
+
plugin config array
|
|
56
|
+
```
|
|
57
|
+
→ found.
|
package/skills/gm/SKILL.md
CHANGED
|
@@ -86,12 +86,19 @@ start|stop|status
|
|
|
86
86
|
|
|
87
87
|
## CODEBASE EXPLORATION
|
|
88
88
|
|
|
89
|
+
`exec:codesearch` is the only way to search. **Glob, Grep, Read, Explore, WebSearch are hook-blocked.**
|
|
90
|
+
|
|
89
91
|
```
|
|
90
92
|
exec:codesearch
|
|
91
|
-
<
|
|
93
|
+
<two-word query to start>
|
|
92
94
|
```
|
|
93
95
|
|
|
94
|
-
|
|
96
|
+
**Mandatory search protocol** (from `code-search` skill):
|
|
97
|
+
1. Start with exactly **two words** — never one, never a sentence
|
|
98
|
+
2. No results → change one word (synonym or related term)
|
|
99
|
+
3. Still no results → add a third word to narrow scope
|
|
100
|
+
4. Keep changing or adding words each pass until content is found
|
|
101
|
+
5. Minimum 4 attempts before concluding content is absent
|
|
95
102
|
|
|
96
103
|
## BROWSER AUTOMATION
|
|
97
104
|
|
|
@@ -61,12 +61,19 @@ start|stop|status
|
|
|
61
61
|
|
|
62
62
|
## CODEBASE EXPLORATION
|
|
63
63
|
|
|
64
|
+
`exec:codesearch` is the only way to search. **Glob, Grep, Read, Explore, WebSearch are hook-blocked.**
|
|
65
|
+
|
|
64
66
|
```
|
|
65
67
|
exec:codesearch
|
|
66
|
-
<
|
|
68
|
+
<two-word query to start>
|
|
67
69
|
```
|
|
68
70
|
|
|
69
|
-
|
|
71
|
+
**Mandatory search protocol** (from `code-search` skill):
|
|
72
|
+
1. Start with exactly **two words** — never one, never a sentence
|
|
73
|
+
2. No results → change one word (synonym or related term)
|
|
74
|
+
3. Still no results → add a third word to narrow scope
|
|
75
|
+
4. Keep changing or adding words each pass until content is found
|
|
76
|
+
5. Minimum 4 attempts before concluding content is absent
|
|
70
77
|
|
|
71
78
|
## IMPORT-BASED DEBUGGING
|
|
72
79
|
|