@jmanuelcorral/openteam 0.18.1 → 0.20.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.
Files changed (162) hide show
  1. package/.opencode/openteam.example.json +23 -14
  2. package/AGENTS.md +16 -2
  3. package/README.es.md +300 -209
  4. package/README.md +300 -139
  5. package/dist/capabilities/classify.d.ts.map +1 -1
  6. package/dist/capabilities/normalize.d.ts.map +1 -1
  7. package/dist/certificates/graph-release-certificate.json +2 -2
  8. package/dist/certificates/graph-shadow-certificate.json +2 -2
  9. package/dist/cli/consoleServe.d.ts +16 -0
  10. package/dist/cli/consoleServe.d.ts.map +1 -1
  11. package/dist/cli/graphOperator.d.ts +10 -1
  12. package/dist/cli/graphOperator.d.ts.map +1 -1
  13. package/dist/cli/lifecycleHistoryProvider.d.ts +21 -0
  14. package/dist/cli/lifecycleHistoryProvider.d.ts.map +1 -0
  15. package/dist/cli.d.ts +3 -1
  16. package/dist/cli.d.ts.map +1 -1
  17. package/dist/cli.js +6841 -1555
  18. package/dist/commands/agents.d.ts +16 -4
  19. package/dist/commands/agents.d.ts.map +1 -1
  20. package/dist/commands/dispatch.d.ts.map +1 -1
  21. package/dist/commands/doctor.d.ts.map +1 -1
  22. package/dist/commands/local.d.ts +4 -5
  23. package/dist/commands/local.d.ts.map +1 -1
  24. package/dist/commands/report.d.ts +6 -6
  25. package/dist/commands/report.d.ts.map +1 -1
  26. package/dist/commands/rolesInit.d.ts +10 -12
  27. package/dist/commands/rolesInit.d.ts.map +1 -1
  28. package/dist/commands/setup.d.ts +5 -13
  29. package/dist/commands/setup.d.ts.map +1 -1
  30. package/dist/commands/yolo.d.ts +2 -4
  31. package/dist/commands/yolo.d.ts.map +1 -1
  32. package/dist/config/errors.d.ts.map +1 -1
  33. package/dist/config/executionPolicyDomains.d.ts +18 -0
  34. package/dist/config/executionPolicyDomains.d.ts.map +1 -0
  35. package/dist/config/migrations.d.ts +9 -2
  36. package/dist/config/migrations.d.ts.map +1 -1
  37. package/dist/config/persist.d.ts.map +1 -1
  38. package/dist/config/runtime.d.ts +2 -0
  39. package/dist/config/runtime.d.ts.map +1 -1
  40. package/dist/config/schema.d.ts +128 -13
  41. package/dist/config/schema.d.ts.map +1 -1
  42. package/dist/console/assets.d.ts +22 -1
  43. package/dist/console/assets.d.ts.map +1 -1
  44. package/dist/console/configView.d.ts +2 -7
  45. package/dist/console/configView.d.ts.map +1 -1
  46. package/dist/console/render.d.ts +12 -0
  47. package/dist/console/render.d.ts.map +1 -1
  48. package/dist/console/types.d.ts +2 -2
  49. package/dist/console/types.d.ts.map +1 -1
  50. package/dist/context/schema.d.ts +13 -7
  51. package/dist/context/schema.d.ts.map +1 -1
  52. package/dist/graph/certificate.d.ts.map +1 -1
  53. package/dist/graph/langgraph/adapter.d.ts +7 -8
  54. package/dist/graph/langgraph/adapter.d.ts.map +1 -1
  55. package/dist/graph/langgraph/certification.d.ts +5 -0
  56. package/dist/graph/langgraph/certification.d.ts.map +1 -1
  57. package/dist/graph/langgraph/checkpointReplay.d.ts.map +1 -1
  58. package/dist/graph/langgraph/engine.d.ts +2 -2
  59. package/dist/graph/langgraph/engine.d.ts.map +1 -1
  60. package/dist/graph/langgraph/types.d.ts +11 -6
  61. package/dist/graph/langgraph/types.d.ts.map +1 -1
  62. package/dist/graph/privacyPolicy.d.ts +6 -30
  63. package/dist/graph/privacyPolicy.d.ts.map +1 -1
  64. package/dist/index.d.ts +1 -9
  65. package/dist/index.d.ts.map +1 -1
  66. package/dist/index.js +5992 -1390
  67. package/dist/lifecycle/contracts.d.ts +618 -0
  68. package/dist/lifecycle/contracts.d.ts.map +1 -0
  69. package/dist/lifecycle/historyReader.d.ts +11 -0
  70. package/dist/lifecycle/historyReader.d.ts.map +1 -0
  71. package/dist/lifecycle/historySourceError.d.ts +7 -0
  72. package/dist/lifecycle/historySourceError.d.ts.map +1 -0
  73. package/dist/lifecycle/project.d.ts +3 -0
  74. package/dist/lifecycle/project.d.ts.map +1 -0
  75. package/dist/lifecycle/root.d.ts +3 -0
  76. package/dist/lifecycle/root.d.ts.map +1 -0
  77. package/dist/lifecycle/runtimeRecorder.d.ts +6 -0
  78. package/dist/lifecycle/runtimeRecorder.d.ts.map +1 -0
  79. package/dist/lifecycle/schema.d.ts +487 -0
  80. package/dist/lifecycle/schema.d.ts.map +1 -0
  81. package/dist/mcp/teamMemory.d.ts +2 -2
  82. package/dist/mcp/teamMemory.d.ts.map +1 -1
  83. package/dist/messages/commands.d.ts +22 -35
  84. package/dist/messages/commands.d.ts.map +1 -1
  85. package/dist/messages/executionSetup.d.ts +116 -0
  86. package/dist/messages/executionSetup.d.ts.map +1 -0
  87. package/dist/messages/index.d.ts +2 -0
  88. package/dist/messages/index.d.ts.map +1 -1
  89. package/dist/messages/lifecycle.d.ts +95 -0
  90. package/dist/messages/lifecycle.d.ts.map +1 -0
  91. package/dist/messages/lifecycleRuntime.d.ts +4 -0
  92. package/dist/messages/lifecycleRuntime.d.ts.map +1 -0
  93. package/dist/messages/lifecycleStorage.d.ts +4 -0
  94. package/dist/messages/lifecycleStorage.d.ts.map +1 -0
  95. package/dist/messages/memoryTool.d.ts +17 -0
  96. package/dist/messages/memoryTool.d.ts.map +1 -0
  97. package/dist/messages/orchestration.d.ts +16 -0
  98. package/dist/messages/orchestration.d.ts.map +1 -0
  99. package/dist/messages/routing.d.ts +9 -0
  100. package/dist/messages/routing.d.ts.map +1 -0
  101. package/dist/opencodeArtifacts/orchestratorAgent.d.ts +3 -5
  102. package/dist/opencodeArtifacts/orchestratorAgent.d.ts.map +1 -1
  103. package/dist/orchestrator/coordinator.d.ts +30 -13
  104. package/dist/orchestrator/coordinator.d.ts.map +1 -1
  105. package/dist/orchestrator/graphEffects.d.ts +10 -11
  106. package/dist/orchestrator/graphEffects.d.ts.map +1 -1
  107. package/dist/orchestrator/graphIngress.d.ts +5 -0
  108. package/dist/orchestrator/graphIngress.d.ts.map +1 -1
  109. package/dist/orchestrator/graphRuntime.d.ts +13 -1
  110. package/dist/orchestrator/graphRuntime.d.ts.map +1 -1
  111. package/dist/orchestrator/outputContract.d.ts +5 -6
  112. package/dist/orchestrator/outputContract.d.ts.map +1 -1
  113. package/dist/orchestrator/roles.d.ts +25 -2
  114. package/dist/orchestrator/roles.d.ts.map +1 -1
  115. package/dist/orchestrator/runtimeSelection.d.ts.map +1 -1
  116. package/dist/orchestrator/subsessions.d.ts +52 -1
  117. package/dist/orchestrator/subsessions.d.ts.map +1 -1
  118. package/dist/plugin/availability.d.ts +15 -2
  119. package/dist/plugin/availability.d.ts.map +1 -1
  120. package/dist/plugin/diagnostics.d.ts +1 -0
  121. package/dist/plugin/diagnostics.d.ts.map +1 -1
  122. package/dist/plugin/hooks.d.ts +21 -2
  123. package/dist/plugin/hooks.d.ts.map +1 -1
  124. package/dist/plugin/memoryTool.d.ts +3 -3
  125. package/dist/plugin/memoryTool.d.ts.map +1 -1
  126. package/dist/plugin/modelOwnership.d.ts +15 -0
  127. package/dist/plugin/modelOwnership.d.ts.map +1 -0
  128. package/dist/plugin/orchestrateTool.d.ts +53 -3
  129. package/dist/plugin/orchestrateTool.d.ts.map +1 -1
  130. package/dist/router/chooseModel.d.ts.map +1 -1
  131. package/dist/router/cost.d.ts +1 -1
  132. package/dist/router/cost.d.ts.map +1 -1
  133. package/dist/router/executionPolicy.d.ts +44 -0
  134. package/dist/router/executionPolicy.d.ts.map +1 -0
  135. package/dist/router/frontierBaseline.d.ts.map +1 -1
  136. package/dist/router/types.d.ts +10 -4
  137. package/dist/router/types.d.ts.map +1 -1
  138. package/dist/storage/lifecycle/codec.d.ts +19 -0
  139. package/dist/storage/lifecycle/codec.d.ts.map +1 -0
  140. package/dist/storage/lifecycle/fsLifecycleJournal.d.ts +3 -0
  141. package/dist/storage/lifecycle/fsLifecycleJournal.d.ts.map +1 -0
  142. package/dist/storage/lifecycle/fsLifecycleSupport.d.ts +17 -0
  143. package/dist/storage/lifecycle/fsLifecycleSupport.d.ts.map +1 -0
  144. package/dist/storage/lifecycle/fsLifecycleWriterLivenessProbe.d.ts +3 -0
  145. package/dist/storage/lifecycle/fsLifecycleWriterLivenessProbe.d.ts.map +1 -0
  146. package/dist/telemetry/aggregate.d.ts +4 -4
  147. package/dist/telemetry/aggregate.d.ts.map +1 -1
  148. package/dist/telemetry/diagnostics.d.ts.map +1 -1
  149. package/dist/telemetry/events.d.ts +6 -6
  150. package/dist/telemetry/otel.d.ts.map +1 -1
  151. package/dist/telemetry/types.d.ts +3 -3
  152. package/dist/web/configApi.d.ts +3 -1
  153. package/dist/web/configApi.d.ts.map +1 -1
  154. package/dist/web/graphRoute.d.ts +39 -1
  155. package/dist/web/graphRoute.d.ts.map +1 -1
  156. package/dist/web/server.d.ts +19 -0
  157. package/dist/web/server.d.ts.map +1 -1
  158. package/dist/web/start.d.ts +11 -0
  159. package/dist/web/start.d.ts.map +1 -1
  160. package/dist/web/watch.d.ts +17 -2
  161. package/dist/web/watch.d.ts.map +1 -1
  162. package/package.json +1 -1
@@ -0,0 +1,7 @@
1
+ import type { LifecycleHistoryErrorCode } from "./contracts";
2
+ /** Internal read-boundary failure; never carries a filesystem error or cause. */
3
+ export declare class LifecycleHistorySourceError extends Error {
4
+ readonly code: Extract<LifecycleHistoryErrorCode, "journal-corrupt" | "history-unavailable">;
5
+ constructor(code: Extract<LifecycleHistoryErrorCode, "journal-corrupt" | "history-unavailable">);
6
+ }
7
+ //# sourceMappingURL=historySourceError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"historySourceError.d.ts","sourceRoot":"","sources":["../../src/lifecycle/historySourceError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAE7D,iFAAiF;AACjF,qBAAa,2BAA4B,SAAQ,KAAK;IAElD,QAAQ,CAAC,IAAI,EAAE,OAAO,CACpB,yBAAyB,EACzB,iBAAiB,GAAG,qBAAqB,CAC1C;IAJH,YACW,IAAI,EAAE,OAAO,CACpB,yBAAyB,EACzB,iBAAiB,GAAG,qBAAqB,CAC1C,EAIF;CACF"}
@@ -0,0 +1,3 @@
1
+ import type { ProjectLifecyclePrefix } from "./contracts";
2
+ export declare const projectLifecyclePrefix: ProjectLifecyclePrefix;
3
+ //# sourceMappingURL=project.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/lifecycle/project.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAQV,sBAAsB,EACvB,MAAM,aAAa,CAAC;AA0ErB,eAAO,MAAM,sBAAsB,EAAE,sBAkOpC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ResolveLifecycleRoot } from "./contracts";
2
+ export declare const resolveLifecycleRoot: ResolveLifecycleRoot;
3
+ //# sourceMappingURL=root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../src/lifecycle/root.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,oBAAoB,EAAE,oBAmBlC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { CreateNodeLifecycleHeartbeatScheduler, CreateRuntimeLifecycleRecorder } from "./contracts";
2
+ export declare const DEFAULT_LIFECYCLE_HEARTBEAT_INTERVAL_MS = 5000;
3
+ export declare const DEFAULT_LIFECYCLE_WRITER_LEASE_MS = 30000;
4
+ export declare const createNodeLifecycleHeartbeatScheduler: CreateNodeLifecycleHeartbeatScheduler;
5
+ export declare const createRuntimeLifecycleRecorder: CreateRuntimeLifecycleRecorder;
6
+ //# sourceMappingURL=runtimeRecorder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtimeRecorder.d.ts","sourceRoot":"","sources":["../../src/lifecycle/runtimeRecorder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qCAAqC,EACrC,8BAA8B,EAe/B,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,uCAAuC,OAAQ,CAAC;AAC7D,eAAO,MAAM,iCAAiC,QAAS,CAAC;AAExD,eAAO,MAAM,qCAAqC,EAAE,qCAkChD,CAAC;AAySL,eAAO,MAAM,8BAA8B,EAAE,8BAuL5C,CAAC"}
@@ -0,0 +1,487 @@
1
+ import { z } from "zod";
2
+ import type { LifecycleAppendEventV1, LifecycleEventV1, LifecycleRunMetadataV1, LifecycleRunStartInput, LifecycleWriterLeaseInput, LifecycleWriterLeaseV1 } from "./contracts";
3
+ export declare const LifecycleRunMetadataSchema: z.ZodObject<{
4
+ runID: z.ZodString;
5
+ source: z.ZodEnum<{
6
+ cli: "cli";
7
+ plugin: "plugin";
8
+ }>;
9
+ executionAuthority: z.ZodEnum<{
10
+ coordinator: "coordinator";
11
+ graph: "graph";
12
+ }>;
13
+ root: z.ZodObject<{
14
+ operationID: z.ZodString;
15
+ taskID: z.ZodString;
16
+ kind: z.ZodEnum<{
17
+ coordinator: "coordinator";
18
+ "graph-node": "graph-node";
19
+ }>;
20
+ roleID: z.ZodString;
21
+ agentID: z.ZodOptional<z.ZodString>;
22
+ sessionID: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strict>;
24
+ version: z.ZodLiteral<1>;
25
+ createdAt: z.ZodNumber;
26
+ }, z.core.$strict>;
27
+ export declare const LifecycleAppendEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
28
+ type: z.ZodLiteral<"operation.queued">;
29
+ operationID: z.ZodString;
30
+ taskID: z.ZodString;
31
+ kind: z.ZodEnum<{
32
+ "graph-node": "graph-node";
33
+ role: "role";
34
+ }>;
35
+ roleID: z.ZodString;
36
+ agentID: z.ZodOptional<z.ZodString>;
37
+ parentOperationID: z.ZodString;
38
+ dependsOnOperationIDs: z.ZodReadonly<z.ZodArray<z.ZodString>>;
39
+ }, z.core.$strict>, z.ZodObject<{
40
+ operationID: z.ZodString;
41
+ taskID: z.ZodString;
42
+ attemptID: z.ZodString;
43
+ attempt: z.ZodNumber;
44
+ modelIndex: z.ZodNumber;
45
+ retryIndex: z.ZodNumber;
46
+ type: z.ZodLiteral<"attempt.model-selected">;
47
+ decisionID: z.ZodString;
48
+ model: z.ZodObject<{
49
+ providerID: z.ZodString;
50
+ modelID: z.ZodString;
51
+ }, z.core.$strict>;
52
+ routeKind: z.ZodEnum<{
53
+ frontier: "frontier";
54
+ local: "local";
55
+ }>;
56
+ selectionCause: z.ZodEnum<{
57
+ "fallback-incomplete": "fallback-incomplete";
58
+ "fallback-transport": "fallback-transport";
59
+ initial: "initial";
60
+ "retry-incomplete": "retry-incomplete";
61
+ "retry-transport": "retry-transport";
62
+ }>;
63
+ runtimeID: z.ZodOptional<z.ZodString>;
64
+ }, z.core.$strict>, z.ZodObject<{
65
+ operationID: z.ZodString;
66
+ taskID: z.ZodString;
67
+ attemptID: z.ZodString;
68
+ attempt: z.ZodNumber;
69
+ modelIndex: z.ZodNumber;
70
+ retryIndex: z.ZodNumber;
71
+ type: z.ZodLiteral<"attempt.queued">;
72
+ runtimeID: z.ZodOptional<z.ZodString>;
73
+ }, z.core.$strict>, z.ZodObject<{
74
+ operationID: z.ZodString;
75
+ taskID: z.ZodString;
76
+ attemptID: z.ZodString;
77
+ attempt: z.ZodNumber;
78
+ modelIndex: z.ZodNumber;
79
+ retryIndex: z.ZodNumber;
80
+ type: z.ZodLiteral<"attempt.started">;
81
+ }, z.core.$strict>, z.ZodObject<{
82
+ operationID: z.ZodString;
83
+ taskID: z.ZodString;
84
+ attemptID: z.ZodString;
85
+ attempt: z.ZodNumber;
86
+ modelIndex: z.ZodNumber;
87
+ retryIndex: z.ZodNumber;
88
+ type: z.ZodLiteral<"session.created">;
89
+ sessionID: z.ZodString;
90
+ parentSessionID: z.ZodOptional<z.ZodString>;
91
+ }, z.core.$strict>, z.ZodObject<{
92
+ operationID: z.ZodString;
93
+ taskID: z.ZodString;
94
+ attemptID: z.ZodString;
95
+ attempt: z.ZodNumber;
96
+ modelIndex: z.ZodNumber;
97
+ retryIndex: z.ZodNumber;
98
+ type: z.ZodLiteral<"attempt.terminal">;
99
+ outcome: z.ZodEnum<{
100
+ cancelled: "cancelled";
101
+ failed: "failed";
102
+ interrupted: "interrupted";
103
+ succeeded: "succeeded";
104
+ unknown: "unknown";
105
+ }>;
106
+ continuation: z.ZodEnum<{
107
+ "fallback-next-model": "fallback-next-model";
108
+ none: "none";
109
+ "retry-same-effect": "retry-same-effect";
110
+ "retry-same-model": "retry-same-model";
111
+ }>;
112
+ sessionID: z.ZodOptional<z.ZodString>;
113
+ failure: z.ZodOptional<z.ZodObject<{
114
+ class: z.ZodEnum<{
115
+ "budget-exhausted": "budget-exhausted";
116
+ cancelled: "cancelled";
117
+ "create-no-id": "create-no-id";
118
+ "create-rejected": "create-rejected";
119
+ "dependency-failed": "dependency-failed";
120
+ interrupted: "interrupted";
121
+ "prompt-auth": "prompt-auth";
122
+ "prompt-connection": "prompt-connection";
123
+ "prompt-content-filter": "prompt-content-filter";
124
+ "prompt-context-length": "prompt-context-length";
125
+ "prompt-rate-limited": "prompt-rate-limited";
126
+ "prompt-rejected": "prompt-rejected";
127
+ "prompt-server": "prompt-server";
128
+ "prompt-stop-unconfirmed": "prompt-stop-unconfirmed";
129
+ "prompt-timeout": "prompt-timeout";
130
+ "prompt-validation": "prompt-validation";
131
+ "report-incomplete": "report-incomplete";
132
+ "report-not-durable": "report-not-durable";
133
+ "routing-blocked": "routing-blocked";
134
+ unknown: "unknown";
135
+ }>;
136
+ statusCode: z.ZodOptional<z.ZodNumber>;
137
+ retryable: z.ZodOptional<z.ZodBoolean>;
138
+ }, z.core.$strict>>;
139
+ }, z.core.$strict>, z.ZodObject<{
140
+ type: z.ZodLiteral<"operation.terminal">;
141
+ operationID: z.ZodString;
142
+ taskID: z.ZodString;
143
+ outcome: z.ZodEnum<{
144
+ blocked: "blocked";
145
+ cancelled: "cancelled";
146
+ failed: "failed";
147
+ interrupted: "interrupted";
148
+ succeeded: "succeeded";
149
+ unknown: "unknown";
150
+ }>;
151
+ attemptCount: z.ZodNumber;
152
+ finalSessionID: z.ZodOptional<z.ZodString>;
153
+ failure: z.ZodOptional<z.ZodObject<{
154
+ class: z.ZodEnum<{
155
+ "budget-exhausted": "budget-exhausted";
156
+ cancelled: "cancelled";
157
+ "create-no-id": "create-no-id";
158
+ "create-rejected": "create-rejected";
159
+ "dependency-failed": "dependency-failed";
160
+ interrupted: "interrupted";
161
+ "prompt-auth": "prompt-auth";
162
+ "prompt-connection": "prompt-connection";
163
+ "prompt-content-filter": "prompt-content-filter";
164
+ "prompt-context-length": "prompt-context-length";
165
+ "prompt-rate-limited": "prompt-rate-limited";
166
+ "prompt-rejected": "prompt-rejected";
167
+ "prompt-server": "prompt-server";
168
+ "prompt-stop-unconfirmed": "prompt-stop-unconfirmed";
169
+ "prompt-timeout": "prompt-timeout";
170
+ "prompt-validation": "prompt-validation";
171
+ "report-incomplete": "report-incomplete";
172
+ "report-not-durable": "report-not-durable";
173
+ "routing-blocked": "routing-blocked";
174
+ unknown: "unknown";
175
+ }>;
176
+ statusCode: z.ZodOptional<z.ZodNumber>;
177
+ retryable: z.ZodOptional<z.ZodBoolean>;
178
+ }, z.core.$strict>>;
179
+ }, z.core.$strict>, z.ZodObject<{
180
+ type: z.ZodLiteral<"run.terminal">;
181
+ outcome: z.ZodEnum<{
182
+ cancelled: "cancelled";
183
+ failed: "failed";
184
+ interrupted: "interrupted";
185
+ succeeded: "succeeded";
186
+ unknown: "unknown";
187
+ }>;
188
+ operationCount: z.ZodNumber;
189
+ failure: z.ZodOptional<z.ZodObject<{
190
+ class: z.ZodEnum<{
191
+ "budget-exhausted": "budget-exhausted";
192
+ cancelled: "cancelled";
193
+ "create-no-id": "create-no-id";
194
+ "create-rejected": "create-rejected";
195
+ "dependency-failed": "dependency-failed";
196
+ interrupted: "interrupted";
197
+ "prompt-auth": "prompt-auth";
198
+ "prompt-connection": "prompt-connection";
199
+ "prompt-content-filter": "prompt-content-filter";
200
+ "prompt-context-length": "prompt-context-length";
201
+ "prompt-rate-limited": "prompt-rate-limited";
202
+ "prompt-rejected": "prompt-rejected";
203
+ "prompt-server": "prompt-server";
204
+ "prompt-stop-unconfirmed": "prompt-stop-unconfirmed";
205
+ "prompt-timeout": "prompt-timeout";
206
+ "prompt-validation": "prompt-validation";
207
+ "report-incomplete": "report-incomplete";
208
+ "report-not-durable": "report-not-durable";
209
+ "routing-blocked": "routing-blocked";
210
+ unknown: "unknown";
211
+ }>;
212
+ statusCode: z.ZodOptional<z.ZodNumber>;
213
+ retryable: z.ZodOptional<z.ZodBoolean>;
214
+ }, z.core.$strict>>;
215
+ }, z.core.$strict>], "type">;
216
+ export declare const LifecycleEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
217
+ v: z.ZodLiteral<1>;
218
+ seq: z.ZodNumber;
219
+ runID: z.ZodString;
220
+ at: z.ZodNumber;
221
+ type: z.ZodLiteral<"run.started">;
222
+ source: z.ZodEnum<{
223
+ cli: "cli";
224
+ plugin: "plugin";
225
+ }>;
226
+ executionAuthority: z.ZodEnum<{
227
+ coordinator: "coordinator";
228
+ graph: "graph";
229
+ }>;
230
+ root: z.ZodObject<{
231
+ operationID: z.ZodString;
232
+ taskID: z.ZodString;
233
+ kind: z.ZodEnum<{
234
+ coordinator: "coordinator";
235
+ "graph-node": "graph-node";
236
+ }>;
237
+ roleID: z.ZodString;
238
+ agentID: z.ZodOptional<z.ZodString>;
239
+ sessionID: z.ZodOptional<z.ZodString>;
240
+ }, z.core.$strict>;
241
+ }, z.core.$strict>, z.ZodObject<{
242
+ v: z.ZodLiteral<1>;
243
+ seq: z.ZodNumber;
244
+ runID: z.ZodString;
245
+ at: z.ZodNumber;
246
+ type: z.ZodLiteral<"operation.queued">;
247
+ operationID: z.ZodString;
248
+ taskID: z.ZodString;
249
+ kind: z.ZodEnum<{
250
+ "graph-node": "graph-node";
251
+ role: "role";
252
+ }>;
253
+ roleID: z.ZodString;
254
+ agentID: z.ZodOptional<z.ZodString>;
255
+ parentOperationID: z.ZodString;
256
+ dependsOnOperationIDs: z.ZodReadonly<z.ZodArray<z.ZodString>>;
257
+ }, z.core.$strict>, z.ZodObject<{
258
+ operationID: z.ZodString;
259
+ taskID: z.ZodString;
260
+ attemptID: z.ZodString;
261
+ attempt: z.ZodNumber;
262
+ modelIndex: z.ZodNumber;
263
+ retryIndex: z.ZodNumber;
264
+ v: z.ZodLiteral<1>;
265
+ seq: z.ZodNumber;
266
+ runID: z.ZodString;
267
+ at: z.ZodNumber;
268
+ type: z.ZodLiteral<"attempt.model-selected">;
269
+ decisionID: z.ZodString;
270
+ model: z.ZodObject<{
271
+ providerID: z.ZodString;
272
+ modelID: z.ZodString;
273
+ }, z.core.$strict>;
274
+ routeKind: z.ZodEnum<{
275
+ frontier: "frontier";
276
+ local: "local";
277
+ }>;
278
+ selectionCause: z.ZodEnum<{
279
+ "fallback-incomplete": "fallback-incomplete";
280
+ "fallback-transport": "fallback-transport";
281
+ initial: "initial";
282
+ "retry-incomplete": "retry-incomplete";
283
+ "retry-transport": "retry-transport";
284
+ }>;
285
+ runtimeID: z.ZodOptional<z.ZodString>;
286
+ }, z.core.$strict>, z.ZodObject<{
287
+ operationID: z.ZodString;
288
+ taskID: z.ZodString;
289
+ attemptID: z.ZodString;
290
+ attempt: z.ZodNumber;
291
+ modelIndex: z.ZodNumber;
292
+ retryIndex: z.ZodNumber;
293
+ v: z.ZodLiteral<1>;
294
+ seq: z.ZodNumber;
295
+ runID: z.ZodString;
296
+ at: z.ZodNumber;
297
+ type: z.ZodLiteral<"attempt.queued">;
298
+ runtimeID: z.ZodOptional<z.ZodString>;
299
+ }, z.core.$strict>, z.ZodObject<{
300
+ operationID: z.ZodString;
301
+ taskID: z.ZodString;
302
+ attemptID: z.ZodString;
303
+ attempt: z.ZodNumber;
304
+ modelIndex: z.ZodNumber;
305
+ retryIndex: z.ZodNumber;
306
+ v: z.ZodLiteral<1>;
307
+ seq: z.ZodNumber;
308
+ runID: z.ZodString;
309
+ at: z.ZodNumber;
310
+ type: z.ZodLiteral<"attempt.started">;
311
+ }, z.core.$strict>, z.ZodObject<{
312
+ operationID: z.ZodString;
313
+ taskID: z.ZodString;
314
+ attemptID: z.ZodString;
315
+ attempt: z.ZodNumber;
316
+ modelIndex: z.ZodNumber;
317
+ retryIndex: z.ZodNumber;
318
+ v: z.ZodLiteral<1>;
319
+ seq: z.ZodNumber;
320
+ runID: z.ZodString;
321
+ at: z.ZodNumber;
322
+ type: z.ZodLiteral<"session.created">;
323
+ sessionID: z.ZodString;
324
+ parentSessionID: z.ZodOptional<z.ZodString>;
325
+ }, z.core.$strict>, z.ZodObject<{
326
+ operationID: z.ZodString;
327
+ taskID: z.ZodString;
328
+ attemptID: z.ZodString;
329
+ attempt: z.ZodNumber;
330
+ modelIndex: z.ZodNumber;
331
+ retryIndex: z.ZodNumber;
332
+ v: z.ZodLiteral<1>;
333
+ seq: z.ZodNumber;
334
+ runID: z.ZodString;
335
+ at: z.ZodNumber;
336
+ type: z.ZodLiteral<"attempt.terminal">;
337
+ outcome: z.ZodEnum<{
338
+ cancelled: "cancelled";
339
+ failed: "failed";
340
+ interrupted: "interrupted";
341
+ succeeded: "succeeded";
342
+ unknown: "unknown";
343
+ }>;
344
+ continuation: z.ZodEnum<{
345
+ "fallback-next-model": "fallback-next-model";
346
+ none: "none";
347
+ "retry-same-effect": "retry-same-effect";
348
+ "retry-same-model": "retry-same-model";
349
+ }>;
350
+ sessionID: z.ZodOptional<z.ZodString>;
351
+ failure: z.ZodOptional<z.ZodObject<{
352
+ class: z.ZodEnum<{
353
+ "budget-exhausted": "budget-exhausted";
354
+ cancelled: "cancelled";
355
+ "create-no-id": "create-no-id";
356
+ "create-rejected": "create-rejected";
357
+ "dependency-failed": "dependency-failed";
358
+ interrupted: "interrupted";
359
+ "prompt-auth": "prompt-auth";
360
+ "prompt-connection": "prompt-connection";
361
+ "prompt-content-filter": "prompt-content-filter";
362
+ "prompt-context-length": "prompt-context-length";
363
+ "prompt-rate-limited": "prompt-rate-limited";
364
+ "prompt-rejected": "prompt-rejected";
365
+ "prompt-server": "prompt-server";
366
+ "prompt-stop-unconfirmed": "prompt-stop-unconfirmed";
367
+ "prompt-timeout": "prompt-timeout";
368
+ "prompt-validation": "prompt-validation";
369
+ "report-incomplete": "report-incomplete";
370
+ "report-not-durable": "report-not-durable";
371
+ "routing-blocked": "routing-blocked";
372
+ unknown: "unknown";
373
+ }>;
374
+ statusCode: z.ZodOptional<z.ZodNumber>;
375
+ retryable: z.ZodOptional<z.ZodBoolean>;
376
+ }, z.core.$strict>>;
377
+ }, z.core.$strict>, z.ZodObject<{
378
+ v: z.ZodLiteral<1>;
379
+ seq: z.ZodNumber;
380
+ runID: z.ZodString;
381
+ at: z.ZodNumber;
382
+ type: z.ZodLiteral<"operation.terminal">;
383
+ operationID: z.ZodString;
384
+ taskID: z.ZodString;
385
+ outcome: z.ZodEnum<{
386
+ blocked: "blocked";
387
+ cancelled: "cancelled";
388
+ failed: "failed";
389
+ interrupted: "interrupted";
390
+ succeeded: "succeeded";
391
+ unknown: "unknown";
392
+ }>;
393
+ attemptCount: z.ZodNumber;
394
+ finalSessionID: z.ZodOptional<z.ZodString>;
395
+ failure: z.ZodOptional<z.ZodObject<{
396
+ class: z.ZodEnum<{
397
+ "budget-exhausted": "budget-exhausted";
398
+ cancelled: "cancelled";
399
+ "create-no-id": "create-no-id";
400
+ "create-rejected": "create-rejected";
401
+ "dependency-failed": "dependency-failed";
402
+ interrupted: "interrupted";
403
+ "prompt-auth": "prompt-auth";
404
+ "prompt-connection": "prompt-connection";
405
+ "prompt-content-filter": "prompt-content-filter";
406
+ "prompt-context-length": "prompt-context-length";
407
+ "prompt-rate-limited": "prompt-rate-limited";
408
+ "prompt-rejected": "prompt-rejected";
409
+ "prompt-server": "prompt-server";
410
+ "prompt-stop-unconfirmed": "prompt-stop-unconfirmed";
411
+ "prompt-timeout": "prompt-timeout";
412
+ "prompt-validation": "prompt-validation";
413
+ "report-incomplete": "report-incomplete";
414
+ "report-not-durable": "report-not-durable";
415
+ "routing-blocked": "routing-blocked";
416
+ unknown: "unknown";
417
+ }>;
418
+ statusCode: z.ZodOptional<z.ZodNumber>;
419
+ retryable: z.ZodOptional<z.ZodBoolean>;
420
+ }, z.core.$strict>>;
421
+ }, z.core.$strict>, z.ZodObject<{
422
+ v: z.ZodLiteral<1>;
423
+ seq: z.ZodNumber;
424
+ runID: z.ZodString;
425
+ at: z.ZodNumber;
426
+ type: z.ZodLiteral<"run.terminal">;
427
+ outcome: z.ZodEnum<{
428
+ cancelled: "cancelled";
429
+ failed: "failed";
430
+ interrupted: "interrupted";
431
+ succeeded: "succeeded";
432
+ unknown: "unknown";
433
+ }>;
434
+ operationCount: z.ZodNumber;
435
+ failure: z.ZodOptional<z.ZodObject<{
436
+ class: z.ZodEnum<{
437
+ "budget-exhausted": "budget-exhausted";
438
+ cancelled: "cancelled";
439
+ "create-no-id": "create-no-id";
440
+ "create-rejected": "create-rejected";
441
+ "dependency-failed": "dependency-failed";
442
+ interrupted: "interrupted";
443
+ "prompt-auth": "prompt-auth";
444
+ "prompt-connection": "prompt-connection";
445
+ "prompt-content-filter": "prompt-content-filter";
446
+ "prompt-context-length": "prompt-context-length";
447
+ "prompt-rate-limited": "prompt-rate-limited";
448
+ "prompt-rejected": "prompt-rejected";
449
+ "prompt-server": "prompt-server";
450
+ "prompt-stop-unconfirmed": "prompt-stop-unconfirmed";
451
+ "prompt-timeout": "prompt-timeout";
452
+ "prompt-validation": "prompt-validation";
453
+ "report-incomplete": "report-incomplete";
454
+ "report-not-durable": "report-not-durable";
455
+ "routing-blocked": "routing-blocked";
456
+ unknown: "unknown";
457
+ }>;
458
+ statusCode: z.ZodOptional<z.ZodNumber>;
459
+ retryable: z.ZodOptional<z.ZodBoolean>;
460
+ }, z.core.$strict>>;
461
+ }, z.core.$strict>], "type">;
462
+ export declare const LifecycleWriterLeaseInputSchema: z.ZodObject<{
463
+ writer: z.ZodObject<{
464
+ processID: z.ZodNumber;
465
+ processInstanceID: z.ZodString;
466
+ }, z.core.$strict>;
467
+ now: z.ZodNumber;
468
+ leaseDurationMs: z.ZodNumber;
469
+ }, z.core.$strict>;
470
+ export declare const LifecycleWriterLeaseSchema: z.ZodObject<{
471
+ version: z.ZodLiteral<1>;
472
+ runID: z.ZodString;
473
+ writerToken: z.ZodString;
474
+ processID: z.ZodNumber;
475
+ processInstanceID: z.ZodString;
476
+ acquiredAt: z.ZodNumber;
477
+ heartbeatAt: z.ZodNumber;
478
+ expiresAt: z.ZodNumber;
479
+ }, z.core.$strict>;
480
+ export declare function assertLifecycleReferenceOnly(value: unknown): void;
481
+ export declare function parseLifecycleRunStartInput(value: unknown): LifecycleRunStartInput;
482
+ export declare function parseLifecycleRunMetadata(value: unknown): LifecycleRunMetadataV1;
483
+ export declare function parseLifecycleAppendEvent(value: unknown): LifecycleAppendEventV1;
484
+ export declare function parseLifecycleEvent(value: unknown): LifecycleEventV1;
485
+ export declare function parseLifecycleWriterLeaseInput(value: unknown): LifecycleWriterLeaseInput;
486
+ export declare function parseLifecycleWriterLease(value: unknown): LifecycleWriterLeaseV1;
487
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/lifecycle/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EACV,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,EACtB,sBAAsB,EACtB,yBAAyB,EACzB,sBAAsB,EACvB,MAAM,aAAa,CAAC;AA8DrB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;kBAK5B,CAAC;AA+IZ,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAGtC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAU/B,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;kBAWjC,CAAC;AAEZ,eAAO,MAAM,0BAA0B;;;;;;;;;kBA2BnC,CAAC;AAwBL,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAEjE;AAED,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,OAAO,GACb,sBAAsB,CAIxB;AAED,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,GACb,sBAAsB,CAIxB;AAED,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,GACb,sBAAsB,CAIxB;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,CAIpE;AAED,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,OAAO,GACb,yBAAyB,CAE3B;AAED,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,GACb,sBAAsB,CAIxB"}
@@ -32,8 +32,8 @@ export type CostSummary = {
32
32
  sessions: number;
33
33
  messageCount: number;
34
34
  realCostUSD: number;
35
- estimatedCostUSD: number;
36
- estimatedSavingsUSD: number;
35
+ estimatedCostUSD: number | null;
36
+ estimatedSavingsUSD: number | null;
37
37
  tokensIn: number;
38
38
  tokensOut: number;
39
39
  };
@@ -1 +1 @@
1
- {"version":3,"file":"teamMemory.d.ts","sourceRoot":"","sources":["../../src/mcp/teamMemory.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,cAAc,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB,CAAC;AAEF,wBAAgB,eAAe,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,GAAG,UAAU,CAQ5E;AASD,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,8EAA8E;AAC9E,wBAAgB,cAAc,CAC5B,MAAM,EAAE,UAAU,EAClB,KAAK,GAAE,aAAkB,GACxB,YAAY,EAAE,CAWhB;AAED,+DAA+D;AAC/D,wBAAgB,aAAa,CAC3B,MAAM,EAAE,UAAU,EAClB,KAAK,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAO,GAC7B,WAAW,EAAE,CAEf;AAED,iDAAiD;AACjD,wBAAgB,aAAa,CAC3B,MAAM,EAAE,UAAU,EAClB,KAAK,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAO,GAC7B,cAAc,EAAE,CAElB;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,iFAAiF;AACjF,wBAAgB,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,WAAW,CAW3D"}
1
+ {"version":3,"file":"teamMemory.d.ts","sourceRoot":"","sources":["../../src/mcp/teamMemory.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,cAAc,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB,CAAC;AAEF,wBAAgB,eAAe,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,GAAG,UAAU,CAQ5E;AASD,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,8EAA8E;AAC9E,wBAAgB,cAAc,CAC5B,MAAM,EAAE,UAAU,EAClB,KAAK,GAAE,aAAkB,GACxB,YAAY,EAAE,CAWhB;AAED,+DAA+D;AAC/D,wBAAgB,aAAa,CAC3B,MAAM,EAAE,UAAU,EAClB,KAAK,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAO,GAC7B,WAAW,EAAE,CAEf;AAED,iDAAiD;AACjD,wBAAgB,aAAa,CAC3B,MAAM,EAAE,UAAU,EAClB,KAAK,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAO,GAC7B,cAAc,EAAE,CAElB;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,iFAAiF;AACjF,wBAAgB,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,WAAW,CAW3D"}
@@ -45,32 +45,32 @@ export declare const baselineMessages: {
45
45
  /** Messages for `openteam local`. */
46
46
  export declare const localMessages: {
47
47
  readonly help: {
48
- readonly status: " openteam local status Show the routing mode (local-first / local-only / frontier-only)";
49
- readonly off: " openteam local off Use frontier models only (no local runtime)";
50
- readonly only: " openteam local only Use local models only (never frontier)";
51
- readonly on: " openteam local on Re-enable local-first routing";
48
+ readonly status: " openteam local status Show the execution mode (local / frontier / mixed)";
49
+ readonly off: " openteam local off Use frontier models only";
50
+ readonly only: " openteam local only Use local models only";
51
+ readonly on: " openteam local on Enable mixed local/frontier execution";
52
52
  };
53
53
  readonly noRuntimes: "none";
54
- readonly modeFrontierOnly: "frontier-only (frontierOnly)";
55
- readonly modeLocalOnly: "local-only (localOnly)";
56
- readonly modeLocalFirst: "local-first";
54
+ readonly modeFrontier: "frontier";
55
+ readonly modeLocal: "local";
56
+ readonly modeMixed: "mixed";
57
57
  readonly summary: (params: {
58
58
  mode: string;
59
- frontierOnly: boolean;
60
- localOnly: boolean;
61
- privacy: string;
62
59
  runtimes: string;
63
60
  }) => string[];
64
- readonly frontierOnlyNoChange: "No change: already in frontier-only mode.";
65
- readonly privacyAdjustedNote: " Privacy adjusted to 'consentBeforeFrontier' (forceLocalOnSensitive requires a local runtime).";
66
- readonly frontierOnlyEnabled: "Frontier-only mode enabled (frontierOnly=true, localOnly=false).";
67
- readonly localOnlyNoRuntimes: "Cannot enable local-only mode: no enabled local runtime is configured. Run 'openteam setup' or enable a local runtime in .opencode/openteam.json first.";
68
- readonly localOnlyNoChange: "No change: already in local-only mode.";
69
- readonly localOnlyEnabled: "Local-only mode enabled (localOnly=true, frontierOnly=false).";
70
- readonly localFirstNoChange: "No change: local-first routing is already active.";
71
- readonly localFirstReEnabled: "Local-first routing re-enabled (frontierOnly=false, localOnly=false). Make sure a local runtime is reachable.";
61
+ readonly frontierOnlyNoChange: "No change: execution mode is already frontier.";
62
+ readonly frontierOnlyEnabled: "Frontier execution enabled.";
63
+ readonly localOnlyNoRuntimes: "Cannot enable local execution: no enabled local runtime is configured. Run 'openteam setup' or enable a local runtime in .opencode/openteam.json first.";
64
+ readonly localOnlyNoChange: "No change: execution mode is already local.";
65
+ readonly localOnlyEnabled: "Local execution enabled.";
66
+ readonly localFirstNoChange: "No change: execution mode is already mixed.";
67
+ readonly localFirstReEnabled: "Mixed local/frontier execution enabled. Make sure each configured provider is reachable.";
72
68
  readonly unknownSubcommand: (subcommand: string, help: string) => string;
73
69
  };
70
+ /** Messages for `openteam yolo`. */
71
+ export declare const yoloMessages: {
72
+ readonly updated: (path: string, status: string, agentNote: string) => string;
73
+ };
74
74
  /** Messages for the frontier catalog rendered during `init`. */
75
75
  export declare const frontierCatalogMessages: {
76
76
  readonly free: "free";
@@ -93,14 +93,9 @@ export declare const migrateMessages: {
93
93
  readonly manualWorktreeEntry: (label: string, from: string, to: string) => string;
94
94
  readonly success: " ✓ machine-local runtime output relocated under .opencode/openteam-local/.";
95
95
  };
96
- /**
97
- * Messages for `openteam roles init` (#206) — assisted composition of per-role
98
- * routing policy. The wording carries the whole point of the command: a roster
99
- * role with no profile is frontier-eligible, and the "local only" note a human
100
- * writes in the roster prose is never read because it sits outside the JSON
101
- * fence. Keep that consequence stated explicitly; softening it recreates the bug.
102
- */
96
+ /** Messages for `openteam roles init` assisted per-role policy composition. */
103
97
  export declare const rolesInitMessages: {
98
+ readonly help: " openteam roles init Compose per-role execution, model, and fallback policy";
104
99
  readonly header: "openteam roles init:";
105
100
  readonly title: "openteam roles init";
106
101
  readonly noRoster: (path: string) => string;
@@ -108,23 +103,15 @@ export declare const rolesInitMessages: {
108
103
  readonly unparseableRoster: (path: string, error: string) => string;
109
104
  readonly unparseableRosterRemedy: " Run `openteam doctor` for the remedy, then re-run this command.";
110
105
  readonly allProfiled: (count: number) => string;
111
- readonly whyTitle: "Why you are being asked";
112
- readonly why: (count: number) => string;
113
- readonly policyQuestion: (roleID: string, agentName: string) => string;
114
- readonly localOnlyLabel: (roleID: string, agentName: string) => string;
115
- readonly localOnlyHint: "sets requiresLocalRuntime; the role fails closed when no local runtime is reachable";
116
- readonly frontierOkLabel: "Local first, frontier allowed";
117
- readonly frontierOkHint: "records today's implicit behaviour: cheapest-capable frontier when the task warrants it";
118
106
  readonly skipLabel: "Skip for now";
119
- readonly skipHint: "leaves the role unprofiled, so it stays frontier-eligible and doctor keeps reporting it";
107
+ readonly skipHint: "leaves the role on its built-in or fallback policy; doctor keeps reporting the missing explicit override";
120
108
  readonly runtimeQuestion: (roleID: string) => string;
121
109
  readonly runtimeHint: "machine-local — written to the git-ignored overlay";
122
110
  readonly cancelled: (reason: string) => string;
123
111
  readonly invalidResult: (reason: string) => string;
112
+ readonly deprecation: (message: string) => string;
124
113
  readonly nothingWritten: (skipped: string) => string;
125
114
  readonly nothingToWriteOutro: "Nothing to write.";
126
- readonly pinnedLocal: (roleIDs: string, path: string) => string;
127
- readonly frontierAllowed: (roleIDs: string, path: string) => string;
128
115
  readonly runtimeBinding: (path: string) => string;
129
116
  readonly skippedSummary: (roleIDs: string) => string;
130
117
  readonly outro: "Role policy updated.";