@compilr-dev/sdk 0.7.20 → 0.7.22
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/capabilities/packs.js +29 -7
- package/package.json +1 -1
|
@@ -194,12 +194,13 @@ export const CAPABILITY_PACKS = {
|
|
|
194
194
|
'workitem_advance_step',
|
|
195
195
|
'workitem_claim',
|
|
196
196
|
'workitem_handoff',
|
|
197
|
+
'workitem_comment',
|
|
197
198
|
],
|
|
198
199
|
readOnly: false,
|
|
199
200
|
promptModules: ['platform-tool-hints'],
|
|
200
|
-
promptSnippet: 'Backlog write: workitem_add, workitem_update, workitem_delete, workitem_next, workitem_advance_step, workitem_claim, workitem_handoff. Use workitem_query before modifications.',
|
|
201
|
+
promptSnippet: 'Backlog write: workitem_add, workitem_update, workitem_delete, workitem_next, workitem_advance_step, workitem_claim, workitem_handoff, workitem_comment. Use workitem_query before modifications.',
|
|
201
202
|
estimatedPromptTokens: 120,
|
|
202
|
-
estimatedToolTokens:
|
|
203
|
+
estimatedToolTokens: 2400,
|
|
203
204
|
},
|
|
204
205
|
documents: {
|
|
205
206
|
id: 'documents',
|
|
@@ -209,12 +210,13 @@ export const CAPABILITY_PACKS = {
|
|
|
209
210
|
'project_document_get',
|
|
210
211
|
'project_document_list',
|
|
211
212
|
'project_document_delete',
|
|
213
|
+
'project_document_patch',
|
|
212
214
|
],
|
|
213
215
|
readOnly: false,
|
|
214
216
|
promptModules: ['platform-tool-hints'],
|
|
215
|
-
promptSnippet: 'Documents stored in database, not filesystem.
|
|
216
|
-
estimatedPromptTokens:
|
|
217
|
-
estimatedToolTokens:
|
|
217
|
+
promptSnippet: 'Documents stored in database, not filesystem. project_document_get supports summary_only, section, startLine/maxLines for partial reads. project_document_patch supports append/prepend/replace_section without reading full content. Valid doc_types: prd, architecture, design, notes, plan, outline, draft, chapter, executive-summary, article, and more.',
|
|
218
|
+
estimatedPromptTokens: 150,
|
|
219
|
+
estimatedToolTokens: 1500,
|
|
218
220
|
},
|
|
219
221
|
plans: {
|
|
220
222
|
id: 'plans',
|
|
@@ -249,10 +251,10 @@ export const CAPABILITY_PACKS = {
|
|
|
249
251
|
project_db: {
|
|
250
252
|
id: 'project_db',
|
|
251
253
|
label: 'Project Database',
|
|
252
|
-
tools: ['project_get', 'project_list', 'project_update'],
|
|
254
|
+
tools: ['project_get', 'project_list', 'project_update', 'project_create'],
|
|
253
255
|
readOnly: false,
|
|
254
256
|
promptModules: ['platform-tool-hints'],
|
|
255
|
-
promptSnippet: 'Project database: project_get, project_list, project_update. Default to active project unless targeting a different one.',
|
|
257
|
+
promptSnippet: 'Project database: project_get, project_list, project_update, project_create. Default to active project unless targeting a different one.',
|
|
256
258
|
estimatedPromptTokens: 120,
|
|
257
259
|
estimatedToolTokens: 900,
|
|
258
260
|
},
|
|
@@ -305,6 +307,26 @@ export const CAPABILITY_PACKS = {
|
|
|
305
307
|
estimatedPromptTokens: 120,
|
|
306
308
|
estimatedToolTokens: 1200,
|
|
307
309
|
},
|
|
310
|
+
web: {
|
|
311
|
+
id: 'web',
|
|
312
|
+
label: 'Web Fetch',
|
|
313
|
+
tools: ['web_fetch'],
|
|
314
|
+
readOnly: true,
|
|
315
|
+
promptModules: [],
|
|
316
|
+
promptSnippet: 'Web: web_fetch retrieves and reads web pages. Returns plain text content (HTML is converted). Use for research, documentation lookups, and API reference.',
|
|
317
|
+
estimatedPromptTokens: 60,
|
|
318
|
+
estimatedToolTokens: 300,
|
|
319
|
+
},
|
|
320
|
+
episodes: {
|
|
321
|
+
id: 'episodes',
|
|
322
|
+
label: 'Work History',
|
|
323
|
+
tools: ['recall_work'],
|
|
324
|
+
readOnly: true,
|
|
325
|
+
promptModules: [],
|
|
326
|
+
promptSnippet: 'Episodes: recall_work retrieves past work sessions — tool calls, affected files, effort. Use to understand what was done previously or attribute work to agents.',
|
|
327
|
+
estimatedPromptTokens: 60,
|
|
328
|
+
estimatedToolTokens: 300,
|
|
329
|
+
},
|
|
308
330
|
};
|
|
309
331
|
/**
|
|
310
332
|
* Mapping from forbidden pack IDs to suggested agent roles.
|