@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.
- package/dist/ui/csp-hashes.json +6 -6
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +10 -10
- package/dist/ui/static/__next._full.txt +12 -12
- package/dist/ui/static/__next._tree.txt +1 -1
- package/dist/ui/static/_next/static/chunks/0fbt5i1tfqbr3.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3pm8eiwwesd47.js → 0ks_l2sa4nfn0.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0nmcnzva3p40l.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3npt49rhl5w41.js → 1r6n6x3-e27ud.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2onl4czrdod2d.js +1 -0
- package/dist/ui/static/_next/static/chunks/2thq7sr8sysu-.js +1 -0
- package/dist/ui/static/_next/static/chunks/351uy__m9eafa.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3tr04kks52pjw.js → 3pfnjbbr6jydb.js} +1 -1
- package/dist/ui/static/_not-found/__next._full.txt +9 -9
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +8 -8
- package/dist/ui/static/_not-found/__next._tree.txt +1 -1
- package/dist/ui/static/_not-found.html +1 -1
- package/dist/ui/static/_not-found.txt +9 -9
- package/dist/ui/static/atlassian-connectors/__next._full.txt +11 -11
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +10 -10
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +11 -11
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +12 -12
- package/dist/ui/static/launch/__next._full.txt +12 -12
- package/dist/ui/static/launch/__next._tree.txt +1 -1
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +10 -10
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +12 -12
- package/dist/ui/static/local-knowledge/__next._full.txt +12 -12
- package/dist/ui/static/local-knowledge/__next._tree.txt +1 -1
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +10 -10
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +12 -12
- package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +10 -10
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +12 -12
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +12 -12
- package/node_modules/@oscharko-dev/keiko-cli/package.json +14 -14
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +5 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +9 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.js +2 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.js +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeStartConfirmation.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeStartConfirmation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts +12 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.js +34 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeGitPreparation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeGitPreparation.js +7 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.js +14 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.js +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +6 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedRepositoryIdentity.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedRepositoryIdentity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedRepositoryIdentity.js +46 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/stack-frames.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/stack-frames.js +24 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +149 -1
- package/node_modules/@oscharko-dev/keiko-server/package.json +22 -22
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
- package/package.json +26 -26
- package/release-impact.catalog.json +105 -0
- package/vendor/{oscharko-dev-keiko-cli-1.1.3.tgz → oscharko-dev-keiko-cli-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.1.3.tgz → oscharko-dev-keiko-connectors-1.1.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.1.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.1.3.tgz → oscharko-dev-keiko-evaluations-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-evidence-1.1.3.tgz → oscharko-dev-keiko-evidence-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.1.3.tgz → oscharko-dev-keiko-git-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.1.3.tgz → oscharko-dev-keiko-harness-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-local-knowledge-1.1.3.tgz → oscharko-dev-keiko-local-knowledge-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.1.3.tgz → oscharko-dev-keiko-memory-capture-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-consolidation-1.1.3.tgz → oscharko-dev-keiko-memory-consolidation-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.1.3.tgz → oscharko-dev-keiko-memory-governance-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.1.3.tgz → oscharko-dev-keiko-memory-retrieval-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.1.3.tgz → oscharko-dev-keiko-memory-vault-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-model-gateway-1.1.3.tgz → oscharko-dev-keiko-model-gateway-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.1.3.tgz → oscharko-dev-keiko-quality-intelligence-1.1.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.1.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.1.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-security-1.1.3.tgz → oscharko-dev-keiko-security-1.1.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-server-1.1.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-tool-catalog-1.1.3.tgz → oscharko-dev-keiko-tool-catalog-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-tools-1.1.3.tgz → oscharko-dev-keiko-tools-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-verification-1.1.3.tgz → oscharko-dev-keiko-verification-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workflows-1.1.3.tgz → oscharko-dev-keiko-workflows-1.1.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workspace-1.1.3.tgz → oscharko-dev-keiko-workspace-1.1.5.tgz} +0 -0
- package/dist/ui/static/_next/static/chunks/02p2_qr2a9511.js +0 -1
- package/dist/ui/static/_next/static/chunks/0bkvv_4vdnwcc.js +0 -1
- package/dist/ui/static/_next/static/chunks/14aztwc0_78th.js +0 -1
- package/dist/ui/static/_next/static/chunks/3x47uozrkxs0n.js +0 -1
- package/dist/ui/static/_next/static/chunks/3xw9gh9d5ngza.js +0 -1
- package/vendor/oscharko-dev-keiko-contracts-1.1.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.1.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.1.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.1.3.tgz +0 -0
- /package/dist/ui/static/_next/static/{I8XgE7OTMPfaqDeyVALyl → IH07azjG4tKvS8qRk-uMI}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{I8XgE7OTMPfaqDeyVALyl → IH07azjG4tKvS8qRk-uMI}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{I8XgE7OTMPfaqDeyVALyl → IH07azjG4tKvS8qRk-uMI}/_ssgManifest.js +0 -0
|
@@ -7,6 +7,7 @@ import { createNativeHistoryCapture } from "./coding-runtime/codingRuntimeHistor
|
|
|
7
7
|
// pass unchanged; the handlers degrade gracefully (no config → 400 NO_MODEL on a run, null config on
|
|
8
8
|
// the inspector; no store → an empty evidence list).
|
|
9
9
|
import { configuredRuntimePromptTokenBudget } from "./coding-runtime/productionRuntimeWorkspaceAuthority.js";
|
|
10
|
+
import { CodingRuntimeLaunchRejectedError } from "./coding-runtime/launchFailure.js";
|
|
10
11
|
import { createDefaultChatCapability, findConfiguredCapability, hasConfiguredEnvModelProvider, loadConfigFromFile, loadEgressConfigFromFile, parseGatewayConfig, resolveCodingSafeSidecarGatewayProfile, resolveOutboundHttpEgressConfig, selectConfiguredModel, Gateway, GatewayError, resolveCostClass, } from "@oscharko-dev/keiko-model-gateway";
|
|
11
12
|
import { GatewayModelPort } from "@oscharko-dev/keiko-harness";
|
|
12
13
|
import { createAuditRedactor, DEFAULT_RETENTION, writeSideFile, deepRedactStrings, createNodeEvidenceStore, persistEvidenceManifest, resolveEvidenceDir, } from "@oscharko-dev/keiko-evidence";
|
|
@@ -2987,13 +2988,16 @@ function runtimeWorkspaceAuthority(args, workspaceLifecycle, managedTaskWorkspac
|
|
|
2987
2988
|
const resolved = resolveCodingSafeSidecarGatewayProfile(config, {
|
|
2988
2989
|
...(modelId === undefined ? {} : { modelId }),
|
|
2989
2990
|
});
|
|
2991
|
+
// #3565 Observation 17: a model the gateway does not admit right now is a typed refusal
|
|
2992
|
+
// that names the sidecar's reason, never a bare Error the orchestrator can only report as
|
|
2993
|
+
// `authority-resolution-failed`.
|
|
2990
2994
|
if (resolved.status !== "available" || config === undefined) {
|
|
2991
|
-
throw new
|
|
2995
|
+
throw new CodingRuntimeLaunchRejectedError("model-unavailable", false, resolved.status === "available" ? "missing-config" : resolved.reason);
|
|
2992
2996
|
}
|
|
2993
2997
|
const capability = findConfiguredCapability(config, resolved.modelAlias);
|
|
2994
2998
|
if (reasoningEffort !== undefined &&
|
|
2995
2999
|
capability?.reasoningEfforts?.includes(reasoningEffort) !== true) {
|
|
2996
|
-
throw new
|
|
3000
|
+
throw new CodingRuntimeLaunchRejectedError("model-unavailable", false, "reasoning-effort-unavailable");
|
|
2997
3001
|
}
|
|
2998
3002
|
return {
|
|
2999
3003
|
profileId: resolved.modelAlias,
|
package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedRepositoryIdentity.d.ts
CHANGED
|
@@ -3,6 +3,14 @@ import type { CodingRuntimeTrustedContext } from "../coding-runtime/runtimeAutho
|
|
|
3
3
|
export type VerifiedRepositoryIdentity = NonNullable<CodingRuntimeTrustedContext["repositoryIdentity"]>;
|
|
4
4
|
/** One origin identity producer for both admission and every subsequent live Git boundary. */
|
|
5
5
|
export declare function readVerifiedRepositoryIdentity(deps: NodeGitWorktreeReaderDeps, localDigest: string, aliases?: readonly string[]): Promise<VerifiedRepositoryIdentity>;
|
|
6
|
+
/**
|
|
7
|
+
* The identity digest of a non-GitHub origin: the remote's scheme, host and path, never its
|
|
8
|
+
* credentials, query or fragment, so the same repository yields the same digest whether the
|
|
9
|
+
* checkout embeds a token in its remote URL or not, and the token itself never feeds a digest.
|
|
10
|
+
* A URL the parser refuses (an scp-like `git@host:path`) is digested as written: without URL
|
|
11
|
+
* syntax there is no query or fragment, so `?` and `#` stay part of the path.
|
|
12
|
+
*/
|
|
13
|
+
export declare function foreignOriginDigest(remoteUrl: string): string;
|
|
6
14
|
/**
|
|
7
15
|
* Resolves the workspace's own live `owner/repo` from its `origin` remote, or `undefined` when no
|
|
8
16
|
* GitHub-shaped origin is configured. Read-only, and — unlike `readVerifiedRepositoryIdentity`
|
package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedRepositoryIdentity.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifiedRepositoryIdentity.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/verifiedRepositoryIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"verifiedRepositoryIdentity.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/verifiedRepositoryIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,iDAAiD,CAAC;AAGzD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAGhG,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAClD,2BAA2B,CAAC,oBAAoB,CAAC,CAClD,CAAC;AAEF,8FAA8F;AAC9F,wBAAsB,8BAA8B,CAClD,IAAI,EAAE,yBAAyB,EAC/B,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,GAC1B,OAAO,CAAC,0BAA0B,CAAC,CAcrC;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAU7D;AAoBD;;;;;;;GAOG;AACH,wBAAsB,8BAA8B,CAClD,IAAI,EAAE,yBAAyB,GAC9B,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAI7B"}
|
package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedRepositoryIdentity.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { readGitRemoteAliases, readGitRemoteUrl, } from "@oscharko-dev/keiko-tools/internal/git-mutation";
|
|
2
|
+
import { sha256Hex } from "@oscharko-dev/keiko-security";
|
|
2
3
|
import { codingWorkbenchRemoteDigest } from "../coding-context/githubIssueResolution.js";
|
|
3
4
|
import { githubOwnerAndRepoFromRemoteUrl } from "./branchProtectionPreflight.js";
|
|
4
5
|
/** One origin identity producer for both admission and every subsequent live Git boundary. */
|
|
@@ -6,10 +7,51 @@ export async function readVerifiedRepositoryIdentity(deps, localDigest, aliases)
|
|
|
6
7
|
const configured = aliases ?? (await readGitRemoteAliases(deps));
|
|
7
8
|
if (!configured.includes("origin"))
|
|
8
9
|
return { kind: "local", digest: localDigest };
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
const remoteUrl = await readGitRemoteUrl(deps, "origin");
|
|
11
|
+
const remote = githubOwnerAndRepoFromRemoteUrl(remoteUrl);
|
|
12
|
+
if (remote !== undefined) {
|
|
13
|
+
return { kind: "github-origin", digest: codingWorkbenchRemoteDigest(remote) };
|
|
14
|
+
}
|
|
15
|
+
// #3565 Observation 18: an `origin` on any other host — a customer's own Git server — is a
|
|
16
|
+
// repository the Workbench can run in. It carries no GitHub identity, so issue binding and
|
|
17
|
+
// GitHub delivery stay unavailable, but a local coding run must start. This used to throw
|
|
18
|
+
// `verified-commit-remote-unsupported`, and every customer whose code is not on github.com saw
|
|
19
|
+
// the generic authority failure on their first run.
|
|
20
|
+
return { kind: "foreign-origin", digest: foreignOriginDigest(remoteUrl) };
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The identity digest of a non-GitHub origin: the remote's scheme, host and path, never its
|
|
24
|
+
* credentials, query or fragment, so the same repository yields the same digest whether the
|
|
25
|
+
* checkout embeds a token in its remote URL or not, and the token itself never feeds a digest.
|
|
26
|
+
* A URL the parser refuses (an scp-like `git@host:path`) is digested as written: without URL
|
|
27
|
+
* syntax there is no query or fragment, so `?` and `#` stay part of the path.
|
|
28
|
+
*/
|
|
29
|
+
export function foreignOriginDigest(remoteUrl) {
|
|
30
|
+
const trimmed = remoteUrl.trim();
|
|
31
|
+
if (URL.canParse(trimmed)) {
|
|
32
|
+
const parsed = new URL(trimmed);
|
|
33
|
+
return sha256Hex(`origin/${parsed.protocol}//${parsed.host}${parsed.pathname}`);
|
|
34
|
+
}
|
|
35
|
+
// Not a URL the WHATWG parser accepts: an scp-like `git@host:path`, or a malformed URL such as
|
|
36
|
+
// one with an invalid port. Credentials, query and fragment are stripped by hand so a malformed
|
|
37
|
+
// remote can never smuggle a token into the digest either.
|
|
38
|
+
return sha256Hex(`origin/${withoutCredentialsQueryAndFragment(trimmed)}`);
|
|
39
|
+
}
|
|
40
|
+
function withoutCredentialsQueryAndFragment(remote) {
|
|
41
|
+
const cut = remote.search(/[?#]/u);
|
|
42
|
+
const withoutQuery = cut < 0 ? remote : remote.slice(0, cut);
|
|
43
|
+
const schemeEnd = withoutQuery.indexOf("://");
|
|
44
|
+
// No scheme before the first `?`/`#`: an scp-like remote, where both are path characters.
|
|
45
|
+
if (schemeEnd < 0)
|
|
46
|
+
return remote;
|
|
47
|
+
const authorityStart = schemeEnd + 3;
|
|
48
|
+
const authorityEnd = withoutQuery.indexOf("/", authorityStart);
|
|
49
|
+
const authority = withoutQuery.slice(authorityStart, authorityEnd < 0 ? withoutQuery.length : authorityEnd);
|
|
50
|
+
const at = authority.lastIndexOf("@");
|
|
51
|
+
if (at < 0)
|
|
52
|
+
return withoutQuery;
|
|
53
|
+
const rest = authorityEnd < 0 ? "" : withoutQuery.slice(authorityEnd);
|
|
54
|
+
return `${withoutQuery.slice(0, authorityStart)}${authority.slice(at + 1)}${rest}`;
|
|
13
55
|
}
|
|
14
56
|
/**
|
|
15
57
|
* Resolves the workspace's own live `owner/repo` from its `origin` remote, or `undefined` when no
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack-frames.d.ts","sourceRoot":"","sources":["../../src/observability/stack-frames.ts"],"names":[],"mappings":"AA2DA,eAAO,MAAM,iBAAiB,EAAE,WAAW,CAAC,MAAM,CA2BhD,CAAC;AASH,eAAO,MAAM,mBAAmB,QAC+F,CAAC;
|
|
1
|
+
{"version":3,"file":"stack-frames.d.ts","sourceRoot":"","sources":["../../src/observability/stack-frames.ts"],"names":[],"mappings":"AA2DA,eAAO,MAAM,iBAAiB,EAAE,WAAW,CAAC,MAAM,CA2BhD,CAAC;AASH,eAAO,MAAM,mBAAmB,QAC+F,CAAC;AAyKhI,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,SAAI,GAAG,SAAS,MAAM,EAAE,CAQjF;AAOD,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,SAAI,GAAG,SAAS,MAAM,EAAE,CAc1E"}
|
|
@@ -177,15 +177,32 @@ function validatedRelative(relative) {
|
|
|
177
177
|
// Scans every `/packages/<name>/(dist|src)/` occurrence and keeps the LAST one whose captured
|
|
178
178
|
// name is an actual workspace package — an occurrence naming an unknown directory does not count
|
|
179
179
|
// as an anchor at all, so it can never shadow a real one further left in the path.
|
|
180
|
+
//
|
|
181
|
+
// #3565 Observation 17: an INSTALLED build (npm or Yarn) carries the same packages under the
|
|
182
|
+
// published scope — `node_modules/@oscharko-dev/<pkg>/dist/` — and no `packages/` directory at
|
|
183
|
+
// all, so every customer log carried `frameCount: 0` and the defect could not be located. Both
|
|
184
|
+
// layouts anchor to the same `packages/<pkg>/<kind>` form; a foreign `node_modules` frame is still
|
|
185
|
+
// dropped because its scope is not Keiko's.
|
|
186
|
+
const WORKSPACE_PACKAGE_ANCHOR_PATTERNS = [
|
|
187
|
+
/\/packages\/([a-z0-9-]+)\/(dist|src)\//g,
|
|
188
|
+
/\/node_modules\/@oscharko-dev\/([a-z0-9-]+)\/(dist|src)\//g,
|
|
189
|
+
];
|
|
180
190
|
function lastWorkspacePackageAnchor(path) {
|
|
181
|
-
const pattern = /\/packages\/([a-z0-9-]+)\/(dist|src)\//g;
|
|
182
|
-
let match;
|
|
183
191
|
let found;
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
const
|
|
187
|
-
|
|
188
|
-
|
|
192
|
+
let foundAt = -1;
|
|
193
|
+
for (const source of WORKSPACE_PACKAGE_ANCHOR_PATTERNS) {
|
|
194
|
+
const pattern = new RegExp(source.source, "g");
|
|
195
|
+
let match;
|
|
196
|
+
while ((match = pattern.exec(path)) !== null) {
|
|
197
|
+
const pkg = match[1];
|
|
198
|
+
const kind = match[2];
|
|
199
|
+
if (pkg !== undefined &&
|
|
200
|
+
kind !== undefined &&
|
|
201
|
+
PACKAGE_DIR_NAMES.has(pkg) &&
|
|
202
|
+
match.index > foundAt) {
|
|
203
|
+
found = { prefix: `packages/${pkg}/${kind}`, relativeStart: match.index + match[0].length };
|
|
204
|
+
foundAt = match.index;
|
|
205
|
+
}
|
|
189
206
|
}
|
|
190
207
|
}
|
|
191
208
|
return found;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DatabaseSync } from "node:sqlite";
|
|
2
2
|
import type { ServerLogSink } from "../observability/index.js";
|
|
3
|
-
export declare const SCHEMA_VERSION =
|
|
3
|
+
export declare const SCHEMA_VERSION = 37;
|
|
4
4
|
interface Migration {
|
|
5
5
|
readonly version: number;
|
|
6
6
|
readonly sql: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/store/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAO/D,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC,UAAU,SAAS;IACjB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,YAAY,EAAE,WAAW,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;CAC1E;AAED,qBAAa,yBAA0B,SAAQ,KAAK;IAClD,SAAgB,IAAI,EAAG,uBAAuB,CAAU;IAExD,YAAmB,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAOnD;CACF;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/store/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAO/D,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC,UAAU,SAAS;IACjB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,YAAY,EAAE,WAAW,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;CAC1E;AAED,qBAAa,yBAA0B,SAAQ,KAAK;IAClD,SAAgB,IAAI,EAAG,uBAAuB,CAAU;IAExD,YAAmB,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAOnD;CACF;AAg2CD,eAAO,MAAM,UAAU,EAAE,SAAS,SAAS,EAsC1C,CAAC;AAaF,wBAAgB,aAAa,CAAC,EAAE,EAAE,YAAY,EAAE,WAAW,CAAC,EAAE,aAAa,GAAG,IAAI,CAsCjF"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// runner applies migrations whose 1-based index > current user_version.
|
|
4
4
|
import { migrateJourneyOutcomeProjection } from "./journeyOutcomeMigration.js";
|
|
5
5
|
import { migrateLegacyProjectManifests, migrateWorkspaceRootObjectIdentities, } from "./workspaceManifests.js";
|
|
6
|
-
export const SCHEMA_VERSION =
|
|
6
|
+
export const SCHEMA_VERSION = 37;
|
|
7
7
|
export class UiStoreSchemaVersionError extends Error {
|
|
8
8
|
code = "UI_STORE_SCHEMA_NEWER";
|
|
9
9
|
constructor(actual, supported) {
|
|
@@ -1199,6 +1199,153 @@ const V36_SQL = `
|
|
|
1199
1199
|
ALTER TABLE coding_runtime_snapshots ADD COLUMN issue_purpose TEXT NOT NULL DEFAULT 'delivery'
|
|
1200
1200
|
CHECK (issue_purpose IN ('context', 'delivery'));
|
|
1201
1201
|
`;
|
|
1202
|
+
// V37 (#3565 Observation 17): admits `model-unavailable` and `workspace-unqualified`, the codes a
|
|
1203
|
+
// refused run start answers with instead of the generic `authority-resolution-failed`. A refused
|
|
1204
|
+
// start never persists a snapshot, but the contract admits the literals and the co-located
|
|
1205
|
+
// `codingRuntimeSnapshotStore` round-trip over `CODING_WORKBENCH_RUNTIME_FAILURE_CODES` pins that
|
|
1206
|
+
// the CHECK admits every one of them; it was red on the two added literals before this migration.
|
|
1207
|
+
//
|
|
1208
|
+
// Mechanically identical to V33: SQLite cannot ALTER a table-level CHECK, so the table is rebuilt
|
|
1209
|
+
// with its current shape — the V33 columns plus V34 `pause_reason` and V36 `issue_purpose`, whose
|
|
1210
|
+
// own CHECKs are carried over unchanged. No column is added or removed, so this needs no
|
|
1211
|
+
// `legacySchemaTestFixture.ts` rollback fragment, and no sibling table is touched.
|
|
1212
|
+
const V37_SQL = `
|
|
1213
|
+
CREATE TABLE coding_runtime_snapshots_v37 (
|
|
1214
|
+
run_id TEXT NOT NULL PRIMARY KEY,
|
|
1215
|
+
schema_version TEXT NOT NULL,
|
|
1216
|
+
state TEXT NOT NULL,
|
|
1217
|
+
revision INTEGER NOT NULL,
|
|
1218
|
+
requested_mode TEXT NOT NULL,
|
|
1219
|
+
runtime_source TEXT NOT NULL,
|
|
1220
|
+
model_source TEXT NOT NULL,
|
|
1221
|
+
failure_code TEXT,
|
|
1222
|
+
created_at TEXT NOT NULL,
|
|
1223
|
+
updated_at TEXT NOT NULL,
|
|
1224
|
+
terminal_at TEXT,
|
|
1225
|
+
recovery_acknowledged_at TEXT,
|
|
1226
|
+
predecessor_run_id TEXT,
|
|
1227
|
+
task_digest TEXT NOT NULL,
|
|
1228
|
+
workspace_digest TEXT NOT NULL,
|
|
1229
|
+
operator_digest TEXT NOT NULL,
|
|
1230
|
+
authority_digest TEXT NOT NULL,
|
|
1231
|
+
binding_digest TEXT NOT NULL,
|
|
1232
|
+
provenance_digest TEXT NOT NULL,
|
|
1233
|
+
tool_call_count INTEGER NOT NULL DEFAULT 0,
|
|
1234
|
+
patch_byte_count INTEGER NOT NULL DEFAULT 0,
|
|
1235
|
+
model_request_count INTEGER NOT NULL DEFAULT 0,
|
|
1236
|
+
recovery_handle TEXT,
|
|
1237
|
+
result_status TEXT
|
|
1238
|
+
CHECK (result_status IS NULL OR result_status IN ('cancelled','failed','signalled','succeeded')),
|
|
1239
|
+
exit_code INTEGER
|
|
1240
|
+
CHECK (exit_code IS NULL OR exit_code BETWEEN 0 AND 255),
|
|
1241
|
+
stdout_byte_count INTEGER
|
|
1242
|
+
CHECK (stdout_byte_count IS NULL OR stdout_byte_count BETWEEN 0 AND 1073741824),
|
|
1243
|
+
stdout_line_count INTEGER
|
|
1244
|
+
CHECK (stdout_line_count IS NULL OR stdout_line_count BETWEEN 0 AND 1000000),
|
|
1245
|
+
stdout_sha256 TEXT
|
|
1246
|
+
CHECK (stdout_sha256 IS NULL OR length(stdout_sha256) = 64),
|
|
1247
|
+
stdout_truncated INTEGER
|
|
1248
|
+
CHECK (stdout_truncated IS NULL OR stdout_truncated IN (0,1)),
|
|
1249
|
+
stderr_byte_count INTEGER
|
|
1250
|
+
CHECK (stderr_byte_count IS NULL OR stderr_byte_count BETWEEN 0 AND 1073741824),
|
|
1251
|
+
stderr_line_count INTEGER
|
|
1252
|
+
CHECK (stderr_line_count IS NULL OR stderr_line_count BETWEEN 0 AND 1000000),
|
|
1253
|
+
stderr_sha256 TEXT
|
|
1254
|
+
CHECK (stderr_sha256 IS NULL OR length(stderr_sha256) = 64),
|
|
1255
|
+
stderr_truncated INTEGER
|
|
1256
|
+
CHECK (stderr_truncated IS NULL OR stderr_truncated IN (0,1)),
|
|
1257
|
+
issue_repository_id TEXT
|
|
1258
|
+
CHECK (issue_repository_id IS NULL OR length(issue_repository_id) BETWEEN 1 AND 128),
|
|
1259
|
+
issue_remote_digest TEXT
|
|
1260
|
+
CHECK (issue_remote_digest IS NULL OR length(issue_remote_digest) = 64),
|
|
1261
|
+
issue_number INTEGER
|
|
1262
|
+
CHECK (issue_number IS NULL OR issue_number BETWEEN 1 AND 1000000000),
|
|
1263
|
+
issue_id_digest TEXT
|
|
1264
|
+
CHECK (issue_id_digest IS NULL OR length(issue_id_digest) = 64),
|
|
1265
|
+
issue_default_base_ref TEXT
|
|
1266
|
+
CHECK (issue_default_base_ref IS NULL OR length(issue_default_base_ref) BETWEEN 1 AND 255),
|
|
1267
|
+
issue_content_revision_digest TEXT
|
|
1268
|
+
CHECK (issue_content_revision_digest IS NULL OR length(issue_content_revision_digest) = 64),
|
|
1269
|
+
issue_binding_digest TEXT
|
|
1270
|
+
CHECK (issue_binding_digest IS NULL OR length(issue_binding_digest) = 64),
|
|
1271
|
+
verified_commit_result TEXT
|
|
1272
|
+
CHECK (verified_commit_result IS NULL OR (length(verified_commit_result) <= 8192 AND json_valid(verified_commit_result))),
|
|
1273
|
+
draft_delivery_record TEXT
|
|
1274
|
+
CHECK (draft_delivery_record IS NULL OR (length(draft_delivery_record) <= 8192 AND json_valid(draft_delivery_record))),
|
|
1275
|
+
draft_delivery_source_receipt TEXT
|
|
1276
|
+
CHECK (draft_delivery_source_receipt IS NULL OR (length(draft_delivery_source_receipt) <= 8192 AND json_valid(draft_delivery_source_receipt))),
|
|
1277
|
+
last_successful_verified_commit TEXT
|
|
1278
|
+
CHECK (last_successful_verified_commit IS NULL OR (length(last_successful_verified_commit) <= 8192 AND json_valid(last_successful_verified_commit))),
|
|
1279
|
+
ci_observation_revision INTEGER NOT NULL DEFAULT 0
|
|
1280
|
+
CHECK (ci_observation_revision BETWEEN 0 AND 1000000),
|
|
1281
|
+
ci_readiness_record TEXT
|
|
1282
|
+
CHECK (ci_readiness_record IS NULL OR (length(ci_readiness_record) <= 8192 AND json_valid(ci_readiness_record))),
|
|
1283
|
+
pause_reason TEXT
|
|
1284
|
+
CHECK (pause_reason IS NULL OR pause_reason IN ('workspace-script-trust')),
|
|
1285
|
+
issue_purpose TEXT NOT NULL DEFAULT 'delivery'
|
|
1286
|
+
CHECK (issue_purpose IN ('context', 'delivery')),
|
|
1287
|
+
CHECK (
|
|
1288
|
+
schema_version = '1'
|
|
1289
|
+
AND state IN ('starting','ready','running','paused','awaiting-approval','stopping','succeeded','failed','cancelled','taken-over','recovery-required')
|
|
1290
|
+
AND requested_mode IN ('governed-assist','supervised-coding','autonomous-delivery')
|
|
1291
|
+
AND runtime_source IN ('keiko-sidecar','codex-cli-adapter','delivery-runner')
|
|
1292
|
+
AND model_source IN ('keiko-model-gateway','openai-api-key-through-gateway','chatgpt-codex-subscription-profile')
|
|
1293
|
+
AND (failure_code IS NULL OR failure_code IN ('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','model-unavailable','workspace-unqualified'))
|
|
1294
|
+
AND revision >= 0
|
|
1295
|
+
AND tool_call_count BETWEEN 0 AND 1000000
|
|
1296
|
+
AND patch_byte_count BETWEEN 0 AND 1073741824
|
|
1297
|
+
AND model_request_count BETWEEN 0 AND 1000000
|
|
1298
|
+
AND length(run_id) BETWEEN 1 AND 128
|
|
1299
|
+
AND length(task_digest) BETWEEN 1 AND 128
|
|
1300
|
+
AND length(workspace_digest) BETWEEN 1 AND 128
|
|
1301
|
+
AND length(operator_digest) BETWEEN 1 AND 128
|
|
1302
|
+
AND length(authority_digest) BETWEEN 1 AND 128
|
|
1303
|
+
AND length(binding_digest) BETWEEN 1 AND 128
|
|
1304
|
+
AND length(provenance_digest) BETWEEN 1 AND 128
|
|
1305
|
+
AND (recovery_handle IS NULL OR length(recovery_handle) BETWEEN 1 AND 128)
|
|
1306
|
+
)
|
|
1307
|
+
) STRICT;
|
|
1308
|
+
|
|
1309
|
+
INSERT INTO coding_runtime_snapshots_v37 (
|
|
1310
|
+
run_id, schema_version, state, revision, requested_mode, runtime_source, model_source,
|
|
1311
|
+
failure_code, created_at, updated_at, terminal_at, recovery_acknowledged_at,
|
|
1312
|
+
predecessor_run_id, task_digest, workspace_digest, operator_digest, authority_digest,
|
|
1313
|
+
binding_digest, provenance_digest, tool_call_count, patch_byte_count, model_request_count,
|
|
1314
|
+
recovery_handle, result_status, exit_code, stdout_byte_count, stdout_line_count,
|
|
1315
|
+
stdout_sha256, stdout_truncated, stderr_byte_count, stderr_line_count, stderr_sha256,
|
|
1316
|
+
stderr_truncated, issue_repository_id, issue_remote_digest, issue_number, issue_id_digest,
|
|
1317
|
+
issue_default_base_ref, issue_content_revision_digest, issue_binding_digest,
|
|
1318
|
+
verified_commit_result, draft_delivery_record, draft_delivery_source_receipt,
|
|
1319
|
+
last_successful_verified_commit, ci_observation_revision, ci_readiness_record,
|
|
1320
|
+
pause_reason, issue_purpose
|
|
1321
|
+
)
|
|
1322
|
+
SELECT
|
|
1323
|
+
run_id, schema_version, state, revision, requested_mode, runtime_source, model_source,
|
|
1324
|
+
failure_code, created_at, updated_at, terminal_at, recovery_acknowledged_at,
|
|
1325
|
+
predecessor_run_id, task_digest, workspace_digest, operator_digest, authority_digest,
|
|
1326
|
+
binding_digest, provenance_digest, tool_call_count, patch_byte_count, model_request_count,
|
|
1327
|
+
recovery_handle, result_status, exit_code, stdout_byte_count, stdout_line_count,
|
|
1328
|
+
stdout_sha256, stdout_truncated, stderr_byte_count, stderr_line_count, stderr_sha256,
|
|
1329
|
+
stderr_truncated, issue_repository_id, issue_remote_digest, issue_number, issue_id_digest,
|
|
1330
|
+
issue_default_base_ref, issue_content_revision_digest, issue_binding_digest,
|
|
1331
|
+
verified_commit_result, draft_delivery_record, draft_delivery_source_receipt,
|
|
1332
|
+
last_successful_verified_commit, ci_observation_revision, ci_readiness_record,
|
|
1333
|
+
pause_reason, issue_purpose
|
|
1334
|
+
FROM coding_runtime_snapshots;
|
|
1335
|
+
|
|
1336
|
+
DROP TABLE coding_runtime_snapshots;
|
|
1337
|
+
|
|
1338
|
+
ALTER TABLE coding_runtime_snapshots_v37 RENAME TO coding_runtime_snapshots;
|
|
1339
|
+
|
|
1340
|
+
CREATE UNIQUE INDEX uniq_coding_runtime_active_slot
|
|
1341
|
+
ON coding_runtime_snapshots((1))
|
|
1342
|
+
WHERE terminal_at IS NULL;
|
|
1343
|
+
CREATE INDEX idx_coding_runtime_recent_active
|
|
1344
|
+
ON coding_runtime_snapshots(terminal_at, updated_at DESC, run_id);
|
|
1345
|
+
CREATE INDEX idx_coding_runtime_settled_oldest
|
|
1346
|
+
ON coding_runtime_snapshots(terminal_at, updated_at, run_id)
|
|
1347
|
+
WHERE terminal_at IS NOT NULL;
|
|
1348
|
+
`;
|
|
1202
1349
|
// KEIKO-0573: exported so a co-located test can assert strict ascending version order across the
|
|
1203
1350
|
// array. Not re-exported through packages/keiko-server/src/store/index.ts, so no packaged surface
|
|
1204
1351
|
// change.
|
|
@@ -1239,6 +1386,7 @@ export const MIGRATIONS = [
|
|
|
1239
1386
|
{ version: 34, sql: V34_SQL },
|
|
1240
1387
|
{ version: 35, sql: V35_SQL },
|
|
1241
1388
|
{ version: 36, sql: V36_SQL },
|
|
1389
|
+
{ version: 37, sql: V37_SQL },
|
|
1242
1390
|
];
|
|
1243
1391
|
function currentUserVersion(db) {
|
|
1244
1392
|
const row = db.prepare("PRAGMA user_version").get();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oscharko-dev/keiko-server",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
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.
|
|
59
|
-
"@oscharko-dev/keiko-contracts": "1.1.
|
|
60
|
-
"@oscharko-dev/keiko-evidence": "1.1.
|
|
61
|
-
"@oscharko-dev/keiko-git": "1.1.
|
|
62
|
-
"@oscharko-dev/keiko-harness": "1.1.
|
|
63
|
-
"@oscharko-dev/keiko-local-knowledge": "1.1.
|
|
64
|
-
"@oscharko-dev/keiko-memory-capture": "1.1.
|
|
65
|
-
"@oscharko-dev/keiko-memory-consolidation": "1.1.
|
|
66
|
-
"@oscharko-dev/keiko-memory-governance": "1.1.
|
|
67
|
-
"@oscharko-dev/keiko-memory-retrieval": "1.1.
|
|
68
|
-
"@oscharko-dev/keiko-memory-vault": "1.1.
|
|
69
|
-
"@oscharko-dev/keiko-model-gateway": "1.1.
|
|
70
|
-
"@oscharko-dev/keiko-quality-intelligence": "1.1.
|
|
71
|
-
"@oscharko-dev/keiko-sandbox": "1.1.
|
|
72
|
-
"@oscharko-dev/keiko-sdk": "1.1.
|
|
73
|
-
"@oscharko-dev/keiko-security": "1.1.
|
|
74
|
-
"@oscharko-dev/keiko-tool-catalog": "1.1.
|
|
75
|
-
"@oscharko-dev/keiko-tools": "1.1.
|
|
76
|
-
"@oscharko-dev/keiko-verification": "1.1.
|
|
77
|
-
"@oscharko-dev/keiko-workflows": "1.1.
|
|
78
|
-
"@oscharko-dev/keiko-workspace": "1.1.
|
|
58
|
+
"@oscharko-dev/keiko-connectors": "1.1.5",
|
|
59
|
+
"@oscharko-dev/keiko-contracts": "1.1.5",
|
|
60
|
+
"@oscharko-dev/keiko-evidence": "1.1.5",
|
|
61
|
+
"@oscharko-dev/keiko-git": "1.1.5",
|
|
62
|
+
"@oscharko-dev/keiko-harness": "1.1.5",
|
|
63
|
+
"@oscharko-dev/keiko-local-knowledge": "1.1.5",
|
|
64
|
+
"@oscharko-dev/keiko-memory-capture": "1.1.5",
|
|
65
|
+
"@oscharko-dev/keiko-memory-consolidation": "1.1.5",
|
|
66
|
+
"@oscharko-dev/keiko-memory-governance": "1.1.5",
|
|
67
|
+
"@oscharko-dev/keiko-memory-retrieval": "1.1.5",
|
|
68
|
+
"@oscharko-dev/keiko-memory-vault": "1.1.5",
|
|
69
|
+
"@oscharko-dev/keiko-model-gateway": "1.1.5",
|
|
70
|
+
"@oscharko-dev/keiko-quality-intelligence": "1.1.5",
|
|
71
|
+
"@oscharko-dev/keiko-sandbox": "1.1.5",
|
|
72
|
+
"@oscharko-dev/keiko-sdk": "1.1.5",
|
|
73
|
+
"@oscharko-dev/keiko-security": "1.1.5",
|
|
74
|
+
"@oscharko-dev/keiko-tool-catalog": "1.1.5",
|
|
75
|
+
"@oscharko-dev/keiko-tools": "1.1.5",
|
|
76
|
+
"@oscharko-dev/keiko-verification": "1.1.5",
|
|
77
|
+
"@oscharko-dev/keiko-workflows": "1.1.5",
|
|
78
|
+
"@oscharko-dev/keiko-workspace": "1.1.5"
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oscharko-dev/keiko-tool-catalog",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
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.
|
|
25
|
-
"@oscharko-dev/keiko-security": "1.1.
|
|
24
|
+
"@oscharko-dev/keiko-contracts": "1.1.5",
|
|
25
|
+
"@oscharko-dev/keiko-security": "1.1.5"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const KEIKO_TOOLS_VERSION: "1.1.
|
|
1
|
+
export declare const KEIKO_TOOLS_VERSION: "1.1.5";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oscharko-dev/keiko-tools",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
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.
|
|
44
|
-
"@oscharko-dev/keiko-git": "1.1.
|
|
45
|
-
"@oscharko-dev/keiko-sandbox": "1.1.
|
|
46
|
-
"@oscharko-dev/keiko-security": "1.1.
|
|
47
|
-
"@oscharko-dev/keiko-workspace": "1.1.
|
|
48
|
-
"@oscharko-dev/keiko-tool-catalog": "1.1.
|
|
43
|
+
"@oscharko-dev/keiko-contracts": "1.1.5",
|
|
44
|
+
"@oscharko-dev/keiko-git": "1.1.5",
|
|
45
|
+
"@oscharko-dev/keiko-sandbox": "1.1.5",
|
|
46
|
+
"@oscharko-dev/keiko-security": "1.1.5",
|
|
47
|
+
"@oscharko-dev/keiko-workspace": "1.1.5",
|
|
48
|
+
"@oscharko-dev/keiko-tool-catalog": "1.1.5"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oscharko-dev/keiko-verification",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
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.
|
|
25
|
-
"@oscharko-dev/keiko-security": "1.1.
|
|
26
|
-
"@oscharko-dev/keiko-tools": "1.1.
|
|
27
|
-
"@oscharko-dev/keiko-workspace": "1.1.
|
|
24
|
+
"@oscharko-dev/keiko-contracts": "1.1.5",
|
|
25
|
+
"@oscharko-dev/keiko-security": "1.1.5",
|
|
26
|
+
"@oscharko-dev/keiko-tools": "1.1.5",
|
|
27
|
+
"@oscharko-dev/keiko-workspace": "1.1.5"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oscharko-dev/keiko-workflows",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
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.
|
|
29
|
-
"@oscharko-dev/keiko-security": "1.1.
|
|
30
|
-
"@oscharko-dev/keiko-model-gateway": "1.1.
|
|
31
|
-
"@oscharko-dev/keiko-workspace": "1.1.
|
|
32
|
-
"@oscharko-dev/keiko-tools": "1.1.
|
|
33
|
-
"@oscharko-dev/keiko-evidence": "1.1.
|
|
34
|
-
"@oscharko-dev/keiko-verification": "1.1.
|
|
35
|
-
"@oscharko-dev/keiko-harness": "1.1.
|
|
36
|
-
"@oscharko-dev/keiko-quality-intelligence": "1.1.
|
|
28
|
+
"@oscharko-dev/keiko-contracts": "1.1.5",
|
|
29
|
+
"@oscharko-dev/keiko-security": "1.1.5",
|
|
30
|
+
"@oscharko-dev/keiko-model-gateway": "1.1.5",
|
|
31
|
+
"@oscharko-dev/keiko-workspace": "1.1.5",
|
|
32
|
+
"@oscharko-dev/keiko-tools": "1.1.5",
|
|
33
|
+
"@oscharko-dev/keiko-evidence": "1.1.5",
|
|
34
|
+
"@oscharko-dev/keiko-verification": "1.1.5",
|
|
35
|
+
"@oscharko-dev/keiko-harness": "1.1.5",
|
|
36
|
+
"@oscharko-dev/keiko-quality-intelligence": "1.1.5"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const KEIKO_WORKSPACE_VERSION: "1.1.
|
|
1
|
+
export declare const KEIKO_WORKSPACE_VERSION: "1.1.5";
|
|
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.
|
|
4
|
+
export const KEIKO_WORKSPACE_VERSION = "1.1.5";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oscharko-dev/keiko-workspace",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
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.
|
|
72
|
-
"@oscharko-dev/keiko-security": "1.1.
|
|
71
|
+
"@oscharko-dev/keiko-contracts": "1.1.5",
|
|
72
|
+
"@oscharko-dev/keiko-security": "1.1.5"
|
|
73
73
|
}
|
|
74
74
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oscharko-dev/keiko",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
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.
|
|
289
|
+
"@oscharko-dev/keiko-editor": "1.1.5",
|
|
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.
|
|
317
|
-
"@oscharko-dev/keiko-connectors": "file:vendor/oscharko-dev-keiko-connectors-1.1.
|
|
318
|
-
"@oscharko-dev/keiko-contracts": "file:vendor/oscharko-dev-keiko-contracts-1.1.
|
|
319
|
-
"@oscharko-dev/keiko-evaluations": "file:vendor/oscharko-dev-keiko-evaluations-1.1.
|
|
320
|
-
"@oscharko-dev/keiko-evidence": "file:vendor/oscharko-dev-keiko-evidence-1.1.
|
|
321
|
-
"@oscharko-dev/keiko-git": "file:vendor/oscharko-dev-keiko-git-1.1.
|
|
322
|
-
"@oscharko-dev/keiko-harness": "file:vendor/oscharko-dev-keiko-harness-1.1.
|
|
323
|
-
"@oscharko-dev/keiko-local-knowledge": "file:vendor/oscharko-dev-keiko-local-knowledge-1.1.
|
|
324
|
-
"@oscharko-dev/keiko-memory-capture": "file:vendor/oscharko-dev-keiko-memory-capture-1.1.
|
|
325
|
-
"@oscharko-dev/keiko-memory-consolidation": "file:vendor/oscharko-dev-keiko-memory-consolidation-1.1.
|
|
326
|
-
"@oscharko-dev/keiko-memory-governance": "file:vendor/oscharko-dev-keiko-memory-governance-1.1.
|
|
327
|
-
"@oscharko-dev/keiko-memory-retrieval": "file:vendor/oscharko-dev-keiko-memory-retrieval-1.1.
|
|
328
|
-
"@oscharko-dev/keiko-memory-vault": "file:vendor/oscharko-dev-keiko-memory-vault-1.1.
|
|
329
|
-
"@oscharko-dev/keiko-model-gateway": "file:vendor/oscharko-dev-keiko-model-gateway-1.1.
|
|
330
|
-
"@oscharko-dev/keiko-quality-intelligence": "file:vendor/oscharko-dev-keiko-quality-intelligence-1.1.
|
|
331
|
-
"@oscharko-dev/keiko-sandbox": "file:vendor/oscharko-dev-keiko-sandbox-1.1.
|
|
332
|
-
"@oscharko-dev/keiko-sdk": "file:vendor/oscharko-dev-keiko-sdk-1.1.
|
|
333
|
-
"@oscharko-dev/keiko-security": "file:vendor/oscharko-dev-keiko-security-1.1.
|
|
334
|
-
"@oscharko-dev/keiko-server": "file:vendor/oscharko-dev-keiko-server-1.1.
|
|
335
|
-
"@oscharko-dev/keiko-tool-catalog": "file:vendor/oscharko-dev-keiko-tool-catalog-1.1.
|
|
336
|
-
"@oscharko-dev/keiko-tools": "file:vendor/oscharko-dev-keiko-tools-1.1.
|
|
337
|
-
"@oscharko-dev/keiko-verification": "file:vendor/oscharko-dev-keiko-verification-1.1.
|
|
338
|
-
"@oscharko-dev/keiko-workflows": "file:vendor/oscharko-dev-keiko-workflows-1.1.
|
|
339
|
-
"@oscharko-dev/keiko-workspace": "file:vendor/oscharko-dev-keiko-workspace-1.1.
|
|
316
|
+
"@oscharko-dev/keiko-cli": "file:vendor/oscharko-dev-keiko-cli-1.1.5.tgz",
|
|
317
|
+
"@oscharko-dev/keiko-connectors": "file:vendor/oscharko-dev-keiko-connectors-1.1.5.tgz",
|
|
318
|
+
"@oscharko-dev/keiko-contracts": "file:vendor/oscharko-dev-keiko-contracts-1.1.5.tgz",
|
|
319
|
+
"@oscharko-dev/keiko-evaluations": "file:vendor/oscharko-dev-keiko-evaluations-1.1.5.tgz",
|
|
320
|
+
"@oscharko-dev/keiko-evidence": "file:vendor/oscharko-dev-keiko-evidence-1.1.5.tgz",
|
|
321
|
+
"@oscharko-dev/keiko-git": "file:vendor/oscharko-dev-keiko-git-1.1.5.tgz",
|
|
322
|
+
"@oscharko-dev/keiko-harness": "file:vendor/oscharko-dev-keiko-harness-1.1.5.tgz",
|
|
323
|
+
"@oscharko-dev/keiko-local-knowledge": "file:vendor/oscharko-dev-keiko-local-knowledge-1.1.5.tgz",
|
|
324
|
+
"@oscharko-dev/keiko-memory-capture": "file:vendor/oscharko-dev-keiko-memory-capture-1.1.5.tgz",
|
|
325
|
+
"@oscharko-dev/keiko-memory-consolidation": "file:vendor/oscharko-dev-keiko-memory-consolidation-1.1.5.tgz",
|
|
326
|
+
"@oscharko-dev/keiko-memory-governance": "file:vendor/oscharko-dev-keiko-memory-governance-1.1.5.tgz",
|
|
327
|
+
"@oscharko-dev/keiko-memory-retrieval": "file:vendor/oscharko-dev-keiko-memory-retrieval-1.1.5.tgz",
|
|
328
|
+
"@oscharko-dev/keiko-memory-vault": "file:vendor/oscharko-dev-keiko-memory-vault-1.1.5.tgz",
|
|
329
|
+
"@oscharko-dev/keiko-model-gateway": "file:vendor/oscharko-dev-keiko-model-gateway-1.1.5.tgz",
|
|
330
|
+
"@oscharko-dev/keiko-quality-intelligence": "file:vendor/oscharko-dev-keiko-quality-intelligence-1.1.5.tgz",
|
|
331
|
+
"@oscharko-dev/keiko-sandbox": "file:vendor/oscharko-dev-keiko-sandbox-1.1.5.tgz",
|
|
332
|
+
"@oscharko-dev/keiko-sdk": "file:vendor/oscharko-dev-keiko-sdk-1.1.5.tgz",
|
|
333
|
+
"@oscharko-dev/keiko-security": "file:vendor/oscharko-dev-keiko-security-1.1.5.tgz",
|
|
334
|
+
"@oscharko-dev/keiko-server": "file:vendor/oscharko-dev-keiko-server-1.1.5.tgz",
|
|
335
|
+
"@oscharko-dev/keiko-tool-catalog": "file:vendor/oscharko-dev-keiko-tool-catalog-1.1.5.tgz",
|
|
336
|
+
"@oscharko-dev/keiko-tools": "file:vendor/oscharko-dev-keiko-tools-1.1.5.tgz",
|
|
337
|
+
"@oscharko-dev/keiko-verification": "file:vendor/oscharko-dev-keiko-verification-1.1.5.tgz",
|
|
338
|
+
"@oscharko-dev/keiko-workflows": "file:vendor/oscharko-dev-keiko-workflows-1.1.5.tgz",
|
|
339
|
+
"@oscharko-dev/keiko-workspace": "file:vendor/oscharko-dev-keiko-workspace-1.1.5.tgz",
|
|
340
340
|
"typescript": "6.0.3",
|
|
341
341
|
"ws": "8.21.3",
|
|
342
342
|
"yauzl": "3.4.0",
|