@wrongstack/core 0.273.1 → 0.274.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 (63) hide show
  1. package/dist/{agent-bridge-DpKIxHhE.d.ts → agent-bridge-DFo21wmY.d.ts} +1 -1
  2. package/dist/{agent-subagent-runner-Dx7fZ1bE.d.ts → agent-subagent-runner-BwmkIDEd.d.ts} +7 -7
  3. package/dist/{brain-BDcQaku-.d.ts → brain-gfZX3the.d.ts} +1 -1
  4. package/dist/{provider-model-resolve-Cz6OlIOp.d.ts → codex-catalog-CooZ6mOl.d.ts} +47 -4
  5. package/dist/{compactor-BuSdj3fq.d.ts → compactor-riTOds0f.d.ts} +1 -1
  6. package/dist/{config-CR2yoG8c.d.ts → config-BxcrDzri.d.ts} +7 -1
  7. package/dist/{context-DulAr8Zo.d.ts → context-DERiLofu.d.ts} +36 -1
  8. package/dist/coordination/index.d.ts +20 -16
  9. package/dist/coordination/index.js +1622 -1479
  10. package/dist/coordination/index.js.map +1 -1
  11. package/dist/defaults/index.d.ts +26 -26
  12. package/dist/defaults/index.js +1832 -1541
  13. package/dist/defaults/index.js.map +1 -1
  14. package/dist/execution/index.d.ts +15 -15
  15. package/dist/execution/index.js +2 -8
  16. package/dist/execution/index.js.map +1 -1
  17. package/dist/execution/prompt-enhancer.d.ts +1 -1
  18. package/dist/extension/index.d.ts +6 -6
  19. package/dist/{global-mailbox-CwcubDkA.d.ts → global-mailbox-Cr8TW4t_.d.ts} +1 -1
  20. package/dist/{goal-preamble-Bu0a2uCG.d.ts → goal-preamble-CEhROp1e.d.ts} +9 -9
  21. package/dist/{goal-store-CTmFuZ8J.d.ts → goal-store-xNSVxmpV.d.ts} +1 -1
  22. package/dist/hq/index.d.ts +5 -5
  23. package/dist/{index-CTq5wU3m.d.ts → index-00KPKAlm.d.ts} +5 -5
  24. package/dist/{index-CxP-HBhX.d.ts → index-pDBSBE1r.d.ts} +2 -2
  25. package/dist/index.d.ts +49 -43
  26. package/dist/index.js +1973 -1444
  27. package/dist/index.js.map +1 -1
  28. package/dist/infrastructure/index.d.ts +6 -6
  29. package/dist/kernel/index.d.ts +11 -11
  30. package/dist/{mcp-servers-BQaOE71z.d.ts → mcp-servers-BIwRiOxe.d.ts} +3 -3
  31. package/dist/models/index.d.ts +5 -5
  32. package/dist/models/index.js +40 -2
  33. package/dist/models/index.js.map +1 -1
  34. package/dist/{models-registry-BEcny4kP.d.ts → models-registry-8OorW51H.d.ts} +1 -1
  35. package/dist/{multi-agent-coordinator-Bx8EFkv2.d.ts → multi-agent-coordinator-CNx48Zoz.d.ts} +1 -1
  36. package/dist/{null-fleet-bus-BC5ZXCQw.d.ts → null-fleet-bus-B4ZUJYL6.d.ts} +6 -6
  37. package/dist/observability/index.d.ts +2 -2
  38. package/dist/{parallel-eternal-engine-C345TI3n.d.ts → parallel-eternal-engine-rsIclDqO.d.ts} +9 -9
  39. package/dist/{path-resolver-C-W_wzkF.d.ts → path-resolver-BqU-fwzD.d.ts} +3 -3
  40. package/dist/{permission-CsBGZkxp.d.ts → permission-Dgs3v-Xq.d.ts} +1 -1
  41. package/dist/{permission-policy-g3Sg0GdZ.d.ts → permission-policy-Dtht2k0e.d.ts} +2 -2
  42. package/dist/{pipeline-xnw_24Z8.d.ts → pipeline-B-dpCFYS.d.ts} +2 -2
  43. package/dist/{plan-templates-DGaiYEcS.d.ts → plan-templates-B7MxyY2o.d.ts} +32 -5
  44. package/dist/{provider-runner-7J0HqF6B.d.ts → provider-runner-DrmpBE5l.d.ts} +3 -3
  45. package/dist/{retry-policy-kqXJOVkX.d.ts → retry-policy-hYxsm10a.d.ts} +1 -1
  46. package/dist/sdd/index.d.ts +12 -10
  47. package/dist/sdd/index.js +7 -0
  48. package/dist/sdd/index.js.map +1 -1
  49. package/dist/{secret-vault-CMQUr-eB.d.ts → secret-vault-DnqIFhPF.d.ts} +1 -1
  50. package/dist/security/index.d.ts +5 -5
  51. package/dist/{selector-B4r34PWR.d.ts → selector-D21RjDIg.d.ts} +1 -1
  52. package/dist/{session-event-bridge-BD3LoyLC.d.ts → session-event-bridge-Dt54CTvq.d.ts} +1 -1
  53. package/dist/{session-reader-DjrKGD9c.d.ts → session-reader-CceH13Kq.d.ts} +5 -4
  54. package/dist/storage/index.d.ts +46 -12
  55. package/dist/storage/index.js +1987 -1548
  56. package/dist/storage/index.js.map +1 -1
  57. package/dist/tools/index.d.ts +2 -2
  58. package/dist/types/index.d.ts +19 -19
  59. package/dist/types/index.js +134 -42
  60. package/dist/types/index.js.map +1 -1
  61. package/dist/utils/index.d.ts +2 -2
  62. package/dist/{worktree-manager-DHdrWQ_7.d.ts → worktree-manager-DUfBbKzk.d.ts} +1 -1
  63. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  export { D as DefaultLogger, a as DefaultLoggerOptions, L as LogFormat } from '../logger-DmmQhf4P.js';
2
- export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-C-W_wzkF.js';
3
- export { C as ContextManagerAction, a as ContextManagerInput, b as ContextManagerResult, c as ContextManagerToolOptions, d as allServers, e as awsServer, f as blockServer, g as braveSearchServer, h as context7Server, i as contextManagerTool, j as createContextManagerTool, k as everArtServer, l as filesystemServer, m as githubServer, n as googleMapsServer, o as miniMaxVisionServer, p as playwrightServer, s as sentinelServer, q as slackServer, r as sshManagerServer, z as zaiVisionServer } from '../mcp-servers-BQaOE71z.js';
2
+ export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-BqU-fwzD.js';
3
+ export { C as ContextManagerAction, a as ContextManagerInput, b as ContextManagerResult, c as ContextManagerToolOptions, d as allServers, e as awsServer, f as blockServer, g as braveSearchServer, h as context7Server, i as contextManagerTool, j as createContextManagerTool, k as everArtServer, l as filesystemServer, m as githubServer, n as googleMapsServer, o as miniMaxVisionServer, p as playwrightServer, s as sentinelServer, q as slackServer, r as sshManagerServer, z as zaiVisionServer } from '../mcp-servers-BIwRiOxe.js';
4
4
  import '../logger-B63L5bTg.js';
5
- import '../brain-BDcQaku-.js';
6
- import '../context-DulAr8Zo.js';
7
- import '../config-CR2yoG8c.js';
5
+ import '../brain-gfZX3the.js';
6
+ import '../context-DERiLofu.js';
7
+ import '../config-BxcrDzri.js';
8
8
  import '../path-resolver-CPRj4bFY.js';
9
- import '../compactor-BuSdj3fq.js';
9
+ import '../compactor-riTOds0f.js';
@@ -1,19 +1,19 @@
1
- import { T as Token, a as Renderer, S as SystemPromptBuilder, H as HookRegistry } from '../pipeline-xnw_24Z8.js';
2
- export { c as BindOptions, C as Container, D as Decorator, F as Factory, d as Middleware, M as MiddlewareHandler, N as NextFn, P as Pipeline, e as PipelineOptions } from '../pipeline-xnw_24Z8.js';
3
- import { c as MemoryStore, B as BrainArbiter } from '../brain-BDcQaku-.js';
4
- export { E as EventBus, m as EventLogger, n as EventMap, a as EventName, L as Listener, v as ScopedEventBus } from '../brain-BDcQaku-.js';
5
- import { C as Compactor } from '../compactor-BuSdj3fq.js';
6
- import { k as ConfigLoader, j as ConfigStore, M as ModelsRegistry } from '../config-CR2yoG8c.js';
7
- import { E as ErrorHandler, R as RetryPolicy } from '../retry-policy-kqXJOVkX.js';
1
+ import { T as Token, a as Renderer, S as SystemPromptBuilder, H as HookRegistry } from '../pipeline-B-dpCFYS.js';
2
+ export { c as BindOptions, C as Container, D as Decorator, F as Factory, d as Middleware, M as MiddlewareHandler, N as NextFn, P as Pipeline, e as PipelineOptions } from '../pipeline-B-dpCFYS.js';
3
+ import { c as MemoryStore, B as BrainArbiter } from '../brain-gfZX3the.js';
4
+ export { E as EventBus, m as EventLogger, n as EventMap, a as EventName, L as Listener, v as ScopedEventBus } from '../brain-gfZX3the.js';
5
+ import { C as Compactor } from '../compactor-riTOds0f.js';
6
+ import { k as ConfigLoader, j as ConfigStore, M as ModelsRegistry } from '../config-BxcrDzri.js';
7
+ import { E as ErrorHandler, R as RetryPolicy } from '../retry-policy-hYxsm10a.js';
8
8
  import { I as InputReader } from '../input-reader-E-ffP2ee.js';
9
9
  import { L as Logger } from '../logger-B63L5bTg.js';
10
10
  import { M as ModeStore } from '../mode-CZlO9iU1.js';
11
11
  import { P as PathResolver } from '../path-resolver-CPRj4bFY.js';
12
- import { P as PermissionPolicy, S as SecretScrubber } from '../permission-CsBGZkxp.js';
13
- import { P as ProviderRunner } from '../provider-runner-7J0HqF6B.js';
14
- import { e as TokenCounter, k as SessionStore } from '../context-DulAr8Zo.js';
12
+ import { P as PermissionPolicy, S as SecretScrubber } from '../permission-Dgs3v-Xq.js';
13
+ import { P as ProviderRunner } from '../provider-runner-DrmpBE5l.js';
14
+ import { e as TokenCounter, k as SessionStore } from '../context-DERiLofu.js';
15
15
  import { S as SkillLoader } from '../skill-DGIXCtdv.js';
16
- import { W as WorktreeManager } from '../worktree-manager-DHdrWQ_7.js';
16
+ import { W as WorktreeManager } from '../worktree-manager-DUfBbKzk.js';
17
17
  import '../mailbox-types-Ct2hJq0P.js';
18
18
  import '../observability-D-HZN_mF.js';
19
19
 
@@ -1,6 +1,6 @@
1
- import { C as Compactor } from './compactor-BuSdj3fq.js';
2
- import { M as Message, T as Tool } from './context-DulAr8Zo.js';
3
- import { c as MCPServerConfig } from './config-CR2yoG8c.js';
1
+ import { C as Compactor } from './compactor-riTOds0f.js';
2
+ import { M as Message, T as Tool } from './context-DERiLofu.js';
3
+ import { c as MCPServerConfig } from './config-BxcrDzri.js';
4
4
 
5
5
  type ContextManagerAction = 'check' | 'summary' | 'prune' | 'add_note' | 'compact' | 'repair';
6
6
  interface ContextManagerInput {
@@ -1,9 +1,9 @@
1
- export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-BEcny4kP.js';
2
- export { D as DefaultModeStore, L as LLMSelector, a as LLMSelectorOptions, M as ModeLoaderOptions, P as ProviderModelDescriptor, d as describeCatalogModel, l as loadProjectModes, b as loadUserModes, r as resolveProviderModelList } from '../provider-model-resolve-Cz6OlIOp.js';
3
- import { d as ModelMatrixEntry, P as ProviderConfig } from '../config-CR2yoG8c.js';
1
+ export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-8OorW51H.js';
2
+ export { C as CODEX_MODELS, a as CodexModelMeta, D as DefaultModeStore, L as LLMSelector, b as LLMSelectorOptions, M as ModeLoaderOptions, P as ProviderModelDescriptor, c as codexModelMeta, d as describeCatalogModel, l as loadProjectModes, e as loadUserModes, r as resolveProviderModelList } from '../codex-catalog-CooZ6mOl.js';
3
+ import { d as ModelMatrixEntry, P as ProviderConfig } from '../config-BxcrDzri.js';
4
4
  import '../mode-CZlO9iU1.js';
5
- import '../context-DulAr8Zo.js';
6
- import '../selector-B4r34PWR.js';
5
+ import '../context-DERiLofu.js';
6
+ import '../selector-D21RjDIg.js';
7
7
 
8
8
  /**
9
9
  * Model Intelligence — knowledge base of model capabilities, strengths,
@@ -1108,11 +1108,41 @@ IMPORTANT: Total conversation (${totalTokens} tokens) exceeds budget (${effectiv
1108
1108
  }
1109
1109
  };
1110
1110
 
1111
+ // src/models/codex-catalog.ts
1112
+ var CODEX_MODELS = [
1113
+ {
1114
+ id: "gpt-5.5",
1115
+ name: "GPT-5.5",
1116
+ description: "Frontier model for complex coding, research, and real-world work.",
1117
+ current: true
1118
+ },
1119
+ {
1120
+ id: "gpt-5.4",
1121
+ name: "GPT-5.4",
1122
+ description: "Strong model for everyday coding."
1123
+ },
1124
+ {
1125
+ id: "gpt-5.4-mini",
1126
+ name: "GPT-5.4 Mini",
1127
+ description: "Small, fast, and cost-efficient model for simpler coding tasks."
1128
+ },
1129
+ {
1130
+ id: "gpt-5.3-codex-spark",
1131
+ name: "GPT-5.3 Codex Spark",
1132
+ description: "Ultra-fast coding model."
1133
+ }
1134
+ ];
1135
+ var BY_ID = new Map(CODEX_MODELS.map((m) => [m.id, m]));
1136
+ function codexModelMeta(id) {
1137
+ return BY_ID.get(id);
1138
+ }
1139
+
1111
1140
  // src/models/provider-model-resolve.ts
1112
1141
  function describeCatalogModel(m) {
1113
1142
  return {
1114
1143
  id: m.id,
1115
1144
  name: m.name,
1145
+ ...m.description !== void 0 ? { description: m.description } : {},
1116
1146
  releaseDate: m.release_date,
1117
1147
  contextWindow: m.limit?.context,
1118
1148
  inputCost: m.cost?.input,
@@ -1129,8 +1159,16 @@ function resolveProviderModelList(savedModels, catalog) {
1129
1159
  if (savedModels && savedModels.length > 0) {
1130
1160
  const byId = new Map((catalog?.models ?? []).map((m) => [m.id, m]));
1131
1161
  return savedModels.map((id) => {
1162
+ const codex = codexModelMeta(id);
1132
1163
  const hit = byId.get(id);
1133
- return hit ? describeCatalogModel(hit) : { id, name: id, capabilities: [] };
1164
+ if (hit) {
1165
+ const described = describeCatalogModel(hit);
1166
+ return codex ? { ...described, description: codex.description } : described;
1167
+ }
1168
+ if (codex) {
1169
+ return { id, name: codex.name, description: codex.description, capabilities: [] };
1170
+ }
1171
+ return { id, name: id, capabilities: [] };
1134
1172
  });
1135
1173
  }
1136
1174
  if (catalog) return catalog.models.map(describeCatalogModel);
@@ -1560,6 +1598,6 @@ var ModelRouter = class {
1560
1598
  }
1561
1599
  };
1562
1600
 
1563
- export { DefaultModeStore, DefaultModelsRegistry, LLMSelector, MODEL_PROFILES, ModelRouter, TASK_TO_ROLE, classifyFamily, describeCatalogModel, findModelProfile, inferTaskType, loadProjectModes, loadUserModes, resolveProviderModelList, scoreModelForTask };
1601
+ export { CODEX_MODELS, DefaultModeStore, DefaultModelsRegistry, LLMSelector, MODEL_PROFILES, ModelRouter, TASK_TO_ROLE, classifyFamily, codexModelMeta, describeCatalogModel, findModelProfile, inferTaskType, loadProjectModes, loadUserModes, resolveProviderModelList, scoreModelForTask };
1564
1602
  //# sourceMappingURL=index.js.map
1565
1603
  //# sourceMappingURL=index.js.map