refactor: remove workspace publishing and bundles
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user