@compilr-dev/sdk 0.1.9 → 0.1.10
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.
|
@@ -19,10 +19,6 @@ export function createDocumentTools(config) {
|
|
|
19
19
|
inputSchema: {
|
|
20
20
|
type: 'object',
|
|
21
21
|
properties: {
|
|
22
|
-
project_id: {
|
|
23
|
-
type: 'number',
|
|
24
|
-
description: 'Project ID (uses active project if not provided)',
|
|
25
|
-
},
|
|
26
22
|
doc_type: {
|
|
27
23
|
type: 'string',
|
|
28
24
|
enum: ['prd', 'architecture', 'design', 'notes'],
|
|
@@ -36,6 +32,10 @@ export function createDocumentTools(config) {
|
|
|
36
32
|
type: 'string',
|
|
37
33
|
description: 'Document content (markdown)',
|
|
38
34
|
},
|
|
35
|
+
project_id: {
|
|
36
|
+
type: 'number',
|
|
37
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
38
|
+
},
|
|
39
39
|
},
|
|
40
40
|
required: ['doc_type', 'title', 'content'],
|
|
41
41
|
},
|
|
@@ -78,15 +78,15 @@ export function createDocumentTools(config) {
|
|
|
78
78
|
inputSchema: {
|
|
79
79
|
type: 'object',
|
|
80
80
|
properties: {
|
|
81
|
-
project_id: {
|
|
82
|
-
type: 'number',
|
|
83
|
-
description: 'Project ID (uses active project if not provided)',
|
|
84
|
-
},
|
|
85
81
|
doc_type: {
|
|
86
82
|
type: 'string',
|
|
87
83
|
enum: ['prd', 'architecture', 'design', 'notes'],
|
|
88
84
|
description: 'Document type to retrieve',
|
|
89
85
|
},
|
|
86
|
+
project_id: {
|
|
87
|
+
type: 'number',
|
|
88
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
89
|
+
},
|
|
90
90
|
},
|
|
91
91
|
required: ['doc_type'],
|
|
92
92
|
},
|
|
@@ -132,7 +132,7 @@ export function createDocumentTools(config) {
|
|
|
132
132
|
properties: {
|
|
133
133
|
project_id: {
|
|
134
134
|
type: 'number',
|
|
135
|
-
description: '
|
|
135
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
136
136
|
},
|
|
137
137
|
},
|
|
138
138
|
required: [],
|
|
@@ -172,15 +172,15 @@ export function createDocumentTools(config) {
|
|
|
172
172
|
inputSchema: {
|
|
173
173
|
type: 'object',
|
|
174
174
|
properties: {
|
|
175
|
-
project_id: {
|
|
176
|
-
type: 'number',
|
|
177
|
-
description: 'Project ID (uses active project if not provided)',
|
|
178
|
-
},
|
|
179
175
|
doc_type: {
|
|
180
176
|
type: 'string',
|
|
181
177
|
enum: ['prd', 'architecture', 'design', 'notes'],
|
|
182
178
|
description: 'Document type to delete',
|
|
183
179
|
},
|
|
180
|
+
project_id: {
|
|
181
|
+
type: 'number',
|
|
182
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
183
|
+
},
|
|
184
184
|
},
|
|
185
185
|
required: ['doc_type'],
|
|
186
186
|
},
|
|
@@ -32,7 +32,7 @@ export function createPlanTools(config) {
|
|
|
32
32
|
},
|
|
33
33
|
project_id: {
|
|
34
34
|
type: 'number',
|
|
35
|
-
description: '
|
|
35
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
38
|
required: ['name', 'content'],
|
|
@@ -154,7 +154,7 @@ export function createPlanTools(config) {
|
|
|
154
154
|
},
|
|
155
155
|
project_id: {
|
|
156
156
|
type: 'number',
|
|
157
|
-
description: '
|
|
157
|
+
description: 'Required when using name lookup. Defaults to active project.',
|
|
158
158
|
},
|
|
159
159
|
},
|
|
160
160
|
required: [],
|
|
@@ -220,10 +220,6 @@ export function createPlanTools(config) {
|
|
|
220
220
|
inputSchema: {
|
|
221
221
|
type: 'object',
|
|
222
222
|
properties: {
|
|
223
|
-
project_id: {
|
|
224
|
-
type: 'number',
|
|
225
|
-
description: 'Project ID (uses active project if not provided)',
|
|
226
|
-
},
|
|
227
223
|
status: {
|
|
228
224
|
type: 'string',
|
|
229
225
|
enum: ['draft', 'approved', 'in_progress', 'completed', 'abandoned', 'all'],
|
|
@@ -242,6 +238,10 @@ export function createPlanTools(config) {
|
|
|
242
238
|
enum: ['updated_desc', 'updated_asc', 'created_desc', 'name_asc'],
|
|
243
239
|
description: 'Sort order (default: updated_desc)',
|
|
244
240
|
},
|
|
241
|
+
project_id: {
|
|
242
|
+
type: 'number',
|
|
243
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
244
|
+
},
|
|
245
245
|
},
|
|
246
246
|
required: [],
|
|
247
247
|
},
|
|
@@ -225,7 +225,7 @@ export function createProjectTools(config) {
|
|
|
225
225
|
properties: {
|
|
226
226
|
project_id: {
|
|
227
227
|
type: 'number',
|
|
228
|
-
description: '
|
|
228
|
+
description: 'Optional. Defaults to active project. Only needed to update a different project.',
|
|
229
229
|
},
|
|
230
230
|
status: {
|
|
231
231
|
type: 'string',
|
|
@@ -27,10 +27,6 @@ export function createWorkItemTools(config) {
|
|
|
27
27
|
inputSchema: {
|
|
28
28
|
type: 'object',
|
|
29
29
|
properties: {
|
|
30
|
-
project_id: {
|
|
31
|
-
type: 'number',
|
|
32
|
-
description: 'Project ID (uses active project if not provided)',
|
|
33
|
-
},
|
|
34
30
|
status: {
|
|
35
31
|
type: 'string',
|
|
36
32
|
enum: ['backlog', 'in_progress', 'completed', 'skipped', 'all'],
|
|
@@ -62,6 +58,10 @@ export function createWorkItemTools(config) {
|
|
|
62
58
|
type: 'number',
|
|
63
59
|
description: 'Offset for pagination (default: 0)',
|
|
64
60
|
},
|
|
61
|
+
project_id: {
|
|
62
|
+
type: 'number',
|
|
63
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
64
|
+
},
|
|
65
65
|
},
|
|
66
66
|
required: [],
|
|
67
67
|
},
|
|
@@ -125,10 +125,6 @@ export function createWorkItemTools(config) {
|
|
|
125
125
|
inputSchema: {
|
|
126
126
|
type: 'object',
|
|
127
127
|
properties: {
|
|
128
|
-
project_id: {
|
|
129
|
-
type: 'number',
|
|
130
|
-
description: 'Project ID (uses active project if not provided)',
|
|
131
|
-
},
|
|
132
128
|
type: {
|
|
133
129
|
type: 'string',
|
|
134
130
|
enum: ['feature', 'bug', 'tech-debt', 'chore'],
|
|
@@ -156,6 +152,10 @@ export function createWorkItemTools(config) {
|
|
|
156
152
|
type: 'string',
|
|
157
153
|
description: 'Owner agent ID. Omit for unassigned.',
|
|
158
154
|
},
|
|
155
|
+
project_id: {
|
|
156
|
+
type: 'number',
|
|
157
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
158
|
+
},
|
|
159
159
|
},
|
|
160
160
|
required: ['type', 'title'],
|
|
161
161
|
},
|
|
@@ -210,7 +210,7 @@ export function createWorkItemTools(config) {
|
|
|
210
210
|
},
|
|
211
211
|
project_id: {
|
|
212
212
|
type: 'number',
|
|
213
|
-
description: '
|
|
213
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
214
214
|
},
|
|
215
215
|
status: {
|
|
216
216
|
type: 'string',
|
|
@@ -315,15 +315,15 @@ export function createWorkItemTools(config) {
|
|
|
315
315
|
inputSchema: {
|
|
316
316
|
type: 'object',
|
|
317
317
|
properties: {
|
|
318
|
-
project_id: {
|
|
319
|
-
type: 'number',
|
|
320
|
-
description: 'Project ID (uses active project if not provided)',
|
|
321
|
-
},
|
|
322
318
|
type: {
|
|
323
319
|
type: 'string',
|
|
324
320
|
enum: ['feature', 'bug', 'tech-debt', 'chore'],
|
|
325
321
|
description: 'Filter by type (optional)',
|
|
326
322
|
},
|
|
323
|
+
project_id: {
|
|
324
|
+
type: 'number',
|
|
325
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
326
|
+
},
|
|
327
327
|
},
|
|
328
328
|
required: [],
|
|
329
329
|
},
|
|
@@ -376,7 +376,7 @@ export function createWorkItemTools(config) {
|
|
|
376
376
|
},
|
|
377
377
|
project_id: {
|
|
378
378
|
type: 'number',
|
|
379
|
-
description: '
|
|
379
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
380
380
|
},
|
|
381
381
|
},
|
|
382
382
|
required: ['item_id'],
|
|
@@ -416,7 +416,7 @@ export function createWorkItemTools(config) {
|
|
|
416
416
|
properties: {
|
|
417
417
|
project_id: {
|
|
418
418
|
type: 'number',
|
|
419
|
-
description: '
|
|
419
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
420
420
|
},
|
|
421
421
|
},
|
|
422
422
|
required: [],
|
|
@@ -469,7 +469,7 @@ export function createWorkItemTools(config) {
|
|
|
469
469
|
},
|
|
470
470
|
project_id: {
|
|
471
471
|
type: 'number',
|
|
472
|
-
description: '
|
|
472
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
473
473
|
},
|
|
474
474
|
},
|
|
475
475
|
required: ['item_id', 'reason'],
|
|
@@ -591,7 +591,7 @@ export function createWorkItemTools(config) {
|
|
|
591
591
|
},
|
|
592
592
|
project_id: {
|
|
593
593
|
type: 'number',
|
|
594
|
-
description: '
|
|
594
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
595
595
|
},
|
|
596
596
|
},
|
|
597
597
|
required: ['item_id', 'agent_id'],
|
|
@@ -658,7 +658,7 @@ export function createWorkItemTools(config) {
|
|
|
658
658
|
},
|
|
659
659
|
project_id: {
|
|
660
660
|
type: 'number',
|
|
661
|
-
description: '
|
|
661
|
+
description: 'Optional. Defaults to active project. Only needed to target a different project.',
|
|
662
662
|
},
|
|
663
663
|
},
|
|
664
664
|
required: ['item_id', 'to_agent_id'],
|