@open-agent-toolkit/cli 0.2.25 → 0.2.26
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/assets/docs/cli-utilities/configuration.md +42 -11
- package/assets/docs/workflows/projects/dispatch-ceiling.md +67 -16
- package/assets/public-package-versions.json +4 -4
- package/assets/skills/oat-project-autonomous/references/gate-inventory.md +1 -1
- package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +1 -1
- package/assets/skills/oat-project-implement/SKILL.md +9 -11
- package/assets/skills/oat-project-implement/references/dispatch-and-dry-run.md +18 -9
- package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +1 -1
- package/assets/skills/oat-project-implement/references/phase-execution.md +13 -4
- package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +1 -1
- package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +1 -1
- package/dist/commands/config/index.d.ts.map +1 -1
- package/dist/commands/config/index.js +27 -3
- package/dist/commands/project/dispatch-ceiling/index.d.ts.map +1 -1
- package/dist/commands/project/dispatch-ceiling/index.js +90 -0
- package/dist/config/dispatch-notices.d.ts +8 -0
- package/dist/config/dispatch-notices.d.ts.map +1 -0
- package/dist/config/dispatch-notices.js +79 -0
- package/dist/config/dispatch-policy-options.d.ts +2 -0
- package/dist/config/dispatch-policy-options.d.ts.map +1 -1
- package/dist/config/dispatch-policy-options.js +14 -2
- package/dist/providers/identity/dispatch-report.d.ts +17 -0
- package/dist/providers/identity/dispatch-report.d.ts.map +1 -1
- package/dist/providers/identity/dispatch-report.js +30 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dispatch-report.d.ts","sourceRoot":"","sources":["../../../src/providers/identity/dispatch-report.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAE1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,0BAA0B,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;AAC/E,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,SAAS,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"dispatch-report.d.ts","sourceRoot":"","sources":["../../../src/providers/identity/dispatch-report.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAE1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,0BAA0B,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;AAC/E,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,SAAS,GAAG,IAAI,CAAC;AACpE,MAAM,MAAM,iBAAiB,GACzB,kBAAkB,GAClB,mBAAmB,GACnB,wBAAwB,GACxB,gBAAgB,GAChB,eAAe,CAAC;AAEpB,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACpC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,QAAQ,GAAG,cAAc,CAAC;CACnC;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EACA,kCAAkC,GAClC,uCAAuC,GACvC,+BAA+B,CAAC;IACpC,KAAK,EAAE,SAAS,GAAG,UAAU,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,OAAO,CAAC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EAAE,sBAAsB,GAAG,IAAI,CAAC;IAC/C,eAAe,CAAC,EAAE,uBAAuB,CAAC;CAC3C;AAqND,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,mBAAmB,GACzB,gBAAgB,CA0DlB;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,CAExE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,CAmErE;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,gBAAgB,GACvB,mBAAmB,CAcrB"}
|
|
@@ -10,6 +10,11 @@ const NOT_REPORTED_RUNTIME_IDENTITY = {
|
|
|
10
10
|
provenance: 'unknown',
|
|
11
11
|
confidence: 'not-reported',
|
|
12
12
|
};
|
|
13
|
+
const NOT_REPORTED_CLASSIFICATION = {
|
|
14
|
+
taskClass: null,
|
|
15
|
+
preferredEffort: null,
|
|
16
|
+
source: 'not-reported',
|
|
17
|
+
};
|
|
13
18
|
function cloneTarget(target) {
|
|
14
19
|
return target ? { ...target } : null;
|
|
15
20
|
}
|
|
@@ -58,6 +63,7 @@ function orderedReport(report) {
|
|
|
58
63
|
: { effort: report.selection.requestedCandidate.effort }),
|
|
59
64
|
}
|
|
60
65
|
: null,
|
|
66
|
+
preferredValue: report.selection.preferredValue,
|
|
61
67
|
candidateTier: report.selection.candidateTier,
|
|
62
68
|
candidateIndex: report.selection.candidateIndex,
|
|
63
69
|
ceilingTier: report.selection.ceilingTier,
|
|
@@ -68,6 +74,16 @@ function orderedReport(report) {
|
|
|
68
74
|
selectionBranch: report.selection.selectionBranch,
|
|
69
75
|
cellSource: report.selection.cellSource,
|
|
70
76
|
},
|
|
77
|
+
classification: {
|
|
78
|
+
taskClass: report.classification.taskClass,
|
|
79
|
+
preferredEffort: report.classification.preferredEffort,
|
|
80
|
+
source: report.classification.source,
|
|
81
|
+
},
|
|
82
|
+
notices: report.notices.map((notice) => ({
|
|
83
|
+
code: notice.code,
|
|
84
|
+
level: notice.level,
|
|
85
|
+
message: notice.message,
|
|
86
|
+
})),
|
|
71
87
|
requestedControls: {
|
|
72
88
|
model: {
|
|
73
89
|
value: report.requestedControls.model.value,
|
|
@@ -190,6 +206,7 @@ export function buildDispatchReport(input) {
|
|
|
190
206
|
requestedCandidate: selection.requestedCandidate
|
|
191
207
|
? { ...selection.requestedCandidate }
|
|
192
208
|
: null,
|
|
209
|
+
preferredValue: selection.preferredValue ?? null,
|
|
193
210
|
candidateTier: selection.candidateTier,
|
|
194
211
|
candidateIndex: selection.candidateIndex,
|
|
195
212
|
ceilingTier: selection.ceilingTier,
|
|
@@ -200,6 +217,10 @@ export function buildDispatchReport(input) {
|
|
|
200
217
|
selectionBranch: selection.selectionBranch,
|
|
201
218
|
cellSource: selection.cellSource,
|
|
202
219
|
},
|
|
220
|
+
classification: input.classification
|
|
221
|
+
? { ...input.classification }
|
|
222
|
+
: { ...NOT_REPORTED_CLASSIFICATION },
|
|
223
|
+
notices: (input.notices ?? []).map((notice) => ({ ...notice })),
|
|
203
224
|
requestedControls: {
|
|
204
225
|
model: { ...input.requestedControls.model },
|
|
205
226
|
effort: { ...input.requestedControls.effort },
|
|
@@ -242,6 +263,7 @@ export function formatDispatchReport(report) {
|
|
|
242
263
|
` Source: ${display(report.policy.source)}`,
|
|
243
264
|
'Selection',
|
|
244
265
|
` Requested candidate: ${formatCandidate(report.selection.requestedCandidate)}`,
|
|
266
|
+
` Legacy preferred value: ${display(report.selection.preferredValue)}`,
|
|
245
267
|
` Candidate tier / index: ${display(report.selection.candidateTier)} / ${display(report.selection.candidateIndex)}`,
|
|
246
268
|
` Ceiling tier: ${display(report.selection.ceilingTier)}`,
|
|
247
269
|
` Ceiling target: ${formatTarget(report.selection.ceilingTarget)}`,
|
|
@@ -249,6 +271,14 @@ export function formatDispatchReport(report) {
|
|
|
249
271
|
` Exact selected target: ${formatTarget(report.selection.exactSelectedTarget)}`,
|
|
250
272
|
` Mode / branch: ${report.selection.selectionMode} / ${report.selection.selectionBranch}`,
|
|
251
273
|
` Cell source: ${display(report.selection.cellSource)}`,
|
|
274
|
+
'Classification',
|
|
275
|
+
` Task class: ${display(report.classification.taskClass)}`,
|
|
276
|
+
` Preferred effort: ${display(report.classification.preferredEffort)}`,
|
|
277
|
+
` Source: ${report.classification.source}`,
|
|
278
|
+
'Notices',
|
|
279
|
+
...(report.notices.length === 0
|
|
280
|
+
? [' None']
|
|
281
|
+
: report.notices.map((notice) => ` [${notice.level}] ${notice.code}: ${notice.message}`)),
|
|
252
282
|
'Requested controls',
|
|
253
283
|
formatControl('Model', report.requestedControls.model),
|
|
254
284
|
formatControl('Effort', report.requestedControls.effort),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-agent-toolkit/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.26",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Open Agent Toolkit CLI",
|
|
6
6
|
"homepage": "https://github.com/voxmedia/open-agent-toolkit/tree/main/packages/cli",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"ora": "^9.0.0",
|
|
35
35
|
"yaml": "2.8.2",
|
|
36
36
|
"zod": "^3.25.76",
|
|
37
|
-
"@open-agent-toolkit/control-plane": "0.2.
|
|
37
|
+
"@open-agent-toolkit/control-plane": "0.2.26"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^22.10.0",
|