@jmanuelcorral/openteam 0.27.1 → 0.29.0
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/.opencode/openteam.example.json +7 -1
- package/README.es.md +37 -1
- package/README.md +42 -1
- package/dist/certificates/graph-release-certificate.json +2 -2
- package/dist/certificates/graph-shadow-certificate.json +2 -2
- package/dist/certificates/opencode-2.0.5/graph-release-certificate.json +2 -2
- package/dist/certificates/opencode-2.0.5/graph-shadow-certificate.json +2 -2
- package/dist/cli.js +5820 -3734
- package/dist/config/errors.d.ts.map +1 -1
- package/dist/config/schema.d.ts +18 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/console/agentView.d.ts +13 -0
- package/dist/console/agentView.d.ts.map +1 -0
- package/dist/console/assets.d.ts.map +1 -1
- package/dist/console/inspector.d.ts.map +1 -1
- package/dist/console/refresh.d.ts +1 -1
- package/dist/console/refresh.d.ts.map +1 -1
- package/dist/console/render.d.ts +1 -0
- package/dist/console/render.d.ts.map +1 -1
- package/dist/graph/schema.d.ts +6 -0
- package/dist/graph/schema.d.ts.map +1 -1
- package/dist/graph/validate.d.ts +4 -1
- package/dist/graph/validate.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7002 -5534
- package/dist/lifecycle/contracts.d.ts +2 -2
- package/dist/lifecycle/contracts.d.ts.map +1 -1
- package/dist/lifecycle/schema.d.ts +6 -0
- package/dist/lifecycle/schema.d.ts.map +1 -1
- package/dist/local/concurrency.d.ts +1 -1
- package/dist/local/concurrency.d.ts.map +1 -1
- package/dist/messages/agentView.d.ts +79 -0
- package/dist/messages/agentView.d.ts.map +1 -0
- package/dist/messages/consoleDetail.d.ts +9 -0
- package/dist/messages/consoleDetail.d.ts.map +1 -1
- package/dist/messages/orchestration.d.ts +26 -0
- package/dist/messages/orchestration.d.ts.map +1 -1
- package/dist/messages/planExecution.d.ts +29 -0
- package/dist/messages/planExecution.d.ts.map +1 -0
- package/dist/opencodeArtifacts/orchestratorAgent.d.ts.map +1 -1
- package/dist/opencodeArtifacts/slashCommand.d.ts.map +1 -1
- package/dist/orchestrator/coordinator.d.ts +14 -1
- package/dist/orchestrator/coordinator.d.ts.map +1 -1
- package/dist/orchestrator/outputContract.d.ts +4 -0
- package/dist/orchestrator/outputContract.d.ts.map +1 -1
- package/dist/orchestrator/planExecution.d.ts +112 -0
- package/dist/orchestrator/planExecution.d.ts.map +1 -0
- package/dist/orchestrator/reportDelivery.d.ts +13 -0
- package/dist/orchestrator/reportDelivery.d.ts.map +1 -0
- package/dist/orchestrator/subsessions.d.ts +5 -0
- package/dist/orchestrator/subsessions.d.ts.map +1 -1
- package/dist/orchestrator/taskEffort.d.ts +39 -0
- package/dist/orchestrator/taskEffort.d.ts.map +1 -0
- package/dist/plugin/capture.d.ts +3 -0
- package/dist/plugin/capture.d.ts.map +1 -1
- package/dist/plugin/executeTool.d.ts +12 -0
- package/dist/plugin/executeTool.d.ts.map +1 -0
- package/dist/plugin/nativeHost.d.ts.map +1 -1
- package/dist/plugin/nativeHostContext.d.ts +1 -1
- package/dist/plugin/nativeHostContext.d.ts.map +1 -1
- package/dist/plugin/nativeSessions.d.ts +9 -0
- package/dist/plugin/nativeSessions.d.ts.map +1 -1
- package/dist/plugin/orchestrateTool.d.ts +14 -1
- package/dist/plugin/orchestrateTool.d.ts.map +1 -1
- package/dist/plugin/reportTool.d.ts +4 -0
- package/dist/plugin/reportTool.d.ts.map +1 -0
- package/dist/plugin/runtimeContext.d.ts +14 -0
- package/dist/plugin/runtimeContext.d.ts.map +1 -1
- package/dist/plugin/toolcalls.d.ts +9 -1
- package/dist/plugin/toolcalls.d.ts.map +1 -1
- package/dist/storage/scopedArtifacts.d.ts +7 -0
- package/dist/storage/scopedArtifacts.d.ts.map +1 -0
- package/dist/telemetry/aggregate.d.ts +7 -0
- package/dist/telemetry/aggregate.d.ts.map +1 -1
- package/dist/telemetry/events.d.ts +68 -2
- package/dist/telemetry/events.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -67,6 +67,24 @@ export declare const MessageEventSchema: z.ZodObject<{
|
|
|
67
67
|
tokensCacheRead: z.ZodNumber;
|
|
68
68
|
tokensCacheWrite: z.ZodNumber;
|
|
69
69
|
durationMs: z.ZodNumber;
|
|
70
|
+
usageStatus: z.ZodOptional<z.ZodEnum<{
|
|
71
|
+
missing: "missing";
|
|
72
|
+
reported: "reported";
|
|
73
|
+
"zero-unverified": "zero-unverified";
|
|
74
|
+
}>>;
|
|
75
|
+
costStatus: z.ZodOptional<z.ZodEnum<{
|
|
76
|
+
reported: "reported";
|
|
77
|
+
unavailable: "unavailable";
|
|
78
|
+
}>>;
|
|
79
|
+
finish: z.ZodOptional<z.ZodEnum<{
|
|
80
|
+
"content-filter": "content-filter";
|
|
81
|
+
error: "error";
|
|
82
|
+
length: "length";
|
|
83
|
+
stop: "stop";
|
|
84
|
+
"tool-calls": "tool-calls";
|
|
85
|
+
unknown: "unknown";
|
|
86
|
+
}>>;
|
|
87
|
+
truncatedToolCall: z.ZodOptional<z.ZodBoolean>;
|
|
70
88
|
}, z.core.$strict>;
|
|
71
89
|
/** Execution of a tool with its duration (correlated by `callID`). */
|
|
72
90
|
export declare const ToolcallEventSchema: z.ZodObject<{
|
|
@@ -77,8 +95,15 @@ export declare const ToolcallEventSchema: z.ZodObject<{
|
|
|
77
95
|
tool: z.ZodString;
|
|
78
96
|
callID: z.ZodString;
|
|
79
97
|
agent: z.ZodOptional<z.ZodString>;
|
|
80
|
-
durationMs: z.ZodNumber
|
|
98
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
81
99
|
ok: z.ZodBoolean;
|
|
100
|
+
executed: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
+
providerExecuted: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
+
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
103
|
+
execution: "execution";
|
|
104
|
+
"input-invalid": "input-invalid";
|
|
105
|
+
unknown: "unknown";
|
|
106
|
+
}>>;
|
|
82
107
|
title: z.ZodOptional<z.ZodString>;
|
|
83
108
|
}, z.core.$strict>;
|
|
84
109
|
/** Meeting: a multi-agent batch launched by the orchestrator. */
|
|
@@ -140,6 +165,14 @@ export declare const ActivityEventSchema: z.ZodObject<{
|
|
|
140
165
|
}>;
|
|
141
166
|
agent: z.ZodOptional<z.ZodString>;
|
|
142
167
|
summary: z.ZodString;
|
|
168
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
169
|
+
idle: "idle";
|
|
170
|
+
"model-request": "model-request";
|
|
171
|
+
"report-validation": "report-validation";
|
|
172
|
+
"tool-execution": "tool-execution";
|
|
173
|
+
"tool-input": "tool-input";
|
|
174
|
+
unknown: "unknown";
|
|
175
|
+
}>>;
|
|
143
176
|
}, z.core.$strict>;
|
|
144
177
|
/**
|
|
145
178
|
* Endpoint of the opencode server for a session. The plugin emits it at startup
|
|
@@ -317,6 +350,24 @@ export declare const OpenTeamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
317
350
|
tokensCacheRead: z.ZodNumber;
|
|
318
351
|
tokensCacheWrite: z.ZodNumber;
|
|
319
352
|
durationMs: z.ZodNumber;
|
|
353
|
+
usageStatus: z.ZodOptional<z.ZodEnum<{
|
|
354
|
+
missing: "missing";
|
|
355
|
+
reported: "reported";
|
|
356
|
+
"zero-unverified": "zero-unverified";
|
|
357
|
+
}>>;
|
|
358
|
+
costStatus: z.ZodOptional<z.ZodEnum<{
|
|
359
|
+
reported: "reported";
|
|
360
|
+
unavailable: "unavailable";
|
|
361
|
+
}>>;
|
|
362
|
+
finish: z.ZodOptional<z.ZodEnum<{
|
|
363
|
+
"content-filter": "content-filter";
|
|
364
|
+
error: "error";
|
|
365
|
+
length: "length";
|
|
366
|
+
stop: "stop";
|
|
367
|
+
"tool-calls": "tool-calls";
|
|
368
|
+
unknown: "unknown";
|
|
369
|
+
}>>;
|
|
370
|
+
truncatedToolCall: z.ZodOptional<z.ZodBoolean>;
|
|
320
371
|
}, z.core.$strict>, z.ZodObject<{
|
|
321
372
|
v: z.ZodLiteral<1>;
|
|
322
373
|
ts: z.ZodNumber;
|
|
@@ -325,8 +376,15 @@ export declare const OpenTeamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
325
376
|
tool: z.ZodString;
|
|
326
377
|
callID: z.ZodString;
|
|
327
378
|
agent: z.ZodOptional<z.ZodString>;
|
|
328
|
-
durationMs: z.ZodNumber
|
|
379
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
329
380
|
ok: z.ZodBoolean;
|
|
381
|
+
executed: z.ZodOptional<z.ZodBoolean>;
|
|
382
|
+
providerExecuted: z.ZodOptional<z.ZodBoolean>;
|
|
383
|
+
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
384
|
+
execution: "execution";
|
|
385
|
+
"input-invalid": "input-invalid";
|
|
386
|
+
unknown: "unknown";
|
|
387
|
+
}>>;
|
|
330
388
|
title: z.ZodOptional<z.ZodString>;
|
|
331
389
|
}, z.core.$strict>, z.ZodObject<{
|
|
332
390
|
v: z.ZodLiteral<1>;
|
|
@@ -370,6 +428,14 @@ export declare const OpenTeamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
370
428
|
}>;
|
|
371
429
|
agent: z.ZodOptional<z.ZodString>;
|
|
372
430
|
summary: z.ZodString;
|
|
431
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
432
|
+
idle: "idle";
|
|
433
|
+
"model-request": "model-request";
|
|
434
|
+
"report-validation": "report-validation";
|
|
435
|
+
"tool-execution": "tool-execution";
|
|
436
|
+
"tool-input": "tool-input";
|
|
437
|
+
unknown: "unknown";
|
|
438
|
+
}>>;
|
|
373
439
|
}, z.core.$strict>, z.ZodObject<{
|
|
374
440
|
v: z.ZodLiteral<1>;
|
|
375
441
|
ts: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src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,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jmanuelcorral/openteam",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"packageManager": "bun@1.3.14",
|
|
5
5
|
"description": "Cost-aware, local-first routing plugin for opencode with cheapest-capable frontier fallback and multi-agent orchestration.",
|
|
6
6
|
"license": "MIT",
|