@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.
- package/.opencode/openteam.example.json +23 -14
- package/AGENTS.md +16 -2
- package/README.es.md +300 -209
- package/README.md +300 -139
- package/dist/capabilities/classify.d.ts.map +1 -1
- package/dist/capabilities/normalize.d.ts.map +1 -1
- package/dist/certificates/graph-release-certificate.json +2 -2
- package/dist/certificates/graph-shadow-certificate.json +2 -2
- package/dist/cli/consoleServe.d.ts +16 -0
- package/dist/cli/consoleServe.d.ts.map +1 -1
- package/dist/cli/graphOperator.d.ts +10 -1
- package/dist/cli/graphOperator.d.ts.map +1 -1
- package/dist/cli/lifecycleHistoryProvider.d.ts +21 -0
- package/dist/cli/lifecycleHistoryProvider.d.ts.map +1 -0
- package/dist/cli.d.ts +3 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +6841 -1555
- package/dist/commands/agents.d.ts +16 -4
- package/dist/commands/agents.d.ts.map +1 -1
- package/dist/commands/dispatch.d.ts.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/local.d.ts +4 -5
- package/dist/commands/local.d.ts.map +1 -1
- package/dist/commands/report.d.ts +6 -6
- package/dist/commands/report.d.ts.map +1 -1
- package/dist/commands/rolesInit.d.ts +10 -12
- package/dist/commands/rolesInit.d.ts.map +1 -1
- package/dist/commands/setup.d.ts +5 -13
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/yolo.d.ts +2 -4
- package/dist/commands/yolo.d.ts.map +1 -1
- package/dist/config/errors.d.ts.map +1 -1
- package/dist/config/executionPolicyDomains.d.ts +18 -0
- package/dist/config/executionPolicyDomains.d.ts.map +1 -0
- package/dist/config/migrations.d.ts +9 -2
- package/dist/config/migrations.d.ts.map +1 -1
- package/dist/config/persist.d.ts.map +1 -1
- package/dist/config/runtime.d.ts +2 -0
- package/dist/config/runtime.d.ts.map +1 -1
- package/dist/config/schema.d.ts +128 -13
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/console/assets.d.ts +22 -1
- package/dist/console/assets.d.ts.map +1 -1
- package/dist/console/configView.d.ts +2 -7
- package/dist/console/configView.d.ts.map +1 -1
- package/dist/console/render.d.ts +12 -0
- package/dist/console/render.d.ts.map +1 -1
- package/dist/console/types.d.ts +2 -2
- package/dist/console/types.d.ts.map +1 -1
- package/dist/context/schema.d.ts +13 -7
- package/dist/context/schema.d.ts.map +1 -1
- package/dist/graph/certificate.d.ts.map +1 -1
- package/dist/graph/langgraph/adapter.d.ts +7 -8
- package/dist/graph/langgraph/adapter.d.ts.map +1 -1
- package/dist/graph/langgraph/certification.d.ts +5 -0
- package/dist/graph/langgraph/certification.d.ts.map +1 -1
- package/dist/graph/langgraph/checkpointReplay.d.ts.map +1 -1
- package/dist/graph/langgraph/engine.d.ts +2 -2
- package/dist/graph/langgraph/engine.d.ts.map +1 -1
- package/dist/graph/langgraph/types.d.ts +11 -6
- package/dist/graph/langgraph/types.d.ts.map +1 -1
- package/dist/graph/privacyPolicy.d.ts +6 -30
- package/dist/graph/privacyPolicy.d.ts.map +1 -1
- package/dist/index.d.ts +1 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5992 -1390
- package/dist/lifecycle/contracts.d.ts +618 -0
- package/dist/lifecycle/contracts.d.ts.map +1 -0
- package/dist/lifecycle/historyReader.d.ts +11 -0
- package/dist/lifecycle/historyReader.d.ts.map +1 -0
- package/dist/lifecycle/historySourceError.d.ts +7 -0
- package/dist/lifecycle/historySourceError.d.ts.map +1 -0
- package/dist/lifecycle/project.d.ts +3 -0
- package/dist/lifecycle/project.d.ts.map +1 -0
- package/dist/lifecycle/root.d.ts +3 -0
- package/dist/lifecycle/root.d.ts.map +1 -0
- package/dist/lifecycle/runtimeRecorder.d.ts +6 -0
- package/dist/lifecycle/runtimeRecorder.d.ts.map +1 -0
- package/dist/lifecycle/schema.d.ts +487 -0
- package/dist/lifecycle/schema.d.ts.map +1 -0
- package/dist/mcp/teamMemory.d.ts +2 -2
- package/dist/mcp/teamMemory.d.ts.map +1 -1
- package/dist/messages/commands.d.ts +22 -35
- package/dist/messages/commands.d.ts.map +1 -1
- package/dist/messages/executionSetup.d.ts +116 -0
- package/dist/messages/executionSetup.d.ts.map +1 -0
- package/dist/messages/index.d.ts +2 -0
- package/dist/messages/index.d.ts.map +1 -1
- package/dist/messages/lifecycle.d.ts +95 -0
- package/dist/messages/lifecycle.d.ts.map +1 -0
- package/dist/messages/lifecycleRuntime.d.ts +4 -0
- package/dist/messages/lifecycleRuntime.d.ts.map +1 -0
- package/dist/messages/lifecycleStorage.d.ts +4 -0
- package/dist/messages/lifecycleStorage.d.ts.map +1 -0
- package/dist/messages/memoryTool.d.ts +17 -0
- package/dist/messages/memoryTool.d.ts.map +1 -0
- package/dist/messages/orchestration.d.ts +16 -0
- package/dist/messages/orchestration.d.ts.map +1 -0
- package/dist/messages/routing.d.ts +9 -0
- package/dist/messages/routing.d.ts.map +1 -0
- package/dist/opencodeArtifacts/orchestratorAgent.d.ts +3 -5
- package/dist/opencodeArtifacts/orchestratorAgent.d.ts.map +1 -1
- package/dist/orchestrator/coordinator.d.ts +30 -13
- package/dist/orchestrator/coordinator.d.ts.map +1 -1
- package/dist/orchestrator/graphEffects.d.ts +10 -11
- package/dist/orchestrator/graphEffects.d.ts.map +1 -1
- package/dist/orchestrator/graphIngress.d.ts +5 -0
- package/dist/orchestrator/graphIngress.d.ts.map +1 -1
- package/dist/orchestrator/graphRuntime.d.ts +13 -1
- package/dist/orchestrator/graphRuntime.d.ts.map +1 -1
- package/dist/orchestrator/outputContract.d.ts +5 -6
- package/dist/orchestrator/outputContract.d.ts.map +1 -1
- package/dist/orchestrator/roles.d.ts +25 -2
- package/dist/orchestrator/roles.d.ts.map +1 -1
- package/dist/orchestrator/runtimeSelection.d.ts.map +1 -1
- package/dist/orchestrator/subsessions.d.ts +52 -1
- package/dist/orchestrator/subsessions.d.ts.map +1 -1
- package/dist/plugin/availability.d.ts +15 -2
- package/dist/plugin/availability.d.ts.map +1 -1
- package/dist/plugin/diagnostics.d.ts +1 -0
- package/dist/plugin/diagnostics.d.ts.map +1 -1
- package/dist/plugin/hooks.d.ts +21 -2
- package/dist/plugin/hooks.d.ts.map +1 -1
- package/dist/plugin/memoryTool.d.ts +3 -3
- package/dist/plugin/memoryTool.d.ts.map +1 -1
- package/dist/plugin/modelOwnership.d.ts +15 -0
- package/dist/plugin/modelOwnership.d.ts.map +1 -0
- package/dist/plugin/orchestrateTool.d.ts +53 -3
- package/dist/plugin/orchestrateTool.d.ts.map +1 -1
- package/dist/router/chooseModel.d.ts.map +1 -1
- package/dist/router/cost.d.ts +1 -1
- package/dist/router/cost.d.ts.map +1 -1
- package/dist/router/executionPolicy.d.ts +44 -0
- package/dist/router/executionPolicy.d.ts.map +1 -0
- package/dist/router/frontierBaseline.d.ts.map +1 -1
- package/dist/router/types.d.ts +10 -4
- package/dist/router/types.d.ts.map +1 -1
- package/dist/storage/lifecycle/codec.d.ts +19 -0
- package/dist/storage/lifecycle/codec.d.ts.map +1 -0
- package/dist/storage/lifecycle/fsLifecycleJournal.d.ts +3 -0
- package/dist/storage/lifecycle/fsLifecycleJournal.d.ts.map +1 -0
- package/dist/storage/lifecycle/fsLifecycleSupport.d.ts +17 -0
- package/dist/storage/lifecycle/fsLifecycleSupport.d.ts.map +1 -0
- package/dist/storage/lifecycle/fsLifecycleWriterLivenessProbe.d.ts +3 -0
- package/dist/storage/lifecycle/fsLifecycleWriterLivenessProbe.d.ts.map +1 -0
- package/dist/telemetry/aggregate.d.ts +4 -4
- package/dist/telemetry/aggregate.d.ts.map +1 -1
- package/dist/telemetry/diagnostics.d.ts.map +1 -1
- package/dist/telemetry/events.d.ts +6 -6
- package/dist/telemetry/otel.d.ts.map +1 -1
- package/dist/telemetry/types.d.ts +3 -3
- package/dist/web/configApi.d.ts +3 -1
- package/dist/web/configApi.d.ts.map +1 -1
- package/dist/web/graphRoute.d.ts +39 -1
- package/dist/web/graphRoute.d.ts.map +1 -1
- package/dist/web/server.d.ts +19 -0
- package/dist/web/server.d.ts.map +1 -1
- package/dist/web/start.d.ts +11 -0
- package/dist/web/start.d.ts.map +1 -1
- package/dist/web/watch.d.ts +17 -2
- package/dist/web/watch.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
+
"configVersion": 2,
|
|
2
3
|
"baseline": {
|
|
3
4
|
"mode": "auto",
|
|
4
5
|
"pinnedModel": null,
|
|
5
6
|
"hardDefault": {
|
|
6
|
-
"providerID": "
|
|
7
|
-
"modelID": "
|
|
7
|
+
"providerID": "google",
|
|
8
|
+
"modelID": "gemini-3.5-flash"
|
|
8
9
|
}
|
|
9
10
|
},
|
|
10
11
|
"router": {
|
|
11
|
-
"
|
|
12
|
-
"localDefault": null
|
|
13
|
-
"trivialPromptMaxChars": 280,
|
|
14
|
-
"frontierPromptMinChars": 2000
|
|
12
|
+
"executionMode": "mixed",
|
|
13
|
+
"localDefault": null
|
|
15
14
|
},
|
|
16
15
|
"local": {
|
|
17
16
|
"runtimes": [
|
|
@@ -66,23 +65,33 @@
|
|
|
66
65
|
"frontierTokensPerSession": 250000,
|
|
67
66
|
"hardStopOnBudgetExhaustion": false
|
|
68
67
|
},
|
|
69
|
-
"privacyMode": "forceLocalOnSensitive",
|
|
70
68
|
"graph": {
|
|
71
69
|
"mode": "active",
|
|
72
70
|
"killSwitch": false,
|
|
73
71
|
"operatorApproval": true
|
|
74
72
|
},
|
|
75
73
|
"orchestrator": {
|
|
74
|
+
"primary": {
|
|
75
|
+
"executionMode": "mixed",
|
|
76
|
+
"model": "auto"
|
|
77
|
+
},
|
|
76
78
|
"roles": {
|
|
77
79
|
"galadriel": {
|
|
78
80
|
"opencodeAgent": "galadriel",
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
81
|
+
"executionMode": "frontier",
|
|
82
|
+
"model": {
|
|
83
|
+
"providerID": "anthropic",
|
|
84
|
+
"modelID": "claude-sonnet-4-5"
|
|
85
|
+
},
|
|
86
|
+
"fallbacks": [
|
|
87
|
+
{
|
|
88
|
+
"providerID": "google",
|
|
89
|
+
"modelID": "gemini-3.5-flash"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
85
92
|
}
|
|
86
|
-
}
|
|
93
|
+
},
|
|
94
|
+
"maxRetries": 2,
|
|
95
|
+
"maxModelsPerNode": 2
|
|
87
96
|
}
|
|
88
97
|
}
|
package/AGENTS.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# openteam — instructions for opencode
|
|
2
2
|
|
|
3
|
-
openteam is an opencode plugin built with **TypeScript + Bun
|
|
3
|
+
openteam is an opencode plugin built with **TypeScript + Bun**. It routes within
|
|
4
|
+
operator-selected **local**, **frontier**, or **mixed** execution domains and
|
|
5
|
+
uses cheapest-capable automatic model selection when an agent policy chooses
|
|
6
|
+
`"auto"`. The goal is to save frontier cost/tokens without weakening explicit
|
|
7
|
+
operator limits, capability requirements, or data-handling controls.
|
|
4
8
|
|
|
5
9
|
## Verification commands
|
|
6
10
|
|
|
@@ -54,6 +58,16 @@ openteam is an opencode plugin built with **TypeScript + Bun** with **local-firs
|
|
|
54
58
|
## Non-negotiables
|
|
55
59
|
|
|
56
60
|
- No merge without tests, coverage, typecheck, lint/format, and determinism green.
|
|
57
|
-
-
|
|
61
|
+
- `router.executionMode` is a hard global upper bound. Agent policies may narrow
|
|
62
|
+
global `mixed` to `local` or `frontier`; they may not broaden or contradict a
|
|
63
|
+
global `local` or `frontier` domain. In local mode, no model pin or fallback
|
|
64
|
+
may call frontier.
|
|
65
|
+
- openteam does **not** inspect prompt content to infer sensitivity or route it
|
|
66
|
+
away from frontier. Deprecated `privacyMode` values have no routing authority.
|
|
67
|
+
Operators who prohibit frontier egress must configure the global or per-agent
|
|
68
|
+
execution domain as `local`.
|
|
69
|
+
- Credential redaction, prompt-hash telemetry, reference-only durable storage,
|
|
70
|
+
access controls, finite budgets, and explicit model/pass limits remain
|
|
71
|
+
independent controls.
|
|
58
72
|
- Do not hardcode a premium frontier as the baseline: use a configurable cheapest-capable one.
|
|
59
73
|
- Do not depend on real local runtimes, network, or secrets in CI.
|