refactor: remove workspace publishing and bundles

This commit is contained in:
2026-08-14 16:28:01 +02:00
parent 42e02f8b1c
commit 9db4463a83
8 changed files with 147 additions and 1060 deletions
-3
View File
@@ -67,9 +67,6 @@ function gitErrorCode(error: unknown): WorkspaceErrorCode {
if (/non-fast-forward|not possible to fast-forward|fast-forward/.test(detail)) {
return "git_non_fast_forward";
}
if (/remote rejected|pre-receive hook declined|push.*rejected/.test(detail)) {
return "git_push_rejected";
}
return "git_unavailable";
}
+1 -6
View File
@@ -2,12 +2,8 @@ export interface WorkspaceRegistryConfig {
root: string;
remoteUrl?: string;
branch: string;
gitAuthorName: string;
gitAuthorEmail: string;
installationId: string;
secretRoots: readonly string[];
maxImportBytes: number;
maxImportEntries: number;
/** Absolute runtime data root; when set, activation also syncs curated annotations per revision. */
dataRoot?: string;
/** P6 Evidence materialization bounds; defaults are applied by the materializer. */
@@ -20,8 +16,7 @@ export interface WorkspaceRegistryConfig {
export type WorkspaceErrorCode =
| "workspace_invalid" | "binding_missing" | "workspace_not_activatable"
| "workspace_stale" | "workspace_conflict" | "workspace_curator_owned" | "git_unavailable"
| "git_auth_failed" | "git_non_fast_forward" | "git_push_rejected"
| "workspace_stale" | "git_unavailable" | "git_auth_failed" | "git_non_fast_forward"
| "connector_unavailable" | "semantic_index_incompatible";
export type { WorkspaceV3 } from "./schema.js";