@hearsay-tools/squawk 0.18.0-pr3992.7590 → 0.18.0-pr3993.7593
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/server/server.d.ts +1371 -1371
- package/package.json +4 -4
- package/scripts/mock-skill-list-data.mjs +183 -3
- package/scripts/mock-skill-trigger-data.mjs +167 -3
- package/scripts/mock-skill-data/claude.mjs +0 -83
- package/scripts/mock-skill-data/codex.mjs +0 -73
- package/scripts/mock-skill-data/omp.mjs +0 -59
- package/scripts/mock-skill-data/opencode.mjs +0 -82
- package/scripts/mock-skill-data/pi.mjs +0 -64
- package/scripts/mock-skill-data.mjs +0 -13
|
@@ -1,82 +0,0 @@
|
|
|
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
|
-
];
|
|
@@ -1,64 +0,0 @@
|
|
|
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
|
-
];
|
|
@@ -1,13 +0,0 @@
|
|
|
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)])));
|