@agentxm/workspace-state 0.28.12 → 0.28.13
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/src/index.d.ts +22 -13
- package/dist/src/index.js +25 -16
- package/dist/src/live.d.ts +46 -0
- package/dist/src/live.js +60 -0
- package/dist/src/lockfile/lockfile.js +1 -2
- package/dist/src/settings/index.d.ts +1 -1
- package/dist/src/settings/index.js +1 -1
- package/dist/src/settings/schema.d.ts +12 -0
- package/dist/src/settings/schema.js +13 -1
- package/dist/src/settings/settings.d.ts +1 -1
- package/dist/src/settings/settings.js +1 -3
- package/dist/src/testing.d.ts +24 -0
- package/dist/src/testing.js +35 -0
- package/dist/src/utils/path-safety.d.ts +0 -5
- package/dist/src/utils/path-safety.js +1 -10
- package/dist/src/workspace/accepted-canonical-ref.d.ts +1 -1
- package/dist/src/workspace/accepted-canonical-ref.js +1 -1
- package/dist/src/workspace/accepted-resolution-writer.d.ts +42 -0
- package/dist/src/workspace/accepted-resolution-writer.js +67 -0
- package/dist/src/workspace/canonical-observation.js +1 -1
- package/dist/src/workspace/configured-entry.d.ts +11 -0
- package/dist/src/workspace/configured-entry.js +8 -0
- package/dist/src/workspace/create-symlink.d.ts +1 -1
- package/dist/src/workspace/create-symlink.js +1 -2
- package/dist/src/workspace/desired-identity.d.ts +19 -0
- package/dist/src/workspace/desired-identity.js +26 -0
- package/dist/src/workspace/desired-state-reader.d.ts +32 -0
- package/dist/src/workspace/desired-state-reader.js +56 -0
- package/dist/src/workspace/desired-state-writer.d.ts +46 -0
- package/dist/src/workspace/desired-state-writer.js +214 -0
- package/dist/src/workspace/entry-accessors.d.ts +50 -0
- package/dist/src/workspace/entry-accessors.js +41 -0
- package/dist/src/workspace/extension-paths-service.d.ts +33 -0
- package/dist/src/workspace/extension-paths-service.js +133 -0
- package/dist/src/workspace/location.d.ts +49 -0
- package/dist/src/workspace/location.js +85 -0
- package/dist/src/workspace/lockfile-reader.d.ts +41 -0
- package/dist/src/workspace/lockfile-reader.js +54 -0
- package/dist/src/workspace/materialized-file-target.d.ts +2 -2
- package/dist/src/workspace/materialized-file-target.js +2 -2
- package/dist/src/workspace/other-scope-reader.d.ts +34 -0
- package/dist/src/workspace/other-scope-reader.js +35 -0
- package/dist/src/workspace/paths.d.ts +2 -2
- package/dist/src/workspace/read-model/__fixtures__/test-layer.d.ts +1 -1
- package/dist/src/workspace/read-model/__fixtures__/test-layer.js +1 -1
- package/dist/src/workspace/read-model/discovery/skills.d.ts +1 -1
- package/dist/src/workspace/read-model/discovery/skills.js +1 -1
- package/dist/src/workspace/read-model/scanners/canonical-extensions.js +2 -2
- package/dist/src/workspace/read-model/scanners/mcp-config.js +1 -1
- package/dist/src/workspace/read-model/service.js +1 -1
- package/dist/src/workspace/read-model-record-readers.js +1 -1
- package/dist/src/workspace/remove-if-exists.d.ts +1 -1
- package/dist/src/workspace/remove-if-exists.js +1 -2
- package/dist/src/workspace/service-interface.d.ts +8 -60
- package/dist/src/workspace/service.d.ts +26 -1886
- package/dist/src/workspace/service.js +144 -1285
- package/dist/src/workspace/settings-reader.d.ts +59 -0
- package/dist/src/workspace/settings-reader.js +109 -0
- package/dist/src/workspace/settings-writer.d.ts +53 -0
- package/dist/src/workspace/settings-writer.js +90 -0
- package/dist/src/workspace/setup-scope-support.js +1 -1
- package/dist/src/workspace/shared.d.ts +24 -0
- package/dist/src/workspace/shared.js +20 -0
- package/dist/src/workspace/state-cells.d.ts +35 -0
- package/dist/src/workspace/state-cells.js +42 -0
- package/dist/src/workspace/subagent-paths.d.ts +49 -0
- package/dist/src/workspace/subagent-paths.js +26 -0
- package/dist/src/workspace/test-stubs.js +0 -11
- package/dist/src/workspace/workspace-records.d.ts +41 -0
- package/dist/src/workspace/workspace-records.js +43 -0
- package/package.json +14 -5
- package/dist/src/utils/atomic-write.d.ts +0 -67
- package/dist/src/utils/atomic-write.js +0 -71
- package/dist/src/workspace/configured-entry-resolution/types.d.ts +0 -32
- package/dist/src/workspace/configured-entry-resolution/types.js +0 -2
- package/dist/src/workspace/footprint-recorder.d.ts +0 -30
- package/dist/src/workspace/footprint-recorder.js +0 -32
- package/dist/src/workspace/mcp-entry-semantics.d.ts +0 -28
- package/dist/src/workspace/mcp-entry-semantics.js +0 -58
- package/dist/src/workspace/read-model/agent-presence.d.ts +0 -32
- package/dist/src/workspace/read-model/agent-presence.js +0 -21
- package/dist/src/workspace/scope-refusal.d.ts +0 -26
- package/dist/src/workspace/scope-refusal.js +0 -29
- package/dist/src/workspace/transaction.d.ts +0 -219
- package/dist/src/workspace/transaction.js +0 -177
|
@@ -1,1897 +1,37 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* WorkspaceMutations
|
|
2
|
+
* TRANSITIONAL: the `WorkspaceMutations` facade composed over the narrow
|
|
3
|
+
* workspace-state services. Every member delegates to `WorkspaceLocation`,
|
|
4
|
+
* `SettingsReader`, `LockfileReader`, `DesiredStateReader`,
|
|
5
|
+
* `WorkspaceRecords`, `ExtensionPaths`, `SettingsWriter`,
|
|
6
|
+
* `AcceptedResolutionWriter`, or `DesiredStateWriter`; the facade adds no
|
|
7
|
+
* behavior of its own. It exists so callers keep compiling while feature
|
|
8
|
+
* slices migrate to the services, and is removed when the last domain
|
|
9
|
+
* package reads and writes through them. Its transaction members are gone:
|
|
10
|
+
* callers run `runWorkspaceTransaction` from
|
|
11
|
+
* `@agentxm/workspace-transactions`.
|
|
3
12
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* and commits lockfile snapshots through the lockfile module so cross-process
|
|
7
|
-
* updates are serialized and merged per entry. It serializes in-process
|
|
8
|
-
* mutations with one service-owned semaphore and transaction admission with a
|
|
9
|
-
* distinct service-owned semaphore so nested mutation calls cannot deadlock.
|
|
10
|
-
* No other service should perform settings or lockfile I/O in production; the per-service semaphores in
|
|
11
|
-
* `settings/service.ts` and `lockfile/service.ts` have been removed.
|
|
12
|
-
*
|
|
13
|
-
* Supporting logic is split into focused modules:
|
|
14
|
-
* - `source-metadata.ts` — source metadata derivation helpers
|
|
15
|
-
* - `initialization.ts` — workspace initialization (agent detection, settings creation)
|
|
13
|
+
* The facade keeps its members `R = never` by binding the platform of the
|
|
14
|
+
* context it is built in — the one capture this transitional layer allows.
|
|
16
15
|
*
|
|
17
16
|
* @experimental This API is unstable and may change without notice.
|
|
18
17
|
* @packageDocumentation
|
|
19
18
|
*/
|
|
19
|
+
import * as Effect from "effect/Effect";
|
|
20
20
|
import * as FileSystem from "effect/FileSystem";
|
|
21
21
|
import * as Path from "effect/Path";
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import {
|
|
32
|
-
import { buildDesiredStateGraph } from "./desired-state-graph.js";
|
|
22
|
+
import { AcceptedResolutionWriter } from "./accepted-resolution-writer.js";
|
|
23
|
+
import { DesiredStateReader } from "./desired-state-reader.js";
|
|
24
|
+
import { ExtensionPaths } from "./extension-paths-service.js";
|
|
25
|
+
import { LockfileReader } from "./lockfile-reader.js";
|
|
26
|
+
import { WorkspaceLocation } from "./location.js";
|
|
27
|
+
import type { WorkspaceMutationsService } from "./service-interface.js";
|
|
28
|
+
import { SettingsReader } from "./settings-reader.js";
|
|
29
|
+
import { SettingsWriter } from "./settings-writer.js";
|
|
30
|
+
import { DesiredStateWriter } from "./desired-state-writer.js";
|
|
31
|
+
import { WorkspaceRecords } from "./workspace-records.js";
|
|
33
32
|
/**
|
|
34
|
-
*
|
|
35
|
-
|
|
36
|
-
export type WorkspaceLayerOptions = WorkspaceMutationsOptions;
|
|
37
|
-
/**
|
|
38
|
-
* Create the workspace mutations service from an existing workspace on disk.
|
|
39
|
-
*
|
|
40
|
-
* The workspace must already be initialized. Missing or invalid settings and
|
|
41
|
-
* invalid or unsupported lockfiles fail fast with a typed
|
|
42
|
-
* `WorkspaceMutationsError`. The two operations-side
|
|
43
|
-
* capabilities — the transaction runner and transition acquirer — are
|
|
44
|
-
* injected through `makeCapabilities`; the composition seam in
|
|
45
|
-
* `./operations/load-workspace.ts` supplies the live implementation.
|
|
33
|
+
* Compose the transitional facade from the narrow services in context.
|
|
34
|
+
* Only the live composition calls this.
|
|
46
35
|
*/
|
|
47
|
-
export declare const
|
|
48
|
-
scope: "project" | "user";
|
|
49
|
-
path: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
50
|
-
baseDir: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
51
|
-
readonly layout: import("./layout.js").ProjectWorkspaceLayout | import("./layout.js").UserWorkspaceLayout;
|
|
52
|
-
runTransaction: import("./service-interface.js").WorkspaceTransactionRunner;
|
|
53
|
-
acquireTransition: import("./service-interface.js").WorkspaceTransitionAcquirer;
|
|
54
|
-
getLockfileState: () => Effect.Effect<LockfileState, LockfileValidationError | WorkspaceRootEscape>;
|
|
55
|
-
getDesiredStateGraph: (graphOptions?: Parameters<(graphOptions?: {
|
|
56
|
-
readonly prospectivePacks?: Parameters<typeof buildDesiredStateGraph>[0]["prospectivePacks"];
|
|
57
|
-
}) => Effect.Effect<import("./desired-state-graph.js").DesiredStateGraph, import("./read-model/errors.js").SettingsIoError | import("./read-model/errors.js").SettingsParseError | import("./read-model/errors.js").SettingsDecodeError | import("./read-model/errors.js").LockfileIoError | import("./read-model/errors.js").LockfileParseError | import("./read-model/errors.js").LockfileDecodeError | LockfileVersionUnsupported | WorkspaceRootEscape, never>>[0]) => Effect.Effect<import("./desired-state-graph.js").DesiredStateGraph, import("./read-model/errors.js").SettingsIoError | import("./read-model/errors.js").SettingsParseError | import("./read-model/errors.js").SettingsDecodeError | import("./read-model/errors.js").LockfileIoError | import("./read-model/errors.js").LockfileParseError | import("./read-model/errors.js").LockfileDecodeError | LockfileVersionUnsupported | WorkspaceRootEscape, never>;
|
|
58
|
-
getConfiguredSources: () => Effect.Effect<ReadonlyArray<SourceHostConfig>, WorkspaceSettingsReadFailure>;
|
|
59
|
-
getConfiguredSourceByName: (name: string) => Effect.Effect<Option.Option<{
|
|
60
|
-
readonly name: string;
|
|
61
|
-
readonly type: "github";
|
|
62
|
-
readonly url: URL;
|
|
63
|
-
} | {
|
|
64
|
-
readonly name: string;
|
|
65
|
-
readonly type: "gitlab";
|
|
66
|
-
readonly url: URL;
|
|
67
|
-
} | {
|
|
68
|
-
readonly name: string;
|
|
69
|
-
readonly type: "bitbucket";
|
|
70
|
-
readonly url: URL;
|
|
71
|
-
} | {
|
|
72
|
-
readonly name: string;
|
|
73
|
-
readonly type: "azurerepos";
|
|
74
|
-
readonly url: URL;
|
|
75
|
-
} | {
|
|
76
|
-
readonly name: string;
|
|
77
|
-
readonly type: "registry";
|
|
78
|
-
readonly location: URL;
|
|
79
|
-
}>, WorkspaceSettingsReadFailure, never>;
|
|
80
|
-
getRegistrySourceHosts: () => Effect.Effect<{
|
|
81
|
-
readonly name: string;
|
|
82
|
-
readonly type: "registry";
|
|
83
|
-
readonly location: URL;
|
|
84
|
-
}[], WorkspaceSettingsReadFailure, never>;
|
|
85
|
-
records: {
|
|
86
|
-
getInventory: (options: {
|
|
87
|
-
readonly type?: import("@agentxm/extension-model/unstable/extensions/installable-types").InstallableExtensionType;
|
|
88
|
-
}) => Effect.Effect<import("../index.ts").ExtensionInventory, WorkspaceStateReadFailure>;
|
|
89
|
-
getExtensionInventory: (type: "skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack", options: {
|
|
90
|
-
readonly agents?: ReadonlyArray<string>;
|
|
91
|
-
}) => Effect.Effect<import("../index.ts").ExtensionInventory, WorkspaceStateReadFailure>;
|
|
92
|
-
rows: (type: "skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack") => Effect.Effect<ReadonlyArray<import("./read-model-record-types.ts").ReadModelRecordRow>, WorkspaceStateReadFailure>;
|
|
93
|
-
};
|
|
94
|
-
getConfiguredOwner: () => Effect.Effect<Option.Option<string & import("effect/Brand").Brand<"Handle">>, SettingsReadError | WorkspaceRootEscape, never>;
|
|
95
|
-
setOwner: (owner: Handle) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
96
|
-
getPublishDefaultVisibility: () => Effect.Effect<Option.Option<"public" | "private">, SettingsReadError | WorkspaceRootEscape, never>;
|
|
97
|
-
getMinimumReleaseAge: () => Effect.Effect<string, SettingsReadError | WorkspaceRootEscape, never>;
|
|
98
|
-
getMinimumReleaseAgeExclude: () => Effect.Effect<ScopedReleaseAgeExcludePattern[], SettingsReadError | WorkspaceRootEscape, never>;
|
|
99
|
-
addConfiguredSource: (source: SourceHostConfig) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
100
|
-
getConfiguredSkillEntries: () => Effect.Effect<{
|
|
101
|
-
readonly [x: string]: {
|
|
102
|
-
readonly source: string;
|
|
103
|
-
readonly enabled: boolean;
|
|
104
|
-
readonly origin?: "bundled";
|
|
105
|
-
};
|
|
106
|
-
}, SettingsReadError | WorkspaceRootEscape, never>;
|
|
107
|
-
getConfiguredAgents: () => Effect.Effect<readonly ("adal" | "aider-desk" | "amp" | "antigravity" | "antigravity-cli" | "augment" | "claude-code" | "cline" | "codearts-agent" | "codebuddy" | "codemaker" | "codestudio" | "codex" | "command-code" | "continue" | "cortex" | "crush" | "cursor" | "deepagents" | "devin" | "dexto" | "droid" | "firebender" | "forgecode" | "gemini-cli" | "github-copilot-cli" | "goose" | "grok-cli" | "hermes" | "ibm-bob" | "iflow-cli" | "junie" | "lingma" | "kilo" | "kimi-cli" | "kiro-cli" | "kode" | "mcpjam" | "minimax-code" | "mistral-vibe" | "mux" | "neovate" | "openclaw" | "opencode" | "openhands" | "ona" | "pi" | "pochi" | "qoder" | "qoder-cn" | "qwen-code" | "replit" | "roo" | "rovodev" | "tabnine-cli" | "trae-cn" | "trae" | "warp" | "windsurf" | "zencoder" | "zed" | "zenflow")[], SettingsReadError | WorkspaceRootEscape, never>;
|
|
108
|
-
getInstructionsConfig: () => Effect.Effect<Option.Option<false | {
|
|
109
|
-
readonly fileName?: string;
|
|
110
|
-
readonly gitignoreAliases?: boolean;
|
|
111
|
-
}>, SettingsReadError | WorkspaceRootEscape, never>;
|
|
112
|
-
setInstructionsConfig: (config: InstructionsConfigValue) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
113
|
-
getConfiguredMcpServerEntries: () => Effect.Effect<{
|
|
114
|
-
readonly [x: string]: {
|
|
115
|
-
readonly source: string;
|
|
116
|
-
readonly enabled: boolean;
|
|
117
|
-
readonly env: {
|
|
118
|
-
readonly [x: string]: string;
|
|
119
|
-
};
|
|
120
|
-
readonly url?: string | undefined;
|
|
121
|
-
readonly command?: string | undefined;
|
|
122
|
-
readonly args?: readonly string[] | undefined;
|
|
123
|
-
readonly headers?: {
|
|
124
|
-
readonly [x: string]: string;
|
|
125
|
-
} | undefined;
|
|
126
|
-
readonly kind?: "sourced" | undefined;
|
|
127
|
-
} | {
|
|
128
|
-
readonly enabled: boolean;
|
|
129
|
-
readonly env: {
|
|
130
|
-
readonly [x: string]: string;
|
|
131
|
-
};
|
|
132
|
-
readonly kind: "inline";
|
|
133
|
-
readonly url?: string | undefined;
|
|
134
|
-
readonly source?: undefined;
|
|
135
|
-
readonly command?: string | undefined;
|
|
136
|
-
readonly args?: readonly string[] | undefined;
|
|
137
|
-
readonly headers?: {
|
|
138
|
-
readonly [x: string]: string;
|
|
139
|
-
} | undefined;
|
|
140
|
-
};
|
|
141
|
-
}, SettingsReadError | WorkspaceRootEscape, never>;
|
|
142
|
-
getConfiguredRuleEntries: () => Effect.Effect<{
|
|
143
|
-
readonly [x: string]: {
|
|
144
|
-
readonly source: string;
|
|
145
|
-
readonly enabled: boolean;
|
|
146
|
-
};
|
|
147
|
-
}, SettingsReadError | WorkspaceRootEscape, never>;
|
|
148
|
-
getLockedRules: () => Effect.Effect<{
|
|
149
|
-
readonly [x: string]: {
|
|
150
|
-
readonly type: "github";
|
|
151
|
-
readonly owner: string;
|
|
152
|
-
readonly sourceType: "github";
|
|
153
|
-
readonly extensionType: "rule";
|
|
154
|
-
readonly sourceName: string;
|
|
155
|
-
readonly packageFormat: "agentxm";
|
|
156
|
-
readonly endpoint: URL;
|
|
157
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
158
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
159
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
160
|
-
readonly repo: string;
|
|
161
|
-
readonly resolvedCommit: string;
|
|
162
|
-
readonly resolvedTree: string;
|
|
163
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
164
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
165
|
-
readonly path?: string | undefined;
|
|
166
|
-
readonly ref?: string | undefined;
|
|
167
|
-
} | {
|
|
168
|
-
readonly type: "gitlab";
|
|
169
|
-
readonly owner: string;
|
|
170
|
-
readonly sourceType: "gitlab";
|
|
171
|
-
readonly extensionType: "rule";
|
|
172
|
-
readonly sourceName: string;
|
|
173
|
-
readonly packageFormat: "agentxm";
|
|
174
|
-
readonly endpoint: URL;
|
|
175
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
176
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
177
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
178
|
-
readonly repo: string;
|
|
179
|
-
readonly resolvedCommit: string;
|
|
180
|
-
readonly resolvedTree: string;
|
|
181
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
182
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
183
|
-
readonly path?: string | undefined;
|
|
184
|
-
readonly ref?: string | undefined;
|
|
185
|
-
} | {
|
|
186
|
-
readonly type: "bitbucket";
|
|
187
|
-
readonly owner: string;
|
|
188
|
-
readonly sourceType: "bitbucket";
|
|
189
|
-
readonly extensionType: "rule";
|
|
190
|
-
readonly sourceName: string;
|
|
191
|
-
readonly packageFormat: "agentxm";
|
|
192
|
-
readonly endpoint: URL;
|
|
193
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
194
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
195
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
196
|
-
readonly repo: string;
|
|
197
|
-
readonly resolvedCommit: string;
|
|
198
|
-
readonly resolvedTree: string;
|
|
199
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
200
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
201
|
-
readonly path?: string | undefined;
|
|
202
|
-
readonly ref?: string | undefined;
|
|
203
|
-
} | {
|
|
204
|
-
readonly type: "azurerepos";
|
|
205
|
-
readonly sourceType: "azurerepos";
|
|
206
|
-
readonly extensionType: "rule";
|
|
207
|
-
readonly sourceName: string;
|
|
208
|
-
readonly packageFormat: "agentxm";
|
|
209
|
-
readonly endpoint: URL;
|
|
210
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
211
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
212
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
213
|
-
readonly repo: string;
|
|
214
|
-
readonly resolvedCommit: string;
|
|
215
|
-
readonly resolvedTree: string;
|
|
216
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
217
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
218
|
-
readonly organization: string;
|
|
219
|
-
readonly project: string;
|
|
220
|
-
readonly path?: string | undefined;
|
|
221
|
-
readonly ref?: string | undefined;
|
|
222
|
-
} | {
|
|
223
|
-
readonly type: "git";
|
|
224
|
-
readonly url: string;
|
|
225
|
-
readonly sourceType: "git";
|
|
226
|
-
readonly extensionType: "rule";
|
|
227
|
-
readonly sourceName: "git";
|
|
228
|
-
readonly packageFormat: "agentxm";
|
|
229
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
230
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
231
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
232
|
-
readonly resolvedCommit: string;
|
|
233
|
-
readonly resolvedTree: string;
|
|
234
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
235
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
236
|
-
readonly path?: string | undefined;
|
|
237
|
-
readonly ref?: string | undefined;
|
|
238
|
-
} | {
|
|
239
|
-
readonly type: "local";
|
|
240
|
-
readonly sourceType: "local";
|
|
241
|
-
readonly sourceName: "local";
|
|
242
|
-
readonly extensionType: "rule";
|
|
243
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
244
|
-
readonly packageFormat: "agentxm";
|
|
245
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
246
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
247
|
-
readonly path: string;
|
|
248
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
249
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
250
|
-
} | {
|
|
251
|
-
readonly type: "registry";
|
|
252
|
-
readonly sourceType: "registry";
|
|
253
|
-
readonly endpoint: URL;
|
|
254
|
-
readonly extensionType: "rule";
|
|
255
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
256
|
-
readonly packageFormat: "agentxm";
|
|
257
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
258
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
259
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
260
|
-
readonly integrity: string;
|
|
261
|
-
readonly sourceName: string;
|
|
262
|
-
readonly publisherBindingId: string;
|
|
263
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
264
|
-
};
|
|
265
|
-
}, LockfileReadError | WorkspaceRootEscape, never>;
|
|
266
|
-
getLockedRuleEntry: (name: string) => Effect.Effect<Option.Option<{
|
|
267
|
-
readonly type: "github";
|
|
268
|
-
readonly owner: string;
|
|
269
|
-
readonly sourceType: "github";
|
|
270
|
-
readonly extensionType: "rule";
|
|
271
|
-
readonly sourceName: string;
|
|
272
|
-
readonly packageFormat: "agentxm";
|
|
273
|
-
readonly endpoint: URL;
|
|
274
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
275
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
276
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
277
|
-
readonly repo: string;
|
|
278
|
-
readonly resolvedCommit: string;
|
|
279
|
-
readonly resolvedTree: string;
|
|
280
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
281
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
282
|
-
readonly path?: string | undefined;
|
|
283
|
-
readonly ref?: string | undefined;
|
|
284
|
-
} | {
|
|
285
|
-
readonly type: "gitlab";
|
|
286
|
-
readonly owner: string;
|
|
287
|
-
readonly sourceType: "gitlab";
|
|
288
|
-
readonly extensionType: "rule";
|
|
289
|
-
readonly sourceName: string;
|
|
290
|
-
readonly packageFormat: "agentxm";
|
|
291
|
-
readonly endpoint: URL;
|
|
292
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
293
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
294
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
295
|
-
readonly repo: string;
|
|
296
|
-
readonly resolvedCommit: string;
|
|
297
|
-
readonly resolvedTree: string;
|
|
298
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
299
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
300
|
-
readonly path?: string | undefined;
|
|
301
|
-
readonly ref?: string | undefined;
|
|
302
|
-
} | {
|
|
303
|
-
readonly type: "bitbucket";
|
|
304
|
-
readonly owner: string;
|
|
305
|
-
readonly sourceType: "bitbucket";
|
|
306
|
-
readonly extensionType: "rule";
|
|
307
|
-
readonly sourceName: string;
|
|
308
|
-
readonly packageFormat: "agentxm";
|
|
309
|
-
readonly endpoint: URL;
|
|
310
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
311
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
312
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
313
|
-
readonly repo: string;
|
|
314
|
-
readonly resolvedCommit: string;
|
|
315
|
-
readonly resolvedTree: string;
|
|
316
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
317
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
318
|
-
readonly path?: string | undefined;
|
|
319
|
-
readonly ref?: string | undefined;
|
|
320
|
-
} | {
|
|
321
|
-
readonly type: "azurerepos";
|
|
322
|
-
readonly sourceType: "azurerepos";
|
|
323
|
-
readonly extensionType: "rule";
|
|
324
|
-
readonly sourceName: string;
|
|
325
|
-
readonly packageFormat: "agentxm";
|
|
326
|
-
readonly endpoint: URL;
|
|
327
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
328
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
329
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
330
|
-
readonly repo: string;
|
|
331
|
-
readonly resolvedCommit: string;
|
|
332
|
-
readonly resolvedTree: string;
|
|
333
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
334
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
335
|
-
readonly organization: string;
|
|
336
|
-
readonly project: string;
|
|
337
|
-
readonly path?: string | undefined;
|
|
338
|
-
readonly ref?: string | undefined;
|
|
339
|
-
} | {
|
|
340
|
-
readonly type: "git";
|
|
341
|
-
readonly url: string;
|
|
342
|
-
readonly sourceType: "git";
|
|
343
|
-
readonly extensionType: "rule";
|
|
344
|
-
readonly sourceName: "git";
|
|
345
|
-
readonly packageFormat: "agentxm";
|
|
346
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
347
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
348
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
349
|
-
readonly resolvedCommit: string;
|
|
350
|
-
readonly resolvedTree: string;
|
|
351
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
352
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
353
|
-
readonly path?: string | undefined;
|
|
354
|
-
readonly ref?: string | undefined;
|
|
355
|
-
} | {
|
|
356
|
-
readonly type: "local";
|
|
357
|
-
readonly sourceType: "local";
|
|
358
|
-
readonly sourceName: "local";
|
|
359
|
-
readonly extensionType: "rule";
|
|
360
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
361
|
-
readonly packageFormat: "agentxm";
|
|
362
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
363
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
364
|
-
readonly path: string;
|
|
365
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
366
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
367
|
-
} | {
|
|
368
|
-
readonly type: "registry";
|
|
369
|
-
readonly sourceType: "registry";
|
|
370
|
-
readonly endpoint: URL;
|
|
371
|
-
readonly extensionType: "rule";
|
|
372
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
373
|
-
readonly packageFormat: "agentxm";
|
|
374
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
375
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
376
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
377
|
-
readonly integrity: string;
|
|
378
|
-
readonly sourceName: string;
|
|
379
|
-
readonly publisherBindingId: string;
|
|
380
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
381
|
-
}>, LockfileReadError | WorkspaceRootEscape, never>;
|
|
382
|
-
setRule: ({ name, lockEntry, versionRange }: SetRuleArgs) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
383
|
-
setRuleLock: ({ name, lockEntry }: SetRuleArgs) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
384
|
-
removeRule: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
385
|
-
removeRuleSettings: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
386
|
-
removeRuleLock: (name: string) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
387
|
-
updateRuleEntry: (name: string, updater: (entry: RuleEntry) => RuleEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
388
|
-
setRuleEntry: (name: string, entry: RuleEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
389
|
-
getConfiguredHookEntries: () => Effect.Effect<{
|
|
390
|
-
readonly [x: string]: {
|
|
391
|
-
readonly source: string;
|
|
392
|
-
readonly enabled: boolean;
|
|
393
|
-
};
|
|
394
|
-
}, SettingsReadError | WorkspaceRootEscape, never>;
|
|
395
|
-
getLockedHooks: () => Effect.Effect<{
|
|
396
|
-
readonly [x: string]: {
|
|
397
|
-
readonly type: "github";
|
|
398
|
-
readonly owner: string;
|
|
399
|
-
readonly sourceType: "github";
|
|
400
|
-
readonly extensionType: "hook";
|
|
401
|
-
readonly sourceName: string;
|
|
402
|
-
readonly packageFormat: "agentxm";
|
|
403
|
-
readonly endpoint: URL;
|
|
404
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
405
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
406
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
407
|
-
readonly repo: string;
|
|
408
|
-
readonly resolvedCommit: string;
|
|
409
|
-
readonly resolvedTree: string;
|
|
410
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
411
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
412
|
-
readonly path?: string | undefined;
|
|
413
|
-
readonly ref?: string | undefined;
|
|
414
|
-
} | {
|
|
415
|
-
readonly type: "gitlab";
|
|
416
|
-
readonly owner: string;
|
|
417
|
-
readonly sourceType: "gitlab";
|
|
418
|
-
readonly extensionType: "hook";
|
|
419
|
-
readonly sourceName: string;
|
|
420
|
-
readonly packageFormat: "agentxm";
|
|
421
|
-
readonly endpoint: URL;
|
|
422
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
423
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
424
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
425
|
-
readonly repo: string;
|
|
426
|
-
readonly resolvedCommit: string;
|
|
427
|
-
readonly resolvedTree: string;
|
|
428
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
429
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
430
|
-
readonly path?: string | undefined;
|
|
431
|
-
readonly ref?: string | undefined;
|
|
432
|
-
} | {
|
|
433
|
-
readonly type: "bitbucket";
|
|
434
|
-
readonly owner: string;
|
|
435
|
-
readonly sourceType: "bitbucket";
|
|
436
|
-
readonly extensionType: "hook";
|
|
437
|
-
readonly sourceName: string;
|
|
438
|
-
readonly packageFormat: "agentxm";
|
|
439
|
-
readonly endpoint: URL;
|
|
440
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
441
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
442
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
443
|
-
readonly repo: string;
|
|
444
|
-
readonly resolvedCommit: string;
|
|
445
|
-
readonly resolvedTree: string;
|
|
446
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
447
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
448
|
-
readonly path?: string | undefined;
|
|
449
|
-
readonly ref?: string | undefined;
|
|
450
|
-
} | {
|
|
451
|
-
readonly type: "azurerepos";
|
|
452
|
-
readonly sourceType: "azurerepos";
|
|
453
|
-
readonly extensionType: "hook";
|
|
454
|
-
readonly sourceName: string;
|
|
455
|
-
readonly packageFormat: "agentxm";
|
|
456
|
-
readonly endpoint: URL;
|
|
457
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
458
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
459
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
460
|
-
readonly repo: string;
|
|
461
|
-
readonly resolvedCommit: string;
|
|
462
|
-
readonly resolvedTree: string;
|
|
463
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
464
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
465
|
-
readonly organization: string;
|
|
466
|
-
readonly project: string;
|
|
467
|
-
readonly path?: string | undefined;
|
|
468
|
-
readonly ref?: string | undefined;
|
|
469
|
-
} | {
|
|
470
|
-
readonly type: "git";
|
|
471
|
-
readonly url: string;
|
|
472
|
-
readonly sourceType: "git";
|
|
473
|
-
readonly extensionType: "hook";
|
|
474
|
-
readonly sourceName: "git";
|
|
475
|
-
readonly packageFormat: "agentxm";
|
|
476
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
477
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
478
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
479
|
-
readonly resolvedCommit: string;
|
|
480
|
-
readonly resolvedTree: string;
|
|
481
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
482
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
483
|
-
readonly path?: string | undefined;
|
|
484
|
-
readonly ref?: string | undefined;
|
|
485
|
-
} | {
|
|
486
|
-
readonly type: "local";
|
|
487
|
-
readonly sourceType: "local";
|
|
488
|
-
readonly sourceName: "local";
|
|
489
|
-
readonly extensionType: "hook";
|
|
490
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
491
|
-
readonly packageFormat: "agentxm";
|
|
492
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
493
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
494
|
-
readonly path: string;
|
|
495
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
496
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
497
|
-
} | {
|
|
498
|
-
readonly type: "registry";
|
|
499
|
-
readonly sourceType: "registry";
|
|
500
|
-
readonly endpoint: URL;
|
|
501
|
-
readonly extensionType: "hook";
|
|
502
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
503
|
-
readonly packageFormat: "agentxm";
|
|
504
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
505
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
506
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
507
|
-
readonly integrity: string;
|
|
508
|
-
readonly sourceName: string;
|
|
509
|
-
readonly publisherBindingId: string;
|
|
510
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
511
|
-
};
|
|
512
|
-
}, LockfileReadError | WorkspaceRootEscape, never>;
|
|
513
|
-
getLockedHookEntry: (name: string) => Effect.Effect<Option.Option<{
|
|
514
|
-
readonly type: "github";
|
|
515
|
-
readonly owner: string;
|
|
516
|
-
readonly sourceType: "github";
|
|
517
|
-
readonly extensionType: "hook";
|
|
518
|
-
readonly sourceName: string;
|
|
519
|
-
readonly packageFormat: "agentxm";
|
|
520
|
-
readonly endpoint: URL;
|
|
521
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
522
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
523
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
524
|
-
readonly repo: string;
|
|
525
|
-
readonly resolvedCommit: string;
|
|
526
|
-
readonly resolvedTree: string;
|
|
527
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
528
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
529
|
-
readonly path?: string | undefined;
|
|
530
|
-
readonly ref?: string | undefined;
|
|
531
|
-
} | {
|
|
532
|
-
readonly type: "gitlab";
|
|
533
|
-
readonly owner: string;
|
|
534
|
-
readonly sourceType: "gitlab";
|
|
535
|
-
readonly extensionType: "hook";
|
|
536
|
-
readonly sourceName: string;
|
|
537
|
-
readonly packageFormat: "agentxm";
|
|
538
|
-
readonly endpoint: URL;
|
|
539
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
540
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
541
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
542
|
-
readonly repo: string;
|
|
543
|
-
readonly resolvedCommit: string;
|
|
544
|
-
readonly resolvedTree: string;
|
|
545
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
546
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
547
|
-
readonly path?: string | undefined;
|
|
548
|
-
readonly ref?: string | undefined;
|
|
549
|
-
} | {
|
|
550
|
-
readonly type: "bitbucket";
|
|
551
|
-
readonly owner: string;
|
|
552
|
-
readonly sourceType: "bitbucket";
|
|
553
|
-
readonly extensionType: "hook";
|
|
554
|
-
readonly sourceName: string;
|
|
555
|
-
readonly packageFormat: "agentxm";
|
|
556
|
-
readonly endpoint: URL;
|
|
557
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
558
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
559
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
560
|
-
readonly repo: string;
|
|
561
|
-
readonly resolvedCommit: string;
|
|
562
|
-
readonly resolvedTree: string;
|
|
563
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
564
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
565
|
-
readonly path?: string | undefined;
|
|
566
|
-
readonly ref?: string | undefined;
|
|
567
|
-
} | {
|
|
568
|
-
readonly type: "azurerepos";
|
|
569
|
-
readonly sourceType: "azurerepos";
|
|
570
|
-
readonly extensionType: "hook";
|
|
571
|
-
readonly sourceName: string;
|
|
572
|
-
readonly packageFormat: "agentxm";
|
|
573
|
-
readonly endpoint: URL;
|
|
574
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
575
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
576
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
577
|
-
readonly repo: string;
|
|
578
|
-
readonly resolvedCommit: string;
|
|
579
|
-
readonly resolvedTree: string;
|
|
580
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
581
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
582
|
-
readonly organization: string;
|
|
583
|
-
readonly project: string;
|
|
584
|
-
readonly path?: string | undefined;
|
|
585
|
-
readonly ref?: string | undefined;
|
|
586
|
-
} | {
|
|
587
|
-
readonly type: "git";
|
|
588
|
-
readonly url: string;
|
|
589
|
-
readonly sourceType: "git";
|
|
590
|
-
readonly extensionType: "hook";
|
|
591
|
-
readonly sourceName: "git";
|
|
592
|
-
readonly packageFormat: "agentxm";
|
|
593
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
594
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
595
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
596
|
-
readonly resolvedCommit: string;
|
|
597
|
-
readonly resolvedTree: string;
|
|
598
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
599
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
600
|
-
readonly path?: string | undefined;
|
|
601
|
-
readonly ref?: string | undefined;
|
|
602
|
-
} | {
|
|
603
|
-
readonly type: "local";
|
|
604
|
-
readonly sourceType: "local";
|
|
605
|
-
readonly sourceName: "local";
|
|
606
|
-
readonly extensionType: "hook";
|
|
607
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
608
|
-
readonly packageFormat: "agentxm";
|
|
609
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
610
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
611
|
-
readonly path: string;
|
|
612
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
613
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
614
|
-
} | {
|
|
615
|
-
readonly type: "registry";
|
|
616
|
-
readonly sourceType: "registry";
|
|
617
|
-
readonly endpoint: URL;
|
|
618
|
-
readonly extensionType: "hook";
|
|
619
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
620
|
-
readonly packageFormat: "agentxm";
|
|
621
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
622
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
623
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
624
|
-
readonly integrity: string;
|
|
625
|
-
readonly sourceName: string;
|
|
626
|
-
readonly publisherBindingId: string;
|
|
627
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
628
|
-
}>, LockfileReadError | WorkspaceRootEscape, never>;
|
|
629
|
-
setHook: ({ name, lockEntry, versionRange }: SetHookArgs) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
630
|
-
setHookLock: ({ name, lockEntry }: SetHookArgs) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
631
|
-
removeHook: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
632
|
-
removeHookSettings: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
633
|
-
removeHookLock: (name: string) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
634
|
-
updateHookEntry: (name: string, updater: (entry: HookEntry) => HookEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
635
|
-
setHookEntry: (name: string, entry: HookEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
636
|
-
getConfiguredKnowledgeEntries: () => Effect.Effect<{
|
|
637
|
-
readonly [x: string]: {
|
|
638
|
-
readonly source: string;
|
|
639
|
-
readonly enabled: boolean;
|
|
640
|
-
readonly instructionEntry?: boolean;
|
|
641
|
-
};
|
|
642
|
-
}, SettingsReadError | WorkspaceRootEscape, never>;
|
|
643
|
-
getKnowledgeDiscoveryConfig: () => Effect.Effect<import("../knowledge/discovery-config.js").ResolvedKnowledgeDiscoveryConfig, SettingsReadError | WorkspaceRootEscape, never>;
|
|
644
|
-
getLockedKnowledge: () => Effect.Effect<{
|
|
645
|
-
readonly [x: string]: {
|
|
646
|
-
readonly type: "github";
|
|
647
|
-
readonly owner: string;
|
|
648
|
-
readonly sourceType: "github";
|
|
649
|
-
readonly extensionType: "knowledge";
|
|
650
|
-
readonly sourceName: string;
|
|
651
|
-
readonly packageFormat: "agentxm";
|
|
652
|
-
readonly endpoint: URL;
|
|
653
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
654
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
655
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
656
|
-
readonly repo: string;
|
|
657
|
-
readonly resolvedCommit: string;
|
|
658
|
-
readonly resolvedTree: string;
|
|
659
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
660
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
661
|
-
readonly path?: string | undefined;
|
|
662
|
-
readonly ref?: string | undefined;
|
|
663
|
-
} | {
|
|
664
|
-
readonly type: "gitlab";
|
|
665
|
-
readonly owner: string;
|
|
666
|
-
readonly sourceType: "gitlab";
|
|
667
|
-
readonly extensionType: "knowledge";
|
|
668
|
-
readonly sourceName: string;
|
|
669
|
-
readonly packageFormat: "agentxm";
|
|
670
|
-
readonly endpoint: URL;
|
|
671
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
672
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
673
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
674
|
-
readonly repo: string;
|
|
675
|
-
readonly resolvedCommit: string;
|
|
676
|
-
readonly resolvedTree: string;
|
|
677
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
678
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
679
|
-
readonly path?: string | undefined;
|
|
680
|
-
readonly ref?: string | undefined;
|
|
681
|
-
} | {
|
|
682
|
-
readonly type: "bitbucket";
|
|
683
|
-
readonly owner: string;
|
|
684
|
-
readonly sourceType: "bitbucket";
|
|
685
|
-
readonly extensionType: "knowledge";
|
|
686
|
-
readonly sourceName: string;
|
|
687
|
-
readonly packageFormat: "agentxm";
|
|
688
|
-
readonly endpoint: URL;
|
|
689
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
690
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
691
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
692
|
-
readonly repo: string;
|
|
693
|
-
readonly resolvedCommit: string;
|
|
694
|
-
readonly resolvedTree: string;
|
|
695
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
696
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
697
|
-
readonly path?: string | undefined;
|
|
698
|
-
readonly ref?: string | undefined;
|
|
699
|
-
} | {
|
|
700
|
-
readonly type: "azurerepos";
|
|
701
|
-
readonly sourceType: "azurerepos";
|
|
702
|
-
readonly extensionType: "knowledge";
|
|
703
|
-
readonly sourceName: string;
|
|
704
|
-
readonly packageFormat: "agentxm";
|
|
705
|
-
readonly endpoint: URL;
|
|
706
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
707
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
708
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
709
|
-
readonly repo: string;
|
|
710
|
-
readonly resolvedCommit: string;
|
|
711
|
-
readonly resolvedTree: string;
|
|
712
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
713
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
714
|
-
readonly organization: string;
|
|
715
|
-
readonly project: string;
|
|
716
|
-
readonly path?: string | undefined;
|
|
717
|
-
readonly ref?: string | undefined;
|
|
718
|
-
} | {
|
|
719
|
-
readonly type: "git";
|
|
720
|
-
readonly url: string;
|
|
721
|
-
readonly sourceType: "git";
|
|
722
|
-
readonly extensionType: "knowledge";
|
|
723
|
-
readonly sourceName: "git";
|
|
724
|
-
readonly packageFormat: "agentxm";
|
|
725
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
726
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
727
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
728
|
-
readonly resolvedCommit: string;
|
|
729
|
-
readonly resolvedTree: string;
|
|
730
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
731
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
732
|
-
readonly path?: string | undefined;
|
|
733
|
-
readonly ref?: string | undefined;
|
|
734
|
-
} | {
|
|
735
|
-
readonly type: "local";
|
|
736
|
-
readonly sourceType: "local";
|
|
737
|
-
readonly sourceName: "local";
|
|
738
|
-
readonly extensionType: "knowledge";
|
|
739
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
740
|
-
readonly packageFormat: "agentxm";
|
|
741
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
742
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
743
|
-
readonly path: string;
|
|
744
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
745
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
746
|
-
} | {
|
|
747
|
-
readonly type: "registry";
|
|
748
|
-
readonly sourceType: "registry";
|
|
749
|
-
readonly endpoint: URL;
|
|
750
|
-
readonly extensionType: "knowledge";
|
|
751
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
752
|
-
readonly packageFormat: "agentxm";
|
|
753
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
754
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
755
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
756
|
-
readonly integrity: string;
|
|
757
|
-
readonly sourceName: string;
|
|
758
|
-
readonly publisherBindingId: string;
|
|
759
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
760
|
-
};
|
|
761
|
-
}, LockfileReadError | WorkspaceRootEscape, never>;
|
|
762
|
-
getLockedKnowledgeEntry: (name: string) => Effect.Effect<Option.Option<{
|
|
763
|
-
readonly type: "github";
|
|
764
|
-
readonly owner: string;
|
|
765
|
-
readonly sourceType: "github";
|
|
766
|
-
readonly extensionType: "knowledge";
|
|
767
|
-
readonly sourceName: string;
|
|
768
|
-
readonly packageFormat: "agentxm";
|
|
769
|
-
readonly endpoint: URL;
|
|
770
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
771
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
772
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
773
|
-
readonly repo: string;
|
|
774
|
-
readonly resolvedCommit: string;
|
|
775
|
-
readonly resolvedTree: string;
|
|
776
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
777
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
778
|
-
readonly path?: string | undefined;
|
|
779
|
-
readonly ref?: string | undefined;
|
|
780
|
-
} | {
|
|
781
|
-
readonly type: "gitlab";
|
|
782
|
-
readonly owner: string;
|
|
783
|
-
readonly sourceType: "gitlab";
|
|
784
|
-
readonly extensionType: "knowledge";
|
|
785
|
-
readonly sourceName: string;
|
|
786
|
-
readonly packageFormat: "agentxm";
|
|
787
|
-
readonly endpoint: URL;
|
|
788
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
789
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
790
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
791
|
-
readonly repo: string;
|
|
792
|
-
readonly resolvedCommit: string;
|
|
793
|
-
readonly resolvedTree: string;
|
|
794
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
795
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
796
|
-
readonly path?: string | undefined;
|
|
797
|
-
readonly ref?: string | undefined;
|
|
798
|
-
} | {
|
|
799
|
-
readonly type: "bitbucket";
|
|
800
|
-
readonly owner: string;
|
|
801
|
-
readonly sourceType: "bitbucket";
|
|
802
|
-
readonly extensionType: "knowledge";
|
|
803
|
-
readonly sourceName: string;
|
|
804
|
-
readonly packageFormat: "agentxm";
|
|
805
|
-
readonly endpoint: URL;
|
|
806
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
807
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
808
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
809
|
-
readonly repo: string;
|
|
810
|
-
readonly resolvedCommit: string;
|
|
811
|
-
readonly resolvedTree: string;
|
|
812
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
813
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
814
|
-
readonly path?: string | undefined;
|
|
815
|
-
readonly ref?: string | undefined;
|
|
816
|
-
} | {
|
|
817
|
-
readonly type: "azurerepos";
|
|
818
|
-
readonly sourceType: "azurerepos";
|
|
819
|
-
readonly extensionType: "knowledge";
|
|
820
|
-
readonly sourceName: string;
|
|
821
|
-
readonly packageFormat: "agentxm";
|
|
822
|
-
readonly endpoint: URL;
|
|
823
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
824
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
825
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
826
|
-
readonly repo: string;
|
|
827
|
-
readonly resolvedCommit: string;
|
|
828
|
-
readonly resolvedTree: string;
|
|
829
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
830
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
831
|
-
readonly organization: string;
|
|
832
|
-
readonly project: string;
|
|
833
|
-
readonly path?: string | undefined;
|
|
834
|
-
readonly ref?: string | undefined;
|
|
835
|
-
} | {
|
|
836
|
-
readonly type: "git";
|
|
837
|
-
readonly url: string;
|
|
838
|
-
readonly sourceType: "git";
|
|
839
|
-
readonly extensionType: "knowledge";
|
|
840
|
-
readonly sourceName: "git";
|
|
841
|
-
readonly packageFormat: "agentxm";
|
|
842
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
843
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
844
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
845
|
-
readonly resolvedCommit: string;
|
|
846
|
-
readonly resolvedTree: string;
|
|
847
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
848
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
849
|
-
readonly path?: string | undefined;
|
|
850
|
-
readonly ref?: string | undefined;
|
|
851
|
-
} | {
|
|
852
|
-
readonly type: "local";
|
|
853
|
-
readonly sourceType: "local";
|
|
854
|
-
readonly sourceName: "local";
|
|
855
|
-
readonly extensionType: "knowledge";
|
|
856
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
857
|
-
readonly packageFormat: "agentxm";
|
|
858
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
859
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
860
|
-
readonly path: string;
|
|
861
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
862
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
863
|
-
} | {
|
|
864
|
-
readonly type: "registry";
|
|
865
|
-
readonly sourceType: "registry";
|
|
866
|
-
readonly endpoint: URL;
|
|
867
|
-
readonly extensionType: "knowledge";
|
|
868
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
869
|
-
readonly packageFormat: "agentxm";
|
|
870
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
871
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
872
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
873
|
-
readonly integrity: string;
|
|
874
|
-
readonly sourceName: string;
|
|
875
|
-
readonly publisherBindingId: string;
|
|
876
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
877
|
-
}>, LockfileReadError | WorkspaceRootEscape, never>;
|
|
878
|
-
setKnowledge: ({ name, lockEntry, versionRange }: SetKnowledgeArgs) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
879
|
-
setKnowledgeLock: ({ name, lockEntry }: SetKnowledgeArgs) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
880
|
-
removeKnowledge: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
881
|
-
removeKnowledgeSettings: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
882
|
-
removeKnowledgeLock: (name: string) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
883
|
-
updateKnowledgeEntry: (name: string, updater: (entry: KnowledgeEntry) => KnowledgeEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
884
|
-
setKnowledgeEntry: (name: string, entry: KnowledgeEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
885
|
-
getLockedSkills: () => Effect.Effect<{
|
|
886
|
-
readonly [x: string]: {
|
|
887
|
-
readonly type: "github";
|
|
888
|
-
readonly owner: string;
|
|
889
|
-
readonly sourceType: "github";
|
|
890
|
-
readonly extensionType: "skill";
|
|
891
|
-
readonly sourceName: string;
|
|
892
|
-
readonly packageFormat: "agentxm" | "agent-skill";
|
|
893
|
-
readonly endpoint: URL;
|
|
894
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
895
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
896
|
-
readonly repo: string;
|
|
897
|
-
readonly resolvedCommit: string;
|
|
898
|
-
readonly resolvedTree: string;
|
|
899
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
900
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
901
|
-
readonly path?: string | undefined;
|
|
902
|
-
readonly ref?: string | undefined;
|
|
903
|
-
readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined;
|
|
904
|
-
} | {
|
|
905
|
-
readonly type: "gitlab";
|
|
906
|
-
readonly owner: string;
|
|
907
|
-
readonly sourceType: "gitlab";
|
|
908
|
-
readonly extensionType: "skill";
|
|
909
|
-
readonly sourceName: string;
|
|
910
|
-
readonly packageFormat: "agentxm" | "agent-skill";
|
|
911
|
-
readonly endpoint: URL;
|
|
912
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
913
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
914
|
-
readonly repo: string;
|
|
915
|
-
readonly resolvedCommit: string;
|
|
916
|
-
readonly resolvedTree: string;
|
|
917
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
918
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
919
|
-
readonly path?: string | undefined;
|
|
920
|
-
readonly ref?: string | undefined;
|
|
921
|
-
readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined;
|
|
922
|
-
} | {
|
|
923
|
-
readonly type: "bitbucket";
|
|
924
|
-
readonly owner: string;
|
|
925
|
-
readonly sourceType: "bitbucket";
|
|
926
|
-
readonly extensionType: "skill";
|
|
927
|
-
readonly sourceName: string;
|
|
928
|
-
readonly packageFormat: "agentxm" | "agent-skill";
|
|
929
|
-
readonly endpoint: URL;
|
|
930
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
931
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
932
|
-
readonly repo: string;
|
|
933
|
-
readonly resolvedCommit: string;
|
|
934
|
-
readonly resolvedTree: string;
|
|
935
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
936
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
937
|
-
readonly path?: string | undefined;
|
|
938
|
-
readonly ref?: string | undefined;
|
|
939
|
-
readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined;
|
|
940
|
-
} | {
|
|
941
|
-
readonly type: "azurerepos";
|
|
942
|
-
readonly sourceType: "azurerepos";
|
|
943
|
-
readonly extensionType: "skill";
|
|
944
|
-
readonly sourceName: string;
|
|
945
|
-
readonly packageFormat: "agentxm" | "agent-skill";
|
|
946
|
-
readonly endpoint: URL;
|
|
947
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
948
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
949
|
-
readonly repo: string;
|
|
950
|
-
readonly resolvedCommit: string;
|
|
951
|
-
readonly resolvedTree: string;
|
|
952
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
953
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
954
|
-
readonly organization: string;
|
|
955
|
-
readonly project: string;
|
|
956
|
-
readonly path?: string | undefined;
|
|
957
|
-
readonly ref?: string | undefined;
|
|
958
|
-
readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined;
|
|
959
|
-
} | {
|
|
960
|
-
readonly type: "git";
|
|
961
|
-
readonly url: string;
|
|
962
|
-
readonly sourceType: "git";
|
|
963
|
-
readonly extensionType: "skill";
|
|
964
|
-
readonly sourceName: "git";
|
|
965
|
-
readonly packageFormat: "agentxm" | "agent-skill";
|
|
966
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
967
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
968
|
-
readonly resolvedCommit: string;
|
|
969
|
-
readonly resolvedTree: string;
|
|
970
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
971
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
972
|
-
readonly path?: string | undefined;
|
|
973
|
-
readonly ref?: string | undefined;
|
|
974
|
-
readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined;
|
|
975
|
-
} | {
|
|
976
|
-
readonly type: "local";
|
|
977
|
-
readonly path: string;
|
|
978
|
-
readonly sourceType: "local";
|
|
979
|
-
readonly extensionType: "skill";
|
|
980
|
-
readonly sourceName: "local";
|
|
981
|
-
readonly packageFormat: "agentxm" | "agent-skill";
|
|
982
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
983
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
984
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
985
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
986
|
-
readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined;
|
|
987
|
-
} | {
|
|
988
|
-
readonly type: "registry";
|
|
989
|
-
readonly sourceType: "registry";
|
|
990
|
-
readonly endpoint: URL;
|
|
991
|
-
readonly extensionType: "skill";
|
|
992
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
993
|
-
readonly packageFormat: "agentxm";
|
|
994
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
995
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
996
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
997
|
-
readonly integrity: string;
|
|
998
|
-
readonly sourceName: string;
|
|
999
|
-
readonly publisherBindingId: string;
|
|
1000
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1001
|
-
};
|
|
1002
|
-
}, LockfileReadError | WorkspaceRootEscape, never>;
|
|
1003
|
-
getLockedSkill: (name: string) => Effect.Effect<Option.Option<{
|
|
1004
|
-
readonly type: "github";
|
|
1005
|
-
readonly owner: string;
|
|
1006
|
-
readonly sourceType: "github";
|
|
1007
|
-
readonly extensionType: "skill";
|
|
1008
|
-
readonly sourceName: string;
|
|
1009
|
-
readonly packageFormat: "agentxm" | "agent-skill";
|
|
1010
|
-
readonly endpoint: URL;
|
|
1011
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1012
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1013
|
-
readonly repo: string;
|
|
1014
|
-
readonly resolvedCommit: string;
|
|
1015
|
-
readonly resolvedTree: string;
|
|
1016
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1017
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1018
|
-
readonly path?: string | undefined;
|
|
1019
|
-
readonly ref?: string | undefined;
|
|
1020
|
-
readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined;
|
|
1021
|
-
} | {
|
|
1022
|
-
readonly type: "gitlab";
|
|
1023
|
-
readonly owner: string;
|
|
1024
|
-
readonly sourceType: "gitlab";
|
|
1025
|
-
readonly extensionType: "skill";
|
|
1026
|
-
readonly sourceName: string;
|
|
1027
|
-
readonly packageFormat: "agentxm" | "agent-skill";
|
|
1028
|
-
readonly endpoint: URL;
|
|
1029
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1030
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1031
|
-
readonly repo: string;
|
|
1032
|
-
readonly resolvedCommit: string;
|
|
1033
|
-
readonly resolvedTree: string;
|
|
1034
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1035
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1036
|
-
readonly path?: string | undefined;
|
|
1037
|
-
readonly ref?: string | undefined;
|
|
1038
|
-
readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined;
|
|
1039
|
-
} | {
|
|
1040
|
-
readonly type: "bitbucket";
|
|
1041
|
-
readonly owner: string;
|
|
1042
|
-
readonly sourceType: "bitbucket";
|
|
1043
|
-
readonly extensionType: "skill";
|
|
1044
|
-
readonly sourceName: string;
|
|
1045
|
-
readonly packageFormat: "agentxm" | "agent-skill";
|
|
1046
|
-
readonly endpoint: URL;
|
|
1047
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1048
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1049
|
-
readonly repo: string;
|
|
1050
|
-
readonly resolvedCommit: string;
|
|
1051
|
-
readonly resolvedTree: string;
|
|
1052
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1053
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1054
|
-
readonly path?: string | undefined;
|
|
1055
|
-
readonly ref?: string | undefined;
|
|
1056
|
-
readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined;
|
|
1057
|
-
} | {
|
|
1058
|
-
readonly type: "azurerepos";
|
|
1059
|
-
readonly sourceType: "azurerepos";
|
|
1060
|
-
readonly extensionType: "skill";
|
|
1061
|
-
readonly sourceName: string;
|
|
1062
|
-
readonly packageFormat: "agentxm" | "agent-skill";
|
|
1063
|
-
readonly endpoint: URL;
|
|
1064
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1065
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1066
|
-
readonly repo: string;
|
|
1067
|
-
readonly resolvedCommit: string;
|
|
1068
|
-
readonly resolvedTree: string;
|
|
1069
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1070
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1071
|
-
readonly organization: string;
|
|
1072
|
-
readonly project: string;
|
|
1073
|
-
readonly path?: string | undefined;
|
|
1074
|
-
readonly ref?: string | undefined;
|
|
1075
|
-
readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined;
|
|
1076
|
-
} | {
|
|
1077
|
-
readonly type: "git";
|
|
1078
|
-
readonly url: string;
|
|
1079
|
-
readonly sourceType: "git";
|
|
1080
|
-
readonly extensionType: "skill";
|
|
1081
|
-
readonly sourceName: "git";
|
|
1082
|
-
readonly packageFormat: "agentxm" | "agent-skill";
|
|
1083
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1084
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1085
|
-
readonly resolvedCommit: string;
|
|
1086
|
-
readonly resolvedTree: string;
|
|
1087
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1088
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1089
|
-
readonly path?: string | undefined;
|
|
1090
|
-
readonly ref?: string | undefined;
|
|
1091
|
-
readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined;
|
|
1092
|
-
} | {
|
|
1093
|
-
readonly type: "local";
|
|
1094
|
-
readonly path: string;
|
|
1095
|
-
readonly sourceType: "local";
|
|
1096
|
-
readonly extensionType: "skill";
|
|
1097
|
-
readonly sourceName: "local";
|
|
1098
|
-
readonly packageFormat: "agentxm" | "agent-skill";
|
|
1099
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1100
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1101
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1102
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1103
|
-
readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined;
|
|
1104
|
-
} | {
|
|
1105
|
-
readonly type: "registry";
|
|
1106
|
-
readonly sourceType: "registry";
|
|
1107
|
-
readonly endpoint: URL;
|
|
1108
|
-
readonly extensionType: "skill";
|
|
1109
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1110
|
-
readonly packageFormat: "agentxm";
|
|
1111
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
1112
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1113
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
1114
|
-
readonly integrity: string;
|
|
1115
|
-
readonly sourceName: string;
|
|
1116
|
-
readonly publisherBindingId: string;
|
|
1117
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1118
|
-
}>, LockfileReadError | WorkspaceRootEscape, never>;
|
|
1119
|
-
getSkillDir: (name: string, source?: SkillPathSource) => Effect.Effect<import("./skill-paths.js").SkillDirPaths, LockedSkillMissing | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1120
|
-
setSkill: ({ name, lockEntry, versionRange }: SetSkillArgs) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1121
|
-
setSkillLock: ({ name, lockEntry }: SetSkillArgs) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1122
|
-
removeSkill: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1123
|
-
removeSkillFromSettings: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1124
|
-
updateSkillEntry: (name: string, updater: (entry: SkillEntry) => SkillEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsEntryMissing | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1125
|
-
setSkillEntry: (name: string, entry: SkillEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1126
|
-
addConfiguredAgent: (agentId: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | InvalidAgentId | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1127
|
-
removeConfiguredAgent: (agentId: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | InvalidAgentId | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1128
|
-
getConfiguredPackEntries: () => Effect.Effect<{
|
|
1129
|
-
readonly [x: string]: {
|
|
1130
|
-
readonly source: string;
|
|
1131
|
-
readonly enabled: boolean;
|
|
1132
|
-
};
|
|
1133
|
-
}, SettingsReadError | WorkspaceRootEscape, never>;
|
|
1134
|
-
getLockedPacks: () => Effect.Effect<{
|
|
1135
|
-
readonly [x: string]: {
|
|
1136
|
-
readonly type: "registry";
|
|
1137
|
-
readonly sourceType: "registry";
|
|
1138
|
-
readonly endpoint: URL;
|
|
1139
|
-
readonly extensionType: "pack";
|
|
1140
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1141
|
-
readonly packageFormat: "agentxm";
|
|
1142
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
1143
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1144
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
1145
|
-
readonly integrity: string;
|
|
1146
|
-
readonly manifestContentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1147
|
-
readonly sourceName: string;
|
|
1148
|
-
readonly publisherBindingId: string;
|
|
1149
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1150
|
-
};
|
|
1151
|
-
}, LockfileReadError | WorkspaceRootEscape, never>;
|
|
1152
|
-
getLockedPack: (name: string) => Effect.Effect<Option.Option<{
|
|
1153
|
-
readonly type: "registry";
|
|
1154
|
-
readonly sourceType: "registry";
|
|
1155
|
-
readonly endpoint: URL;
|
|
1156
|
-
readonly extensionType: "pack";
|
|
1157
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1158
|
-
readonly packageFormat: "agentxm";
|
|
1159
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
1160
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1161
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
1162
|
-
readonly integrity: string;
|
|
1163
|
-
readonly manifestContentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1164
|
-
readonly sourceName: string;
|
|
1165
|
-
readonly publisherBindingId: string;
|
|
1166
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1167
|
-
}>, LockfileReadError | WorkspaceRootEscape, never>;
|
|
1168
|
-
setPack: (args: SetPackArgs) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1169
|
-
setPackLock: (args: SetPackArgs) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1170
|
-
setPackEntry: (name: string, entry: PackEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1171
|
-
removePack: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1172
|
-
getPackDir: (name: string, owner: Handle, sourceName: string) => Effect.Effect<import("./pack-paths.js").PackDirPath, never, never>;
|
|
1173
|
-
getLockedSubagents: () => Effect.Effect<{
|
|
1174
|
-
readonly [x: string]: {
|
|
1175
|
-
readonly type: "github";
|
|
1176
|
-
readonly owner: string;
|
|
1177
|
-
readonly sourceType: "github";
|
|
1178
|
-
readonly extensionType: "subagent";
|
|
1179
|
-
readonly sourceName: string;
|
|
1180
|
-
readonly packageFormat: "agentxm";
|
|
1181
|
-
readonly endpoint: URL;
|
|
1182
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1183
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1184
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1185
|
-
readonly repo: string;
|
|
1186
|
-
readonly resolvedCommit: string;
|
|
1187
|
-
readonly resolvedTree: string;
|
|
1188
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1189
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1190
|
-
readonly path?: string | undefined;
|
|
1191
|
-
readonly ref?: string | undefined;
|
|
1192
|
-
} | {
|
|
1193
|
-
readonly type: "gitlab";
|
|
1194
|
-
readonly owner: string;
|
|
1195
|
-
readonly sourceType: "gitlab";
|
|
1196
|
-
readonly extensionType: "subagent";
|
|
1197
|
-
readonly sourceName: string;
|
|
1198
|
-
readonly packageFormat: "agentxm";
|
|
1199
|
-
readonly endpoint: URL;
|
|
1200
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1201
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1202
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1203
|
-
readonly repo: string;
|
|
1204
|
-
readonly resolvedCommit: string;
|
|
1205
|
-
readonly resolvedTree: string;
|
|
1206
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1207
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1208
|
-
readonly path?: string | undefined;
|
|
1209
|
-
readonly ref?: string | undefined;
|
|
1210
|
-
} | {
|
|
1211
|
-
readonly type: "bitbucket";
|
|
1212
|
-
readonly owner: string;
|
|
1213
|
-
readonly sourceType: "bitbucket";
|
|
1214
|
-
readonly extensionType: "subagent";
|
|
1215
|
-
readonly sourceName: string;
|
|
1216
|
-
readonly packageFormat: "agentxm";
|
|
1217
|
-
readonly endpoint: URL;
|
|
1218
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1219
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1220
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1221
|
-
readonly repo: string;
|
|
1222
|
-
readonly resolvedCommit: string;
|
|
1223
|
-
readonly resolvedTree: string;
|
|
1224
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1225
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1226
|
-
readonly path?: string | undefined;
|
|
1227
|
-
readonly ref?: string | undefined;
|
|
1228
|
-
} | {
|
|
1229
|
-
readonly type: "azurerepos";
|
|
1230
|
-
readonly sourceType: "azurerepos";
|
|
1231
|
-
readonly extensionType: "subagent";
|
|
1232
|
-
readonly sourceName: string;
|
|
1233
|
-
readonly packageFormat: "agentxm";
|
|
1234
|
-
readonly endpoint: URL;
|
|
1235
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1236
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1237
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1238
|
-
readonly repo: string;
|
|
1239
|
-
readonly resolvedCommit: string;
|
|
1240
|
-
readonly resolvedTree: string;
|
|
1241
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1242
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1243
|
-
readonly organization: string;
|
|
1244
|
-
readonly project: string;
|
|
1245
|
-
readonly path?: string | undefined;
|
|
1246
|
-
readonly ref?: string | undefined;
|
|
1247
|
-
} | {
|
|
1248
|
-
readonly type: "git";
|
|
1249
|
-
readonly url: string;
|
|
1250
|
-
readonly sourceType: "git";
|
|
1251
|
-
readonly extensionType: "subagent";
|
|
1252
|
-
readonly sourceName: "git";
|
|
1253
|
-
readonly packageFormat: "agentxm";
|
|
1254
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1255
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1256
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1257
|
-
readonly resolvedCommit: string;
|
|
1258
|
-
readonly resolvedTree: string;
|
|
1259
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1260
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1261
|
-
readonly path?: string | undefined;
|
|
1262
|
-
readonly ref?: string | undefined;
|
|
1263
|
-
} | {
|
|
1264
|
-
readonly type: "local";
|
|
1265
|
-
readonly sourceType: "local";
|
|
1266
|
-
readonly sourceName: "local";
|
|
1267
|
-
readonly extensionType: "subagent";
|
|
1268
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1269
|
-
readonly packageFormat: "agentxm";
|
|
1270
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1271
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1272
|
-
readonly path: string;
|
|
1273
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1274
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1275
|
-
} | {
|
|
1276
|
-
readonly type: "registry";
|
|
1277
|
-
readonly sourceType: "registry";
|
|
1278
|
-
readonly endpoint: URL;
|
|
1279
|
-
readonly extensionType: "subagent";
|
|
1280
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1281
|
-
readonly packageFormat: "agentxm";
|
|
1282
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
1283
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1284
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
1285
|
-
readonly integrity: string;
|
|
1286
|
-
readonly sourceName: string;
|
|
1287
|
-
readonly publisherBindingId: string;
|
|
1288
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1289
|
-
};
|
|
1290
|
-
}, LockfileReadError | WorkspaceRootEscape, never>;
|
|
1291
|
-
getLockedSubagent: (name: string) => Effect.Effect<Option.Option<{
|
|
1292
|
-
readonly type: "github";
|
|
1293
|
-
readonly owner: string;
|
|
1294
|
-
readonly sourceType: "github";
|
|
1295
|
-
readonly extensionType: "subagent";
|
|
1296
|
-
readonly sourceName: string;
|
|
1297
|
-
readonly packageFormat: "agentxm";
|
|
1298
|
-
readonly endpoint: URL;
|
|
1299
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1300
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1301
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1302
|
-
readonly repo: string;
|
|
1303
|
-
readonly resolvedCommit: string;
|
|
1304
|
-
readonly resolvedTree: string;
|
|
1305
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1306
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1307
|
-
readonly path?: string | undefined;
|
|
1308
|
-
readonly ref?: string | undefined;
|
|
1309
|
-
} | {
|
|
1310
|
-
readonly type: "gitlab";
|
|
1311
|
-
readonly owner: string;
|
|
1312
|
-
readonly sourceType: "gitlab";
|
|
1313
|
-
readonly extensionType: "subagent";
|
|
1314
|
-
readonly sourceName: string;
|
|
1315
|
-
readonly packageFormat: "agentxm";
|
|
1316
|
-
readonly endpoint: URL;
|
|
1317
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1318
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1319
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1320
|
-
readonly repo: string;
|
|
1321
|
-
readonly resolvedCommit: string;
|
|
1322
|
-
readonly resolvedTree: string;
|
|
1323
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1324
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1325
|
-
readonly path?: string | undefined;
|
|
1326
|
-
readonly ref?: string | undefined;
|
|
1327
|
-
} | {
|
|
1328
|
-
readonly type: "bitbucket";
|
|
1329
|
-
readonly owner: string;
|
|
1330
|
-
readonly sourceType: "bitbucket";
|
|
1331
|
-
readonly extensionType: "subagent";
|
|
1332
|
-
readonly sourceName: string;
|
|
1333
|
-
readonly packageFormat: "agentxm";
|
|
1334
|
-
readonly endpoint: URL;
|
|
1335
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1336
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1337
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1338
|
-
readonly repo: string;
|
|
1339
|
-
readonly resolvedCommit: string;
|
|
1340
|
-
readonly resolvedTree: string;
|
|
1341
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1342
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1343
|
-
readonly path?: string | undefined;
|
|
1344
|
-
readonly ref?: string | undefined;
|
|
1345
|
-
} | {
|
|
1346
|
-
readonly type: "azurerepos";
|
|
1347
|
-
readonly sourceType: "azurerepos";
|
|
1348
|
-
readonly extensionType: "subagent";
|
|
1349
|
-
readonly sourceName: string;
|
|
1350
|
-
readonly packageFormat: "agentxm";
|
|
1351
|
-
readonly endpoint: URL;
|
|
1352
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1353
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1354
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1355
|
-
readonly repo: string;
|
|
1356
|
-
readonly resolvedCommit: string;
|
|
1357
|
-
readonly resolvedTree: string;
|
|
1358
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1359
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1360
|
-
readonly organization: string;
|
|
1361
|
-
readonly project: string;
|
|
1362
|
-
readonly path?: string | undefined;
|
|
1363
|
-
readonly ref?: string | undefined;
|
|
1364
|
-
} | {
|
|
1365
|
-
readonly type: "git";
|
|
1366
|
-
readonly url: string;
|
|
1367
|
-
readonly sourceType: "git";
|
|
1368
|
-
readonly extensionType: "subagent";
|
|
1369
|
-
readonly sourceName: "git";
|
|
1370
|
-
readonly packageFormat: "agentxm";
|
|
1371
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1372
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1373
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1374
|
-
readonly resolvedCommit: string;
|
|
1375
|
-
readonly resolvedTree: string;
|
|
1376
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1377
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1378
|
-
readonly path?: string | undefined;
|
|
1379
|
-
readonly ref?: string | undefined;
|
|
1380
|
-
} | {
|
|
1381
|
-
readonly type: "local";
|
|
1382
|
-
readonly sourceType: "local";
|
|
1383
|
-
readonly sourceName: "local";
|
|
1384
|
-
readonly extensionType: "subagent";
|
|
1385
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1386
|
-
readonly packageFormat: "agentxm";
|
|
1387
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1388
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1389
|
-
readonly path: string;
|
|
1390
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1391
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1392
|
-
} | {
|
|
1393
|
-
readonly type: "registry";
|
|
1394
|
-
readonly sourceType: "registry";
|
|
1395
|
-
readonly endpoint: URL;
|
|
1396
|
-
readonly extensionType: "subagent";
|
|
1397
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1398
|
-
readonly packageFormat: "agentxm";
|
|
1399
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
1400
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1401
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
1402
|
-
readonly integrity: string;
|
|
1403
|
-
readonly sourceName: string;
|
|
1404
|
-
readonly publisherBindingId: string;
|
|
1405
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1406
|
-
}>, LockfileReadError | WorkspaceRootEscape, never>;
|
|
1407
|
-
getConfiguredSubagentEntries: () => Effect.Effect<{
|
|
1408
|
-
readonly [x: string]: {
|
|
1409
|
-
readonly source: string;
|
|
1410
|
-
readonly enabled: boolean;
|
|
1411
|
-
};
|
|
1412
|
-
}, SettingsReadError | WorkspaceRootEscape, never>;
|
|
1413
|
-
setSubagent: ({ name, lockEntry, versionRange }: SetSubagentArgs) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1414
|
-
setSubagentLock: ({ name, lockEntry }: SetSubagentArgs) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1415
|
-
removeSubagent: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1416
|
-
updateSubagentEntry: (name: string, updater: (entry: SubagentEntry) => SubagentEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1417
|
-
setSubagentEntry: (name: string, entry: SubagentEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1418
|
-
removeSubagentSettings: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1419
|
-
removeSubagentLock: (name: string) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1420
|
-
getLockedMcpServers: () => Effect.Effect<{
|
|
1421
|
-
readonly [x: string]: {
|
|
1422
|
-
readonly type: "github";
|
|
1423
|
-
readonly owner: string;
|
|
1424
|
-
readonly sourceType: "github";
|
|
1425
|
-
readonly extensionType: "mcp-server";
|
|
1426
|
-
readonly sourceName: string;
|
|
1427
|
-
readonly packageFormat: "agentxm";
|
|
1428
|
-
readonly endpoint: URL;
|
|
1429
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1430
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1431
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1432
|
-
readonly repo: string;
|
|
1433
|
-
readonly resolvedCommit: string;
|
|
1434
|
-
readonly resolvedTree: string;
|
|
1435
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1436
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1437
|
-
readonly path?: string | undefined;
|
|
1438
|
-
readonly ref?: string | undefined;
|
|
1439
|
-
} | {
|
|
1440
|
-
readonly type: "gitlab";
|
|
1441
|
-
readonly owner: string;
|
|
1442
|
-
readonly sourceType: "gitlab";
|
|
1443
|
-
readonly extensionType: "mcp-server";
|
|
1444
|
-
readonly sourceName: string;
|
|
1445
|
-
readonly packageFormat: "agentxm";
|
|
1446
|
-
readonly endpoint: URL;
|
|
1447
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1448
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1449
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1450
|
-
readonly repo: string;
|
|
1451
|
-
readonly resolvedCommit: string;
|
|
1452
|
-
readonly resolvedTree: string;
|
|
1453
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1454
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1455
|
-
readonly path?: string | undefined;
|
|
1456
|
-
readonly ref?: string | undefined;
|
|
1457
|
-
} | {
|
|
1458
|
-
readonly type: "bitbucket";
|
|
1459
|
-
readonly owner: string;
|
|
1460
|
-
readonly sourceType: "bitbucket";
|
|
1461
|
-
readonly extensionType: "mcp-server";
|
|
1462
|
-
readonly sourceName: string;
|
|
1463
|
-
readonly packageFormat: "agentxm";
|
|
1464
|
-
readonly endpoint: URL;
|
|
1465
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1466
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1467
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1468
|
-
readonly repo: string;
|
|
1469
|
-
readonly resolvedCommit: string;
|
|
1470
|
-
readonly resolvedTree: string;
|
|
1471
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1472
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1473
|
-
readonly path?: string | undefined;
|
|
1474
|
-
readonly ref?: string | undefined;
|
|
1475
|
-
} | {
|
|
1476
|
-
readonly type: "azurerepos";
|
|
1477
|
-
readonly sourceType: "azurerepos";
|
|
1478
|
-
readonly extensionType: "mcp-server";
|
|
1479
|
-
readonly sourceName: string;
|
|
1480
|
-
readonly packageFormat: "agentxm";
|
|
1481
|
-
readonly endpoint: URL;
|
|
1482
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1483
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1484
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1485
|
-
readonly repo: string;
|
|
1486
|
-
readonly resolvedCommit: string;
|
|
1487
|
-
readonly resolvedTree: string;
|
|
1488
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1489
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1490
|
-
readonly organization: string;
|
|
1491
|
-
readonly project: string;
|
|
1492
|
-
readonly path?: string | undefined;
|
|
1493
|
-
readonly ref?: string | undefined;
|
|
1494
|
-
} | {
|
|
1495
|
-
readonly type: "git";
|
|
1496
|
-
readonly url: string;
|
|
1497
|
-
readonly sourceType: "git";
|
|
1498
|
-
readonly extensionType: "mcp-server";
|
|
1499
|
-
readonly sourceName: "git";
|
|
1500
|
-
readonly packageFormat: "agentxm";
|
|
1501
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1502
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1503
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1504
|
-
readonly resolvedCommit: string;
|
|
1505
|
-
readonly resolvedTree: string;
|
|
1506
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1507
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1508
|
-
readonly path?: string | undefined;
|
|
1509
|
-
readonly ref?: string | undefined;
|
|
1510
|
-
} | {
|
|
1511
|
-
readonly type: "local";
|
|
1512
|
-
readonly sourceType: "local";
|
|
1513
|
-
readonly sourceName: "local";
|
|
1514
|
-
readonly extensionType: "mcp-server";
|
|
1515
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1516
|
-
readonly packageFormat: "agentxm";
|
|
1517
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1518
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1519
|
-
readonly path: string;
|
|
1520
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1521
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1522
|
-
} | {
|
|
1523
|
-
readonly type: "registry";
|
|
1524
|
-
readonly sourceType: "registry";
|
|
1525
|
-
readonly endpoint: URL;
|
|
1526
|
-
readonly extensionType: "mcp-server";
|
|
1527
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1528
|
-
readonly packageFormat: "agentxm";
|
|
1529
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
1530
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1531
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
1532
|
-
readonly integrity: string;
|
|
1533
|
-
readonly sourceName: string;
|
|
1534
|
-
readonly publisherBindingId: string;
|
|
1535
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1536
|
-
};
|
|
1537
|
-
}, LockfileReadError | WorkspaceRootEscape, never>;
|
|
1538
|
-
getLockedMcpServer: (resolutionKey: string) => Effect.Effect<Option.Option<{
|
|
1539
|
-
readonly type: "github";
|
|
1540
|
-
readonly owner: string;
|
|
1541
|
-
readonly sourceType: "github";
|
|
1542
|
-
readonly extensionType: "mcp-server";
|
|
1543
|
-
readonly sourceName: string;
|
|
1544
|
-
readonly packageFormat: "agentxm";
|
|
1545
|
-
readonly endpoint: URL;
|
|
1546
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1547
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1548
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1549
|
-
readonly repo: string;
|
|
1550
|
-
readonly resolvedCommit: string;
|
|
1551
|
-
readonly resolvedTree: string;
|
|
1552
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1553
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1554
|
-
readonly path?: string | undefined;
|
|
1555
|
-
readonly ref?: string | undefined;
|
|
1556
|
-
} | {
|
|
1557
|
-
readonly type: "gitlab";
|
|
1558
|
-
readonly owner: string;
|
|
1559
|
-
readonly sourceType: "gitlab";
|
|
1560
|
-
readonly extensionType: "mcp-server";
|
|
1561
|
-
readonly sourceName: string;
|
|
1562
|
-
readonly packageFormat: "agentxm";
|
|
1563
|
-
readonly endpoint: URL;
|
|
1564
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1565
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1566
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1567
|
-
readonly repo: string;
|
|
1568
|
-
readonly resolvedCommit: string;
|
|
1569
|
-
readonly resolvedTree: string;
|
|
1570
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1571
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1572
|
-
readonly path?: string | undefined;
|
|
1573
|
-
readonly ref?: string | undefined;
|
|
1574
|
-
} | {
|
|
1575
|
-
readonly type: "bitbucket";
|
|
1576
|
-
readonly owner: string;
|
|
1577
|
-
readonly sourceType: "bitbucket";
|
|
1578
|
-
readonly extensionType: "mcp-server";
|
|
1579
|
-
readonly sourceName: string;
|
|
1580
|
-
readonly packageFormat: "agentxm";
|
|
1581
|
-
readonly endpoint: URL;
|
|
1582
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1583
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1584
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1585
|
-
readonly repo: string;
|
|
1586
|
-
readonly resolvedCommit: string;
|
|
1587
|
-
readonly resolvedTree: string;
|
|
1588
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1589
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1590
|
-
readonly path?: string | undefined;
|
|
1591
|
-
readonly ref?: string | undefined;
|
|
1592
|
-
} | {
|
|
1593
|
-
readonly type: "azurerepos";
|
|
1594
|
-
readonly sourceType: "azurerepos";
|
|
1595
|
-
readonly extensionType: "mcp-server";
|
|
1596
|
-
readonly sourceName: string;
|
|
1597
|
-
readonly packageFormat: "agentxm";
|
|
1598
|
-
readonly endpoint: URL;
|
|
1599
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1600
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1601
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1602
|
-
readonly repo: string;
|
|
1603
|
-
readonly resolvedCommit: string;
|
|
1604
|
-
readonly resolvedTree: string;
|
|
1605
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1606
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1607
|
-
readonly organization: string;
|
|
1608
|
-
readonly project: string;
|
|
1609
|
-
readonly path?: string | undefined;
|
|
1610
|
-
readonly ref?: string | undefined;
|
|
1611
|
-
} | {
|
|
1612
|
-
readonly type: "git";
|
|
1613
|
-
readonly url: string;
|
|
1614
|
-
readonly sourceType: "git";
|
|
1615
|
-
readonly extensionType: "mcp-server";
|
|
1616
|
-
readonly sourceName: "git";
|
|
1617
|
-
readonly packageFormat: "agentxm";
|
|
1618
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1619
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1620
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1621
|
-
readonly resolvedCommit: string;
|
|
1622
|
-
readonly resolvedTree: string;
|
|
1623
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1624
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1625
|
-
readonly path?: string | undefined;
|
|
1626
|
-
readonly ref?: string | undefined;
|
|
1627
|
-
} | {
|
|
1628
|
-
readonly type: "local";
|
|
1629
|
-
readonly sourceType: "local";
|
|
1630
|
-
readonly sourceName: "local";
|
|
1631
|
-
readonly extensionType: "mcp-server";
|
|
1632
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1633
|
-
readonly packageFormat: "agentxm";
|
|
1634
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1635
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1636
|
-
readonly path: string;
|
|
1637
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1638
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1639
|
-
} | {
|
|
1640
|
-
readonly type: "registry";
|
|
1641
|
-
readonly sourceType: "registry";
|
|
1642
|
-
readonly endpoint: URL;
|
|
1643
|
-
readonly extensionType: "mcp-server";
|
|
1644
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1645
|
-
readonly packageFormat: "agentxm";
|
|
1646
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
1647
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1648
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
1649
|
-
readonly integrity: string;
|
|
1650
|
-
readonly sourceName: string;
|
|
1651
|
-
readonly publisherBindingId: string;
|
|
1652
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1653
|
-
}>, LockfileReadError | WorkspaceRootEscape, never>;
|
|
1654
|
-
getLockedMcpServerForConnection: (localName: string) => Effect.Effect<Option.None<{
|
|
1655
|
-
readonly type: "github";
|
|
1656
|
-
readonly owner: string;
|
|
1657
|
-
readonly sourceType: "github";
|
|
1658
|
-
readonly extensionType: "mcp-server";
|
|
1659
|
-
readonly sourceName: string;
|
|
1660
|
-
readonly packageFormat: "agentxm";
|
|
1661
|
-
readonly endpoint: URL;
|
|
1662
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1663
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1664
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1665
|
-
readonly repo: string;
|
|
1666
|
-
readonly resolvedCommit: string;
|
|
1667
|
-
readonly resolvedTree: string;
|
|
1668
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1669
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1670
|
-
readonly path?: string | undefined;
|
|
1671
|
-
readonly ref?: string | undefined;
|
|
1672
|
-
} | {
|
|
1673
|
-
readonly type: "gitlab";
|
|
1674
|
-
readonly owner: string;
|
|
1675
|
-
readonly sourceType: "gitlab";
|
|
1676
|
-
readonly extensionType: "mcp-server";
|
|
1677
|
-
readonly sourceName: string;
|
|
1678
|
-
readonly packageFormat: "agentxm";
|
|
1679
|
-
readonly endpoint: URL;
|
|
1680
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1681
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1682
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1683
|
-
readonly repo: string;
|
|
1684
|
-
readonly resolvedCommit: string;
|
|
1685
|
-
readonly resolvedTree: string;
|
|
1686
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1687
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1688
|
-
readonly path?: string | undefined;
|
|
1689
|
-
readonly ref?: string | undefined;
|
|
1690
|
-
} | {
|
|
1691
|
-
readonly type: "bitbucket";
|
|
1692
|
-
readonly owner: string;
|
|
1693
|
-
readonly sourceType: "bitbucket";
|
|
1694
|
-
readonly extensionType: "mcp-server";
|
|
1695
|
-
readonly sourceName: string;
|
|
1696
|
-
readonly packageFormat: "agentxm";
|
|
1697
|
-
readonly endpoint: URL;
|
|
1698
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1699
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1700
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1701
|
-
readonly repo: string;
|
|
1702
|
-
readonly resolvedCommit: string;
|
|
1703
|
-
readonly resolvedTree: string;
|
|
1704
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1705
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1706
|
-
readonly path?: string | undefined;
|
|
1707
|
-
readonly ref?: string | undefined;
|
|
1708
|
-
} | {
|
|
1709
|
-
readonly type: "azurerepos";
|
|
1710
|
-
readonly sourceType: "azurerepos";
|
|
1711
|
-
readonly extensionType: "mcp-server";
|
|
1712
|
-
readonly sourceName: string;
|
|
1713
|
-
readonly packageFormat: "agentxm";
|
|
1714
|
-
readonly endpoint: URL;
|
|
1715
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1716
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1717
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1718
|
-
readonly repo: string;
|
|
1719
|
-
readonly resolvedCommit: string;
|
|
1720
|
-
readonly resolvedTree: string;
|
|
1721
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1722
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1723
|
-
readonly organization: string;
|
|
1724
|
-
readonly project: string;
|
|
1725
|
-
readonly path?: string | undefined;
|
|
1726
|
-
readonly ref?: string | undefined;
|
|
1727
|
-
} | {
|
|
1728
|
-
readonly type: "git";
|
|
1729
|
-
readonly url: string;
|
|
1730
|
-
readonly sourceType: "git";
|
|
1731
|
-
readonly extensionType: "mcp-server";
|
|
1732
|
-
readonly sourceName: "git";
|
|
1733
|
-
readonly packageFormat: "agentxm";
|
|
1734
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1735
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1736
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1737
|
-
readonly resolvedCommit: string;
|
|
1738
|
-
readonly resolvedTree: string;
|
|
1739
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1740
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1741
|
-
readonly path?: string | undefined;
|
|
1742
|
-
readonly ref?: string | undefined;
|
|
1743
|
-
} | {
|
|
1744
|
-
readonly type: "local";
|
|
1745
|
-
readonly sourceType: "local";
|
|
1746
|
-
readonly sourceName: "local";
|
|
1747
|
-
readonly extensionType: "mcp-server";
|
|
1748
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1749
|
-
readonly packageFormat: "agentxm";
|
|
1750
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1751
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1752
|
-
readonly path: string;
|
|
1753
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1754
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1755
|
-
} | {
|
|
1756
|
-
readonly type: "registry";
|
|
1757
|
-
readonly sourceType: "registry";
|
|
1758
|
-
readonly endpoint: URL;
|
|
1759
|
-
readonly extensionType: "mcp-server";
|
|
1760
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1761
|
-
readonly packageFormat: "agentxm";
|
|
1762
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
1763
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1764
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
1765
|
-
readonly integrity: string;
|
|
1766
|
-
readonly sourceName: string;
|
|
1767
|
-
readonly publisherBindingId: string;
|
|
1768
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1769
|
-
}> | Option.Some<{
|
|
1770
|
-
readonly type: "github";
|
|
1771
|
-
readonly owner: string;
|
|
1772
|
-
readonly sourceType: "github";
|
|
1773
|
-
readonly extensionType: "mcp-server";
|
|
1774
|
-
readonly sourceName: string;
|
|
1775
|
-
readonly packageFormat: "agentxm";
|
|
1776
|
-
readonly endpoint: URL;
|
|
1777
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1778
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1779
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1780
|
-
readonly repo: string;
|
|
1781
|
-
readonly resolvedCommit: string;
|
|
1782
|
-
readonly resolvedTree: string;
|
|
1783
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1784
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1785
|
-
readonly path?: string | undefined;
|
|
1786
|
-
readonly ref?: string | undefined;
|
|
1787
|
-
} | {
|
|
1788
|
-
readonly type: "gitlab";
|
|
1789
|
-
readonly owner: string;
|
|
1790
|
-
readonly sourceType: "gitlab";
|
|
1791
|
-
readonly extensionType: "mcp-server";
|
|
1792
|
-
readonly sourceName: string;
|
|
1793
|
-
readonly packageFormat: "agentxm";
|
|
1794
|
-
readonly endpoint: URL;
|
|
1795
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1796
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1797
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1798
|
-
readonly repo: string;
|
|
1799
|
-
readonly resolvedCommit: string;
|
|
1800
|
-
readonly resolvedTree: string;
|
|
1801
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1802
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1803
|
-
readonly path?: string | undefined;
|
|
1804
|
-
readonly ref?: string | undefined;
|
|
1805
|
-
} | {
|
|
1806
|
-
readonly type: "bitbucket";
|
|
1807
|
-
readonly owner: string;
|
|
1808
|
-
readonly sourceType: "bitbucket";
|
|
1809
|
-
readonly extensionType: "mcp-server";
|
|
1810
|
-
readonly sourceName: string;
|
|
1811
|
-
readonly packageFormat: "agentxm";
|
|
1812
|
-
readonly endpoint: URL;
|
|
1813
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1814
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1815
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1816
|
-
readonly repo: string;
|
|
1817
|
-
readonly resolvedCommit: string;
|
|
1818
|
-
readonly resolvedTree: string;
|
|
1819
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1820
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1821
|
-
readonly path?: string | undefined;
|
|
1822
|
-
readonly ref?: string | undefined;
|
|
1823
|
-
} | {
|
|
1824
|
-
readonly type: "azurerepos";
|
|
1825
|
-
readonly sourceType: "azurerepos";
|
|
1826
|
-
readonly extensionType: "mcp-server";
|
|
1827
|
-
readonly sourceName: string;
|
|
1828
|
-
readonly packageFormat: "agentxm";
|
|
1829
|
-
readonly endpoint: URL;
|
|
1830
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1831
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1832
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1833
|
-
readonly repo: string;
|
|
1834
|
-
readonly resolvedCommit: string;
|
|
1835
|
-
readonly resolvedTree: string;
|
|
1836
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1837
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1838
|
-
readonly organization: string;
|
|
1839
|
-
readonly project: string;
|
|
1840
|
-
readonly path?: string | undefined;
|
|
1841
|
-
readonly ref?: string | undefined;
|
|
1842
|
-
} | {
|
|
1843
|
-
readonly type: "git";
|
|
1844
|
-
readonly url: string;
|
|
1845
|
-
readonly sourceType: "git";
|
|
1846
|
-
readonly extensionType: "mcp-server";
|
|
1847
|
-
readonly sourceName: "git";
|
|
1848
|
-
readonly packageFormat: "agentxm";
|
|
1849
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1850
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1851
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1852
|
-
readonly resolvedCommit: string;
|
|
1853
|
-
readonly resolvedTree: string;
|
|
1854
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1855
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1856
|
-
readonly path?: string | undefined;
|
|
1857
|
-
readonly ref?: string | undefined;
|
|
1858
|
-
} | {
|
|
1859
|
-
readonly type: "local";
|
|
1860
|
-
readonly sourceType: "local";
|
|
1861
|
-
readonly sourceName: "local";
|
|
1862
|
-
readonly extensionType: "mcp-server";
|
|
1863
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1864
|
-
readonly packageFormat: "agentxm";
|
|
1865
|
-
readonly packageOwner: string & import("effect/Brand").Brand<"Handle">;
|
|
1866
|
-
readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1867
|
-
readonly path: string;
|
|
1868
|
-
readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">;
|
|
1869
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1870
|
-
} | {
|
|
1871
|
-
readonly type: "registry";
|
|
1872
|
-
readonly sourceType: "registry";
|
|
1873
|
-
readonly endpoint: URL;
|
|
1874
|
-
readonly extensionType: "mcp-server";
|
|
1875
|
-
readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1876
|
-
readonly packageFormat: "agentxm";
|
|
1877
|
-
readonly owner: string & import("effect/Brand").Brand<"Handle">;
|
|
1878
|
-
readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
|
|
1879
|
-
readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
1880
|
-
readonly integrity: string;
|
|
1881
|
-
readonly sourceName: string;
|
|
1882
|
-
readonly publisherBindingId: string;
|
|
1883
|
-
readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">;
|
|
1884
|
-
}>, import("./read-model/errors.js").SettingsIoError | import("./read-model/errors.js").SettingsParseError | import("./read-model/errors.js").SettingsDecodeError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1885
|
-
setMcpServer: ({ name, resolutionKey, lockEntry, versionRange, env, enabled, }: SetMcpServerArgs) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1886
|
-
setMcpServerLock: ({ name: _name, resolutionKey, lockEntry }: SetMcpServerArgs) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1887
|
-
updateMcpServerEntry: (name: string, updater: (entry: McpServerEntry) => McpServerEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsEntryMissing | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1888
|
-
setMcpServerEntry: (name: string, entry: McpServerEntry) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1889
|
-
removeMcpServer: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | SettingsReadError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1890
|
-
removeSkillLock: (name: string) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1891
|
-
removeMcpServerSettings: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1892
|
-
removeMcpServerLock: (name: string) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1893
|
-
removePackSettings: (name: string) => Effect.Effect<void, import("../settings/errors.ts").SettingsWriteError | import("./transaction.ts").WorkspaceSnapshotError | SettingsReadError | WorkspaceRootEscape, never>;
|
|
1894
|
-
removePackLock: (name: string) => Effect.Effect<void, import("../lockfile/errors.js").LockfileWriteError | LockfileValidationError | LockfileReadError | WorkspaceRootEscape, never>;
|
|
1895
|
-
isExtensionRequiredByInstalledPack: (target: ExtensionTarget) => Effect.Effect<boolean, DesiredPackGraphIncomplete | import("./read-model/errors.js").SettingsIoError | import("./read-model/errors.js").SettingsParseError | import("./read-model/errors.js").SettingsDecodeError | import("./read-model/errors.js").LockfileIoError | import("./read-model/errors.js").LockfileParseError | import("./read-model/errors.js").LockfileDecodeError | LockfileVersionUnsupported | WorkspaceRootEscape, never>;
|
|
1896
|
-
}, import("./errors.js").WorkspaceLayoutError | WorkspaceNotInitialized | LockfileReadError | WorkspaceSettingsReadFailure, FileSystem.FileSystem | Path.Path>;
|
|
36
|
+
export declare const makeWorkspaceMutationsFacade: Effect.Effect<WorkspaceMutationsService, never, WorkspaceLocation | SettingsReader | LockfileReader | DesiredStateReader | WorkspaceRecords | ExtensionPaths | SettingsWriter | AcceptedResolutionWriter | DesiredStateWriter | FileSystem.FileSystem | Path.Path>;
|
|
1897
37
|
//# sourceMappingURL=service.d.ts.map
|