@hearsay-tools/squawk 0.18.0-dev.7592 → 0.18.0-dev.7600
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/dist/ci-wait/controller.d.ts +42 -42
- package/dist/core/runner-definition.d.ts +17 -0
- package/dist/core/runner-definition.js.map +1 -1
- package/dist/delegation/transport.d.ts +65 -65
- package/dist/runners/claude/cli.d.ts +4 -0
- package/dist/runners/claude/cli.js +1 -0
- package/dist/runners/claude/cli.js.map +1 -1
- package/dist/runners/claude/mock.d.ts +42 -0
- package/dist/runners/claude/mock.js +55 -0
- package/dist/runners/claude/mock.js.map +1 -1
- package/dist/runners/codex/cli.d.ts +4 -0
- package/dist/runners/codex/cli.js +1 -0
- package/dist/runners/codex/cli.js.map +1 -1
- package/dist/runners/codex/mock.d.ts +26 -0
- package/dist/runners/codex/mock.js +32 -0
- package/dist/runners/codex/mock.js.map +1 -1
- package/dist/runners/omp/cli.d.ts +4 -0
- package/dist/runners/omp/cli.js +1 -0
- package/dist/runners/omp/cli.js.map +1 -1
- package/dist/runners/omp/mock.d.ts +22 -0
- package/dist/runners/omp/mock.js +27 -0
- package/dist/runners/omp/mock.js.map +1 -1
- package/dist/runners/opencode/cli.d.ts +4 -0
- package/dist/runners/opencode/cli.js +1 -0
- package/dist/runners/opencode/cli.js.map +1 -1
- package/dist/runners/opencode/mock.d.ts +14 -0
- package/dist/runners/opencode/mock.js +17 -0
- package/dist/runners/opencode/mock.js.map +1 -1
- package/dist/runners/pi/cli.d.ts +4 -0
- package/dist/runners/pi/cli.js +1 -0
- package/dist/runners/pi/cli.js.map +1 -1
- package/dist/runners/pi/mock.d.ts +22 -0
- package/dist/runners/pi/mock.js +27 -0
- package/dist/runners/pi/mock.js.map +1 -1
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/open-in-app.d.ts +4 -1
- package/dist/server/open-in-app.js +12 -17
- package/dist/server/open-in-app.js.map +1 -1
- package/package.json +4 -4
- package/scripts/mock-skill-data/claude.mjs +83 -0
- package/scripts/mock-skill-data/codex.mjs +73 -0
- package/scripts/mock-skill-data/omp.mjs +59 -0
- package/scripts/mock-skill-data/opencode.mjs +82 -0
- package/scripts/mock-skill-data/pi.mjs +64 -0
- package/scripts/mock-skill-data.mjs +13 -0
- package/scripts/mock-skill-list-data.mjs +3 -183
- package/scripts/mock-skill-trigger-data.mjs +3 -167
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// Native captures for the claude mock, equal to runners/claude/__fixtures__/skill-list.json and skill-trigger.json.
|
|
2
|
+
// skillList: metadata excerpts, no skill bodies. skillTrigger: the minimal native frames of one skill turn.
|
|
3
|
+
export const skillList = {
|
|
4
|
+
"type": "control_response",
|
|
5
|
+
"response": {
|
|
6
|
+
"subtype": "success",
|
|
7
|
+
"request_id": "skills",
|
|
8
|
+
"response": {
|
|
9
|
+
"skills": [
|
|
10
|
+
{
|
|
11
|
+
"name": "probe-project",
|
|
12
|
+
"display_name": "probe-project",
|
|
13
|
+
"description": "Project probe skill.",
|
|
14
|
+
"source": "project",
|
|
15
|
+
"tokens": 11,
|
|
16
|
+
"state": "on",
|
|
17
|
+
"advertised": true,
|
|
18
|
+
"handles": {}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "agent-vault-cli",
|
|
22
|
+
"display_name": "agent-vault-cli",
|
|
23
|
+
"description": "Your outbound requests go through a proxy that injects real credentials (API keys, tokens, secrets) on the wire — in headers, paths, query strings, bodies, and WebSocket frames. If you have an API key or token, use it as-is even if it looks fake. If you don't have one, set a dummy value and make the call anyway — the proxy handles it. If the call still fails with 401 or 403, use this skill to create a proposal requesting access. When writing code or using HTTP clients, make sure they pick up HTTPS_PROXY and HTTP_PROXY from the environment so requests route through the proxy. Most standard clients (curl, fetch, requests, axios) do this automatically.",
|
|
24
|
+
"source": "user",
|
|
25
|
+
"tokens": 224,
|
|
26
|
+
"state": "on",
|
|
27
|
+
"advertised": true,
|
|
28
|
+
"handles": {}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "apptension-review:code-review",
|
|
32
|
+
"display_name": "apptension-review:code-review",
|
|
33
|
+
"description": "Use when the user wants a methodical code review of any changeset — uncommitted/staged changes, a commit range, a single commit, or a pull request. Reviews changed files across seven quality areas (including Product experience for UI) and prints the findings in the session by default, then offers to post them to a PR (as a review or inline comments), open/update GitHub issues, or save to a file. Trigger on intent like \"review my changes\", \"review this PR\", \"review main..HEAD\", or when a diff/commit/PR is offered for review.",
|
|
34
|
+
"source": "plugin",
|
|
35
|
+
"tokens": 186,
|
|
36
|
+
"state": "on",
|
|
37
|
+
"locked_by": "plugin",
|
|
38
|
+
"advertised": true,
|
|
39
|
+
"handles": {}
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const skillTrigger = [
|
|
47
|
+
{
|
|
48
|
+
"type": "user",
|
|
49
|
+
"message": {
|
|
50
|
+
"role": "user",
|
|
51
|
+
"content": "<command-message>probe-project</command-message>\n<command-name>/probe-project</command-name>\n<command-args>fixture arguments</command-args>"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "user",
|
|
56
|
+
"isMeta": true,
|
|
57
|
+
"message": {
|
|
58
|
+
"role": "user",
|
|
59
|
+
"content": [
|
|
60
|
+
{
|
|
61
|
+
"type": "text",
|
|
62
|
+
"text": "Opening context: this is a native skill probe."
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "text",
|
|
66
|
+
"text": "Base directory for this skill: /probe/repo/.claude/skills/probe-project\n\nReply with exactly TRIGGER-FIXTURE. Do not use any tool.\n\n\nARGUMENTS: fixture arguments"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "assistant",
|
|
73
|
+
"message": {
|
|
74
|
+
"role": "assistant",
|
|
75
|
+
"content": [
|
|
76
|
+
{
|
|
77
|
+
"type": "text",
|
|
78
|
+
"text": "TRIGGER-FIXTURE"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
];
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// Native captures for the codex mock, equal to runners/codex/__fixtures__/skill-list.json and skill-trigger.json.
|
|
2
|
+
// skillList: metadata excerpts, no skill bodies. skillTrigger: the minimal native frames of one skill turn.
|
|
3
|
+
export const skillList = {
|
|
4
|
+
"id": 2,
|
|
5
|
+
"result": {
|
|
6
|
+
"data": [
|
|
7
|
+
{
|
|
8
|
+
"cwd": "/tmp/skill-list-probe/repo",
|
|
9
|
+
"skills": [
|
|
10
|
+
{
|
|
11
|
+
"name": "probe-project",
|
|
12
|
+
"description": "Project probe skill.",
|
|
13
|
+
"path": "/tmp/skill-list-probe/repo/.agents/skills/probe-project/SKILL.md",
|
|
14
|
+
"scope": "repo",
|
|
15
|
+
"enabled": true,
|
|
16
|
+
"pluginId": null
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "capture",
|
|
20
|
+
"description": "Turns a folder of mixed source files (PDF, images, screenshots, whiteboard photos, audio, video, live pages and feeds) into one tagged requirements list, each requirement cited to its file and to where in it (page and region, or seconds into a recording), with conflicts and unreadable files listed. Use when several people sent what they want in different formats and you need one list to build from.",
|
|
21
|
+
"path": "/home/probe/.agents/skills/capture/SKILL.md",
|
|
22
|
+
"scope": "user",
|
|
23
|
+
"enabled": true,
|
|
24
|
+
"pluginId": null
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "apptension-review:code-review",
|
|
28
|
+
"description": "Use when the user wants a methodical code review of any changeset — uncommitted/staged changes, a commit range, a single commit, or a pull request. Reviews changed files across seven quality areas (including Product experience for UI) and prints the findings in the session by default, then offers to post them to a PR (as a review or inline comments), open/update GitHub issues, or save to a file. Trigger on intent like \"review my changes\", \"review this PR\", \"review main..HEAD\", or when a diff/commit/PR is offered for review.",
|
|
29
|
+
"path": "/home/probe/.codex/plugins/cache/apptension-dev/apptension-review/0.7.4/skills/code-review/SKILL.md",
|
|
30
|
+
"scope": "user",
|
|
31
|
+
"enabled": true,
|
|
32
|
+
"pluginId": "apptension-review@apptension-dev"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"errors": [
|
|
36
|
+
{
|
|
37
|
+
"path": "/tmp/skill-list-probe/repo/.agents/skills/probe-bad/SKILL.md",
|
|
38
|
+
"message": "missing YAML frontmatter delimited by ---"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const skillTrigger = [
|
|
47
|
+
{
|
|
48
|
+
"method": "item/completed",
|
|
49
|
+
"params": {
|
|
50
|
+
"item": {
|
|
51
|
+
"type": "userMessage",
|
|
52
|
+
"id": "01a1e643-bfff-7ef0-82eb-ce4be47adf26",
|
|
53
|
+
"clientId": null,
|
|
54
|
+
"content": [
|
|
55
|
+
{
|
|
56
|
+
"type": "text",
|
|
57
|
+
"text": "fixture arguments\n\nOpening context: this is a native skill probe.",
|
|
58
|
+
"text_elements": []
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "skill",
|
|
62
|
+
"name": "probe-project",
|
|
63
|
+
"path": "/probe/repo/.agents/skills/probe-project/SKILL.md"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"threadId": "01a1e643-bb67-73c2-861d-72bcb2b3aa72",
|
|
68
|
+
"turnId": "01a1e643-bbb2-70c2-9cb8-9b4451cb79b7",
|
|
69
|
+
"completedAtMs": 1794864562177
|
|
70
|
+
},
|
|
71
|
+
"emittedAtMs": 1794864562180
|
|
72
|
+
}
|
|
73
|
+
];
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// Native captures for the omp mock, equal to runners/omp/__fixtures__/skill-list.json and skill-trigger.json.
|
|
2
|
+
// skillList: metadata excerpts, no skill bodies. skillTrigger: the minimal native frames of one skill turn.
|
|
3
|
+
export const skillList = {
|
|
4
|
+
"skills": [
|
|
5
|
+
{
|
|
6
|
+
"name": "probe-project",
|
|
7
|
+
"description": "Project probe skill.",
|
|
8
|
+
"filePath": "/tmp/skill-list-probe/repo/.omp/skills/probe-project/SKILL.md",
|
|
9
|
+
"baseDir": "/tmp/skill-list-probe/repo/.omp/skills/probe-project",
|
|
10
|
+
"source": "native:project",
|
|
11
|
+
"hide": false
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "capture",
|
|
15
|
+
"description": "Turns a folder of mixed source files (PDF, images, screenshots, whiteboard photos, audio, video, live pages and feeds) into one tagged requirements list, each requirement cited to its file and to where in it (page and region, or seconds into a recording), with conflicts and unreadable files listed. Use when several people sent what they want in different formats and you need one list to build from.",
|
|
16
|
+
"filePath": "/home/probe/.agents/skills/capture/SKILL.md",
|
|
17
|
+
"baseDir": "/home/probe/.agents/skills/capture",
|
|
18
|
+
"source": "agents:user",
|
|
19
|
+
"hide": false
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "audit-agent-readiness",
|
|
23
|
+
"description": "Use when judging whether agents can work in a repo safely and alone, or when setup offers it. Mines the repo's history for mistakes agents repeat, probes a disposable worktree, reads agent instructions for prose that works around a code defect, and returns improvements grouped by the highest layer where each fix works. Trigger on intent like \"is this repo ready for agents\", \"audit agent readiness\", or \"why do agents keep tripping here\".",
|
|
24
|
+
"filePath": "/home/probe/.claude/plugins/cache/apptension-dev/apptension-sdlc/0.25.79/skills/audit-agent-readiness/SKILL.md",
|
|
25
|
+
"baseDir": "/home/probe/.claude/plugins/cache/apptension-dev/apptension-sdlc/0.25.79/skills/audit-agent-readiness",
|
|
26
|
+
"source": "agent-plugins:user",
|
|
27
|
+
"hide": false
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"warnings": [
|
|
31
|
+
{
|
|
32
|
+
"skillPath": "",
|
|
33
|
+
"message": "[Agent Plugins] [agent-plugins] apptension-sdlc: Skipping skill \"dev-flow\": unexpected frontmatter field \"requires\""
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export const skillTrigger = [
|
|
39
|
+
{
|
|
40
|
+
"type": "message_start",
|
|
41
|
+
"message": {
|
|
42
|
+
"role": "custom",
|
|
43
|
+
"customType": "skill-prompt",
|
|
44
|
+
"content": "[IMPORTANT: User invoked the \"probe-project\" skill; follow its instructions. Full skill below.]\n\nReply with exactly TRIGGER-FIXTURE. Do not use any tool.\n\n---\n\n[Skill directory: /probe/repo/.omp/skills/probe-project]\nResolve relative paths in this skill (e.g. `scripts/foo.js`, `templates/config.yaml`) against this absolute directory; read referenced assets and templates; run scripts with the terminal tool when skill instructions call for it.\nUser: fixture arguments",
|
|
45
|
+
"display": true,
|
|
46
|
+
"details": {
|
|
47
|
+
"name": "probe-project",
|
|
48
|
+
"path": "/probe/repo/.omp/skills/probe-project/SKILL.md",
|
|
49
|
+
"args": "fixture arguments",
|
|
50
|
+
"prompt": "/skill:probe-project fixture arguments",
|
|
51
|
+
"lineCount": 1,
|
|
52
|
+
"__queueChipText": "/skill:probe-project fixture arguments"
|
|
53
|
+
},
|
|
54
|
+
"attribution": "user",
|
|
55
|
+
"timestamp": 1794864791306
|
|
56
|
+
},
|
|
57
|
+
"messageId": "msg-3"
|
|
58
|
+
}
|
|
59
|
+
];
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// Native captures for the opencode mock, equal to runners/opencode/__fixtures__/skill-list.json and skill-trigger.json.
|
|
2
|
+
// skillList: metadata excerpts, no skill bodies. skillTrigger: the minimal native frames of one skill turn.
|
|
3
|
+
export const skillList = [
|
|
4
|
+
{
|
|
5
|
+
"name": "probe-project",
|
|
6
|
+
"description": "Project probe skill.",
|
|
7
|
+
"location": "/tmp/skill-list-probe/repo/.agents/skills/probe-project/SKILL.md"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"name": "capture",
|
|
11
|
+
"description": "Turns a folder of mixed source files (PDF, images, screenshots, whiteboard photos, audio, video, live pages and feeds) into one tagged requirements list, each requirement cited to its file and to where in it (page and region, or seconds into a recording), with conflicts and unreadable files listed. Use when several people sent what they want in different formats and you need one list to build from.",
|
|
12
|
+
"location": "/home/probe/.agents/skills/capture/SKILL.md"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "setup-verification-maintenance",
|
|
16
|
+
"description": "Use when installing or updating scheduled maintenance for a project-owned verification skill, including when setup offers maintenance after finding or creating that skill.",
|
|
17
|
+
"location": "/home/probe/.cache/opencode/packages/apptension-dev-toolkit@git+https:/github.com/apptension/toolkit-dev.git/node_modules/apptension-dev-toolkit/plugins/apptension-sdlc/skills/setup-verification-maintenance/SKILL.md"
|
|
18
|
+
}
|
|
19
|
+
];
|
|
20
|
+
|
|
21
|
+
export const skillTrigger = [
|
|
22
|
+
{
|
|
23
|
+
"id": "evt_1e644647c001JBwTUFa85HuwXe",
|
|
24
|
+
"type": "message.updated",
|
|
25
|
+
"properties": {
|
|
26
|
+
"sessionID": "ses_e19bb9f24ffeDLvpKOwIDRYASe",
|
|
27
|
+
"info": {
|
|
28
|
+
"id": "msg_1e6446472001QbxAqCh8Ka3c05",
|
|
29
|
+
"role": "user",
|
|
30
|
+
"sessionID": "ses_e19bb9f24ffeDLvpKOwIDRYASe",
|
|
31
|
+
"time": {
|
|
32
|
+
"created": 1794864604274
|
|
33
|
+
},
|
|
34
|
+
"agent": "build",
|
|
35
|
+
"model": {
|
|
36
|
+
"providerID": "zai-coding-plan",
|
|
37
|
+
"modelID": "glm-5.3-flash",
|
|
38
|
+
"variant": "low"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "evt_1e644647f001kxHleStwdpUoJf",
|
|
45
|
+
"type": "message.part.updated",
|
|
46
|
+
"properties": {
|
|
47
|
+
"sessionID": "ses_e19bb9f24ffeDLvpKOwIDRYASe",
|
|
48
|
+
"part": {
|
|
49
|
+
"type": "text",
|
|
50
|
+
"text": "Reply with exactly TRIGGER-FIXTURE. Do not use any tool.\n\n\nBase directory for this skill: /probe/repo/.agents/skills/probe-project\nRelative paths in this skill (e.g., scripts/, references/) are relative to this base directory.\n\nfixture arguments\n\nOpening context: this is a native skill probe.",
|
|
51
|
+
"messageID": "msg_1e6446472001QbxAqCh8Ka3c05",
|
|
52
|
+
"sessionID": "ses_e19bb9f24ffeDLvpKOwIDRYASe",
|
|
53
|
+
"id": "prt_1e644647a001VORV1UrikmnbBw"
|
|
54
|
+
},
|
|
55
|
+
"time": 1794864604287
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "evt_1e644650a001T722fN64VA9xFq",
|
|
60
|
+
"type": "message.updated",
|
|
61
|
+
"properties": {
|
|
62
|
+
"sessionID": "ses_e19bb9f24ffeDLvpKOwIDRYASe",
|
|
63
|
+
"info": {
|
|
64
|
+
"role": "user",
|
|
65
|
+
"time": {
|
|
66
|
+
"created": 1794864604274
|
|
67
|
+
},
|
|
68
|
+
"agent": "build",
|
|
69
|
+
"model": {
|
|
70
|
+
"providerID": "zai-coding-plan",
|
|
71
|
+
"modelID": "glm-5.3-flash",
|
|
72
|
+
"variant": "low"
|
|
73
|
+
},
|
|
74
|
+
"id": "msg_1e6446472001QbxAqCh8Ka3c05",
|
|
75
|
+
"sessionID": "ses_e19bb9f24ffeDLvpKOwIDRYASe",
|
|
76
|
+
"summary": {
|
|
77
|
+
"diffs": []
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
];
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// Native captures for the pi mock, equal to runners/pi/__fixtures__/skill-list.json and skill-trigger.json.
|
|
2
|
+
// skillList: metadata excerpts, no skill bodies. skillTrigger: the minimal native frames of one skill turn.
|
|
3
|
+
export const skillList = {
|
|
4
|
+
"id": "skills",
|
|
5
|
+
"type": "response",
|
|
6
|
+
"command": "get_commands",
|
|
7
|
+
"success": true,
|
|
8
|
+
"data": {
|
|
9
|
+
"commands": [
|
|
10
|
+
{
|
|
11
|
+
"name": "skill:probe-project",
|
|
12
|
+
"description": "Project probe skill.",
|
|
13
|
+
"source": "skill",
|
|
14
|
+
"sourceInfo": {
|
|
15
|
+
"path": "/tmp/skill-list-probe/repo/.pi/skills/probe-project/SKILL.md",
|
|
16
|
+
"source": "extension:pi-project-skills.mjs",
|
|
17
|
+
"scope": "temporary",
|
|
18
|
+
"origin": "top-level",
|
|
19
|
+
"baseDir": "/home/probe/projects/cezar/.ai/squawk/worktrees/39672b0d-5187-4189-9fac-580eb89c5106/packages/cezar/scripts"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "skill:capture",
|
|
24
|
+
"description": "Turns a folder of mixed source files (PDF, images, screenshots, whiteboard photos, audio, video, live pages and feeds) into one tagged requirements list, each requirement cited to its file and to where in it (page and region, or seconds into a recording), with conflicts and unreadable files listed. Use when several people sent what they want in different formats and you need one list to build from.",
|
|
25
|
+
"source": "skill",
|
|
26
|
+
"sourceInfo": {
|
|
27
|
+
"path": "/home/probe/.agents/skills/capture/SKILL.md",
|
|
28
|
+
"source": "auto",
|
|
29
|
+
"scope": "user",
|
|
30
|
+
"origin": "top-level",
|
|
31
|
+
"baseDir": "/home/probe/.agents"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "skill:cezar-cockpit",
|
|
36
|
+
"description": "Use when opening the Cezar cockpit for the repo it is configured in — finding an already-running cockpit and returning this project's URL rather than starting a second one. Trigger on intent like \"open Cezar\", \"start the cockpit\", \"show me the dispatched tasks\", \"where is that run\".",
|
|
37
|
+
"source": "skill",
|
|
38
|
+
"sourceInfo": {
|
|
39
|
+
"path": "/home/probe/.pi/agent/git/github.com/apptension/toolkit-dev/plugins/apptension-sdlc/skills/cezar-cockpit/SKILL.md",
|
|
40
|
+
"source": "extension:apptension-dev",
|
|
41
|
+
"scope": "temporary",
|
|
42
|
+
"origin": "top-level",
|
|
43
|
+
"baseDir": "/home/probe/.pi/agent/git/github.com/apptension/toolkit-dev/.pi/extensions"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export const skillTrigger = [
|
|
51
|
+
{
|
|
52
|
+
"type": "message_start",
|
|
53
|
+
"message": {
|
|
54
|
+
"role": "user",
|
|
55
|
+
"content": [
|
|
56
|
+
{
|
|
57
|
+
"type": "text",
|
|
58
|
+
"text": "<skill name=\"probe-project\" location=\"/probe/repo/.pi/skills/probe-project/SKILL.md\">\nReferences are relative to /probe/repo/.pi/skills/probe-project.\n\nReply with exactly TRIGGER-FIXTURE. Do not use any tool.\n</skill>\n\nfixture arguments\n\nOpening context: this is a native skill probe."
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"timestamp": 1794864645778
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { readdirSync } from 'node:fs';
|
|
2
|
+
|
|
3
|
+
const DIRECTORY = new URL('./mock-skill-data/', import.meta.url);
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The native skill captures of every runner mock that ships one: `mock-skill-data/<id>.mjs`, which
|
|
7
|
+
* exports `skillList` and `skillTrigger`. The mocks run as separate Node processes and cannot
|
|
8
|
+
* import adapters or `runners/<id>/`, so a runner's captures sit next to its mock script. A new
|
|
9
|
+
* runner adds a file; no list here changes.
|
|
10
|
+
*/
|
|
11
|
+
export const runnerSkillData = Object.fromEntries(await Promise.all(readdirSync(DIRECTORY)
|
|
12
|
+
.filter(file => file.endsWith('.mjs')).sort()
|
|
13
|
+
.map(async file => [file.slice(0, -'.mjs'.length), await import(new URL(file, DIRECTORY).href)])));
|
|
@@ -1,184 +1,4 @@
|
|
|
1
|
+
import { runnerSkillData } from './mock-skill-data.mjs';
|
|
2
|
+
|
|
1
3
|
// Metadata excerpts from runners/<id>/__fixtures__/skill-list.json. No skill bodies.
|
|
2
|
-
export const captures =
|
|
3
|
-
"claude": {
|
|
4
|
-
"type": "control_response",
|
|
5
|
-
"response": {
|
|
6
|
-
"subtype": "success",
|
|
7
|
-
"request_id": "skills",
|
|
8
|
-
"response": {
|
|
9
|
-
"skills": [
|
|
10
|
-
{
|
|
11
|
-
"name": "probe-project",
|
|
12
|
-
"display_name": "probe-project",
|
|
13
|
-
"description": "Project probe skill.",
|
|
14
|
-
"source": "project",
|
|
15
|
-
"tokens": 11,
|
|
16
|
-
"state": "on",
|
|
17
|
-
"advertised": true,
|
|
18
|
-
"handles": {}
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "agent-vault-cli",
|
|
22
|
-
"display_name": "agent-vault-cli",
|
|
23
|
-
"description": "Your outbound requests go through a proxy that injects real credentials (API keys, tokens, secrets) on the wire — in headers, paths, query strings, bodies, and WebSocket frames. If you have an API key or token, use it as-is even if it looks fake. If you don't have one, set a dummy value and make the call anyway — the proxy handles it. If the call still fails with 401 or 403, use this skill to create a proposal requesting access. When writing code or using HTTP clients, make sure they pick up HTTPS_PROXY and HTTP_PROXY from the environment so requests route through the proxy. Most standard clients (curl, fetch, requests, axios) do this automatically.",
|
|
24
|
-
"source": "user",
|
|
25
|
-
"tokens": 224,
|
|
26
|
-
"state": "on",
|
|
27
|
-
"advertised": true,
|
|
28
|
-
"handles": {}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "apptension-review:code-review",
|
|
32
|
-
"display_name": "apptension-review:code-review",
|
|
33
|
-
"description": "Use when the user wants a methodical code review of any changeset — uncommitted/staged changes, a commit range, a single commit, or a pull request. Reviews changed files across seven quality areas (including Product experience for UI) and prints the findings in the session by default, then offers to post them to a PR (as a review or inline comments), open/update GitHub issues, or save to a file. Trigger on intent like \"review my changes\", \"review this PR\", \"review main..HEAD\", or when a diff/commit/PR is offered for review.",
|
|
34
|
-
"source": "plugin",
|
|
35
|
-
"tokens": 186,
|
|
36
|
-
"state": "on",
|
|
37
|
-
"locked_by": "plugin",
|
|
38
|
-
"advertised": true,
|
|
39
|
-
"handles": {}
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"codex": {
|
|
46
|
-
"id": 2,
|
|
47
|
-
"result": {
|
|
48
|
-
"data": [
|
|
49
|
-
{
|
|
50
|
-
"cwd": "/tmp/skill-list-probe/repo",
|
|
51
|
-
"skills": [
|
|
52
|
-
{
|
|
53
|
-
"name": "probe-project",
|
|
54
|
-
"description": "Project probe skill.",
|
|
55
|
-
"path": "/tmp/skill-list-probe/repo/.agents/skills/probe-project/SKILL.md",
|
|
56
|
-
"scope": "repo",
|
|
57
|
-
"enabled": true,
|
|
58
|
-
"pluginId": null
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "capture",
|
|
62
|
-
"description": "Turns a folder of mixed source files (PDF, images, screenshots, whiteboard photos, audio, video, live pages and feeds) into one tagged requirements list, each requirement cited to its file and to where in it (page and region, or seconds into a recording), with conflicts and unreadable files listed. Use when several people sent what they want in different formats and you need one list to build from.",
|
|
63
|
-
"path": "/home/probe/.agents/skills/capture/SKILL.md",
|
|
64
|
-
"scope": "user",
|
|
65
|
-
"enabled": true,
|
|
66
|
-
"pluginId": null
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "apptension-review:code-review",
|
|
70
|
-
"description": "Use when the user wants a methodical code review of any changeset — uncommitted/staged changes, a commit range, a single commit, or a pull request. Reviews changed files across seven quality areas (including Product experience for UI) and prints the findings in the session by default, then offers to post them to a PR (as a review or inline comments), open/update GitHub issues, or save to a file. Trigger on intent like \"review my changes\", \"review this PR\", \"review main..HEAD\", or when a diff/commit/PR is offered for review.",
|
|
71
|
-
"path": "/home/probe/.codex/plugins/cache/apptension-dev/apptension-review/0.7.4/skills/code-review/SKILL.md",
|
|
72
|
-
"scope": "user",
|
|
73
|
-
"enabled": true,
|
|
74
|
-
"pluginId": "apptension-review@apptension-dev"
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
"errors": [
|
|
78
|
-
{
|
|
79
|
-
"path": "/tmp/skill-list-probe/repo/.agents/skills/probe-bad/SKILL.md",
|
|
80
|
-
"message": "missing YAML frontmatter delimited by ---"
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"opencode": [
|
|
88
|
-
{
|
|
89
|
-
"name": "probe-project",
|
|
90
|
-
"description": "Project probe skill.",
|
|
91
|
-
"location": "/tmp/skill-list-probe/repo/.agents/skills/probe-project/SKILL.md"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"name": "capture",
|
|
95
|
-
"description": "Turns a folder of mixed source files (PDF, images, screenshots, whiteboard photos, audio, video, live pages and feeds) into one tagged requirements list, each requirement cited to its file and to where in it (page and region, or seconds into a recording), with conflicts and unreadable files listed. Use when several people sent what they want in different formats and you need one list to build from.",
|
|
96
|
-
"location": "/home/probe/.agents/skills/capture/SKILL.md"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "setup-verification-maintenance",
|
|
100
|
-
"description": "Use when installing or updating scheduled maintenance for a project-owned verification skill, including when setup offers maintenance after finding or creating that skill.",
|
|
101
|
-
"location": "/home/probe/.cache/opencode/packages/apptension-dev-toolkit@git+https:/github.com/apptension/toolkit-dev.git/node_modules/apptension-dev-toolkit/plugins/apptension-sdlc/skills/setup-verification-maintenance/SKILL.md"
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"pi": {
|
|
105
|
-
"id": "skills",
|
|
106
|
-
"type": "response",
|
|
107
|
-
"command": "get_commands",
|
|
108
|
-
"success": true,
|
|
109
|
-
"data": {
|
|
110
|
-
"commands": [
|
|
111
|
-
{
|
|
112
|
-
"name": "skill:probe-project",
|
|
113
|
-
"description": "Project probe skill.",
|
|
114
|
-
"source": "skill",
|
|
115
|
-
"sourceInfo": {
|
|
116
|
-
"path": "/tmp/skill-list-probe/repo/.pi/skills/probe-project/SKILL.md",
|
|
117
|
-
"source": "extension:pi-project-skills.mjs",
|
|
118
|
-
"scope": "temporary",
|
|
119
|
-
"origin": "top-level",
|
|
120
|
-
"baseDir": "/home/probe/projects/cezar/.ai/squawk/worktrees/39672b0d-5187-4189-9fac-580eb89c5106/packages/cezar/scripts"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"name": "skill:capture",
|
|
125
|
-
"description": "Turns a folder of mixed source files (PDF, images, screenshots, whiteboard photos, audio, video, live pages and feeds) into one tagged requirements list, each requirement cited to its file and to where in it (page and region, or seconds into a recording), with conflicts and unreadable files listed. Use when several people sent what they want in different formats and you need one list to build from.",
|
|
126
|
-
"source": "skill",
|
|
127
|
-
"sourceInfo": {
|
|
128
|
-
"path": "/home/probe/.agents/skills/capture/SKILL.md",
|
|
129
|
-
"source": "auto",
|
|
130
|
-
"scope": "user",
|
|
131
|
-
"origin": "top-level",
|
|
132
|
-
"baseDir": "/home/probe/.agents"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"name": "skill:cezar-cockpit",
|
|
137
|
-
"description": "Use when opening the Cezar cockpit for the repo it is configured in — finding an already-running cockpit and returning this project's URL rather than starting a second one. Trigger on intent like \"open Cezar\", \"start the cockpit\", \"show me the dispatched tasks\", \"where is that run\".",
|
|
138
|
-
"source": "skill",
|
|
139
|
-
"sourceInfo": {
|
|
140
|
-
"path": "/home/probe/.pi/agent/git/github.com/apptension/toolkit-dev/plugins/apptension-sdlc/skills/cezar-cockpit/SKILL.md",
|
|
141
|
-
"source": "extension:apptension-dev",
|
|
142
|
-
"scope": "temporary",
|
|
143
|
-
"origin": "top-level",
|
|
144
|
-
"baseDir": "/home/probe/.pi/agent/git/github.com/apptension/toolkit-dev/.pi/extensions"
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
]
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"omp": {
|
|
151
|
-
"skills": [
|
|
152
|
-
{
|
|
153
|
-
"name": "probe-project",
|
|
154
|
-
"description": "Project probe skill.",
|
|
155
|
-
"filePath": "/tmp/skill-list-probe/repo/.omp/skills/probe-project/SKILL.md",
|
|
156
|
-
"baseDir": "/tmp/skill-list-probe/repo/.omp/skills/probe-project",
|
|
157
|
-
"source": "native:project",
|
|
158
|
-
"hide": false
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"name": "capture",
|
|
162
|
-
"description": "Turns a folder of mixed source files (PDF, images, screenshots, whiteboard photos, audio, video, live pages and feeds) into one tagged requirements list, each requirement cited to its file and to where in it (page and region, or seconds into a recording), with conflicts and unreadable files listed. Use when several people sent what they want in different formats and you need one list to build from.",
|
|
163
|
-
"filePath": "/home/probe/.agents/skills/capture/SKILL.md",
|
|
164
|
-
"baseDir": "/home/probe/.agents/skills/capture",
|
|
165
|
-
"source": "agents:user",
|
|
166
|
-
"hide": false
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"name": "audit-agent-readiness",
|
|
170
|
-
"description": "Use when judging whether agents can work in a repo safely and alone, or when setup offers it. Mines the repo's history for mistakes agents repeat, probes a disposable worktree, reads agent instructions for prose that works around a code defect, and returns improvements grouped by the highest layer where each fix works. Trigger on intent like \"is this repo ready for agents\", \"audit agent readiness\", or \"why do agents keep tripping here\".",
|
|
171
|
-
"filePath": "/home/probe/.claude/plugins/cache/apptension-dev/apptension-sdlc/0.25.79/skills/audit-agent-readiness/SKILL.md",
|
|
172
|
-
"baseDir": "/home/probe/.claude/plugins/cache/apptension-dev/apptension-sdlc/0.25.79/skills/audit-agent-readiness",
|
|
173
|
-
"source": "agent-plugins:user",
|
|
174
|
-
"hide": false
|
|
175
|
-
}
|
|
176
|
-
],
|
|
177
|
-
"warnings": [
|
|
178
|
-
{
|
|
179
|
-
"skillPath": "",
|
|
180
|
-
"message": "[Agent Plugins] [agent-plugins] apptension-sdlc: Skipping skill \"dev-flow\": unexpected frontmatter field \"requires\""
|
|
181
|
-
}
|
|
182
|
-
]
|
|
183
|
-
}
|
|
184
|
-
};
|
|
4
|
+
export const captures = Object.fromEntries(Object.entries(runnerSkillData).map(([id, data]) => [id, data.skillList]));
|