@agentxm/workspace-inspection 0.28.4-bootstrap.0 → 0.28.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,6 +30,6 @@ export interface ExtensionListItem {
|
|
|
30
30
|
readonly sourceName?: string;
|
|
31
31
|
readonly assessment: ExtensionAssessment;
|
|
32
32
|
}
|
|
33
|
-
export declare const collectExtensionListItems: (type?: "skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack" | undefined) => Effect.Effect<ExtensionListItem[], import("@agentxm/workspace-state").
|
|
34
|
-
export declare const assessExtensionListItems: (items: readonly ExtensionListItem[], filter: "outdated" | "deprecated") => Effect.Effect<ExtensionListItem[], WorkspaceInspectionFailed | import("@agentxm/workspace-state").
|
|
33
|
+
export declare const collectExtensionListItems: (type?: "skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack" | undefined) => Effect.Effect<ExtensionListItem[], import("@agentxm/workspace-state").SettingsIoError | import("@agentxm/workspace-state").SettingsParseError | import("@agentxm/workspace-state").SettingsDecodeError | import("@agentxm/workspace-state").LockfileIoError | import("@agentxm/workspace-state").LockfileParseError | import("@agentxm/workspace-state").LockfileDecodeError | import("@agentxm/workspace-state").LockfileVersionUnsupported | import("@agentxm/workspace-state").WorkspaceRootEscape, WorkspaceMutations>;
|
|
34
|
+
export declare const assessExtensionListItems: (items: readonly ExtensionListItem[], filter: "outdated" | "deprecated") => Effect.Effect<ExtensionListItem[], WorkspaceInspectionFailed | import("@agentxm/workspace-state").SettingsIoError | import("@agentxm/workspace-state").SettingsParseError | import("@agentxm/workspace-state").SettingsDecodeError | import("@agentxm/workspace-state").LockfileIoError | import("@agentxm/workspace-state").LockfileParseError | import("@agentxm/workspace-state").LockfileDecodeError | import("@agentxm/workspace-state").LockfileVersionUnsupported | import("@agentxm/workspace-state").WorkspaceRootEscape | import("@agentxm/registry-client").RegistryProblem | import("@agentxm/registry-client").RegistryRequestFailed | import("@agentxm/registry-client").RegistryOperationFailed, InspectionFailureAdapter | WorkspaceMutations | import("effect/FileSystem").FileSystem | import("effect/unstable/http/HttpClient").HttpClient | import("effect/Path").Path | import("@agentxm/extension-sources").WorkspaceCatalog | SourceHostProviders | import("effect/Scope").Scope>;
|
|
35
35
|
//# sourceMappingURL=extension-list.d.ts.map
|
|
@@ -20,7 +20,7 @@ const getAcceptedEntry = (ws, type, name) => {
|
|
|
20
20
|
case "skill":
|
|
21
21
|
return ws.getLockedSkill(name);
|
|
22
22
|
case "mcp-server":
|
|
23
|
-
return ws.
|
|
23
|
+
return ws.getLockedMcpServerForConnection(name);
|
|
24
24
|
case "subagent":
|
|
25
25
|
return ws.getLockedSubagent(name);
|
|
26
26
|
case "rule":
|
|
@@ -14,6 +14,7 @@ import type { RegistryClient } from "@agentxm/registry-client";
|
|
|
14
14
|
import { SourceHostProviders } from "@agentxm/extension-sources";
|
|
15
15
|
import { type Version, type VersionRange } from "@agentxm/extension-model/unstable/version-constraints";
|
|
16
16
|
import { WorkspaceMutations } from "@agentxm/workspace-state";
|
|
17
|
+
import type { WorkspaceStateReadFailure } from "@agentxm/workspace-state";
|
|
17
18
|
import { type CurrencyResult } from "./check-currency.js";
|
|
18
19
|
import { WorkspaceInspectionFailed } from "../errors.js";
|
|
19
20
|
import { InspectionFailureAdapter } from "../failure-adapter.js";
|
|
@@ -52,7 +53,7 @@ export type ExtensionUpdateEntry = ExtensionCurrencyEntry | ExtensionSourceFresh
|
|
|
52
53
|
*/
|
|
53
54
|
declare const collectSourceFreshness: (args: {
|
|
54
55
|
readonly extensionType: ExtensionType;
|
|
55
|
-
}) => Effect.Effect<ExtensionSourceFreshnessEntry[], WorkspaceInspectionFailed |
|
|
56
|
+
}) => Effect.Effect<ExtensionSourceFreshnessEntry[], WorkspaceInspectionFailed | WorkspaceStateReadFailure, InspectionFailureAdapter | WorkspaceMutations | import("effect/FileSystem").FileSystem | import("effect/unstable/http/HttpClient").HttpClient | import("effect/Path").Path | import("@agentxm/extension-sources").WorkspaceCatalog | SourceHostProviders | import("effect/Scope").Scope>;
|
|
56
57
|
type SourceFreshnessCollector = () => ReturnType<typeof collectSourceFreshness>;
|
|
57
58
|
export declare const collectSkillSourceFreshness: SourceFreshnessCollector;
|
|
58
59
|
export declare const collectMcpServerSourceFreshness: SourceFreshnessCollector;
|
|
@@ -72,7 +73,7 @@ export declare const collectSkillCurrency: (client: RegistryClient) => Effect.Ef
|
|
|
72
73
|
installedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
73
74
|
constraint: Option.Option<string & import("effect/Brand").Brand<"VersionRange">>;
|
|
74
75
|
currency: CurrencyResult;
|
|
75
|
-
}[], WorkspaceInspectionFailed |
|
|
76
|
+
}[], WorkspaceInspectionFailed | WorkspaceStateReadFailure | import("@agentxm/registry-client").RegistryClientFailure, WorkspaceMutations>;
|
|
76
77
|
/**
|
|
77
78
|
* Collect currency entries for all registry-sourced MCP servers.
|
|
78
79
|
*/
|
|
@@ -83,7 +84,7 @@ export declare const collectMcpServerCurrency: (client: RegistryClient) => Effec
|
|
|
83
84
|
installedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
84
85
|
constraint: Option.Option<string & import("effect/Brand").Brand<"VersionRange">>;
|
|
85
86
|
currency: CurrencyResult;
|
|
86
|
-
}[], WorkspaceInspectionFailed |
|
|
87
|
+
}[], WorkspaceInspectionFailed | WorkspaceStateReadFailure | import("@agentxm/registry-client").RegistryClientFailure, WorkspaceMutations>;
|
|
87
88
|
/**
|
|
88
89
|
* Collect currency entries for all enabled, registry-sourced subagents.
|
|
89
90
|
*/
|
|
@@ -94,7 +95,7 @@ export declare const collectSubagentCurrency: (client: RegistryClient) => Effect
|
|
|
94
95
|
installedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
95
96
|
constraint: Option.Option<string & import("effect/Brand").Brand<"VersionRange">>;
|
|
96
97
|
currency: CurrencyResult;
|
|
97
|
-
}[], WorkspaceInspectionFailed |
|
|
98
|
+
}[], WorkspaceInspectionFailed | WorkspaceStateReadFailure | import("@agentxm/registry-client").RegistryClientFailure, WorkspaceMutations>;
|
|
98
99
|
/**
|
|
99
100
|
* Collect currency entries for all registry-sourced packs.
|
|
100
101
|
*/
|
|
@@ -105,7 +106,7 @@ export declare const collectPackCurrency: (client: RegistryClient) => Effect.Eff
|
|
|
105
106
|
installedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
106
107
|
constraint: Option.Option<string & import("effect/Brand").Brand<"VersionRange">>;
|
|
107
108
|
currency: CurrencyResult;
|
|
108
|
-
}[], WorkspaceInspectionFailed |
|
|
109
|
+
}[], WorkspaceInspectionFailed | WorkspaceStateReadFailure | import("@agentxm/registry-client").RegistryClientFailure, WorkspaceMutations>;
|
|
109
110
|
/**
|
|
110
111
|
* Collect currency entries for all enabled, registry-sourced rules.
|
|
111
112
|
*/
|
|
@@ -116,7 +117,7 @@ export declare const collectRuleCurrency: (client: RegistryClient) => Effect.Eff
|
|
|
116
117
|
installedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
117
118
|
constraint: Option.Option<string & import("effect/Brand").Brand<"VersionRange">>;
|
|
118
119
|
currency: CurrencyResult;
|
|
119
|
-
}[], WorkspaceInspectionFailed |
|
|
120
|
+
}[], WorkspaceInspectionFailed | WorkspaceStateReadFailure | import("@agentxm/registry-client").RegistryClientFailure, WorkspaceMutations>;
|
|
120
121
|
/**
|
|
121
122
|
* Collect currency entries for all enabled, registry-sourced hooks.
|
|
122
123
|
*/
|
|
@@ -127,7 +128,7 @@ export declare const collectHookCurrency: (client: RegistryClient) => Effect.Eff
|
|
|
127
128
|
installedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
128
129
|
constraint: Option.Option<string & import("effect/Brand").Brand<"VersionRange">>;
|
|
129
130
|
currency: CurrencyResult;
|
|
130
|
-
}[], WorkspaceInspectionFailed |
|
|
131
|
+
}[], WorkspaceInspectionFailed | WorkspaceStateReadFailure | import("@agentxm/registry-client").RegistryClientFailure, WorkspaceMutations>;
|
|
131
132
|
/**
|
|
132
133
|
* Collect currency entries for all enabled, registry-sourced knowledge bundles.
|
|
133
134
|
*/
|
|
@@ -138,7 +139,7 @@ export declare const collectKnowledgeCurrency: (client: RegistryClient) => Effec
|
|
|
138
139
|
installedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
139
140
|
constraint: Option.Option<string & import("effect/Brand").Brand<"VersionRange">>;
|
|
140
141
|
currency: CurrencyResult;
|
|
141
|
-
}[], WorkspaceInspectionFailed |
|
|
142
|
+
}[], WorkspaceInspectionFailed | WorkspaceStateReadFailure | import("@agentxm/registry-client").RegistryClientFailure, WorkspaceMutations>;
|
|
142
143
|
/**
|
|
143
144
|
* Collect currency entries for all extension types and merge into a single array.
|
|
144
145
|
*/
|
|
@@ -149,7 +150,7 @@ export declare const collectAllCurrencyEntries: (client: RegistryClient) => Effe
|
|
|
149
150
|
installedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
150
151
|
constraint: Option.Option<string & import("effect/Brand").Brand<"VersionRange">>;
|
|
151
152
|
currency: CurrencyResult;
|
|
152
|
-
}[], WorkspaceInspectionFailed |
|
|
153
|
+
}[], WorkspaceInspectionFailed | WorkspaceStateReadFailure | import("@agentxm/registry-client").RegistryClientFailure, WorkspaceMutations>;
|
|
153
154
|
export declare const collectAllUpdateEntries: (client: RegistryClient) => Effect.Effect<(ExtensionSourceFreshnessEntry | {
|
|
154
155
|
kind: "registry-version";
|
|
155
156
|
ref: string;
|
|
@@ -157,6 +158,6 @@ export declare const collectAllUpdateEntries: (client: RegistryClient) => Effect
|
|
|
157
158
|
installedVersion: string & import("effect/Brand").Brand<"Version">;
|
|
158
159
|
constraint: Option.Option<string & import("effect/Brand").Brand<"VersionRange">>;
|
|
159
160
|
currency: CurrencyResult;
|
|
160
|
-
})[], WorkspaceInspectionFailed |
|
|
161
|
+
})[], WorkspaceInspectionFailed | WorkspaceStateReadFailure | import("@agentxm/registry-client").RegistryClientFailure, InspectionFailureAdapter | WorkspaceMutations | import("effect/FileSystem").FileSystem | import("effect/unstable/http/HttpClient").HttpClient | import("effect/Path").Path | import("@agentxm/extension-sources").WorkspaceCatalog | SourceHostProviders | import("effect/Scope").Scope>;
|
|
161
162
|
export {};
|
|
162
163
|
//# sourceMappingURL=collectors.d.ts.map
|
|
@@ -43,7 +43,7 @@ const getAcceptedResolution = (ws, type, name) => {
|
|
|
43
43
|
case "skill":
|
|
44
44
|
return ws.getLockedSkill(name);
|
|
45
45
|
case "mcp-server":
|
|
46
|
-
return ws.
|
|
46
|
+
return ws.getLockedMcpServerForConnection(name);
|
|
47
47
|
case "subagent":
|
|
48
48
|
return ws.getLockedSubagent(name);
|
|
49
49
|
case "rule":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentxm/workspace-inspection",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.5",
|
|
4
4
|
"description": "AXM workspace-inspection feature: list, view, inventory, and version-currency queries for the axm CLI. Unstable and unsupported — use the axm.sh CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "FSL-1.1-MIT",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
20
|
"types": "./dist/src/index.d.ts",
|
|
21
|
+
"axm-source": "./src/index.ts",
|
|
21
22
|
"default": "./dist/src/index.js"
|
|
22
23
|
}
|
|
23
24
|
},
|
|
@@ -37,12 +38,12 @@
|
|
|
37
38
|
"dependencies": {
|
|
38
39
|
"effect": "4.0.0-rc.112",
|
|
39
40
|
"semver": "^7.8.5",
|
|
40
|
-
"@agentxm/extension-
|
|
41
|
-
"@agentxm/extension-
|
|
42
|
-
"@agentxm/
|
|
43
|
-
"@agentxm/registry-protocol": "^0.28.
|
|
44
|
-
"@agentxm/
|
|
45
|
-
"@agentxm/workspace
|
|
41
|
+
"@agentxm/extension-model": "^0.28.5",
|
|
42
|
+
"@agentxm/extension-sources": "^0.28.5",
|
|
43
|
+
"@agentxm/registry-client": "^0.28.5",
|
|
44
|
+
"@agentxm/registry-protocol": "^0.28.5",
|
|
45
|
+
"@agentxm/workspace-state": "^0.28.5",
|
|
46
|
+
"@agentxm/extension-workspace": "^0.28.5"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
49
|
"@effect/platform-node": "4.0.0-rc.112",
|