@neurcode-ai/cli 0.9.66 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.telemetry-bundle/dist/__tests__/harvest-verify.test.d.ts +1 -0
- package/.telemetry-bundle/dist/__tests__/harvest-verify.test.js +86 -0
- package/.telemetry-bundle/dist/contracts.d.ts +58 -0
- package/.telemetry-bundle/dist/contracts.js +8 -0
- package/.telemetry-bundle/dist/harvest-verify.d.ts +9 -0
- package/.telemetry-bundle/dist/harvest-verify.js +128 -0
- package/.telemetry-bundle/dist/index.d.ts +10 -0
- package/.telemetry-bundle/dist/index.js +22 -0
- package/.telemetry-bundle/dist/precision/leaderboards.d.ts +20 -0
- package/.telemetry-bundle/dist/precision/leaderboards.js +72 -0
- package/.telemetry-bundle/dist/reader.d.ts +5 -0
- package/.telemetry-bundle/dist/reader.js +46 -0
- package/.telemetry-bundle/dist/stable-json.d.ts +5 -0
- package/.telemetry-bundle/dist/stable-json.js +24 -0
- package/.telemetry-bundle/dist/store.d.ts +10 -0
- package/.telemetry-bundle/dist/store.js +52 -0
- package/.telemetry-bundle/dist/trust-scoring.d.ts +20 -0
- package/.telemetry-bundle/dist/trust-scoring.js +58 -0
- package/.telemetry-bundle/package.json +8 -0
- package/dist/commands/governance.d.ts +3 -0
- package/dist/commands/governance.d.ts.map +1 -0
- package/dist/commands/governance.js +390 -0
- package/dist/commands/governance.js.map +1 -0
- package/dist/commands/quickstart.js +3 -3
- package/dist/commands/quickstart.js.map +1 -1
- package/dist/commands/remediate-export.d.ts +5 -0
- package/dist/commands/remediate-export.d.ts.map +1 -1
- package/dist/commands/remediate-export.js +803 -14
- package/dist/commands/remediate-export.js.map +1 -1
- package/dist/commands/replay.d.ts.map +1 -1
- package/dist/commands/replay.js +14 -0
- package/dist/commands/replay.js.map +1 -1
- package/dist/commands/session.d.ts +7 -0
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +156 -0
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/start-intent.d.ts.map +1 -1
- package/dist/commands/start-intent.js +61 -11
- package/dist/commands/start-intent.js.map +1 -1
- package/dist/commands/verify-guidance.d.ts +5 -0
- package/dist/commands/verify-guidance.d.ts.map +1 -0
- package/dist/commands/verify-guidance.js +49 -0
- package/dist/commands/verify-guidance.js.map +1 -0
- package/dist/commands/verify-output.d.ts +37 -0
- package/dist/commands/verify-output.d.ts.map +1 -0
- package/dist/commands/verify-output.js +572 -0
- package/dist/commands/verify-output.js.map +1 -0
- package/dist/commands/verify-render.d.ts +41 -0
- package/dist/commands/verify-render.d.ts.map +1 -0
- package/dist/commands/verify-render.js +457 -0
- package/dist/commands/verify-render.js.map +1 -0
- package/dist/commands/verify.d.ts.map +1 -1
- package/dist/commands/verify.js +278 -1081
- package/dist/commands/verify.js.map +1 -1
- package/dist/commands/workspace.d.ts.map +1 -1
- package/dist/commands/workspace.js +3 -14
- package/dist/commands/workspace.js.map +1 -1
- package/dist/context-engine/graph.d.ts.map +1 -1
- package/dist/context-engine/graph.js +69 -7
- package/dist/context-engine/graph.js.map +1 -1
- package/dist/context-engine/scanner.d.ts.map +1 -1
- package/dist/context-engine/scanner.js +9 -2
- package/dist/context-engine/scanner.js.map +1 -1
- package/dist/daemon/compatibility/execution.d.ts +42 -0
- package/dist/daemon/compatibility/execution.d.ts.map +1 -0
- package/dist/daemon/compatibility/execution.js +183 -0
- package/dist/daemon/compatibility/execution.js.map +1 -0
- package/dist/daemon/compatibility/mutation.d.ts +24 -0
- package/dist/daemon/compatibility/mutation.d.ts.map +1 -0
- package/dist/daemon/compatibility/mutation.js +724 -0
- package/dist/daemon/compatibility/mutation.js.map +1 -0
- package/dist/daemon/routes.d.ts +19 -0
- package/dist/daemon/routes.d.ts.map +1 -0
- package/dist/daemon/routes.js +123 -0
- package/dist/daemon/routes.js.map +1 -0
- package/dist/daemon/runtime/execution-bus.d.ts +217 -0
- package/dist/daemon/runtime/execution-bus.d.ts.map +1 -0
- package/dist/daemon/runtime/execution-bus.js +1420 -0
- package/dist/daemon/runtime/execution-bus.js.map +1 -0
- package/dist/daemon/runtime/workspace-runtime.d.ts +280 -0
- package/dist/daemon/runtime/workspace-runtime.d.ts.map +1 -0
- package/dist/daemon/runtime/workspace-runtime.js +1473 -0
- package/dist/daemon/runtime/workspace-runtime.js.map +1 -0
- package/dist/daemon/server.d.ts.map +1 -1
- package/dist/daemon/server.js +171 -874
- package/dist/daemon/server.js.map +1 -1
- package/dist/daemon/shaping.d.ts +11 -0
- package/dist/daemon/shaping.d.ts.map +1 -0
- package/dist/daemon/shaping.js +240 -0
- package/dist/daemon/shaping.js.map +1 -0
- package/dist/governance/canonical-pipeline.d.ts +2 -1
- package/dist/governance/canonical-pipeline.d.ts.map +1 -1
- package/dist/governance/canonical-pipeline.js +259 -84
- package/dist/governance/canonical-pipeline.js.map +1 -1
- package/dist/governance/structural-cache.d.ts.map +1 -1
- package/dist/governance/structural-cache.js +2 -7
- package/dist/governance/structural-cache.js.map +1 -1
- package/dist/index.js +230 -66
- package/dist/index.js.map +1 -1
- package/dist/utils/active-engineering-context.d.ts +12 -0
- package/dist/utils/active-engineering-context.d.ts.map +1 -0
- package/dist/utils/active-engineering-context.js +67 -0
- package/dist/utils/active-engineering-context.js.map +1 -0
- package/dist/utils/artifact-io.d.ts +33 -0
- package/dist/utils/artifact-io.d.ts.map +1 -0
- package/dist/utils/artifact-io.js +183 -0
- package/dist/utils/artifact-io.js.map +1 -0
- package/dist/utils/change-contract.d.ts +6 -2
- package/dist/utils/change-contract.d.ts.map +1 -1
- package/dist/utils/change-contract.js +175 -0
- package/dist/utils/change-contract.js.map +1 -1
- package/dist/utils/context-pack.d.ts +12 -0
- package/dist/utils/context-pack.d.ts.map +1 -0
- package/dist/utils/context-pack.js +147 -0
- package/dist/utils/context-pack.js.map +1 -0
- package/dist/utils/control-plane.d.ts +18 -0
- package/dist/utils/control-plane.d.ts.map +1 -1
- package/dist/utils/control-plane.js +31 -4
- package/dist/utils/control-plane.js.map +1 -1
- package/dist/utils/drift-intelligence.d.ts +47 -0
- package/dist/utils/drift-intelligence.d.ts.map +1 -0
- package/dist/utils/drift-intelligence.js +2099 -0
- package/dist/utils/drift-intelligence.js.map +1 -0
- package/dist/utils/execution-actions.d.ts +22 -0
- package/dist/utils/execution-actions.d.ts.map +1 -0
- package/dist/utils/execution-actions.js +103 -0
- package/dist/utils/execution-actions.js.map +1 -0
- package/dist/utils/execution-bus.d.ts +1 -214
- package/dist/utils/execution-bus.d.ts.map +1 -1
- package/dist/utils/execution-bus.js +15 -1359
- package/dist/utils/execution-bus.js.map +1 -1
- package/dist/utils/git.d.ts +1 -0
- package/dist/utils/git.d.ts.map +1 -1
- package/dist/utils/git.js +13 -3
- package/dist/utils/git.js.map +1 -1
- package/dist/utils/governance-decisions.d.ts +75 -0
- package/dist/utils/governance-decisions.d.ts.map +1 -0
- package/dist/utils/governance-decisions.js +412 -0
- package/dist/utils/governance-decisions.js.map +1 -0
- package/dist/utils/governance-provenance.d.ts +1 -1
- package/dist/utils/governance-provenance.d.ts.map +1 -1
- package/dist/utils/governance-provenance.js +5 -7
- package/dist/utils/governance-provenance.js.map +1 -1
- package/dist/utils/governance.d.ts +108 -0
- package/dist/utils/governance.d.ts.map +1 -1
- package/dist/utils/governance.js +209 -7
- package/dist/utils/governance.js.map +1 -1
- package/dist/utils/intelligence-runtime-common.d.ts +30 -0
- package/dist/utils/intelligence-runtime-common.d.ts.map +1 -0
- package/dist/utils/intelligence-runtime-common.js +156 -0
- package/dist/utils/intelligence-runtime-common.js.map +1 -0
- package/dist/utils/intent-contract-diagnostics.d.ts +9 -0
- package/dist/utils/intent-contract-diagnostics.d.ts.map +1 -0
- package/dist/utils/intent-contract-diagnostics.js +322 -0
- package/dist/utils/intent-contract-diagnostics.js.map +1 -0
- package/dist/utils/intent-pack.d.ts +15 -0
- package/dist/utils/intent-pack.d.ts.map +1 -0
- package/dist/utils/intent-pack.js +196 -0
- package/dist/utils/intent-pack.js.map +1 -0
- package/dist/utils/plan-sync.d.ts +1 -0
- package/dist/utils/plan-sync.d.ts.map +1 -1
- package/dist/utils/plan-sync.js +23 -0
- package/dist/utils/plan-sync.js.map +1 -1
- package/dist/utils/policy-decision.d.ts +5 -0
- package/dist/utils/policy-decision.d.ts.map +1 -0
- package/dist/utils/policy-decision.js +17 -0
- package/dist/utils/policy-decision.js.map +1 -0
- package/dist/utils/replay-custody.d.ts +43 -0
- package/dist/utils/replay-custody.d.ts.map +1 -0
- package/dist/utils/replay-custody.js +168 -0
- package/dist/utils/replay-custody.js.map +1 -0
- package/dist/utils/replay-runtime.d.ts +13 -0
- package/dist/utils/replay-runtime.d.ts.map +1 -1
- package/dist/utils/replay-runtime.js +96 -9
- package/dist/utils/replay-runtime.js.map +1 -1
- package/dist/utils/repository-intelligence.d.ts +9 -0
- package/dist/utils/repository-intelligence.d.ts.map +1 -0
- package/dist/utils/repository-intelligence.js +372 -0
- package/dist/utils/repository-intelligence.js.map +1 -0
- package/dist/utils/runtime-events.d.ts.map +1 -1
- package/dist/utils/runtime-events.js +25 -6
- package/dist/utils/runtime-events.js.map +1 -1
- package/dist/utils/semantic-contract-intelligence.d.ts +20 -0
- package/dist/utils/semantic-contract-intelligence.d.ts.map +1 -0
- package/dist/utils/semantic-contract-intelligence.js +825 -0
- package/dist/utils/semantic-contract-intelligence.js.map +1 -0
- package/dist/utils/session-continuity.d.ts +56 -0
- package/dist/utils/session-continuity.d.ts.map +1 -0
- package/dist/utils/session-continuity.js +318 -0
- package/dist/utils/session-continuity.js.map +1 -0
- package/dist/utils/verification-evidence.d.ts.map +1 -1
- package/dist/utils/verification-evidence.js +4 -1
- package/dist/utils/verification-evidence.js.map +1 -1
- package/dist/utils/workspace-runtime.d.ts +1 -266
- package/dist/utils/workspace-runtime.d.ts.map +1 -1
- package/dist/utils/workspace-runtime.js +15 -1412
- package/dist/utils/workspace-runtime.js.map +1 -1
- package/package.json +13 -11
- package/LICENSE +0 -201
|
@@ -1,267 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
declare const WORKSPACE_SCHEMA: "neurcode.workspace.v1";
|
|
3
|
-
declare const WORKSPACE_RUNTIME_SCHEMA: "neurcode.workspace-runtime.v1";
|
|
4
|
-
type GovernanceRiskLevel = 'low' | 'medium' | 'high';
|
|
5
|
-
type RepositoryHealthStatus = 'healthy' | 'degraded' | 'critical' | 'unknown';
|
|
6
|
-
export type WorkspaceRole = 'workspace_admin' | 'governance_admin' | 'engineer' | 'auditor';
|
|
7
|
-
export interface WorkspaceMember {
|
|
8
|
-
actor: string;
|
|
9
|
-
role: WorkspaceRole;
|
|
10
|
-
}
|
|
11
|
-
export interface WorkspaceRepository {
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
rootPath: string;
|
|
15
|
-
services: string[];
|
|
16
|
-
policyDomain: string | null;
|
|
17
|
-
tags: string[];
|
|
18
|
-
enabled: boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface WorkspaceControlPlaneOverrides {
|
|
21
|
-
runtime?: Record<string, unknown>;
|
|
22
|
-
remediation?: Record<string, unknown>;
|
|
23
|
-
evidence?: Record<string, unknown>;
|
|
24
|
-
eventRuntime?: Record<string, unknown>;
|
|
25
|
-
ciGovernance?: Record<string, unknown>;
|
|
26
|
-
}
|
|
27
|
-
export interface WorkspaceDefinition {
|
|
28
|
-
schemaVersion: typeof WORKSPACE_SCHEMA;
|
|
29
|
-
id: string;
|
|
30
|
-
name: string;
|
|
31
|
-
description: string | null;
|
|
32
|
-
createdAt: string;
|
|
33
|
-
updatedAt: string;
|
|
34
|
-
repositories: WorkspaceRepository[];
|
|
35
|
-
governance: {
|
|
36
|
-
posture: {
|
|
37
|
-
targetRisk: GovernanceRiskLevel;
|
|
38
|
-
enforcement: 'strict' | 'balanced' | 'advisory';
|
|
39
|
-
notes: string | null;
|
|
40
|
-
};
|
|
41
|
-
controlPlane: {
|
|
42
|
-
inherit: boolean;
|
|
43
|
-
overrides: WorkspaceControlPlaneOverrides;
|
|
44
|
-
};
|
|
45
|
-
policy: {
|
|
46
|
-
workspacePacks: string[];
|
|
47
|
-
repositoryPackOverrides: Record<string, string[]>;
|
|
48
|
-
precedence: 'workspace-first' | 'repo-first';
|
|
49
|
-
};
|
|
50
|
-
evidence: {
|
|
51
|
-
retentionMaxArtifacts: number;
|
|
52
|
-
indexLimit: number;
|
|
53
|
-
};
|
|
54
|
-
remediation: {
|
|
55
|
-
autonomousApplySafe: boolean;
|
|
56
|
-
requireManualApprovalAtRisk: 'none' | 'high' | 'critical';
|
|
57
|
-
};
|
|
58
|
-
runtime: {
|
|
59
|
-
executionRetention: number;
|
|
60
|
-
eventRetention: number;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
access: {
|
|
64
|
-
defaultRole: WorkspaceRole;
|
|
65
|
-
members: WorkspaceMember[];
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
export interface WorkspaceSummary {
|
|
69
|
-
id: string;
|
|
70
|
-
name: string;
|
|
71
|
-
description: string | null;
|
|
72
|
-
updatedAt: string;
|
|
73
|
-
repositoryCount: number;
|
|
74
|
-
enabledRepositoryCount: number;
|
|
75
|
-
posture: WorkspaceDefinition['governance']['posture'];
|
|
76
|
-
}
|
|
77
|
-
export interface WorkspaceRepositoryHealth {
|
|
78
|
-
workspaceId: string;
|
|
79
|
-
repositoryId: string;
|
|
80
|
-
repositoryName: string;
|
|
81
|
-
rootPath: string;
|
|
82
|
-
exists: boolean;
|
|
83
|
-
status: RepositoryHealthStatus;
|
|
84
|
-
riskLevel: GovernanceRiskLevel;
|
|
85
|
-
riskScore: number;
|
|
86
|
-
runs: number;
|
|
87
|
-
passRate: number;
|
|
88
|
-
blockRate: number;
|
|
89
|
-
averageBlocking: number;
|
|
90
|
-
averageAdvisory: number;
|
|
91
|
-
regressionRate: number;
|
|
92
|
-
coverageScore: number | null;
|
|
93
|
-
lastRunAt: string | null;
|
|
94
|
-
policyDrift: boolean;
|
|
95
|
-
topPolicies: Array<{
|
|
96
|
-
policy: string;
|
|
97
|
-
occurrences: number;
|
|
98
|
-
}>;
|
|
99
|
-
topFiles: Array<{
|
|
100
|
-
file: string;
|
|
101
|
-
occurrences: number;
|
|
102
|
-
}>;
|
|
103
|
-
services: string[];
|
|
104
|
-
policyDomain: string | null;
|
|
105
|
-
}
|
|
106
|
-
export interface WorkspaceHotspot {
|
|
107
|
-
key: string;
|
|
108
|
-
kind: 'file' | 'policy' | 'directory';
|
|
109
|
-
score: number;
|
|
110
|
-
occurrences: number;
|
|
111
|
-
repositoryCount: number;
|
|
112
|
-
}
|
|
113
|
-
export interface WorkspaceRuntimeActivity {
|
|
114
|
-
eventCounts: Record<string, number>;
|
|
115
|
-
recentEvents: Array<{
|
|
116
|
-
cursor: string;
|
|
117
|
-
type: string;
|
|
118
|
-
timestamp: string;
|
|
119
|
-
source: string;
|
|
120
|
-
actor: string;
|
|
121
|
-
severity: string;
|
|
122
|
-
executionId: string;
|
|
123
|
-
repositoryId: string;
|
|
124
|
-
repositoryName: string;
|
|
125
|
-
}>;
|
|
126
|
-
}
|
|
127
|
-
export interface WorkspacePostureSummary {
|
|
128
|
-
workspaceId: string;
|
|
129
|
-
workspaceName: string;
|
|
130
|
-
repositoryCount: number;
|
|
131
|
-
healthyRepositories: number;
|
|
132
|
-
degradedRepositories: number;
|
|
133
|
-
criticalRepositories: number;
|
|
134
|
-
overallRiskLevel: GovernanceRiskLevel;
|
|
135
|
-
overallRiskScore: number;
|
|
136
|
-
passRate: number;
|
|
137
|
-
blockRate: number;
|
|
138
|
-
averageCoverageScore: number | null;
|
|
139
|
-
regressionConcentration: Array<{
|
|
140
|
-
repositoryId: string;
|
|
141
|
-
repositoryName: string;
|
|
142
|
-
regressionRate: number;
|
|
143
|
-
}>;
|
|
144
|
-
policyDriftRepositories: number;
|
|
145
|
-
unstableServices: string[];
|
|
146
|
-
}
|
|
147
|
-
export interface WorkspaceRuntimeSnapshot {
|
|
148
|
-
schemaVersion: typeof WORKSPACE_RUNTIME_SCHEMA;
|
|
149
|
-
generatedAt: string;
|
|
150
|
-
rootDir: string;
|
|
151
|
-
activeWorkspaceId: string | null;
|
|
152
|
-
activeWorkspaceRole: WorkspaceRole;
|
|
153
|
-
workspaces: WorkspaceSummary[];
|
|
154
|
-
workspace: WorkspaceDefinition | null;
|
|
155
|
-
effectiveControlPlane: {
|
|
156
|
-
inherited: boolean;
|
|
157
|
-
overridesApplied: Array<'runtime' | 'remediation' | 'evidence' | 'eventRuntime' | 'ciGovernance'>;
|
|
158
|
-
runtime: Record<string, unknown>;
|
|
159
|
-
remediation: Record<string, unknown>;
|
|
160
|
-
evidence: Record<string, unknown>;
|
|
161
|
-
eventRuntime: Record<string, unknown>;
|
|
162
|
-
ciGovernance: Record<string, unknown>;
|
|
163
|
-
} | null;
|
|
164
|
-
repositoryHealthMatrix: WorkspaceRepositoryHealth[];
|
|
165
|
-
hotspots: {
|
|
166
|
-
files: WorkspaceHotspot[];
|
|
167
|
-
policies: WorkspaceHotspot[];
|
|
168
|
-
directories: WorkspaceHotspot[];
|
|
169
|
-
};
|
|
170
|
-
runtimeActivity: WorkspaceRuntimeActivity;
|
|
171
|
-
posture: WorkspacePostureSummary | null;
|
|
172
|
-
}
|
|
173
|
-
export interface CreateWorkspaceInput {
|
|
174
|
-
id?: string;
|
|
175
|
-
name: string;
|
|
176
|
-
description?: string | null;
|
|
177
|
-
repositories?: Array<Partial<WorkspaceRepository>>;
|
|
178
|
-
governance?: Partial<WorkspaceDefinition['governance']>;
|
|
179
|
-
access?: Partial<WorkspaceDefinition['access']>;
|
|
180
|
-
}
|
|
181
|
-
export interface WorkspaceMutationResult {
|
|
182
|
-
workspace: WorkspaceDefinition;
|
|
183
|
-
executionId: string;
|
|
184
|
-
}
|
|
185
|
-
export interface AddWorkspaceRepositoryInput {
|
|
186
|
-
id?: string;
|
|
187
|
-
name: string;
|
|
188
|
-
rootPath: string;
|
|
189
|
-
services?: string[];
|
|
190
|
-
policyDomain?: string | null;
|
|
191
|
-
tags?: string[];
|
|
192
|
-
enabled?: boolean;
|
|
193
|
-
}
|
|
194
|
-
export interface WorkspaceExecutionRequest {
|
|
195
|
-
workspaceId?: string;
|
|
196
|
-
repositoryIds?: string[];
|
|
197
|
-
type: ExecutionActionType;
|
|
198
|
-
source?: ExecutionSource;
|
|
199
|
-
actor?: string;
|
|
200
|
-
target?: string | null;
|
|
201
|
-
intentText?: string | null;
|
|
202
|
-
reverify?: boolean;
|
|
203
|
-
ciMode?: boolean;
|
|
204
|
-
evidenceDir?: string;
|
|
205
|
-
dedupeWindowMs?: number;
|
|
206
|
-
}
|
|
207
|
-
export interface WorkspaceExecutionItem {
|
|
208
|
-
repositoryId: string;
|
|
209
|
-
repositoryName: string;
|
|
210
|
-
rootPath: string;
|
|
211
|
-
ok: boolean;
|
|
212
|
-
execution: ExecutionRecord | null;
|
|
213
|
-
primaryPayload: Record<string, unknown> | null;
|
|
214
|
-
verificationPayload: Record<string, unknown> | null;
|
|
215
|
-
error: string | null;
|
|
216
|
-
}
|
|
217
|
-
export interface WorkspaceExecutionResult {
|
|
218
|
-
workspaceId: string;
|
|
219
|
-
workspaceName: string;
|
|
220
|
-
executionId: string;
|
|
221
|
-
source: ExecutionSource;
|
|
222
|
-
actor: string;
|
|
223
|
-
type: ExecutionActionType;
|
|
224
|
-
startedAt: string;
|
|
225
|
-
completedAt: string;
|
|
226
|
-
totals: {
|
|
227
|
-
repositories: number;
|
|
228
|
-
attempted: number;
|
|
229
|
-
succeeded: number;
|
|
230
|
-
failed: number;
|
|
231
|
-
};
|
|
232
|
-
items: WorkspaceExecutionItem[];
|
|
233
|
-
}
|
|
234
|
-
export declare function listWorkspaces(cwd?: string): WorkspaceSummary[];
|
|
235
|
-
export declare function getWorkspaceById(workspaceId: string, cwd?: string): WorkspaceDefinition | null;
|
|
236
|
-
export declare function getActiveWorkspace(cwd?: string): WorkspaceDefinition | null;
|
|
237
|
-
export declare function createWorkspace(input: CreateWorkspaceInput, options?: {
|
|
238
|
-
cwd?: string;
|
|
239
|
-
source?: ExecutionSource;
|
|
240
|
-
actor?: string;
|
|
241
|
-
setActive?: boolean;
|
|
242
|
-
}): WorkspaceMutationResult;
|
|
243
|
-
export declare function setActiveWorkspace(workspaceId: string, options?: {
|
|
244
|
-
cwd?: string;
|
|
245
|
-
source?: ExecutionSource;
|
|
246
|
-
actor?: string;
|
|
247
|
-
}): WorkspaceMutationResult;
|
|
248
|
-
export declare function addWorkspaceRepository(workspaceId: string, input: AddWorkspaceRepositoryInput, options?: {
|
|
249
|
-
cwd?: string;
|
|
250
|
-
source?: ExecutionSource;
|
|
251
|
-
actor?: string;
|
|
252
|
-
}): WorkspaceMutationResult;
|
|
253
|
-
export declare function updateWorkspace(workspaceId: string, patch: Partial<Omit<WorkspaceDefinition, 'schemaVersion' | 'id' | 'createdAt' | 'updatedAt'>>, options?: {
|
|
254
|
-
cwd?: string;
|
|
255
|
-
source?: ExecutionSource;
|
|
256
|
-
actor?: string;
|
|
257
|
-
}): WorkspaceMutationResult;
|
|
258
|
-
export declare function getWorkspaceRuntimeSnapshot(options?: {
|
|
259
|
-
cwd?: string;
|
|
260
|
-
workspaceId?: string;
|
|
261
|
-
actor?: string | null;
|
|
262
|
-
}): WorkspaceRuntimeSnapshot;
|
|
263
|
-
export declare function executeWorkspaceAction(request: WorkspaceExecutionRequest, options?: {
|
|
264
|
-
cwd?: string;
|
|
265
|
-
}): Promise<WorkspaceExecutionResult>;
|
|
266
|
-
export {};
|
|
1
|
+
export * from '../daemon/runtime/workspace-runtime';
|
|
267
2
|
//# sourceMappingURL=workspace-runtime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-runtime.d.ts","sourceRoot":"","sources":["../../src/utils/workspace-runtime.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workspace-runtime.d.ts","sourceRoot":"","sources":["../../src/utils/workspace-runtime.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC"}
|