@compilr-dev/sdk 0.7.17 → 0.7.19
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/agent.js +15 -1
- package/dist/team/tool-config.js +36 -1
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -261,10 +261,24 @@ class CompilrAgentImpl {
|
|
|
261
261
|
'brand_model_get',
|
|
262
262
|
'curriculum_model_get',
|
|
263
263
|
'book_model_get',
|
|
264
|
-
//
|
|
264
|
+
// Artifact & plan tools
|
|
265
265
|
'anchor_list',
|
|
266
266
|
'artifact_list',
|
|
267
|
+
'artifact_get',
|
|
267
268
|
'plan_get',
|
|
269
|
+
// Git tools (diffs, blame can be very large)
|
|
270
|
+
'git_diff',
|
|
271
|
+
'git_blame',
|
|
272
|
+
'git_file_history',
|
|
273
|
+
// Runner tools (test/lint/build output is routinely 10-50KB)
|
|
274
|
+
'run_tests',
|
|
275
|
+
'run_lint',
|
|
276
|
+
'run_build',
|
|
277
|
+
'run_format',
|
|
278
|
+
// Web & search tools
|
|
279
|
+
'web_fetch',
|
|
280
|
+
'find_references',
|
|
281
|
+
'find_definition',
|
|
268
282
|
],
|
|
269
283
|
// Merge user overrides if provided
|
|
270
284
|
...(typeof config?.context?.observationMask === 'object'
|
package/dist/team/tool-config.js
CHANGED
|
@@ -97,6 +97,13 @@ const TOOL_NAMES = {
|
|
|
97
97
|
PROJECT_GET: 'project_get',
|
|
98
98
|
PROJECT_LIST: 'project_list',
|
|
99
99
|
PROJECT_UPDATE: 'project_update',
|
|
100
|
+
PROJECT_CREATE: 'project_create',
|
|
101
|
+
// Work item comment
|
|
102
|
+
WORKITEM_COMMENT: 'workitem_comment',
|
|
103
|
+
// Web
|
|
104
|
+
WEB_FETCH: 'web_fetch',
|
|
105
|
+
// Episode
|
|
106
|
+
RECALL_WORK: 'recall_work',
|
|
100
107
|
};
|
|
101
108
|
// =============================================================================
|
|
102
109
|
// Tool Groups
|
|
@@ -245,6 +252,7 @@ export const TOOL_GROUPS = {
|
|
|
245
252
|
TOOL_NAMES.WORKITEM_ADVANCE_STEP,
|
|
246
253
|
TOOL_NAMES.WORKITEM_CLAIM,
|
|
247
254
|
TOOL_NAMES.WORKITEM_HANDOFF,
|
|
255
|
+
TOOL_NAMES.WORKITEM_COMMENT,
|
|
248
256
|
],
|
|
249
257
|
readOnly: false,
|
|
250
258
|
tier: 'meta',
|
|
@@ -292,7 +300,12 @@ export const TOOL_GROUPS = {
|
|
|
292
300
|
},
|
|
293
301
|
project_db: {
|
|
294
302
|
label: 'Project Database',
|
|
295
|
-
tools: [
|
|
303
|
+
tools: [
|
|
304
|
+
TOOL_NAMES.PROJECT_GET,
|
|
305
|
+
TOOL_NAMES.PROJECT_LIST,
|
|
306
|
+
TOOL_NAMES.PROJECT_UPDATE,
|
|
307
|
+
TOOL_NAMES.PROJECT_CREATE,
|
|
308
|
+
],
|
|
296
309
|
readOnly: false,
|
|
297
310
|
tier: 'meta',
|
|
298
311
|
note: 'Project metadata management',
|
|
@@ -304,6 +317,20 @@ export const TOOL_GROUPS = {
|
|
|
304
317
|
tier: 'direct',
|
|
305
318
|
note: 'Delegate tasks to specialized subagents',
|
|
306
319
|
},
|
|
320
|
+
web: {
|
|
321
|
+
label: 'Web Fetch',
|
|
322
|
+
tools: [TOOL_NAMES.WEB_FETCH],
|
|
323
|
+
readOnly: true,
|
|
324
|
+
tier: 'meta',
|
|
325
|
+
note: 'Fetch and read web pages',
|
|
326
|
+
},
|
|
327
|
+
episodes: {
|
|
328
|
+
label: 'Work History',
|
|
329
|
+
tools: [TOOL_NAMES.RECALL_WORK],
|
|
330
|
+
readOnly: true,
|
|
331
|
+
tier: 'meta',
|
|
332
|
+
note: 'Recall past work sessions and tool usage',
|
|
333
|
+
},
|
|
307
334
|
// Factory tools (from @compilr-dev/factory) — structured models + scaffolding
|
|
308
335
|
factory_models: {
|
|
309
336
|
label: 'Structured Models',
|
|
@@ -392,6 +419,8 @@ export const TOOL_PROFILES = {
|
|
|
392
419
|
'plans',
|
|
393
420
|
'artifacts',
|
|
394
421
|
'anchors',
|
|
422
|
+
'episodes',
|
|
423
|
+
'web',
|
|
395
424
|
'factory_models',
|
|
396
425
|
'factory_scaffold',
|
|
397
426
|
],
|
|
@@ -419,6 +448,7 @@ export const TOOL_PROFILES = {
|
|
|
419
448
|
'project',
|
|
420
449
|
'search',
|
|
421
450
|
'documents',
|
|
451
|
+
'web',
|
|
422
452
|
'factory_models',
|
|
423
453
|
],
|
|
424
454
|
// DevOps - CI/CD tasks
|
|
@@ -470,6 +500,8 @@ export const TOOL_PROFILES = {
|
|
|
470
500
|
'plans',
|
|
471
501
|
'artifacts',
|
|
472
502
|
'anchors',
|
|
503
|
+
'episodes',
|
|
504
|
+
'web',
|
|
473
505
|
'factory_models',
|
|
474
506
|
],
|
|
475
507
|
// Planner (PM) - project management (no code modification)
|
|
@@ -489,6 +521,8 @@ export const TOOL_PROFILES = {
|
|
|
489
521
|
'plans',
|
|
490
522
|
'artifacts',
|
|
491
523
|
'anchors',
|
|
524
|
+
'episodes',
|
|
525
|
+
'web',
|
|
492
526
|
'factory_models',
|
|
493
527
|
],
|
|
494
528
|
// Analyst (BA) - requirements gathering + document access
|
|
@@ -505,6 +539,7 @@ export const TOOL_PROFILES = {
|
|
|
505
539
|
'documents',
|
|
506
540
|
'artifacts',
|
|
507
541
|
'anchors',
|
|
542
|
+
'web',
|
|
508
543
|
'factory_models',
|
|
509
544
|
],
|
|
510
545
|
// Custom - user selected (groups specified in customGroups)
|