@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
|
@@ -1,168 +1,4 @@
|
|
|
1
|
+
import { runnerSkillData } from './mock-skill-data.mjs';
|
|
2
|
+
|
|
1
3
|
// Native captures from runners/<id>/__fixtures__/skill-trigger.json. See slice2-evidence.md.
|
|
2
|
-
export const captures =
|
|
3
|
-
"claude": [
|
|
4
|
-
{
|
|
5
|
-
"type": "user",
|
|
6
|
-
"message": {
|
|
7
|
-
"role": "user",
|
|
8
|
-
"content": "<command-message>probe-project</command-message>\n<command-name>/probe-project</command-name>\n<command-args>fixture arguments</command-args>"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"type": "user",
|
|
13
|
-
"isMeta": true,
|
|
14
|
-
"message": {
|
|
15
|
-
"role": "user",
|
|
16
|
-
"content": [
|
|
17
|
-
{
|
|
18
|
-
"type": "text",
|
|
19
|
-
"text": "Opening context: this is a native skill probe."
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"type": "text",
|
|
23
|
-
"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"
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"type": "assistant",
|
|
30
|
-
"message": {
|
|
31
|
-
"role": "assistant",
|
|
32
|
-
"content": [
|
|
33
|
-
{
|
|
34
|
-
"type": "text",
|
|
35
|
-
"text": "TRIGGER-FIXTURE"
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"codex": [
|
|
42
|
-
{
|
|
43
|
-
"method": "item/completed",
|
|
44
|
-
"params": {
|
|
45
|
-
"item": {
|
|
46
|
-
"type": "userMessage",
|
|
47
|
-
"id": "01a1e643-bfff-7ef0-82eb-ce4be47adf26",
|
|
48
|
-
"clientId": null,
|
|
49
|
-
"content": [
|
|
50
|
-
{
|
|
51
|
-
"type": "text",
|
|
52
|
-
"text": "fixture arguments\n\nOpening context: this is a native skill probe.",
|
|
53
|
-
"text_elements": []
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"type": "skill",
|
|
57
|
-
"name": "probe-project",
|
|
58
|
-
"path": "/probe/repo/.agents/skills/probe-project/SKILL.md"
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
"threadId": "01a1e643-bb67-73c2-861d-72bcb2b3aa72",
|
|
63
|
-
"turnId": "01a1e643-bbb2-70c2-9cb8-9b4451cb79b7",
|
|
64
|
-
"completedAtMs": 1794864562177
|
|
65
|
-
},
|
|
66
|
-
"emittedAtMs": 1794864562180
|
|
67
|
-
}
|
|
68
|
-
],
|
|
69
|
-
"opencode": [
|
|
70
|
-
{
|
|
71
|
-
"id": "evt_1e644647c001JBwTUFa85HuwXe",
|
|
72
|
-
"type": "message.updated",
|
|
73
|
-
"properties": {
|
|
74
|
-
"sessionID": "ses_e19bb9f24ffeDLvpKOwIDRYASe",
|
|
75
|
-
"info": {
|
|
76
|
-
"id": "msg_1e6446472001QbxAqCh8Ka3c05",
|
|
77
|
-
"role": "user",
|
|
78
|
-
"sessionID": "ses_e19bb9f24ffeDLvpKOwIDRYASe",
|
|
79
|
-
"time": {
|
|
80
|
-
"created": 1794864604274
|
|
81
|
-
},
|
|
82
|
-
"agent": "build",
|
|
83
|
-
"model": {
|
|
84
|
-
"providerID": "zai-coding-plan",
|
|
85
|
-
"modelID": "glm-5.3-flash",
|
|
86
|
-
"variant": "low"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"id": "evt_1e644647f001kxHleStwdpUoJf",
|
|
93
|
-
"type": "message.part.updated",
|
|
94
|
-
"properties": {
|
|
95
|
-
"sessionID": "ses_e19bb9f24ffeDLvpKOwIDRYASe",
|
|
96
|
-
"part": {
|
|
97
|
-
"type": "text",
|
|
98
|
-
"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.",
|
|
99
|
-
"messageID": "msg_1e6446472001QbxAqCh8Ka3c05",
|
|
100
|
-
"sessionID": "ses_e19bb9f24ffeDLvpKOwIDRYASe",
|
|
101
|
-
"id": "prt_1e644647a001VORV1UrikmnbBw"
|
|
102
|
-
},
|
|
103
|
-
"time": 1794864604287
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"id": "evt_1e644650a001T722fN64VA9xFq",
|
|
108
|
-
"type": "message.updated",
|
|
109
|
-
"properties": {
|
|
110
|
-
"sessionID": "ses_e19bb9f24ffeDLvpKOwIDRYASe",
|
|
111
|
-
"info": {
|
|
112
|
-
"role": "user",
|
|
113
|
-
"time": {
|
|
114
|
-
"created": 1794864604274
|
|
115
|
-
},
|
|
116
|
-
"agent": "build",
|
|
117
|
-
"model": {
|
|
118
|
-
"providerID": "zai-coding-plan",
|
|
119
|
-
"modelID": "glm-5.3-flash",
|
|
120
|
-
"variant": "low"
|
|
121
|
-
},
|
|
122
|
-
"id": "msg_1e6446472001QbxAqCh8Ka3c05",
|
|
123
|
-
"sessionID": "ses_e19bb9f24ffeDLvpKOwIDRYASe",
|
|
124
|
-
"summary": {
|
|
125
|
-
"diffs": []
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
],
|
|
131
|
-
"pi": [
|
|
132
|
-
{
|
|
133
|
-
"type": "message_start",
|
|
134
|
-
"message": {
|
|
135
|
-
"role": "user",
|
|
136
|
-
"content": [
|
|
137
|
-
{
|
|
138
|
-
"type": "text",
|
|
139
|
-
"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."
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
"timestamp": 1794864645778
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"omp": [
|
|
147
|
-
{
|
|
148
|
-
"type": "message_start",
|
|
149
|
-
"message": {
|
|
150
|
-
"role": "custom",
|
|
151
|
-
"customType": "skill-prompt",
|
|
152
|
-
"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",
|
|
153
|
-
"display": true,
|
|
154
|
-
"details": {
|
|
155
|
-
"name": "probe-project",
|
|
156
|
-
"path": "/probe/repo/.omp/skills/probe-project/SKILL.md",
|
|
157
|
-
"args": "fixture arguments",
|
|
158
|
-
"prompt": "/skill:probe-project fixture arguments",
|
|
159
|
-
"lineCount": 1,
|
|
160
|
-
"__queueChipText": "/skill:probe-project fixture arguments"
|
|
161
|
-
},
|
|
162
|
-
"attribution": "user",
|
|
163
|
-
"timestamp": 1794864791306
|
|
164
|
-
},
|
|
165
|
-
"messageId": "msg-3"
|
|
166
|
-
}
|
|
167
|
-
]
|
|
168
|
-
};
|
|
4
|
+
export const captures = Object.fromEntries(Object.entries(runnerSkillData).map(([id, data]) => [id, data.skillTrigger]));
|