@oscharko-dev/keiko 1.1.3 → 1.1.5

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 (168) hide show
  1. package/dist/ui/csp-hashes.json +6 -6
  2. package/dist/ui/static/404.html +1 -1
  3. package/dist/ui/static/__next.__PAGE__.txt +10 -10
  4. package/dist/ui/static/__next._full.txt +12 -12
  5. package/dist/ui/static/__next._tree.txt +1 -1
  6. package/dist/ui/static/_next/static/chunks/0fbt5i1tfqbr3.js +1 -0
  7. package/dist/ui/static/_next/static/chunks/{3pm8eiwwesd47.js → 0ks_l2sa4nfn0.js} +1 -1
  8. package/dist/ui/static/_next/static/chunks/0nmcnzva3p40l.js +1 -0
  9. package/dist/ui/static/_next/static/chunks/{3npt49rhl5w41.js → 1r6n6x3-e27ud.js} +1 -1
  10. package/dist/ui/static/_next/static/chunks/2onl4czrdod2d.js +1 -0
  11. package/dist/ui/static/_next/static/chunks/2thq7sr8sysu-.js +1 -0
  12. package/dist/ui/static/_next/static/chunks/351uy__m9eafa.js +1 -0
  13. package/dist/ui/static/_next/static/chunks/{3tr04kks52pjw.js → 3pfnjbbr6jydb.js} +1 -1
  14. package/dist/ui/static/_not-found/__next._full.txt +9 -9
  15. package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +8 -8
  16. package/dist/ui/static/_not-found/__next._tree.txt +1 -1
  17. package/dist/ui/static/_not-found.html +1 -1
  18. package/dist/ui/static/_not-found.txt +9 -9
  19. package/dist/ui/static/atlassian-connectors/__next._full.txt +11 -11
  20. package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
  21. package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +10 -10
  22. package/dist/ui/static/atlassian-connectors.html +1 -1
  23. package/dist/ui/static/atlassian-connectors.txt +11 -11
  24. package/dist/ui/static/index.html +1 -1
  25. package/dist/ui/static/index.txt +12 -12
  26. package/dist/ui/static/launch/__next._full.txt +12 -12
  27. package/dist/ui/static/launch/__next._tree.txt +1 -1
  28. package/dist/ui/static/launch/__next.launch.__PAGE__.txt +10 -10
  29. package/dist/ui/static/launch.html +1 -1
  30. package/dist/ui/static/launch.txt +12 -12
  31. package/dist/ui/static/local-knowledge/__next._full.txt +12 -12
  32. package/dist/ui/static/local-knowledge/__next._tree.txt +1 -1
  33. package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +10 -10
  34. package/dist/ui/static/local-knowledge/capsule/__next._full.txt +12 -12
  35. package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
  36. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +10 -10
  37. package/dist/ui/static/local-knowledge/capsule.html +1 -1
  38. package/dist/ui/static/local-knowledge/capsule.txt +12 -12
  39. package/dist/ui/static/local-knowledge.html +1 -1
  40. package/dist/ui/static/local-knowledge.txt +12 -12
  41. package/node_modules/@oscharko-dev/keiko-cli/package.json +14 -14
  42. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
  43. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
  44. package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
  45. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +5 -5
  46. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -1
  47. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +9 -1
  48. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts +1 -1
  49. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts.map +1 -1
  50. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.js +2 -0
  51. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
  52. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
  53. package/node_modules/@oscharko-dev/keiko-contracts/package.json +1 -1
  54. package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
  55. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
  56. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
  57. package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
  58. package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
  59. package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
  60. package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
  61. package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
  62. package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
  63. package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
  64. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
  65. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
  66. package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
  67. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
  68. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
  69. package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
  70. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
  71. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
  72. package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
  73. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
  74. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
  75. package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
  76. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
  77. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
  78. package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
  79. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
  80. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
  81. package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
  82. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
  83. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
  84. package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
  85. package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
  86. package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
  87. package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
  88. package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
  89. package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
  90. package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
  91. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts.map +1 -1
  92. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.js +2 -1
  93. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +1 -1
  94. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts.map +1 -1
  95. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts.map +1 -1
  96. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js +2 -0
  97. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.d.ts.map +1 -1
  98. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.js +6 -0
  99. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeStartConfirmation.d.ts +1 -1
  100. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeStartConfirmation.d.ts.map +1 -1
  101. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts +12 -2
  102. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts.map +1 -1
  103. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.js +34 -7
  104. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeGitPreparation.d.ts.map +1 -1
  105. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeGitPreparation.js +7 -5
  106. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts.map +1 -1
  107. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.js +14 -11
  108. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts +1 -1
  109. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts.map +1 -1
  110. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.js +2 -0
  111. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
  112. package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +6 -2
  113. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedRepositoryIdentity.d.ts +8 -0
  114. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedRepositoryIdentity.d.ts.map +1 -1
  115. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedRepositoryIdentity.js +46 -4
  116. package/node_modules/@oscharko-dev/keiko-server/dist/observability/stack-frames.d.ts.map +1 -1
  117. package/node_modules/@oscharko-dev/keiko-server/dist/observability/stack-frames.js +24 -7
  118. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
  119. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
  120. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +149 -1
  121. package/node_modules/@oscharko-dev/keiko-server/package.json +22 -22
  122. package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
  123. package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
  124. package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
  125. package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
  126. package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
  127. package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
  128. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
  129. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
  130. package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
  131. package/package.json +26 -26
  132. package/release-impact.catalog.json +105 -0
  133. package/vendor/{oscharko-dev-keiko-cli-1.1.3.tgz → oscharko-dev-keiko-cli-1.1.5.tgz} +0 -0
  134. package/vendor/{oscharko-dev-keiko-connectors-1.1.3.tgz → oscharko-dev-keiko-connectors-1.1.5.tgz} +0 -0
  135. package/vendor/oscharko-dev-keiko-contracts-1.1.5.tgz +0 -0
  136. package/vendor/{oscharko-dev-keiko-evaluations-1.1.3.tgz → oscharko-dev-keiko-evaluations-1.1.5.tgz} +0 -0
  137. package/vendor/{oscharko-dev-keiko-evidence-1.1.3.tgz → oscharko-dev-keiko-evidence-1.1.5.tgz} +0 -0
  138. package/vendor/{oscharko-dev-keiko-git-1.1.3.tgz → oscharko-dev-keiko-git-1.1.5.tgz} +0 -0
  139. package/vendor/{oscharko-dev-keiko-harness-1.1.3.tgz → oscharko-dev-keiko-harness-1.1.5.tgz} +0 -0
  140. package/vendor/{oscharko-dev-keiko-local-knowledge-1.1.3.tgz → oscharko-dev-keiko-local-knowledge-1.1.5.tgz} +0 -0
  141. package/vendor/{oscharko-dev-keiko-memory-capture-1.1.3.tgz → oscharko-dev-keiko-memory-capture-1.1.5.tgz} +0 -0
  142. package/vendor/{oscharko-dev-keiko-memory-consolidation-1.1.3.tgz → oscharko-dev-keiko-memory-consolidation-1.1.5.tgz} +0 -0
  143. package/vendor/{oscharko-dev-keiko-memory-governance-1.1.3.tgz → oscharko-dev-keiko-memory-governance-1.1.5.tgz} +0 -0
  144. package/vendor/{oscharko-dev-keiko-memory-retrieval-1.1.3.tgz → oscharko-dev-keiko-memory-retrieval-1.1.5.tgz} +0 -0
  145. package/vendor/{oscharko-dev-keiko-memory-vault-1.1.3.tgz → oscharko-dev-keiko-memory-vault-1.1.5.tgz} +0 -0
  146. package/vendor/{oscharko-dev-keiko-model-gateway-1.1.3.tgz → oscharko-dev-keiko-model-gateway-1.1.5.tgz} +0 -0
  147. package/vendor/{oscharko-dev-keiko-quality-intelligence-1.1.3.tgz → oscharko-dev-keiko-quality-intelligence-1.1.5.tgz} +0 -0
  148. package/vendor/oscharko-dev-keiko-sandbox-1.1.5.tgz +0 -0
  149. package/vendor/oscharko-dev-keiko-sdk-1.1.5.tgz +0 -0
  150. package/vendor/{oscharko-dev-keiko-security-1.1.3.tgz → oscharko-dev-keiko-security-1.1.5.tgz} +0 -0
  151. package/vendor/oscharko-dev-keiko-server-1.1.5.tgz +0 -0
  152. package/vendor/{oscharko-dev-keiko-tool-catalog-1.1.3.tgz → oscharko-dev-keiko-tool-catalog-1.1.5.tgz} +0 -0
  153. package/vendor/{oscharko-dev-keiko-tools-1.1.3.tgz → oscharko-dev-keiko-tools-1.1.5.tgz} +0 -0
  154. package/vendor/{oscharko-dev-keiko-verification-1.1.3.tgz → oscharko-dev-keiko-verification-1.1.5.tgz} +0 -0
  155. package/vendor/{oscharko-dev-keiko-workflows-1.1.3.tgz → oscharko-dev-keiko-workflows-1.1.5.tgz} +0 -0
  156. package/vendor/{oscharko-dev-keiko-workspace-1.1.3.tgz → oscharko-dev-keiko-workspace-1.1.5.tgz} +0 -0
  157. package/dist/ui/static/_next/static/chunks/02p2_qr2a9511.js +0 -1
  158. package/dist/ui/static/_next/static/chunks/0bkvv_4vdnwcc.js +0 -1
  159. package/dist/ui/static/_next/static/chunks/14aztwc0_78th.js +0 -1
  160. package/dist/ui/static/_next/static/chunks/3x47uozrkxs0n.js +0 -1
  161. package/dist/ui/static/_next/static/chunks/3xw9gh9d5ngza.js +0 -1
  162. package/vendor/oscharko-dev-keiko-contracts-1.1.3.tgz +0 -0
  163. package/vendor/oscharko-dev-keiko-sandbox-1.1.3.tgz +0 -0
  164. package/vendor/oscharko-dev-keiko-sdk-1.1.3.tgz +0 -0
  165. package/vendor/oscharko-dev-keiko-server-1.1.3.tgz +0 -0
  166. /package/dist/ui/static/_next/static/{I8XgE7OTMPfaqDeyVALyl → IH07azjG4tKvS8qRk-uMI}/_buildManifest.js +0 -0
  167. /package/dist/ui/static/_next/static/{I8XgE7OTMPfaqDeyVALyl → IH07azjG4tKvS8qRk-uMI}/_clientMiddlewareManifest.js +0 -0
  168. /package/dist/ui/static/_next/static/{I8XgE7OTMPfaqDeyVALyl → IH07azjG4tKvS8qRk-uMI}/_ssgManifest.js +0 -0
@@ -2359,6 +2359,111 @@
2359
2359
  "targets": ["linux-x64", "windows-x64", "macos-arm64", "macos-x64"]
2360
2360
  }
2361
2361
  },
2362
+ {
2363
+ "packageName": "@oscharko-dev/keiko",
2364
+ "packageVersion": "1.1.5",
2365
+ "distTag": "latest",
2366
+ "registry": "https://registry.npmjs.org/",
2367
+ "releaseTag": "v1.1.5",
2368
+ "supportedFrom": ["0.2.0"],
2369
+ "internalOnly": false,
2370
+ "observableImpact": true,
2371
+ "defaultPatchNotes": true,
2372
+ "oneClickEligible": true,
2373
+ "publishGates": [
2374
+ "version-consistency",
2375
+ "publish-manifests",
2376
+ "release-impact",
2377
+ "workspace-supply-chain",
2378
+ "package-surface",
2379
+ "qi-supply-chain",
2380
+ "install-smoke"
2381
+ ],
2382
+ "id": "2026-09-22-keiko-1.1.5-coding-runs-on-repositories-with-a-non-github-origin",
2383
+ "releaseNoteCategory": "fixes",
2384
+ "releaseNotePriority": "high",
2385
+ "userVisibleChange": "behavioral",
2386
+ "userVisibleSummary": "Version 1.1.5 lets the Coding Workbench start a run in a repository whose origin remote is not on github.com, such as a company's own Git server. Until now the start refused such a repository as an unsupported remote and reported the generic authority failure, so no customer whose code lives outside github.com could start a run. A non-GitHub origin is now its own repository identity; GitHub issue binding and GitHub delivery remain available only for a github.com origin, and local coding runs proceed.",
2387
+ "affectedStateStores": [],
2388
+ "stateImpact": [],
2389
+ "releaseNoteBullets": [
2390
+ "Coding Workbench: a repository whose origin is a company Git server, i.e. any origin host other than github.com, reached through an https, ssh or scp-style remote URL, can start coding runs. The origin is recorded as a foreign-origin identity; a token embedded in the remote URL never enters the identity digest.",
2391
+ "Coding Workbench: GitHub issue binding and GitHub pull-request delivery stay limited to repositories with a github.com origin; a foreign origin runs locally in the governed task workspace."
2392
+ ],
2393
+ "review": {
2394
+ "status": "reviewed",
2395
+ "reviewer": "release-owner",
2396
+ "reviewedAt": "2026-09-22",
2397
+ "humanApproved": true,
2398
+ "approvalReference": "https://github.com/oscharko-dev/Keiko/issues/3565",
2399
+ "rationale": "The customer's 1.1.4 log (Observation 18, frames from the installed build) located the refused start in readVerifiedRepositoryIdentity: their repository's origin is their own Git server, which the identity reader refused as verified-commit-remote-unsupported. The release owner ordered the fix and the 1.1.5 publication.",
2400
+ "traceability": null
2401
+ },
2402
+ "userActionRequired": false,
2403
+ "remediation": "no-action-required",
2404
+ "traceability": null,
2405
+ "portableRuntimeArtifactContract": {
2406
+ "programEpic": 1944,
2407
+ "parentEpic": 1942,
2408
+ "issue": 1948,
2409
+ "stagingOnly": true,
2410
+ "signingScope": "evaluation",
2411
+ "targets": ["linux-x64", "windows-x64", "macos-arm64", "macos-x64"]
2412
+ }
2413
+ },
2414
+ {
2415
+ "packageName": "@oscharko-dev/keiko",
2416
+ "packageVersion": "1.1.4",
2417
+ "distTag": "latest",
2418
+ "registry": "https://registry.npmjs.org/",
2419
+ "releaseTag": "v1.1.4",
2420
+ "supportedFrom": ["0.2.0"],
2421
+ "internalOnly": false,
2422
+ "observableImpact": true,
2423
+ "defaultPatchNotes": true,
2424
+ "oneClickEligible": true,
2425
+ "publishGates": [
2426
+ "version-consistency",
2427
+ "publish-manifests",
2428
+ "release-impact",
2429
+ "workspace-supply-chain",
2430
+ "package-surface",
2431
+ "qi-supply-chain",
2432
+ "install-smoke"
2433
+ ],
2434
+ "id": "2026-09-22-keiko-1.1.4-coding-run-start-refusals-named",
2435
+ "releaseNoteCategory": "fixes",
2436
+ "releaseNotePriority": "high",
2437
+ "userVisibleChange": "behavioral",
2438
+ "userVisibleSummary": "Version 1.1.4 makes a refused coding-run start explain itself. Until now a start the server could not resolve, because the selected model is not admitted for coding right now or the bound repository could not be qualified, answered with the generic CODING_RUNTIME_AUTHORITY_RESOLUTION_FAILED and the activity log of an installed Keiko carried no stack frames, so the cause could not be located from the customer's log. The Workbench now names the cause and the remedy, the log names the refusing check, and installed builds record their stack frames like a source checkout.",
2439
+ "affectedStateStores": [],
2440
+ "stateImpact": [],
2441
+ "releaseNoteBullets": [
2442
+ "Coding Workbench: a start refused because the selected model is not admitted for coding right now answers with CODING_RUNTIME_MODEL_UNAVAILABLE and tells the operator to run the readiness check under Settings \u2192 Models or choose a model that passed it today.",
2443
+ "Coding Workbench: a start refused because the bound repository could not be qualified (non-canonical path, unreadable repository identity, drifted workspace) answers with CODING_RUNTIME_WORKSPACE_UNQUALIFIED and tells the operator to bind the repository again through Browse\u2026.",
2444
+ "Activity log: every launch-path refusal records its own code and closed sub-reason, and an installed Keiko (npm or Yarn) records Keiko stack frames on diagnostics, which it never did before."
2445
+ ],
2446
+ "review": {
2447
+ "status": "reviewed",
2448
+ "reviewer": "release-owner",
2449
+ "reviewedAt": "2026-09-22",
2450
+ "humanApproved": true,
2451
+ "approvalReference": "https://github.com/oscharko-dev/Keiko/issues/3565",
2452
+ "rationale": "The customer's first coding-run start on 1.1.3 was refused with the generic authority code twice and the log carried frameCount 0, so the cause could not be located from the customer's evidence (#3565 Observation 17). This patch changes no admission rule; it names the refusing check on the wire and in the log.",
2453
+ "traceability": null
2454
+ },
2455
+ "userActionRequired": false,
2456
+ "remediation": "no-action-required",
2457
+ "traceability": null,
2458
+ "portableRuntimeArtifactContract": {
2459
+ "programEpic": 1944,
2460
+ "parentEpic": 1942,
2461
+ "issue": 1948,
2462
+ "stagingOnly": true,
2463
+ "signingScope": "evaluation",
2464
+ "targets": ["linux-x64", "windows-x64", "macos-arm64", "macos-x64"]
2465
+ }
2466
+ },
2362
2467
  {
2363
2468
  "packageName": "@oscharko-dev/keiko",
2364
2469
  "packageVersion": "1.1.3",
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20897,e=>{"use strict";let t=Object.freeze(["idle","starting","ready","running","paused","awaiting-approval","stopping","succeeded","failed","cancelled","taken-over","recovery-required"]),r=Object.freeze(["runtime-unavailable","active-run-conflict","invalid-intent","approval-activation-failed","authority-resolution-failed","authority-expired","authority-replayed","task-drift","workspace-drift","project-drift","branch-drift","scope-drift","budget-drift","authority-budget-exceeded","source-drift","runtime-failed","revoked","recovery-required","replay-cap-exhausted","issue-context-unavailable","question-answer-rejected","delivery-not-evidenced"]);e.s(["CODING_WORKBENCH_RUNTIME_CONTRACT_VERSION",0,"1","CODING_WORKBENCH_RUNTIME_FAILURE_CODES",0,r,"CODING_WORKBENCH_RUNTIME_STATE_NAMES",0,t]);},62156,e=>{"use strict";var t=e.i(57269);let r=Object.freeze(["governed-assist","supervised-coding","autonomous-delivery"]),n=Object.freeze(["keiko-sidecar","codex-cli-adapter","delivery-runner"]),i=Object.freeze(["keiko-model-gateway","openai-api-key-through-gateway","chatgpt-codex-subscription-profile"]),a=Object.freeze(["workspace-read","workspace-write","command-execution","verification","connector-access","network-egress","delivery-substrate"]),o=Object.freeze(["source-control.read","source-control.write","issue-tracker.read","issue-tracker.write","knowledge-base.read","knowledge-base.write"]);Object.freeze(["deny-all","governed-egress","connector-scoped-egress"]),Object.freeze(["human-approval","branch-allowlist","verification-green","policy-review","artifact-review"]),Object.freeze(["deny","allowlisted","governed"]);let s=Object.freeze(["ready","busy","degraded","stopped"]),d=Object.freeze(["status","tool","verification","permission","question"]),u=Object.freeze(["workspace-write","command-execution","network-egress","connector-access","delivery-substrate"]),c=Object.freeze(["file-edit","git-stage","verification-command","ci-observe","connector-read","research","commit","push","pull-request","merge","connector-write","external-write","system-mutation"]),l=Object.freeze(["low","medium","high","critical"]);Object.freeze(["allowed","approval-required","denied"]),Object.freeze(["workspace-contained","external-file","internet","delivery"]);let p=Object.freeze(["scoped-file-edit","out-of-scope-file-edit","allowlisted-verification-command","unknown-command-denied","mutating-command-denied","approval-required","approval-proof-missing","approval-proof-stale","approval-proof-accepted","operator-denied","operator-stopped","redacted-failure"]),f=Object.freeze(["runtime-started","runtime-stopped","runtime-health","task-submitted","observation-streamed","permission-requested","diff-summarized","verification-summarized","artifact-produced","research-performed","skill-invoked","child-run-started","child-run-completed","operator-decision","failure-redacted"]),h=Object.freeze(["accepted","denied","unavailable","limit-reached","stopped"]),m=Object.freeze(["workspace-script-trust"]),v=Object.freeze(["untrusted"]);Object.freeze(["workspace-read-denied","workspace-write-denied","command-execution-denied","verification-denied","connector-access-denied","connector-write-denied","network-denied","delivery-denied"]),(0,t.deepFreeze)({"governed-assist":{allowedActionClasses:a,display:{label:"Ask for approval",description:"Reads and planning proceed; workspace edits, commands, external files, and internet use require approval. Delivery remains separately human-approved."},effects:{"workspace-contained":{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},"external-file":{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},internet:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},delivery:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"}}},"supervised-coding":{allowedActionClasses:a,display:{label:"Supervised workspace",description:"Routine low- and medium-risk workspace-contained edits, vetted commands, and verification proceed; risky, external-file, and internet actions require approval. Delivery remains separately human-approved."},effects:{"workspace-contained":{low:"allowed",medium:"allowed",high:"approval-required",critical:"approval-required"},"external-file":{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},internet:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},delivery:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"}}},"autonomous-delivery":{allowedActionClasses:a,display:{label:"Full access",description:"File, internet, and accepted Code-task commit, push, and draft pull request operations within the validated Authority Envelope proceed without per-action approval. Merge remains separately approval-gated."},effects:{"workspace-contained":{low:"allowed",medium:"allowed",high:"allowed",critical:"allowed"},"external-file":{low:"allowed",medium:"allowed",high:"allowed",critical:"allowed"},internet:{low:"allowed",medium:"allowed",high:"allowed",critical:"allowed"},delivery:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"}}}}),Object.freeze({allowed:0,"approval-required":1,denied:2});let g=Object.freeze({"governed-assist":0,"supervised-coding":1,"autonomous-delivery":2});function b(e){return"string"==typeof e&&r.includes(e);}function y(e,t){return g[e]-g[t];}Object.freeze({"workspace-read":"workspace-read-denied","workspace-write":"workspace-write-denied","command-execution":"command-execution-denied",verification:"verification-denied","connector-access":"connector-access-denied","network-egress":"network-denied","delivery-substrate":"delivery-denied"}),e.s(["CODING_WORKBENCH_ACTION_CLASSES",0,a,"CODING_WORKBENCH_APPROVAL_RISKS",0,l,"CODING_WORKBENCH_AUXILIARY_STATUSES",0,h,"CODING_WORKBENCH_CONNECTOR_SCOPES",0,o,"CODING_WORKBENCH_CONTENT_TRUST_VALUES",0,v,"CODING_WORKBENCH_MODEL_SOURCES",0,i,"CODING_WORKBENCH_MODES",0,r,"CODING_WORKBENCH_OBSERVATION_CHANNELS",0,d,"CODING_WORKBENCH_OPERATOR_DECISIONS",0,m,"CODING_WORKBENCH_PERMISSION_REQUEST_KINDS",0,u,"CODING_WORKBENCH_RUNTIME_EVENT_KINDS",0,f,"CODING_WORKBENCH_RUNTIME_HEALTH_STATES",0,s,"CODING_WORKBENCH_RUNTIME_SOURCES",0,n,"CODING_WORKBENCH_SCHEMA_VERSION",0,"1","CODING_WORKBENCH_SUPERVISED_ACTION_KINDS",0,c,"CODING_WORKBENCH_SUPERVISED_POLICY_REASONS",0,p,"compareCodingWorkbenchModeAuthority",0,y,"isCodingWorkbenchMode",0,b,"isCodingWorkbenchModeWidening",0,function(e,t){return y(t,e)>0;},"permissionKindForSupervisedCodingAction",0,function(e){return"file-edit"===e||"git-stage"===e?"workspace-write":"verification-command"===e||"ci-observe"===e||"connector-read"===e?"command-execution":"research"===e?"network-egress":"connector-write"===e||"external-write"===e?"connector-access":"delivery-substrate";},"resolveEffectiveCodingWorkbenchMode",0,function(e,t){let r=b(e)?e:"governed-assist",n=b(t)?t:"governed-assist";return g[r]<=g[n]?r:n;}]);},57269,e=>{"use strict";e.s(["deepFreeze",0,function(e){return!function e(t,r){if("object"==typeof t&&null!==t&&!r.has(t))for(let n of(r.add(t),Object.freeze(t),Reflect.ownKeys(t))){let i=Object.getOwnPropertyDescriptor(t,n);void 0!==i&&"value"in i&&e(i.value,r);}}(e,new WeakSet()),e;}]);},74894,e=>{"use strict";let t=/(^|[^A-Za-z0-9._~:/-])\/(?!\/)(?=[^\n\r"'`<>]*\/)[^\n\r"'`<>]+/gu,r=/(^|[^A-Za-z0-9._~:/-])[A-Za-z]:[\\/](?=[^\n\r"'`<>]*[\\/])[^\n\r"'`<>]+/gu,n=/(^|[^A-Za-z0-9._~:/-])(?:\\\\|\/\/)(?=[^\n\r"'`<>]*[\\/])[^\n\r"'`<>]+/gu,i=["user","assistant","system"];function a(e){return e<=31||e>=127&&e<=159;}function o(e){var t;return 1564===e||e>=8203&&e<=8207||e>=8234&&e<=8238||e>=8288&&e<=8303||e>=8294&&e<=8297||65279===e||9!==e&&10!==e&&13!==e&&a(e)||8232===(t=e)||8233===t;}function s(e,t,r){let n=t;for(;n<r;){let t=e[n];if(" "!==t&&" "!==t&&"\f"!==t&&"\v"!==t)break;n+=1;}return n;}function d(e,t,r,n){return!(t+n.length>r)&&e.slice(t,t+n.length).toLowerCase()===n;}e.s(["containsAbsolutePath",0,function(e){return e.replace(t,(e,t)=>`${t}[REDACTED_PATH]`).replace(r,(e,t)=>`${t}[REDACTED_PATH]`).replace(n,(e,t)=>`${t}[REDACTED_PATH]`)!==e;},"containsPseudoRoleMarker",0,function(e){let t=0;for(let a=0;a<=e.length;a+=1)if(function(e,t){if(t===e.length)return!0;let r=e[t];return"\n"===r||"\r"===r;}(e,a)){var r,n;if(function(e,t,r){let n=s(e,t,r);return!!function(e,t,r){return i.some(n=>{if(!d(e,t,r,n))return!1;let i=s(e,t+n.length,r);return i<r&&":"===e[i];});}(e,n,r)||!(!d(e,n,r,"role")||(n=s(e,n+4,r))>=r||":"!==e[n])&&(n=s(e,n+1,r),i.some(t=>d(e,n,r,t)&&function(e,t,r,_e$codePointAt){if(t>=r)return!0;let n=(_e$codePointAt=e.codePointAt(t))!==null&&_e$codePointAt!==void 0?_e$codePointAt:0;return!(n>=48&&n<=57)&&!(n>=65&&n<=90)&&95!==n&&!(n>=97&&n<=122);}(e,n+t.length,r)));}(e,t,a))return!0;r=e,(n=a)+1<r.length&&"\r"===r[n]&&"\n"===r[n+1]&&(a+=1),t=a+1;}return!1;},"hasControlCharacter",0,function(e){for(let t of e){var _t$codePointAt;if(a((_t$codePointAt=t.codePointAt(0))!==null&&_t$codePointAt!==void 0?_t$codePointAt:0))return!0;}return!1;},"stripUnsafeFormatChars",0,function(e){let t=!1;for(let r of e){var _r$codePointAt;if(o((_r$codePointAt=r.codePointAt(0))!==null&&_r$codePointAt!==void 0?_r$codePointAt:0)){t=!0;break;}}if(!t)return e;let r="";for(let t of e){var _t$codePointAt2;o((_t$codePointAt2=t.codePointAt(0))!==null&&_t$codePointAt2!==void 0?_t$codePointAt2:0)||(r+=t);}return r;}]);},58773,25952,56757,e=>{"use strict";let t,r;var n=e.i(71645),i=e.i(62156),a=e.i(20897),o=e.i(74894);let s=/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/u,d=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3})?Z$/u;function u(e){return"object"==typeof e&&null!==e&&!Array.isArray(e);}function c(e,t){return"string"==typeof e&&t.includes(e);}function l(e,t,r){return Object.keys(e).filter(e=>!t.includes(e)).map(e=>`${r}.${e} is not allowed`);}function p(e,t){return 0===t.length?{ok:!0,value:e}:{ok:!1,errors:t};}function f(e){return{ok:!1,errors:[e]};}function h(e,t,r,n){("string"!=typeof e||e.length>n||!s.test(e))&&r.push(`${t} must be a bounded safe identifier`);}function m(e,t,r={}){var _r$minChars;let n=(_r$minChars=r.minChars)!==null&&_r$minChars!==void 0?_r$minChars:1;return"string"==typeof e&&e.length>=n&&e.length<=t&&(0,o.stripUnsafeFormatChars)(e)===e;}function v(e,t,r){let n="string"==typeof e?Date.parse(e):NaN,i="string"!=typeof e||e.includes(".")?e:`${e.slice(0,-1)}.000Z`;("string"!=typeof e||!d.test(e)||Number.isNaN(n)||new Date(n).toISOString()!==i)&&r.push(`${t} must be a strict UTC instant`);}function g(e,t,r){(!Number.isSafeInteger(e)||0>Number(e))&&r.push(`${t} must be a non-negative safe integer`);}e.s(["exactKeys",0,l,"invalid",0,f,"isOneOf",0,c,"isRecord",0,u,"result",0,p,"sseEventKeys",0,function(e){let t=["schemaVersion","cursor","sequence","occurredAt","kind","runId","state","revision","failureCode"];return"runtime-event"===e?[...t,"eventKind","auxiliaryOutcome","contentTrust"]:t;},"validateSafeId",0,h,"validateSseEventFields",0,function(e,t,r,n){var o,s;e.schemaVersion!==a.CODING_WORKBENCH_RUNTIME_CONTRACT_VERSION&&t.push("schemaVersion is invalid"),h(e.cursor,"cursor",t,r),g(e.sequence,"sequence",t),v(e.occurredAt,"occurredAt",t),c(e.kind,n)||t.push("kind is invalid"),h(e.runId,"runId",t,r),c(e.state,a.CODING_WORKBENCH_RUNTIME_STATE_NAMES)||t.push("state is invalid"),g(e.revision,"revision",t),"runtime-event"!==e.kind||c(e.eventKind,i.CODING_WORKBENCH_RUNTIME_EVENT_KINDS)||t.push("eventKind is invalid"),o=e,s=t,void 0===o.auxiliaryOutcome||c(o.auxiliaryOutcome,i.CODING_WORKBENCH_AUXILIARY_STATUSES)||s.push("auxiliaryOutcome is invalid"),function(e,t){if("runtime-event"===e.kind&&"research-performed"===e.eventKind&&"accepted"===e.auxiliaryOutcome){c(e.contentTrust,i.CODING_WORKBENCH_CONTENT_TRUST_VALUES)||t.push("contentTrust is required on an accepted research-performed frame");return;}void 0!==e.contentTrust&&t.push("contentTrust is only admissible on an accepted research-performed frame");}(o,s),void 0===o.failureCode||c(o.failureCode,a.CODING_WORKBENCH_RUNTIME_FAILURE_CODES)||s.push("failureCode is invalid");},"validateStrictUtcInstant",0,v,"validateUntrustedDisplayText",0,m],25952);let b=["user","assistant"],y=["pending","running","succeeded","failed","denied","cancelled"],O=["pending","active","completed","cancelled"];function C(e,t,r,n){let i=n.length;h(e,t,n,128),n.length===i&&"string"==typeof e&&(r.has(e)?n.push(`${t} must be unique`):r.add(e));}function w(e,t,r){if("string"!=typeof e||!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/u.test(e))return void r.push(`${t} must be a strict UTC millisecond instant`);let n=Date.parse(e);(Number.isNaN(n)||new Date(n).toISOString()!==e)&&r.push(`${t} must be a strict UTC millisecond instant`);}function A(e){try{return new TextEncoder().encode(JSON.stringify(e)).length;}catch{return 1/0;}}let N=/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/u,S=/^[a-f0-9]{64}$/u,E="#keiko-app-session=";function _(e){if(!e.startsWith(E))return;let t=e.slice(E.length);try{var r,n,i;let e=JSON.parse(decodeURIComponent(t));return(r=e,u(r)&&0===l(r,["requestId","issuedAtMs","claim"],"attestation").length&&"string"==typeof(n=r.requestId)&&n.length<=128&&N.test(n)&&Number.isSafeInteger(r.issuedAtMs)&&Number(r.issuedAtMs)>=0&&"string"==typeof(i=r.claim)&&i.length<=256&&S.test(i))?e:void 0;}catch{return;}}e.s(["CODING_APP_SESSION_CHANNEL_MAX_UTF8_BYTES",0,65536,"CODING_APP_SESSION_PAIRING_FRAGMENT_PREFIX",0,E,"decodeCodingAppSessionPairingFragment",0,_,"validateCodingAppSessionChannelSnapshot",0,function(e){if(!u(e))return f("channel snapshot must be an object");let t=l(e,["schemaVersion","content"],"channelSnapshot");return"1"!==e.schemaVersion&&t.push("channelSnapshot.schemaVersion is invalid"),null!==e.content&&function(e,t,r){var n,i;if(!u(e))return r.push(`${t} must be an object or null`);if("safe-activity"===e.kind){r.push(...l(e,["kind","feed"],t)),function(e){try{return function(e){var t,r,n;let i;if(!u(e))return f("safe activity feed must be an object");let a=l(e,(t=e.availability,i=["schemaVersion","availability","runId","updatedAt","droppedEventCount"],"available"===t?[...i,"turns","truncated","plan"]:i),"safeActivityFeed");return r=e,n=a,"1"!==r.schemaVersion&&n.push("safeActivityFeed.schemaVersion is invalid"),"available"!==r.availability&&"unavailable"!==r.availability&&n.push("safeActivityFeed.availability is invalid"),h(r.runId,"safeActivityFeed.runId",n,128),w(r.updatedAt,"safeActivityFeed.updatedAt",n),(!Number.isSafeInteger(r.droppedEventCount)||0>Number(r.droppedEventCount)||Number(r.droppedEventCount)>65535)&&n.push("safeActivityFeed.droppedEventCount is invalid"),"available"===e.availability&&function(e,t){var r,n,i,a,s,d;let p,f;if(!Array.isArray(e.turns)||e.turns.length>32)t.push("safeActivityFeed.turns must be a bounded array");else{let r={turns:new Set(),messages:new Set(),tools:new Set()};e.turns.forEach((e,n)=>{var i,a,s,d,p,f,m,v,g,O,N,S,E;let _,I;i=e,a=n,s=r,_=(d=t).length,I=`safeActivityFeed.turns[${String(a)}]`,u(i)?(d.push(...l(i,["turnId","messages","tools","truncated"],I)),C(i.turnId,`${I}.turnId`,s.turns,d),p=i.messages,f=I,m=s.messages,v=d,!Array.isArray(p)||p.length>16?v.push(`${f}.messages must be a bounded array`):p.forEach((e,t)=>{var r,n,i,a,s,d,p,h;let g;r=e,n=`${f}.messages[${String(t)}]`,i=m,g=(a=v).length,u(r)?(a.push(...l(r,["messageId","role","occurredAt","segments","truncated"],n)),C(r.messageId,`${n}.messageId`,i,a),c(r.role,b)||a.push(`${n}.role is invalid`),w(r.occurredAt,`${n}.occurredAt`,a),s=r.segments,d=n,p=a,!Array.isArray(s)||s.length>32?p.push(`${d}.segments must be a bounded array`):s.forEach((e,t)=>{let r=`${d}.segments[${String(t)}]`;u(e)?(p.push(...l(e,["kind","text","truncated"],r)),"text"!==e.kind&&p.push(`${r}.kind is invalid`),"string"!=typeof e.text||e.text.length<1||e.text.length>4096?p.push(`${r}.text must be a bounded non-empty string`):(0,o.stripUnsafeFormatChars)(e.text)!==e.text&&p.push(`${r}.text contains unsafe format characters`),"boolean"!=typeof e.truncated&&p.push(`${r}.truncated must be a boolean`)):p.push(`${r} must be an object`);}),"boolean"!=typeof r.truncated&&a.push(`${n}.truncated must be a boolean`),h=r,Array.isArray(h.segments)&&h.segments.some(e=>u(e)&&!0===e.truncated)&&!0!==r.truncated&&a.push(`${n}.truncated must reflect truncated segments`),a.length===g&&A(r)>16384&&a.push(`${n} exceeds the message UTF-8 byte budget`)):a.push(`${n} must be an object`);}),g=i.tools,O=I,N=s.tools,S=d,!Array.isArray(g)||g.length>64?S.push(`${O}.tools must be a bounded array`):g.forEach((e,t)=>{var r,n,i,a;r=e,n=`${O}.tools[${String(t)}]`,i=N,a=S,u(r)?(a.push(...l(r,["callId","tool","state","occurredAt"],n)),C(r.callId,`${n}.callId`,i,a),h(r.tool,`${n}.tool`,a,128),c(r.state,y)||a.push(`${n}.state is invalid`),w(r.occurredAt,`${n}.occurredAt`,a)):a.push(`${n} must be an object`);}),"boolean"!=typeof i.truncated&&d.push(`${I}.truncated must be a boolean`),E=i,Array.isArray(E.messages)&&E.messages.some(e=>u(e)&&!0===e.truncated)&&!0!==i.truncated&&d.push(`${I}.truncated must reflect truncated messages`),d.length===_&&A(i)>32768&&d.push(`${I} exceeds the turn UTF-8 byte budget`)):d.push(`${I} must be an object`);});}"boolean"!=typeof e.truncated&&t.push("safeActivityFeed.truncated must be a boolean"),"plan"in e&&(r=e.plan,p=(n=t).length,f="safeActivityFeed.plan",u(r)?(n.push(...l(r,["revision","anchorMessageId","updatedAt","steps","truncated"],f)),(!Number.isSafeInteger(r.revision)||1>Number(r.revision))&&n.push(`${f}.revision must be a positive safe integer`),h(r.anchorMessageId,`${f}.anchorMessageId`,n,128),w(r.updatedAt,`${f}.updatedAt`,n),i=r.steps,a=f,s=n,!Array.isArray(i)||i.length>64?s.push(`${a}.steps must be a bounded array`):i.forEach((e,t)=>{var r,n,i;r=e,n=`${a}.steps[${String(t)}]`,i=s,u(r)?(i.push(...l(r,["text","state","truncated"],n)),"string"!=typeof r.text||r.text.length<1||r.text.length>256?i.push(`${n}.text must be a bounded non-empty string`):(0,o.stripUnsafeFormatChars)(r.text)!==r.text&&i.push(`${n}.text contains unsafe format characters`),c(r.state,O)||i.push(`${n}.state is invalid`),"boolean"!=typeof r.truncated&&i.push(`${n}.truncated must be a boolean`)):i.push(`${n} must be an object`);}),"boolean"!=typeof r.truncated&&n.push(`${f}.truncated must be a boolean`),d=r,Array.isArray(d.steps)&&d.steps.some(e=>u(e)&&!0===e.truncated)&&!0!==r.truncated&&n.push(`${f}.truncated must reflect truncated steps`),n.length===p&&A(r)>8192&&n.push(`${f} exceeds the plan UTF-8 byte budget`)):n.push(`${f} must be an object`));}(e,a),0===a.length&&A(e)>61440&&a.push("safeActivityFeed exceeds the aggregate UTF-8 byte budget"),p(e,a);}(e);}catch{return f("safe activity feed validation failed");}}(e.feed).ok||r.push(`${t}.feed is invalid`);return;}r.push(...l(e,["kind","body"],t)),n=e.kind,i=`${t}.kind`,("string"!=typeof n||n.length<1||n.length>64)&&r.push(`${i} must be a bounded non-empty string`),m(e.body,4096)||r.push(`${t}.body must be bounded non-empty display text`);}(e.content,"channelSnapshot.content",t),0===t.length&&function(e){try{return new TextEncoder().encode(JSON.stringify(e)).length;}catch{return 1/0;}}(e)>65536&&t.push("channel snapshot exceeds the aggregate UTF-8 byte budget"),p(e,t);}],56757);var I=e.i(20081),k=e.i(24541),R=e.i(29835),T=e.i(92215);let $={repairSession:!1};function q(){return{readFragment:()=>window.location.hash,stripFragment:()=>{window.history.replaceState(null,"",window.location.pathname+window.location.search);},postPairing:e=>(0,T.bffFetchJson)("/api/coding-workbench/app-session/pair",{method:"POST",cache:"no-store",body:JSON.stringify(e)},$),postLocalSession:e=>(0,T.bffFetchJson)("/api/coding-workbench/app-session/local-session",{method:"POST",cache:"no-store"},{...$,correlationId:e})};}async function D(e=q()){if(void 0===e)return!1;let t=e.readFragment();if(!t.startsWith(E))return!1;e.stripFragment();let r=_(t);if(void 0===r)return!1;try{return await e.postPairing(r),!0;}catch{return!1;}}async function x(e,t){if((e===null||e===void 0?void 0:e.postLocalSession)===void 0)return{repaired:!1,errorKind:"unavailable"};try{return await e.postLocalSession(t),{repaired:!0};}catch(r){let e=(0,T.bffRequestErrorKind)(r);return(0,k.reportClientDiagnostic)(`[keiko] local app session ensure failed: ${(0,R.clientErrorSummary)(r)}`,{correlationId:t,errorKind:e}),{repaired:!1,errorKind:e};}}async function K(e=q()){return(await x(e,(0,I.newClientCorrelationId)())).repaired;}function j(){if(void 0===t){let e=(0,I.newClientCorrelationId)();t=x(q(),e).then(t=>t.repaired?{repaired:!0,correlationId:e}:{repaired:!1,correlationId:e,errorKind:t.errorKind}).finally(()=>{t=void 0;});}return t;}function U(e,t,r){(0,k.reportClientDiagnostic)(`[keiko] ${e} stream session repair: ${r.outcome}`,{correlationId:t,sessionRepairReport:{...r,stream:e}});}async function z(e,t){let r=await j();return U(e,t,r.repaired?{outcome:"repair-acknowledged",repairCorrelationId:r.correlationId}:{outcome:"repair-failed",repairCorrelationId:r.correlationId,errorKind:r.errorKind}),{acknowledged:r.repaired,repairCorrelationId:r.correlationId};}async function F(){let e=await D(),t=await K();return e||t;}function P(){return r!==null&&r!==void 0?r:r=F();}let W=0,H=new Set();function B(e){return H.add(e),()=>{H.delete(e);};}function M(){return W;}function G(){for(let e of(W+=1,H))e();}async function L(e=q()){return await r,!!(await D(e))&&(await K(e),G(),!0);}e.s(["codingAppSessionPairingSettled",0,function(){return P();},"ensureLocalCodingAppSession",0,K,"notifyCodingAppSessionChanged",0,function(){G();},"redeemCodingAppSessionPairingNavigation",0,L,"redeemCodingAppSessionPairingOnBoot",0,P,"repairLocalCodingAppSessionForStream",0,z,"repairLocalCodingAppSessionWithEvidence",0,j,"reportStreamSessionRecovered",0,function(e,t,r){U(e,t,{outcome:"stream-repaired",repairCorrelationId:r});},"useCodingAppSessionRedemptions",0,function(){return(0,n.useSyncExternalStore)(B,M,()=>0);}],58773);}]);