@oscharko-dev/keiko 1.1.0 → 1.1.1

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 (152) hide show
  1. package/dist/ui/csp-hashes.json +7 -7
  2. package/dist/ui/static/404.html +1 -1
  3. package/dist/ui/static/__next.__PAGE__.txt +2 -2
  4. package/dist/ui/static/__next._full.txt +3 -3
  5. package/dist/ui/static/__next._tree.txt +1 -1
  6. package/dist/ui/static/_next/static/chunks/{3wwyidrm300kk.js → 07d68bcqo__-x.js} +1 -1
  7. package/dist/ui/static/_next/static/chunks/0ak5o5brryicl.js +1 -0
  8. package/dist/ui/static/_next/static/chunks/{0ahpt93l7-z9f.js → 0lwq5bbayfz9a.js} +1 -1
  9. package/dist/ui/static/_next/static/chunks/{3-htoy7v6gx51.js → 0xq716cs1taxh.js} +1 -1
  10. package/dist/ui/static/_next/static/chunks/{29nzymeooaepv.js → 1gb6os129fico.js} +1 -1
  11. package/dist/ui/static/_next/static/chunks/{01_gc9m97_vw5.js → 1n5p49jpwwwi8.js} +1 -1
  12. package/dist/ui/static/_next/static/chunks/{3_07vmpj6bo71.js → 28qanioylwdin.js} +1 -1
  13. package/dist/ui/static/_next/static/chunks/{1ep9f2fjv7oh7.js → 32tief1094icq.js} +1 -1
  14. package/dist/ui/static/_next/static/chunks/{3b05eyy6pw1t-.js → 3408jbh7566qd.js} +1 -1
  15. package/dist/ui/static/_not-found/__next._full.txt +1 -1
  16. package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +1 -1
  17. package/dist/ui/static/_not-found/__next._tree.txt +1 -1
  18. package/dist/ui/static/_not-found.html +1 -1
  19. package/dist/ui/static/_not-found.txt +1 -1
  20. package/dist/ui/static/atlassian-connectors/__next._full.txt +1 -1
  21. package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
  22. package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +1 -1
  23. package/dist/ui/static/atlassian-connectors.html +1 -1
  24. package/dist/ui/static/atlassian-connectors.txt +1 -1
  25. package/dist/ui/static/index.html +1 -1
  26. package/dist/ui/static/index.txt +3 -3
  27. package/dist/ui/static/launch/__next._full.txt +3 -3
  28. package/dist/ui/static/launch/__next._tree.txt +1 -1
  29. package/dist/ui/static/launch/__next.launch.__PAGE__.txt +2 -2
  30. package/dist/ui/static/launch.html +1 -1
  31. package/dist/ui/static/launch.txt +3 -3
  32. package/dist/ui/static/local-knowledge/__next._full.txt +3 -3
  33. package/dist/ui/static/local-knowledge/__next._tree.txt +1 -1
  34. package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +2 -2
  35. package/dist/ui/static/local-knowledge/capsule/__next._full.txt +1 -1
  36. package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
  37. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +1 -1
  38. package/dist/ui/static/local-knowledge/capsule.html +1 -1
  39. package/dist/ui/static/local-knowledge/capsule.txt +1 -1
  40. package/dist/ui/static/local-knowledge.html +1 -1
  41. package/dist/ui/static/local-knowledge.txt +3 -3
  42. package/node_modules/@oscharko-dev/keiko-cli/package.json +14 -14
  43. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
  44. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
  45. package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
  46. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +21 -1
  47. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -1
  48. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +23 -1
  49. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts +6 -1
  50. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts.map +1 -1
  51. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.js +16 -5
  52. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
  53. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
  54. package/node_modules/@oscharko-dev/keiko-contracts/package.json +1 -1
  55. package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
  56. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
  57. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
  58. package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
  59. package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
  60. package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
  61. package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
  62. package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
  63. package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
  64. package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
  65. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
  66. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
  67. package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
  68. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
  69. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
  70. package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
  71. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
  72. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
  73. package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
  74. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
  75. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
  76. package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
  77. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
  78. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
  79. package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
  80. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
  81. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
  82. package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
  83. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts.map +1 -1
  84. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.js +2 -7
  85. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.d.ts.map +1 -1
  86. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.js +110 -6
  87. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
  88. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
  89. package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
  90. package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
  91. package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
  92. package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
  93. package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
  94. package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
  95. package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
  96. package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts +1 -1
  97. package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts.map +1 -1
  98. package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.js +10 -1
  99. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts +1 -1
  100. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
  101. package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +1 -1
  102. package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts.map +1 -1
  103. package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.js +1 -0
  104. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +4 -0
  105. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts.map +1 -1
  106. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +145 -11
  107. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts +8 -0
  108. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
  109. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +40 -3
  110. package/node_modules/@oscharko-dev/keiko-server/package.json +22 -22
  111. package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
  112. package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
  113. package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
  114. package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
  115. package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
  116. package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
  117. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
  118. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
  119. package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
  120. package/package.json +26 -26
  121. package/release-impact.catalog.json +60 -0
  122. package/vendor/{oscharko-dev-keiko-cli-1.1.0.tgz → oscharko-dev-keiko-cli-1.1.1.tgz} +0 -0
  123. package/vendor/{oscharko-dev-keiko-connectors-1.1.0.tgz → oscharko-dev-keiko-connectors-1.1.1.tgz} +0 -0
  124. package/vendor/oscharko-dev-keiko-contracts-1.1.1.tgz +0 -0
  125. package/vendor/{oscharko-dev-keiko-evaluations-1.1.0.tgz → oscharko-dev-keiko-evaluations-1.1.1.tgz} +0 -0
  126. package/vendor/{oscharko-dev-keiko-evidence-1.1.0.tgz → oscharko-dev-keiko-evidence-1.1.1.tgz} +0 -0
  127. package/vendor/{oscharko-dev-keiko-git-1.1.0.tgz → oscharko-dev-keiko-git-1.1.1.tgz} +0 -0
  128. package/vendor/{oscharko-dev-keiko-harness-1.1.0.tgz → oscharko-dev-keiko-harness-1.1.1.tgz} +0 -0
  129. package/vendor/{oscharko-dev-keiko-local-knowledge-1.1.0.tgz → oscharko-dev-keiko-local-knowledge-1.1.1.tgz} +0 -0
  130. package/vendor/{oscharko-dev-keiko-memory-capture-1.1.0.tgz → oscharko-dev-keiko-memory-capture-1.1.1.tgz} +0 -0
  131. package/vendor/{oscharko-dev-keiko-memory-consolidation-1.1.0.tgz → oscharko-dev-keiko-memory-consolidation-1.1.1.tgz} +0 -0
  132. package/vendor/{oscharko-dev-keiko-memory-governance-1.1.0.tgz → oscharko-dev-keiko-memory-governance-1.1.1.tgz} +0 -0
  133. package/vendor/{oscharko-dev-keiko-memory-retrieval-1.1.0.tgz → oscharko-dev-keiko-memory-retrieval-1.1.1.tgz} +0 -0
  134. package/vendor/{oscharko-dev-keiko-memory-vault-1.1.0.tgz → oscharko-dev-keiko-memory-vault-1.1.1.tgz} +0 -0
  135. package/vendor/oscharko-dev-keiko-model-gateway-1.1.1.tgz +0 -0
  136. package/vendor/{oscharko-dev-keiko-quality-intelligence-1.1.0.tgz → oscharko-dev-keiko-quality-intelligence-1.1.1.tgz} +0 -0
  137. package/vendor/{oscharko-dev-keiko-sandbox-1.1.0.tgz → oscharko-dev-keiko-sandbox-1.1.1.tgz} +0 -0
  138. package/vendor/{oscharko-dev-keiko-sdk-1.1.0.tgz → oscharko-dev-keiko-sdk-1.1.1.tgz} +0 -0
  139. package/vendor/{oscharko-dev-keiko-security-1.1.0.tgz → oscharko-dev-keiko-security-1.1.1.tgz} +0 -0
  140. package/vendor/oscharko-dev-keiko-server-1.1.1.tgz +0 -0
  141. package/vendor/{oscharko-dev-keiko-tool-catalog-1.1.0.tgz → oscharko-dev-keiko-tool-catalog-1.1.1.tgz} +0 -0
  142. package/vendor/{oscharko-dev-keiko-tools-1.1.0.tgz → oscharko-dev-keiko-tools-1.1.1.tgz} +0 -0
  143. package/vendor/{oscharko-dev-keiko-verification-1.1.0.tgz → oscharko-dev-keiko-verification-1.1.1.tgz} +0 -0
  144. package/vendor/{oscharko-dev-keiko-workflows-1.1.0.tgz → oscharko-dev-keiko-workflows-1.1.1.tgz} +0 -0
  145. package/vendor/{oscharko-dev-keiko-workspace-1.1.0.tgz → oscharko-dev-keiko-workspace-1.1.1.tgz} +0 -0
  146. package/dist/ui/static/_next/static/chunks/187yy--dlljjz.js +0 -1
  147. package/vendor/oscharko-dev-keiko-contracts-1.1.0.tgz +0 -0
  148. package/vendor/oscharko-dev-keiko-model-gateway-1.1.0.tgz +0 -0
  149. package/vendor/oscharko-dev-keiko-server-1.1.0.tgz +0 -0
  150. /package/dist/ui/static/_next/static/{pnaCuBv6v6k-xKyv71Bct → O8nJnzNap09wp0fCD_lk-}/_buildManifest.js +0 -0
  151. /package/dist/ui/static/_next/static/{pnaCuBv6v6k-xKyv71Bct → O8nJnzNap09wp0fCD_lk-}/_clientMiddlewareManifest.js +0 -0
  152. /package/dist/ui/static/_next/static/{pnaCuBv6v6k-xKyv71Bct → O8nJnzNap09wp0fCD_lk-}/_ssgManifest.js +0 -0
@@ -1,16 +1,17 @@
1
- import { isConversationEligibleModel, listConfiguredCapabilities, requestGatewayReadinessChatCompletion, requestOpenAIEmbedding, vectorL2Norm, } from "@oscharko-dev/keiko-model-gateway";
1
+ import { isConversationEligibleModel, listConfiguredCapabilities, requestGatewayReadinessChatCompletion, requestOpenAIEmbedding, toolCallingConfigurationFingerprint, vectorL2Norm, } from "@oscharko-dev/keiko-model-gateway";
2
2
  import { readJsonCapped, readSseStream } from "@oscharko-dev/keiko-model-gateway/internal/http";
3
3
  import { activityLogEvent, defineActivityLogOperation, } from "@oscharko-dev/keiko-contracts/runtime/observability";
4
4
  import { gatewayVerificationFromProbeOutcome } from "@oscharko-dev/keiko-contracts/runtime/gateway-verification";
5
5
  import { maxUtf8BytesForTokenBudget } from "@oscharko-dev/keiko-contracts/runtime/context-engineering";
6
- import { isCodingWorkbenchReadinessCandidate, preferredConversationModelOrder, selectCodingWorkbenchReadinessCandidate, } from "@oscharko-dev/keiko-contracts/runtime/gateway";
6
+ import { codingWorkbenchModelEligibility, isCodingWorkbenchReadinessCandidate, preferredConversationModelOrder, selectCodingWorkbenchReadinessCandidate, } from "@oscharko-dev/keiko-contracts/runtime/gateway";
7
+ import { CODING_WORKBENCH_MINIMUM_CODING_CONTEXT_PROMPT_TOKENS } from "@oscharko-dev/keiko-contracts/runtime/coding-workbench";
7
8
  import { currentConversationReady, currentGatewayConfig } from "./deps.js";
8
9
  import { newCorrelationId } from "./correlation.js";
9
10
  import { emitServerDiagnostic, serverDiagnosticFromError } from "./diagnostics-log.js";
10
11
  import { rerankSelection } from "./grounded-rerank-facade.js";
11
12
  import { readBoundedRequestBody, RequestBodyTooLargeError } from "./bounded-request-body.js";
12
13
  import { admittedGatewayProbeOutputLimit, probeGatewayToolCalling, probeUsage, reserveGatewayProbeSpend, settleGatewayProbeSpend, } from "./gateway-tool-calling-probe.js";
13
- import { reconcileGatewayToolCallingReadiness } from "./gateway-setup.js";
14
+ import { reconcileGatewayContextWindowReadiness, reconcileGatewayToolCallingReadiness, } from "./gateway-setup.js";
14
15
  import { processServerLogSink } from "./process-log-sink.js";
15
16
  // #3557 review finding A: the one owning projection from a candidate model id to Activity Log
16
17
  // evidence — reused here so a readiness line never carries a value that would fail
@@ -88,6 +89,9 @@ const GATEWAY_READINESS_AUTOMATIC_COMPLETED_OPERATION = defineActivityLogOperati
88
89
  values: ["ready", "partial", "failed"],
89
90
  },
90
91
  probeCount: { type: "integer", dataClass: "count", required: true },
92
+ // Tokens the long-context probe proved. Present only when that probe ran and passed; a stored
93
+ // context window below it is raised to it by the same run, so the raise is reconstructable.
94
+ verifiedContextTokens: { type: "integer", dataClass: "count", required: false },
91
95
  },
92
96
  causal: "correlation",
93
97
  lifecycle: "end",
@@ -292,7 +296,7 @@ function logAutomaticReadinessStarted(deps, correlationId, modelId, probeCount)
292
296
  (deps.activityLog ?? processServerLogSink()).write(activityLogEvent(GATEWAY_READINESS_AUTOMATIC_STARTED_OPERATION, { correlationId }, { ...modelIdEvidence(modelId), probeCount }));
293
297
  }
294
298
  function logAutomaticReadinessCompleted(deps, correlationId, report) {
295
- logAutomaticReadinessOutcome(deps, correlationId, report.modelId, report.overallStatus, report.probes.length);
299
+ logAutomaticReadinessOutcome(deps, correlationId, report.modelId, report.overallStatus, report.probes.length, report.verifiedCapabilities.testedContextTokens);
296
300
  }
297
301
  function logAutomaticReadinessJoined(deps, modelId, correlationId, probeCorrelationId, generation) {
298
302
  (deps.activityLog ?? processServerLogSink()).write(activityLogEvent(GATEWAY_READINESS_AUTOMATIC_JOINED_OPERATION, {
@@ -307,11 +311,12 @@ function logAutomaticReadinessJoined(deps, modelId, correlationId, probeCorrelat
307
311
  loss: "none",
308
312
  }));
309
313
  }
310
- function logAutomaticReadinessOutcome(deps, correlationId, modelId, overallStatus, probeCount) {
314
+ function logAutomaticReadinessOutcome(deps, correlationId, modelId, overallStatus, probeCount, verifiedContextTokens) {
311
315
  (deps.activityLog ?? processServerLogSink()).write(activityLogEvent(GATEWAY_READINESS_AUTOMATIC_COMPLETED_OPERATION, { correlationId }, {
312
316
  ...modelIdEvidence(modelId),
313
317
  overallStatus,
314
318
  probeCount,
319
+ ...(verifiedContextTokens === undefined ? {} : { verifiedContextTokens }),
315
320
  }));
316
321
  }
317
322
  function logReadinessStarted(deps, correlationId, trigger, modelId, probeCount) {
@@ -913,16 +918,19 @@ function reportStatus(probes) {
913
918
  // than a hand-copied duplicate.
914
919
  export const TESTED_CONTEXT_TOKENS_PATTERN = /(\d{1,15}) approximate tokens/u;
915
920
  export const EMBEDDING_EVIDENCE_PATTERN = /returned (\d{1,15}) dimensions with L2 norm ([0-9.]{1,32})/u;
916
- // eslint-disable-next-line complexity
921
+ function testedContextTokensFromProbes(probes) {
922
+ const longContext = probes.find((probe) => probe.name === "long_context" && probe.status === "passed");
923
+ const tokenMatch = longContext?.evidence.match(TESTED_CONTEXT_TOKENS_PATTERN);
924
+ if (tokenMatch === undefined || tokenMatch === null)
925
+ return undefined;
926
+ const tokens = Number.parseInt(tokenMatch[1] ?? "0", 10);
927
+ return Number.isSafeInteger(tokens) && tokens > 0 ? tokens : undefined;
928
+ }
917
929
  function verifiedCapabilities(probes) {
918
930
  const passed = new Set(probes
919
931
  .filter((probe) => probe.status === "passed")
920
932
  .map((probe) => probe.name));
921
- const longContext = probes.find((probe) => probe.name === "long_context" && probe.status === "passed");
922
- const tokenMatch = longContext?.evidence.match(TESTED_CONTEXT_TOKENS_PATTERN);
923
- const testedContextTokens = tokenMatch === undefined || tokenMatch === null
924
- ? undefined
925
- : Number.parseInt(tokenMatch[1] ?? "0", 10);
933
+ const testedContextTokens = testedContextTokensFromProbes(probes);
926
934
  const embedding = probes.find((probe) => probe.name === "embedding" && probe.status === "passed");
927
935
  const embeddingMatch = embedding?.evidence.match(EMBEDDING_EVIDENCE_PATTERN);
928
936
  const embeddingDimensions = embeddingMatch === undefined || embeddingMatch === null
@@ -965,6 +973,7 @@ function verifiedCapabilityObservation(probes) {
965
973
  ["structuredOutput", categoricalProbeValue(probes, "json_schema")],
966
974
  ["supportsImageInput", categoricalProbeValue(probes, "image_input")],
967
975
  ["supportsDocumentInput", categoricalProbeValue(probes, "document_input")],
976
+ ["contextWindow", testedContextTokensFromProbes(probes)],
968
977
  ];
969
978
  return Object.fromEntries(values.filter(([, value]) => value !== undefined));
970
979
  }
@@ -1073,10 +1082,135 @@ trigger) {
1073
1082
  // AI-assist badge, the Coding Workbench source projection) report what was actually observed.
1074
1083
  // Content-free: one state word, no probe bodies, no endpoints, no credentials.
1075
1084
  recordReadinessObservation(deps, report, observedGeneration);
1085
+ // Read BEFORE the tool-calling reconcile: persisting that conclusion bumps the generation, and
1086
+ // the context-window reconcile must tell "we just wrote it" from "the config was replaced".
1087
+ const probedCurrentConfig = observedGeneration === undefined || deps.gatewayConfig?.generation() === observedGeneration;
1076
1088
  reconcileToolCallingReadiness(deps, report, observedGeneration, correlationId);
1089
+ if (probedCurrentConfig)
1090
+ reconcileContextWindowReadiness(deps, report, correlationId);
1077
1091
  logReadinessRunCompleted(deps, run, report);
1078
1092
  return report;
1079
1093
  }
1094
+ function reconcileContextWindowReadiness(deps, report, correlationId) {
1095
+ try {
1096
+ reconcileGatewayContextWindowReadiness(deps, report, deps.gatewayConfig?.generation(), correlationId);
1097
+ }
1098
+ catch (error) {
1099
+ emitServerDiagnostic(deps.diagnostics, serverDiagnosticFromError({
1100
+ correlationId,
1101
+ operation: "gateway.readiness",
1102
+ source: "gateway-readiness.context-window-reconcile",
1103
+ error,
1104
+ summary: "The verified gateway context window could not be persisted.",
1105
+ redact: (message) => String(deps.redactor(message)),
1106
+ }));
1107
+ }
1108
+ }
1109
+ // ─── What the Coding Workbench needs, determined by Keiko itself ──────────────────────────────
1110
+ // Owner decision for 1.1.1, reversing the passive Workbench read of #3561: what Keiko can
1111
+ // determine itself it determines itself, and the operator copies no value and clicks no check.
1112
+ // - A gateway that declares no token limits leaves the 4,096 setup placeholder in place, and
1113
+ // the Workbench needs 32,000: the long-context probe proves the window.
1114
+ // - The forced tool-call proof expires after 24 h: the tool-calling probe renews it.
1115
+ // `runGatewayReadiness` persists both conclusions. This runs when the Workbench reads its profile,
1116
+ // for every chat model that claims tool calling. The model the Workbench would elect is awaited so
1117
+ // the profile it reads already reflects the result; the others finish in the background. It is
1118
+ // BOUNDED: one attempt per deployment identity within the six-hour cooldown, so a model
1119
+ // that really is short-context, or a gateway that is down, is not probed on every read — and a
1120
+ // model that never claimed tool calling is never probed from here at all.
1121
+ const WORKBENCH_REPROBE_COOLDOWN_MS = 6 * 60 * 60 * 1_000;
1122
+ const workbenchProbes = new Map();
1123
+ // ONE run at a time. Persisting a conclusion bumps the configuration generation, and a readiness
1124
+ // run that started under the previous generation has its conclusion discarded as stale: probing
1125
+ // six models at once would store the first to finish and silently drop the other five. A queue
1126
+ // lets every run start on the generation the one before it left behind.
1127
+ let workbenchProbeQueue = Promise.resolve();
1128
+ export function resetCodingWorkbenchContextWindowProbesForTests() {
1129
+ workbenchProbes.clear();
1130
+ workbenchProbeQueue = Promise.resolve();
1131
+ }
1132
+ /** Resolves once every automatic Workbench probe queued so far has finished. Test seam. */
1133
+ export function codingWorkbenchProbesSettledForTests() {
1134
+ return workbenchProbeQueue;
1135
+ }
1136
+ function workbenchProbesNeeded(capability) {
1137
+ const eligibility = codingWorkbenchModelEligibility(capability);
1138
+ if (eligibility === "ineligible")
1139
+ return [];
1140
+ const shortWindow = capability.contextWindow < CODING_WORKBENCH_MINIMUM_CODING_CONTEXT_PROMPT_TOKENS;
1141
+ return [
1142
+ ...(eligibility === "tool-calling-unverified" ? ["tool_calling"] : []),
1143
+ ...(shortWindow ? ["long_context"] : []),
1144
+ ];
1145
+ }
1146
+ function workbenchProbeTargets(config) {
1147
+ return listConfiguredCapabilities(config)
1148
+ .map((capability) => ({ modelId: capability.id, probes: workbenchProbesNeeded(capability) }))
1149
+ .filter((target) => target.probes.length > 0);
1150
+ }
1151
+ // Keyed by the deployment's identity, not the configuration generation: every conclusion this
1152
+ // persists bumps the generation, which would otherwise lift the cooldown of every other model.
1153
+ function workbenchProbeKey(config, modelId) {
1154
+ const provider = config.providers.find((candidate) => candidate.modelId === modelId);
1155
+ return provider === undefined ? modelId : toolCallingConfigurationFingerprint(provider);
1156
+ }
1157
+ async function runWorkbenchProbe(deps, target, key, correlationId) {
1158
+ try {
1159
+ const report = await runGatewayReadiness({
1160
+ modelId: target.modelId,
1161
+ options: { probes: target.probes, purpose: "coding-workbench-auto" },
1162
+ }, deps, correlationId);
1163
+ const proven = !("status" in report) &&
1164
+ target.probes.every((name) => report.probes.some((probe) => probe.name === name && probe.status === "passed"));
1165
+ const config = deps.gatewayConfig?.current();
1166
+ const stillNeeded = config !== undefined &&
1167
+ workbenchProbeTargets(config).some((pending) => pending.modelId === target.modelId);
1168
+ // Proven, yet not stored: the configuration changed under the run and the conclusion was
1169
+ // discarded as stale. Lift the cooldown so the next read proves it again instead of leaving
1170
+ // the model unusable for hours.
1171
+ if (proven && stillNeeded)
1172
+ workbenchProbes.delete(key);
1173
+ }
1174
+ catch (error) {
1175
+ emitServerDiagnostic(deps.diagnostics, serverDiagnosticFromError({
1176
+ correlationId,
1177
+ operation: "gateway.readiness",
1178
+ source: "gateway-readiness.workbench-probe",
1179
+ error,
1180
+ summary: "A gateway readiness probe could not be completed.",
1181
+ redact: (message) => String(deps.redactor(message)),
1182
+ }));
1183
+ }
1184
+ }
1185
+ function enqueueWorkbenchProbe(deps, config, target, correlationId) {
1186
+ const key = workbenchProbeKey(config, target.modelId);
1187
+ const known = workbenchProbes.get(key);
1188
+ if (known !== undefined && Date.now() - known.at < WORKBENCH_REPROBE_COOLDOWN_MS) {
1189
+ return known.promise;
1190
+ }
1191
+ const promise = workbenchProbeQueue.then(() => runWorkbenchProbe(deps, target, key, correlationId));
1192
+ workbenchProbeQueue = promise;
1193
+ workbenchProbes.set(key, { promise, at: Date.now() });
1194
+ return promise;
1195
+ }
1196
+ export async function ensureCodingWorkbenchContextWindows(deps, electedModelId, correlationId) {
1197
+ const config = deps.gatewayConfig?.current();
1198
+ if (config === undefined)
1199
+ return;
1200
+ const targets = workbenchProbeTargets(config);
1201
+ if (targets.length === 0)
1202
+ return;
1203
+ const id = correlationId ?? newCorrelationId();
1204
+ // The model the Workbench would elect goes first and is the only one awaited.
1205
+ const ordered = [
1206
+ ...targets.filter((target) => target.modelId === electedModelId),
1207
+ ...targets.filter((target) => target.modelId !== electedModelId),
1208
+ ];
1209
+ const queued = new Map(ordered.map((target) => [target.modelId, enqueueWorkbenchProbe(deps, config, target, id)]));
1210
+ // A named model waits for ITS proof only — never for another model's. Without a name (the
1211
+ // Workbench could elect none yet) the first queued model is the one it would elect next.
1212
+ await (electedModelId === undefined ? queued.values().next().value : queued.get(electedModelId));
1213
+ }
1080
1214
  const onDemandReadinessProbes = new Map();
1081
1215
  // A failed probe must not pin the model for the whole configuration generation: a transient
1082
1216
  // gateway outage would brick every chat surface until a manual re-probe or restart (the
@@ -18,6 +18,14 @@ export declare function gatewaySetupTargetClass(baseUrl: string): GatewaySetupTa
18
18
  export declare function handleGatewaySetup(ctx: RouteContext, deps: UiHandlerDeps): Promise<RouteResult>;
19
19
  /** Persists the current readiness run's tool-calling conclusion without a second UI confirmation. */
20
20
  export declare function reconcileGatewayToolCallingReadiness(deps: UiHandlerDeps, report: GatewayReadinessReport, observedGeneration: number | undefined, correlationId?: string): void;
21
+ /**
22
+ * Raises a stored context window to the token count the long-context probe just proved, without a
23
+ * UI confirmation — the standing the tool-calling conclusion already has. A proven count is a lower
24
+ * bound, so this only ever raises. Customer report on 1.1.0: a gateway that declares no token
25
+ * limits left the 4,096 setup placeholder in place and the Coding Workbench refused every model;
26
+ * what Keiko can determine itself must not be left for the operator to copy by hand.
27
+ */
28
+ export declare function reconcileGatewayContextWindowReadiness(deps: UiHandlerDeps, report: GatewayReadinessReport, observedGeneration: number | undefined, correlationId?: string): void;
21
29
  /** Applies only generation-current live observations after an explicit, human-confirmed request. */
22
30
  export declare function handleApplyGatewayVerifiedCapabilities(ctx: RouteContext, deps: UiHandlerDeps): Promise<RouteResult>;
23
31
  //# sourceMappingURL=gateway-setup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gateway-setup.d.ts","sourceRoot":"","sources":["../src/gateway-setup.ts"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAIV,uBAAuB,EAGxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAMrF,OAAO,KAAK,EACV,SAAS,EACT,aAAa,EAQd,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAA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,MAAM,EAAE,sBAAsB,EAC9B,kBAAkB,EAAE,MAAM,GAAG,SAAS,EACtC,aAAa,SAAyB,GACrC,IAAI,CAuBN;AAsED,oGAAoG;AACpG,wBAAsB,sCAAsC,CAC1D,GAAG,EAAE,YAAY,EACjB,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,WAAW,CAAC,CAmCtB"}
@@ -4233,9 +4233,20 @@ const VERIFIED_CAPABILITY_FIELDS = new Set([
4233
4233
  "structuredOutput",
4234
4234
  "supportsImageInput",
4235
4235
  "supportsDocumentInput",
4236
+ "contextWindow",
4236
4237
  ]);
4237
- function verifiedFieldValue(value) {
4238
- return typeof value === "boolean" ? value : undefined;
4238
+ // The readiness long-context probe never tests more than 128,000 tokens, so a larger submitted
4239
+ // value cannot match any recorded observation and is rejected before that comparison.
4240
+ const MAX_VERIFIED_CONTEXT_WINDOW = 128_000;
4241
+ function verifiedFieldValue(field, value) {
4242
+ if (field !== "contextWindow")
4243
+ return typeof value === "boolean" ? value : undefined;
4244
+ return typeof value === "number" &&
4245
+ Number.isSafeInteger(value) &&
4246
+ value > 0 &&
4247
+ value <= MAX_VERIFIED_CONTEXT_WINDOW
4248
+ ? value
4249
+ : undefined;
4239
4250
  }
4240
4251
  function parseCapabilityApplyRequest(value) {
4241
4252
  if (!isRecord(value) || !isRecord(value.fields)) {
@@ -4259,7 +4270,7 @@ function parseCapabilityApplyRequest(value) {
4259
4270
  body: errorBody("BAD_REQUEST", "An unsupported capability field was supplied."),
4260
4271
  };
4261
4272
  }
4262
- const parsed = verifiedFieldValue(rawValue);
4273
+ const parsed = verifiedFieldValue(field, rawValue);
4263
4274
  if (parsed === undefined) {
4264
4275
  return { status: 400, body: errorBody("BAD_REQUEST", "A capability value is invalid.") };
4265
4276
  }
@@ -4292,6 +4303,10 @@ function replaceModelCapability(config, modelId, fields, checkedAt = new Date().
4292
4303
  const replacement = {
4293
4304
  ...current,
4294
4305
  ...fields,
4306
+ // The long-context probe proves a lower bound, so it may raise a stored window, never shrink it.
4307
+ ...(fields.contextWindow === undefined
4308
+ ? {}
4309
+ : { contextWindow: Math.max(current.contextWindow, fields.contextWindow) }),
4295
4310
  ...(fields.toolCalling === true
4296
4311
  ? {
4297
4312
  knownLimitations: current.knownLimitations.filter((limitation) => limitation !== MISTRAL_TOOL_CALLING_LIMITATION),
@@ -4448,6 +4463,28 @@ export function reconcileGatewayToolCallingReadiness(deps, report, observedGener
4448
4463
  ?.configurationFingerprint);
4449
4464
  persistVerifiedCapabilityUpdate(reconciliation.gatewayConfig, deps, report.modelId, reconciliation.gatewayConfig.generation(), updated, false, correlationId);
4450
4465
  }
4466
+ /**
4467
+ * Raises a stored context window to the token count the long-context probe just proved, without a
4468
+ * UI confirmation — the standing the tool-calling conclusion already has. A proven count is a lower
4469
+ * bound, so this only ever raises. Customer report on 1.1.0: a gateway that declares no token
4470
+ * limits left the 4,096 setup placeholder in place and the Coding Workbench refused every model;
4471
+ * what Keiko can determine itself must not be left for the operator to copy by hand.
4472
+ */
4473
+ export function reconcileGatewayContextWindowReadiness(deps, report, observedGeneration, correlationId = UNKNOWN_CORRELATION_ID) {
4474
+ const verified = report.verifiedCapabilities.testedContextTokens;
4475
+ if (verified === undefined || verified > MAX_VERIFIED_CONTEXT_WINDOW)
4476
+ return;
4477
+ const reconciliation = currentToolCallingReconciliation(deps, observedGeneration);
4478
+ if (reconciliation === undefined)
4479
+ return;
4480
+ const stored = findConfiguredCapability(reconciliation.current, report.modelId);
4481
+ if (stored?.kind !== "chat" || stored.contextWindow >= verified)
4482
+ return;
4483
+ const updated = replaceModelCapability(reconciliation.current, report.modelId, { contextWindow: verified }, report.checkedAt);
4484
+ if (updated === undefined)
4485
+ return;
4486
+ persistVerifiedCapabilityUpdate(reconciliation.gatewayConfig, deps, report.modelId, reconciliation.gatewayConfig.generation(), updated, false, correlationId);
4487
+ }
4451
4488
  function currentToolCallingReconciliation(deps, observedGeneration) {
4452
4489
  const gatewayConfig = deps.gatewayConfig;
4453
4490
  const current = gatewayConfig?.current();
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oscharko-dev/keiko-server",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Internal server package: local loopback BFF runtime (HTTP/SSE/WebSocket router, CSP, host check, CSRF gate, terminal, browser, files, run engine, SQLite-backed UI store) that mediates the browser presentation tier and the Node-side domain packages (ADR-0019). Not published independently.",
@@ -55,26 +55,26 @@
55
55
  },
56
56
  "private": true,
57
57
  "peerDependencies": {
58
- "@oscharko-dev/keiko-connectors": "1.1.0",
59
- "@oscharko-dev/keiko-contracts": "1.1.0",
60
- "@oscharko-dev/keiko-evidence": "1.1.0",
61
- "@oscharko-dev/keiko-git": "1.1.0",
62
- "@oscharko-dev/keiko-harness": "1.1.0",
63
- "@oscharko-dev/keiko-local-knowledge": "1.1.0",
64
- "@oscharko-dev/keiko-memory-capture": "1.1.0",
65
- "@oscharko-dev/keiko-memory-consolidation": "1.1.0",
66
- "@oscharko-dev/keiko-memory-governance": "1.1.0",
67
- "@oscharko-dev/keiko-memory-retrieval": "1.1.0",
68
- "@oscharko-dev/keiko-memory-vault": "1.1.0",
69
- "@oscharko-dev/keiko-model-gateway": "1.1.0",
70
- "@oscharko-dev/keiko-quality-intelligence": "1.1.0",
71
- "@oscharko-dev/keiko-sandbox": "1.1.0",
72
- "@oscharko-dev/keiko-sdk": "1.1.0",
73
- "@oscharko-dev/keiko-security": "1.1.0",
74
- "@oscharko-dev/keiko-tool-catalog": "1.1.0",
75
- "@oscharko-dev/keiko-tools": "1.1.0",
76
- "@oscharko-dev/keiko-verification": "1.1.0",
77
- "@oscharko-dev/keiko-workflows": "1.1.0",
78
- "@oscharko-dev/keiko-workspace": "1.1.0"
58
+ "@oscharko-dev/keiko-connectors": "1.1.1",
59
+ "@oscharko-dev/keiko-contracts": "1.1.1",
60
+ "@oscharko-dev/keiko-evidence": "1.1.1",
61
+ "@oscharko-dev/keiko-git": "1.1.1",
62
+ "@oscharko-dev/keiko-harness": "1.1.1",
63
+ "@oscharko-dev/keiko-local-knowledge": "1.1.1",
64
+ "@oscharko-dev/keiko-memory-capture": "1.1.1",
65
+ "@oscharko-dev/keiko-memory-consolidation": "1.1.1",
66
+ "@oscharko-dev/keiko-memory-governance": "1.1.1",
67
+ "@oscharko-dev/keiko-memory-retrieval": "1.1.1",
68
+ "@oscharko-dev/keiko-memory-vault": "1.1.1",
69
+ "@oscharko-dev/keiko-model-gateway": "1.1.1",
70
+ "@oscharko-dev/keiko-quality-intelligence": "1.1.1",
71
+ "@oscharko-dev/keiko-sandbox": "1.1.1",
72
+ "@oscharko-dev/keiko-sdk": "1.1.1",
73
+ "@oscharko-dev/keiko-security": "1.1.1",
74
+ "@oscharko-dev/keiko-tool-catalog": "1.1.1",
75
+ "@oscharko-dev/keiko-tools": "1.1.1",
76
+ "@oscharko-dev/keiko-verification": "1.1.1",
77
+ "@oscharko-dev/keiko-workflows": "1.1.1",
78
+ "@oscharko-dev/keiko-workspace": "1.1.1"
79
79
  }
80
80
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oscharko-dev/keiko-tool-catalog",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Internal pure governed-tool descriptors, schema projections, compatibility, and catalog identities.",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "private": true,
23
23
  "peerDependencies": {
24
- "@oscharko-dev/keiko-contracts": "1.1.0",
25
- "@oscharko-dev/keiko-security": "1.1.0"
24
+ "@oscharko-dev/keiko-contracts": "1.1.1",
25
+ "@oscharko-dev/keiko-security": "1.1.1"
26
26
  }
27
27
  }
@@ -1,2 +1,2 @@
1
- export declare const KEIKO_TOOLS_VERSION: "1.1.0";
1
+ export declare const KEIKO_TOOLS_VERSION: "1.1.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
1
  // Package version constant. Bumped in lockstep with the package.json version so consumers can
2
2
  // detect divergence in tests without parsing package metadata at runtime.
3
- export const KEIKO_TOOLS_VERSION = "1.1.0";
3
+ export const KEIKO_TOOLS_VERSION = "1.1.1";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oscharko-dev/keiko-tools",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Internal tools package: Keiko safe tool-execution layer — terminal-policy command allowlist, env-isolated no-shell spawn, atomic patch workflow, browser CDP adapter, and the WorkspaceWriter boundary (ADR-0006 / ADR-0017). Not published independently.",
@@ -40,11 +40,11 @@
40
40
  },
41
41
  "private": true,
42
42
  "peerDependencies": {
43
- "@oscharko-dev/keiko-contracts": "1.1.0",
44
- "@oscharko-dev/keiko-git": "1.1.0",
45
- "@oscharko-dev/keiko-sandbox": "1.1.0",
46
- "@oscharko-dev/keiko-security": "1.1.0",
47
- "@oscharko-dev/keiko-workspace": "1.1.0",
48
- "@oscharko-dev/keiko-tool-catalog": "1.1.0"
43
+ "@oscharko-dev/keiko-contracts": "1.1.1",
44
+ "@oscharko-dev/keiko-git": "1.1.1",
45
+ "@oscharko-dev/keiko-sandbox": "1.1.1",
46
+ "@oscharko-dev/keiko-security": "1.1.1",
47
+ "@oscharko-dev/keiko-workspace": "1.1.1",
48
+ "@oscharko-dev/keiko-tool-catalog": "1.1.1"
49
49
  }
50
50
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oscharko-dev/keiko-verification",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Internal verification package: deterministic verification orchestrator — plan construction, resource-limit policy, best-effort memory monitoring, command classification, and audit/Markdown summaries (ADR-0007, ADR-0019). Not published independently.",
@@ -21,9 +21,9 @@
21
21
  },
22
22
  "private": true,
23
23
  "peerDependencies": {
24
- "@oscharko-dev/keiko-contracts": "1.1.0",
25
- "@oscharko-dev/keiko-security": "1.1.0",
26
- "@oscharko-dev/keiko-tools": "1.1.0",
27
- "@oscharko-dev/keiko-workspace": "1.1.0"
24
+ "@oscharko-dev/keiko-contracts": "1.1.1",
25
+ "@oscharko-dev/keiko-security": "1.1.1",
26
+ "@oscharko-dev/keiko-tools": "1.1.1",
27
+ "@oscharko-dev/keiko-workspace": "1.1.1"
28
28
  }
29
29
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oscharko-dev/keiko-workflows",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Internal workflows package: reviewable developer-assist workflows (unit-test generation, bug investigation), prompts/parsers/guards/report rendering, apply-mode verification gating, and UI descriptors (ADR-0008 + ADR-0009 + ADR-0019). Not published independently.",
@@ -25,14 +25,14 @@
25
25
  },
26
26
  "private": true,
27
27
  "peerDependencies": {
28
- "@oscharko-dev/keiko-contracts": "1.1.0",
29
- "@oscharko-dev/keiko-security": "1.1.0",
30
- "@oscharko-dev/keiko-model-gateway": "1.1.0",
31
- "@oscharko-dev/keiko-workspace": "1.1.0",
32
- "@oscharko-dev/keiko-tools": "1.1.0",
33
- "@oscharko-dev/keiko-evidence": "1.1.0",
34
- "@oscharko-dev/keiko-verification": "1.1.0",
35
- "@oscharko-dev/keiko-harness": "1.1.0",
36
- "@oscharko-dev/keiko-quality-intelligence": "1.1.0"
28
+ "@oscharko-dev/keiko-contracts": "1.1.1",
29
+ "@oscharko-dev/keiko-security": "1.1.1",
30
+ "@oscharko-dev/keiko-model-gateway": "1.1.1",
31
+ "@oscharko-dev/keiko-workspace": "1.1.1",
32
+ "@oscharko-dev/keiko-tools": "1.1.1",
33
+ "@oscharko-dev/keiko-evidence": "1.1.1",
34
+ "@oscharko-dev/keiko-verification": "1.1.1",
35
+ "@oscharko-dev/keiko-harness": "1.1.1",
36
+ "@oscharko-dev/keiko-quality-intelligence": "1.1.1"
37
37
  }
38
38
  }
@@ -1,2 +1,2 @@
1
- export declare const KEIKO_WORKSPACE_VERSION: "1.1.0";
1
+ export declare const KEIKO_WORKSPACE_VERSION: "1.1.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,4 +1,4 @@
1
1
  // Version identifier for the workspace package. Pattern matches keiko-contracts /
2
2
  // keiko-security / keiko-model-gateway: keep the literal type via `as const` so
3
3
  // downstream assertions can pin on the exact string.
4
- export const KEIKO_WORKSPACE_VERSION = "1.1.0";
4
+ export const KEIKO_WORKSPACE_VERSION = "1.1.1";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oscharko-dev/keiko-workspace",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Internal workspace package: Keiko repository context and workspace access — detection, safe reads, path containment, deny/ignore rules, context packs, retrieval, and summaries. Not published independently.",
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "private": true,
70
70
  "peerDependencies": {
71
- "@oscharko-dev/keiko-contracts": "1.1.0",
72
- "@oscharko-dev/keiko-security": "1.1.0"
71
+ "@oscharko-dev/keiko-contracts": "1.1.1",
72
+ "@oscharko-dev/keiko-security": "1.1.1"
73
73
  }
74
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oscharko-dev/keiko",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Enterprise model-agnostic developer-assist coding agent for regulated engineering workflows.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -286,7 +286,7 @@
286
286
  "@babel/parser": "^8.0.1",
287
287
  "@babel/preset-env": "^8.0.5",
288
288
  "@eslint/js": "^10.0.1",
289
- "@oscharko-dev/keiko-editor": "1.1.0",
289
+ "@oscharko-dev/keiko-editor": "1.1.1",
290
290
  "@playwright/test": "^1.61.1",
291
291
  "@stryker-mutator/core": "10.0.0",
292
292
  "@stryker-mutator/vitest-runner": "10.0.0",
@@ -313,30 +313,30 @@
313
313
  "yaml": "2.9.0"
314
314
  },
315
315
  "dependencies": {
316
- "@oscharko-dev/keiko-cli": "file:vendor/oscharko-dev-keiko-cli-1.1.0.tgz",
317
- "@oscharko-dev/keiko-connectors": "file:vendor/oscharko-dev-keiko-connectors-1.1.0.tgz",
318
- "@oscharko-dev/keiko-contracts": "file:vendor/oscharko-dev-keiko-contracts-1.1.0.tgz",
319
- "@oscharko-dev/keiko-evaluations": "file:vendor/oscharko-dev-keiko-evaluations-1.1.0.tgz",
320
- "@oscharko-dev/keiko-evidence": "file:vendor/oscharko-dev-keiko-evidence-1.1.0.tgz",
321
- "@oscharko-dev/keiko-git": "file:vendor/oscharko-dev-keiko-git-1.1.0.tgz",
322
- "@oscharko-dev/keiko-harness": "file:vendor/oscharko-dev-keiko-harness-1.1.0.tgz",
323
- "@oscharko-dev/keiko-local-knowledge": "file:vendor/oscharko-dev-keiko-local-knowledge-1.1.0.tgz",
324
- "@oscharko-dev/keiko-memory-capture": "file:vendor/oscharko-dev-keiko-memory-capture-1.1.0.tgz",
325
- "@oscharko-dev/keiko-memory-consolidation": "file:vendor/oscharko-dev-keiko-memory-consolidation-1.1.0.tgz",
326
- "@oscharko-dev/keiko-memory-governance": "file:vendor/oscharko-dev-keiko-memory-governance-1.1.0.tgz",
327
- "@oscharko-dev/keiko-memory-retrieval": "file:vendor/oscharko-dev-keiko-memory-retrieval-1.1.0.tgz",
328
- "@oscharko-dev/keiko-memory-vault": "file:vendor/oscharko-dev-keiko-memory-vault-1.1.0.tgz",
329
- "@oscharko-dev/keiko-model-gateway": "file:vendor/oscharko-dev-keiko-model-gateway-1.1.0.tgz",
330
- "@oscharko-dev/keiko-quality-intelligence": "file:vendor/oscharko-dev-keiko-quality-intelligence-1.1.0.tgz",
331
- "@oscharko-dev/keiko-sandbox": "file:vendor/oscharko-dev-keiko-sandbox-1.1.0.tgz",
332
- "@oscharko-dev/keiko-sdk": "file:vendor/oscharko-dev-keiko-sdk-1.1.0.tgz",
333
- "@oscharko-dev/keiko-security": "file:vendor/oscharko-dev-keiko-security-1.1.0.tgz",
334
- "@oscharko-dev/keiko-server": "file:vendor/oscharko-dev-keiko-server-1.1.0.tgz",
335
- "@oscharko-dev/keiko-tool-catalog": "file:vendor/oscharko-dev-keiko-tool-catalog-1.1.0.tgz",
336
- "@oscharko-dev/keiko-tools": "file:vendor/oscharko-dev-keiko-tools-1.1.0.tgz",
337
- "@oscharko-dev/keiko-verification": "file:vendor/oscharko-dev-keiko-verification-1.1.0.tgz",
338
- "@oscharko-dev/keiko-workflows": "file:vendor/oscharko-dev-keiko-workflows-1.1.0.tgz",
339
- "@oscharko-dev/keiko-workspace": "file:vendor/oscharko-dev-keiko-workspace-1.1.0.tgz",
316
+ "@oscharko-dev/keiko-cli": "file:vendor/oscharko-dev-keiko-cli-1.1.1.tgz",
317
+ "@oscharko-dev/keiko-connectors": "file:vendor/oscharko-dev-keiko-connectors-1.1.1.tgz",
318
+ "@oscharko-dev/keiko-contracts": "file:vendor/oscharko-dev-keiko-contracts-1.1.1.tgz",
319
+ "@oscharko-dev/keiko-evaluations": "file:vendor/oscharko-dev-keiko-evaluations-1.1.1.tgz",
320
+ "@oscharko-dev/keiko-evidence": "file:vendor/oscharko-dev-keiko-evidence-1.1.1.tgz",
321
+ "@oscharko-dev/keiko-git": "file:vendor/oscharko-dev-keiko-git-1.1.1.tgz",
322
+ "@oscharko-dev/keiko-harness": "file:vendor/oscharko-dev-keiko-harness-1.1.1.tgz",
323
+ "@oscharko-dev/keiko-local-knowledge": "file:vendor/oscharko-dev-keiko-local-knowledge-1.1.1.tgz",
324
+ "@oscharko-dev/keiko-memory-capture": "file:vendor/oscharko-dev-keiko-memory-capture-1.1.1.tgz",
325
+ "@oscharko-dev/keiko-memory-consolidation": "file:vendor/oscharko-dev-keiko-memory-consolidation-1.1.1.tgz",
326
+ "@oscharko-dev/keiko-memory-governance": "file:vendor/oscharko-dev-keiko-memory-governance-1.1.1.tgz",
327
+ "@oscharko-dev/keiko-memory-retrieval": "file:vendor/oscharko-dev-keiko-memory-retrieval-1.1.1.tgz",
328
+ "@oscharko-dev/keiko-memory-vault": "file:vendor/oscharko-dev-keiko-memory-vault-1.1.1.tgz",
329
+ "@oscharko-dev/keiko-model-gateway": "file:vendor/oscharko-dev-keiko-model-gateway-1.1.1.tgz",
330
+ "@oscharko-dev/keiko-quality-intelligence": "file:vendor/oscharko-dev-keiko-quality-intelligence-1.1.1.tgz",
331
+ "@oscharko-dev/keiko-sandbox": "file:vendor/oscharko-dev-keiko-sandbox-1.1.1.tgz",
332
+ "@oscharko-dev/keiko-sdk": "file:vendor/oscharko-dev-keiko-sdk-1.1.1.tgz",
333
+ "@oscharko-dev/keiko-security": "file:vendor/oscharko-dev-keiko-security-1.1.1.tgz",
334
+ "@oscharko-dev/keiko-server": "file:vendor/oscharko-dev-keiko-server-1.1.1.tgz",
335
+ "@oscharko-dev/keiko-tool-catalog": "file:vendor/oscharko-dev-keiko-tool-catalog-1.1.1.tgz",
336
+ "@oscharko-dev/keiko-tools": "file:vendor/oscharko-dev-keiko-tools-1.1.1.tgz",
337
+ "@oscharko-dev/keiko-verification": "file:vendor/oscharko-dev-keiko-verification-1.1.1.tgz",
338
+ "@oscharko-dev/keiko-workflows": "file:vendor/oscharko-dev-keiko-workflows-1.1.1.tgz",
339
+ "@oscharko-dev/keiko-workspace": "file:vendor/oscharko-dev-keiko-workspace-1.1.1.tgz",
340
340
  "typescript": "6.0.3",
341
341
  "ws": "8.21.3",
342
342
  "yauzl": "3.4.0",