gm-copilot-cli 2.0.1066 → 2.0.1067
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/lib/browser-spool-handler.js +130 -0
- package/lib/browser.js +131 -0
- package/lib/codeinsight.js +109 -0
- package/lib/daemon-bootstrap.js +435 -0
- package/lib/git.js +331 -0
- package/lib/learning.js +169 -0
- package/lib/skill-bootstrap.js +410 -0
- package/lib/spool-dispatch.js +75 -0
- package/lib/spool.js +201 -0
- package/manifest.yml +1 -1
- package/package.json +2 -2
- package/tools.json +1 -1
- package/hooks/hooks.json +0 -70
- package/hooks/hooks.spec.json +0 -65
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-copilot-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1067",
|
|
4
4
|
"description": "State machine agent with hooks, skills, and automated git enforcement",
|
|
5
5
|
"author": "AnEntrypoint",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"cli.js",
|
|
28
28
|
"agents/",
|
|
29
|
-
"hooks/",
|
|
30
29
|
"skills/",
|
|
30
|
+
"lib/",
|
|
31
31
|
".github/",
|
|
32
32
|
"copilot-profile.md",
|
|
33
33
|
"tools.json",
|
package/tools.json
CHANGED
package/hooks/hooks.json
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"description": "Hooks for gm GitHub Copilot CLI extension",
|
|
3
|
-
"hooks": {
|
|
4
|
-
"tool:invoke": [
|
|
5
|
-
{
|
|
6
|
-
"matcher": "*",
|
|
7
|
-
"hooks": [
|
|
8
|
-
{
|
|
9
|
-
"type": "command",
|
|
10
|
-
"command": "${COPILOT_EXTENSION_DIR}/bin/plugkit hook pre-tool-use",
|
|
11
|
-
"timeout": 3600
|
|
12
|
-
}
|
|
13
|
-
]
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
"tool:result": [
|
|
17
|
-
{
|
|
18
|
-
"matcher": "*",
|
|
19
|
-
"hooks": [
|
|
20
|
-
{
|
|
21
|
-
"type": "command",
|
|
22
|
-
"command": "${COPILOT_EXTENSION_DIR}/bin/plugkit hook post-tool-use",
|
|
23
|
-
"timeout": 5000
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"session:start": [
|
|
29
|
-
{
|
|
30
|
-
"matcher": "*",
|
|
31
|
-
"hooks": [
|
|
32
|
-
{
|
|
33
|
-
"type": "command",
|
|
34
|
-
"command": "${COPILOT_EXTENSION_DIR}/bin/plugkit hook session-start",
|
|
35
|
-
"timeout": 180000
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"prompt:submit": [
|
|
41
|
-
{
|
|
42
|
-
"matcher": "*",
|
|
43
|
-
"hooks": [
|
|
44
|
-
{
|
|
45
|
-
"type": "command",
|
|
46
|
-
"command": "${COPILOT_EXTENSION_DIR}/bin/plugkit hook prompt-submit",
|
|
47
|
-
"timeout": 60000
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
"session:end": [
|
|
53
|
-
{
|
|
54
|
-
"matcher": "*",
|
|
55
|
-
"hooks": [
|
|
56
|
-
{
|
|
57
|
-
"type": "command",
|
|
58
|
-
"command": "${COPILOT_EXTENSION_DIR}/bin/plugkit hook session-end",
|
|
59
|
-
"timeout": 15000
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"type": "command",
|
|
63
|
-
"command": "${COPILOT_EXTENSION_DIR}/bin/plugkit hook session-end-git",
|
|
64
|
-
"timeout": 210000
|
|
65
|
-
}
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
}
|
package/hooks/hooks.spec.json
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"description": "Hook spec for gm GitHub Copilot CLI extension",
|
|
4
|
-
"envVar": "COPILOT_EXTENSION_DIR",
|
|
5
|
-
"plugkitInvoker": "binary",
|
|
6
|
-
"events": [
|
|
7
|
-
{
|
|
8
|
-
"eventKey": "tool:invoke",
|
|
9
|
-
"commands": [
|
|
10
|
-
{
|
|
11
|
-
"kind": "plugkit",
|
|
12
|
-
"subcommand": "pre-tool-use",
|
|
13
|
-
"timeout": 3600
|
|
14
|
-
}
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"eventKey": "tool:result",
|
|
19
|
-
"commands": [
|
|
20
|
-
{
|
|
21
|
-
"kind": "plugkit",
|
|
22
|
-
"subcommand": "post-tool-use",
|
|
23
|
-
"timeout": 5000
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"eventKey": "session:start",
|
|
29
|
-
"commands": [
|
|
30
|
-
{
|
|
31
|
-
"kind": "plugkit",
|
|
32
|
-
"subcommand": "session-start",
|
|
33
|
-
"timeout": 180000
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"eventKey": "prompt:submit",
|
|
39
|
-
"commands": [
|
|
40
|
-
{
|
|
41
|
-
"kind": "plugkit",
|
|
42
|
-
"subcommand": "prompt-submit",
|
|
43
|
-
"timeout": 60000
|
|
44
|
-
}
|
|
45
|
-
]
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"eventKey": "session:end",
|
|
49
|
-
"commands": [
|
|
50
|
-
{
|
|
51
|
-
"kind": "plugkit",
|
|
52
|
-
"subcommand": "stop",
|
|
53
|
-
"subcommandRename": "session-end",
|
|
54
|
-
"timeout": 15000
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"kind": "plugkit",
|
|
58
|
-
"subcommand": "stop-git",
|
|
59
|
-
"subcommandRename": "session-end-git",
|
|
60
|
-
"timeout": 210000
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
}
|