@khorsheed/dsh-capability-catalog 0.1.97 → 0.1.99
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/CHANGELOG.md +17 -0
- package/README.en.md +31 -7
- package/README.i18n.yaml +2 -2
- package/README.md +31 -7
- package/cordis.patch.yml +1 -1
- package/lib/client.js +14790 -902
- package/lib/index.js +760 -265
- package/lib/typert.host.js +614 -295
- package/lib/typert.remote-client.d.ts +27 -4
- package/lib/typert.remote-client.js +599 -288
- package/lib/types/client/CapabilityCatalogCard.js +20 -5
- package/lib/types/client/SkillDetailModal.d.ts +13 -5
- package/lib/types/client/SkillDetailModal.js +9 -3
- package/lib/types/client/locales.d.ts +0 -4
- package/lib/types/client/locales.js +4 -8
- package/lib/types/envHint.d.ts +7 -1
- package/lib/types/envHint.js +52 -18
- package/lib/types/evidence.d.ts +142 -0
- package/lib/types/evidence.js +179 -0
- package/lib/types/frontmatter.d.ts +78 -0
- package/lib/types/frontmatter.js +186 -0
- package/lib/types/import.js +10 -19
- package/lib/types/index.d.ts +16 -4
- package/lib/types/index.js +32 -53
- package/lib/types/mcpStore.d.ts +6 -8
- package/lib/types/mcpStore.js +18 -43
- package/lib/types/mcps.d.ts +1 -6
- package/lib/types/mcps.js +0 -9
- package/lib/types/namespace.d.ts +2 -3
- package/lib/types/namespace.js +2 -3
- package/lib/types/remote.d.ts +11 -2
- package/lib/types/remote.js +4 -1
- package/lib/types/scoped-delivery.d.ts +36 -24
- package/lib/types/scoped-delivery.js +136 -100
- package/lib/types/scoped-edits.js +2 -1
- package/lib/types/shellEnv.d.ts +8 -1
- package/lib/types/shellEnv.js +37 -16
- package/lib/types/skills.d.ts +41 -0
- package/lib/types/skills.js +51 -9
- package/lib/types/tool-face.d.ts +68 -0
- package/lib/types/tool-face.js +82 -0
- package/lib/types/types.d.ts +40 -19
- package/package.json +20 -18
- package/lib/invariant.js +0 -25
- package/lib/types/invariant.d.ts +0 -16
- package/lib/types/invariant.js +0 -23
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
|
|
2
2
|
import { z } from 'zod'
|
|
3
3
|
|
|
4
|
+
import { createTypertRemoteInfo } from '@deepseek-ai/dsh-typert-protocol/remote-info'
|
|
5
|
+
|
|
4
6
|
let CatalogJsonValueRemoteCodec$schema$value
|
|
5
7
|
const CatalogJsonValueRemoteCodec$schema = () => (CatalogJsonValueRemoteCodec$schema$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => CatalogJsonValueRemoteCodec$schema())), z.record(z.string(), z.lazy(() => CatalogJsonValueRemoteCodec$schema())).readonly()]))
|
|
6
8
|
let CatalogJsonValueRemoteCodec$schema2$value
|
|
@@ -16,19 +18,19 @@ const CatalogJsonValueRemoteCodec$schema6 = () => (CatalogJsonValueRemoteCodec$s
|
|
|
16
18
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0$schema$value
|
|
17
19
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0$schema$value ??= z.object({
|
|
18
20
|
'channel': z.union([z.literal("zip"), z.literal("github"), z.literal("command")]).readonly(),
|
|
19
|
-
'payload': z.string().readonly(),
|
|
20
|
-
'repo': z.string().readonly().optional(),
|
|
21
|
-
'skills': z.array(z.string()).readonly().optional(),
|
|
22
|
-
'modelInvocable': z.boolean().readonly(),
|
|
23
|
-
'root': z.union([z.literal("user"), z.literal("project")]).readonly(),
|
|
24
|
-
'overwrite': z.boolean().readonly().optional(),
|
|
21
|
+
'payload': z.string().readonly().describe('Base64-encoded zip/tgz bytes for `zip`; opaque for `github`.'),
|
|
22
|
+
'repo': z.string().readonly().optional().describe('owner/repo, a git URL (a host-prefixed or pasted link and an in-repo subpath resolve to the same clone), or a local dir path for `command`.'),
|
|
23
|
+
'skills': z.array(z.string()).readonly().optional().describe('Selected skill sub-directory names when `repo` is a multi-skill container dir.'),
|
|
24
|
+
'modelInvocable': z.boolean().readonly().describe('Whether the added skill is model-invocable (written as disable-model-invocation inversely).'),
|
|
25
|
+
'root': z.union([z.literal("user"), z.literal("project")]).readonly().describe('Target root: user (`$DSH_HOME/skills`) or project (`.agents/skills`).'),
|
|
26
|
+
'overwrite': z.boolean().readonly().optional().describe('When true, an existing same-name skill in the target root is replaced instead of prompting.'),
|
|
25
27
|
}))
|
|
26
28
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_result$schema$value
|
|
27
29
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_result$schema$value ??= z.object({
|
|
28
30
|
'ok': z.boolean().readonly(),
|
|
29
31
|
'error': z.string().readonly().optional(),
|
|
30
32
|
'name': z.string().readonly().optional(),
|
|
31
|
-
'exists': z.boolean().readonly().optional(),
|
|
33
|
+
'exists': z.boolean().readonly().optional().describe('Set on a soft "skill already exists" refusal (ok:false) so the UI can offer overwrite.'),
|
|
32
34
|
}))
|
|
33
35
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0$schema$value
|
|
34
36
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0$schema$value ??= z.string())
|
|
@@ -57,15 +59,15 @@ const _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_result$schema =
|
|
|
57
59
|
'userInvocable': z.boolean().readonly(),
|
|
58
60
|
'path': z.string().readonly().optional(),
|
|
59
61
|
'whenToUse': z.string().readonly().optional(),
|
|
60
|
-
'content': z.string().readonly(),
|
|
61
|
-
'metadataText': z.string().readonly().optional(),
|
|
62
|
+
'content': z.string().readonly().describe('Full SKILL.md body.'),
|
|
63
|
+
'metadataText': z.string().readonly().optional().describe('Parsed frontmatter metadata, serialized to JSON text (typert boundary is strict JSON).'),
|
|
62
64
|
'credentials': z.array(z.object({
|
|
63
65
|
'key': z.string().readonly(),
|
|
64
66
|
'label': z.string().readonly().optional(),
|
|
65
|
-
'configured': z.boolean().readonly(),
|
|
66
|
-
})).readonly().optional(),
|
|
67
|
-
'environmentRefs': z.array(z.string()).readonly().optional(),
|
|
68
|
-
'files': z.array(z.string()).readonly().optional(),
|
|
67
|
+
'configured': z.boolean().readonly().describe('Whether a value has been configured (never the value itself).'),
|
|
68
|
+
})).readonly().optional().describe('Declared credentials + their configured state (metadata.credentials only).'),
|
|
69
|
+
'environmentRefs': z.array(z.string()).readonly().optional().describe('Env-var references detected in the skill body (read-only, informational — typically provided by the runtime/caller, NOT user-configurable here). A key already declared in metadata.credentials is excluded — it renders in the credential form instead.'),
|
|
70
|
+
'files': z.array(z.string()).readonly().optional().describe('Bundle-relative file paths (SKILL.md + scripts/assets/references) for a directory side.'),
|
|
69
71
|
})]))
|
|
70
72
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0$schema$value
|
|
71
73
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0$schema$value ??= z.string())
|
|
@@ -79,13 +81,13 @@ let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0$schem
|
|
|
79
81
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0$schema$value ??= z.object({
|
|
80
82
|
'serverName': z.string().readonly(),
|
|
81
83
|
'transport': z.union([z.literal("stdio"), z.literal("streamable-http")]).readonly(),
|
|
82
|
-
'command': z.string().readonly().optional(),
|
|
84
|
+
'command': z.string().readonly().optional().describe('stdio'),
|
|
83
85
|
'args': z.array(z.string()).readonly().optional(),
|
|
84
86
|
'cwd': z.string().readonly().optional(),
|
|
85
|
-
'url': z.string().readonly().optional(),
|
|
87
|
+
'url': z.string().readonly().optional().describe('streamable-http'),
|
|
86
88
|
'headers': z.array(z.tuple([z.string(), z.string()])).readonly().optional(),
|
|
87
|
-
'env': z.array(z.tuple([z.string(), z.string()])).readonly().optional(),
|
|
88
|
-
'enabled': z.boolean().readonly(),
|
|
89
|
+
'env': z.array(z.tuple([z.string(), z.string()])).readonly().optional().describe('env (value is a secretRef marker if it came from a secret).'),
|
|
90
|
+
'enabled': z.boolean().readonly().describe('Whether the server is enabled (connected + injected).'),
|
|
89
91
|
}))
|
|
90
92
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_result$schema$value
|
|
91
93
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_result$schema$value ??= z.boolean())
|
|
@@ -96,19 +98,7 @@ const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_result$sch
|
|
|
96
98
|
'name': z.string().readonly(),
|
|
97
99
|
'description': z.string().readonly(),
|
|
98
100
|
'parameters': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => CatalogJsonValueRemoteCodec$schema5())), z.record(z.string(), z.lazy(() => CatalogJsonValueRemoteCodec$schema5())).readonly()]).readonly().optional(),
|
|
99
|
-
'enabled': z.boolean().readonly(),
|
|
100
|
-
})))
|
|
101
|
-
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpList_result$schema$value
|
|
102
|
-
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpList_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpList_result$schema$value ??= z.array(z.object({
|
|
103
|
-
'serverName': z.string().readonly(),
|
|
104
|
-
'transport': z.union([z.literal("stdio"), z.literal("streamable-http")]).readonly(),
|
|
105
|
-
'command': z.string().readonly().optional(),
|
|
106
|
-
'args': z.array(z.string()).readonly().optional(),
|
|
107
|
-
'cwd': z.string().readonly().optional(),
|
|
108
|
-
'url': z.string().readonly().optional(),
|
|
109
|
-
'headers': z.array(z.tuple([z.string(), z.string()])).readonly().optional(),
|
|
110
|
-
'env': z.array(z.tuple([z.string(), z.string()])).readonly().optional(),
|
|
111
|
-
'enabled': z.boolean().readonly(),
|
|
101
|
+
'enabled': z.boolean().readonly().describe('Per-tool enable/disable.'),
|
|
112
102
|
})))
|
|
113
103
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0$schema$value
|
|
114
104
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0$schema$value ??= z.string())
|
|
@@ -139,55 +129,55 @@ const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSnapshot_result$sch
|
|
|
139
129
|
'servers': z.array(z.object({
|
|
140
130
|
'serverName': z.string().readonly(),
|
|
141
131
|
'transport': z.union([z.literal("stdio"), z.literal("streamable-http")]).readonly(),
|
|
142
|
-
'command': z.string().readonly().optional(),
|
|
132
|
+
'command': z.string().readonly().optional().describe('stdio'),
|
|
143
133
|
'args': z.array(z.string()).readonly().optional(),
|
|
144
134
|
'cwd': z.string().readonly().optional(),
|
|
145
|
-
'url': z.string().readonly().optional(),
|
|
135
|
+
'url': z.string().readonly().optional().describe('streamable-http'),
|
|
146
136
|
'headers': z.array(z.tuple([z.string(), z.string()])).readonly().optional(),
|
|
147
|
-
'env': z.array(z.tuple([z.string(), z.string()])).readonly().optional(),
|
|
148
|
-
'enabled': z.boolean().readonly(),
|
|
137
|
+
'env': z.array(z.tuple([z.string(), z.string()])).readonly().optional().describe('env (value is a secretRef marker if it came from a secret).'),
|
|
138
|
+
'enabled': z.boolean().readonly().describe('Whether the server is enabled (connected + injected).'),
|
|
149
139
|
})).readonly(),
|
|
150
140
|
'tools': z.record(z.string(), z.array(z.object({
|
|
151
141
|
'name': z.string().readonly(),
|
|
152
142
|
'description': z.string().readonly(),
|
|
153
143
|
'parameters': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => CatalogJsonValueRemoteCodec$schema6())), z.record(z.string(), z.lazy(() => CatalogJsonValueRemoteCodec$schema6())).readonly()]).readonly().optional(),
|
|
154
|
-
'enabled': z.boolean().readonly(),
|
|
144
|
+
'enabled': z.boolean().readonly().describe('Per-tool enable/disable.'),
|
|
155
145
|
}))).readonly().readonly(),
|
|
156
146
|
'credentials': z.array(z.object({
|
|
157
|
-
'ref': z.string().readonly(),
|
|
158
|
-
'label': z.string().readonly(),
|
|
159
|
-
'configured': z.boolean().readonly(),
|
|
147
|
+
'ref': z.string().readonly().describe('Config key that holds the secret (env var name, header name, or \'query:key\').'),
|
|
148
|
+
'label': z.string().readonly().describe('Human label (e.g. the env var / header / query param name).'),
|
|
149
|
+
'configured': z.boolean().readonly().describe('Whether the credential has been configured (never the value).'),
|
|
160
150
|
})).readonly(),
|
|
161
151
|
}))
|
|
162
152
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0$schema$value
|
|
163
153
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
164
154
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_result$schema$value
|
|
165
155
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_result$schema$value ??= z.array(z.object({
|
|
166
|
-
'preset': z.string().readonly(),
|
|
167
|
-
'name': z.string().readonly().optional(),
|
|
168
|
-
'description': z.string().readonly().optional(),
|
|
169
|
-
'isDefault': z.boolean().readonly(),
|
|
156
|
+
'preset': z.string().readonly().describe('The preset id this face was read at.'),
|
|
157
|
+
'name': z.string().readonly().optional().describe('The preset\'s published display name, when it has one.'),
|
|
158
|
+
'description': z.string().readonly().optional().describe('One sentence on what the preset is for, when it publishes one.'),
|
|
159
|
+
'isDefault': z.boolean().readonly().describe('Whether this is the deployment\'s default mode.'),
|
|
170
160
|
'skills': z.array(z.object({
|
|
171
161
|
'name': z.string().readonly(),
|
|
172
|
-
'description': z.string().readonly(),
|
|
173
|
-
'source': z.string().readonly(),
|
|
174
|
-
'provider': z.string().readonly(),
|
|
175
|
-
'modelInvocable': z.boolean().readonly(),
|
|
176
|
-
'userInvocable': z.boolean().readonly(),
|
|
177
|
-
'whenToUse': z.string().readonly().optional(),
|
|
178
|
-
'updatedAt': z.number().readonly().optional(),
|
|
179
|
-
'bodySha': z.string().readonly().optional(),
|
|
162
|
+
'description': z.string().readonly().describe('Short routing description.'),
|
|
163
|
+
'source': z.string().readonly().describe('Registration source bucket: project-dsh / project-agents / runtime / user-dsh / user-agents / custom / bundled.'),
|
|
164
|
+
'provider': z.string().readonly().describe('Provider that owns the skill body (e.g. `filesystem`, `skill-badge`, plugin name).'),
|
|
165
|
+
'modelInvocable': z.boolean().readonly().describe('Whether the model may load it (in catalog).'),
|
|
166
|
+
'userInvocable': z.boolean().readonly().describe('Whether a user may invoke it via `/name`.'),
|
|
167
|
+
'whenToUse': z.string().readonly().optional().describe('Optional extra routing guidance.'),
|
|
168
|
+
'updatedAt': z.number().readonly().optional().describe('Last-modified time (epoch ms) of the skill body, when a local bundle exists.'),
|
|
169
|
+
'bodySha': z.string().readonly().optional().describe('sha256 of the skill\'s SKILL.md body — the one part of a skill that IS a capability (the procedure the model executes), carried so the capability fingerprint can be taken from a snapshot alone. Absent when the body could not be read (a remote/opaque skill, or a registry that declines the load).'),
|
|
180
170
|
})).readonly(),
|
|
181
171
|
'tools': z.array(z.object({
|
|
182
|
-
'name': z.string().readonly(),
|
|
183
|
-
'description': z.string().readonly(),
|
|
184
|
-
'channel': z.union([z.literal("
|
|
185
|
-
'confidence': z.union([z.literal("exact"), z.literal("inferred")]).readonly(),
|
|
186
|
-
'serverName': z.string().readonly().optional(),
|
|
187
|
-
'parameters': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => CatalogJsonValueRemoteCodec$schema())), z.record(z.string(), z.lazy(() => CatalogJsonValueRemoteCodec$schema())).readonly()]).readonly().optional(),
|
|
188
|
-
'owner': z.string().readonly().optional(),
|
|
172
|
+
'name': z.string().readonly().describe('Wire tool name as registered.'),
|
|
173
|
+
'description': z.string().readonly().describe('Model-facing description.'),
|
|
174
|
+
'channel': z.union([z.literal("unknown"), z.literal("plugin"), z.literal("builtin"), z.literal("mcp")]).readonly().describe('Attribution result.'),
|
|
175
|
+
'confidence': z.union([z.literal("exact"), z.literal("inferred")]).readonly().describe('Attribution confidence: exact for prefix/whitelist hits, inferred for baseline-diff hits.'),
|
|
176
|
+
'serverName': z.string().readonly().optional().describe('MCP server name when channel === \'mcp\' (longest-match resolved).'),
|
|
177
|
+
'parameters': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => CatalogJsonValueRemoteCodec$schema())), z.record(z.string(), z.lazy(() => CatalogJsonValueRemoteCodec$schema())).readonly()]).readonly().optional().describe('Model-facing input parameters (JSON value), for the detail view.'),
|
|
178
|
+
'owner': z.string().readonly().optional().describe('Registrant package/owner when known.'),
|
|
189
179
|
})).readonly(),
|
|
190
|
-
'unavailable': z.string().readonly().optional(),
|
|
180
|
+
'unavailable': z.string().readonly().optional().describe('Why this mode has no face; when set, both lists are empty. Present for a preset discovery already refused and for one whose standing scope would not resolve — neither is evidence that the mode loads nothing.'),
|
|
191
181
|
})))
|
|
192
182
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_pickDirectory_result$schema$value
|
|
193
183
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_pickDirectory_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_pickDirectory_result$schema$value ??= z.union([z.literal(null), z.string()]))
|
|
@@ -214,8 +204,8 @@ const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRoster_resu
|
|
|
214
204
|
'id': z.string().readonly(),
|
|
215
205
|
'name': z.string().readonly().optional(),
|
|
216
206
|
'description': z.string().readonly().optional(),
|
|
217
|
-
'broken': z.string().readonly().optional(),
|
|
218
|
-
'isDefault': z.boolean().readonly().optional(),
|
|
207
|
+
'broken': z.string().readonly().optional().describe('Why this preset cannot compose a session, when it cannot.'),
|
|
208
|
+
'isDefault': z.boolean().readonly().optional().describe('Whether a session naming no preset composes this one (the deployment default).'),
|
|
219
209
|
})))
|
|
220
210
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0$schema$value
|
|
221
211
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0$schema$value ??= z.object({
|
|
@@ -229,26 +219,26 @@ const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_result$
|
|
|
229
219
|
}))
|
|
230
220
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeStatus_result$schema$value
|
|
231
221
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeStatus_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeStatus_result$schema$value ??= z.object({
|
|
232
|
-
'enabled': z.boolean().readonly(),
|
|
233
|
-
'reason': z.string().readonly().optional(),
|
|
234
|
-
'root': z.string().readonly(),
|
|
235
|
-
'watching': z.boolean().readonly(),
|
|
222
|
+
'enabled': z.boolean().readonly().describe('Whether any preset is currently served.'),
|
|
223
|
+
'reason': z.string().readonly().optional().describe('Why delivery is off, or reduced — absent when fully operational.'),
|
|
224
|
+
'root': z.string().readonly().describe('The plugin-owned root the delivered skills live in.'),
|
|
225
|
+
'watching': z.boolean().readonly().describe('Whether the managed root is currently watched for changes.'),
|
|
236
226
|
'skills': z.array(z.object({
|
|
237
227
|
'name': z.string().readonly(),
|
|
238
228
|
'description': z.string().readonly(),
|
|
239
229
|
'modelInvocable': z.boolean().readonly(),
|
|
240
230
|
'userInvocable': z.boolean().readonly(),
|
|
241
|
-
'path': z.string().readonly(),
|
|
242
|
-
'presets': z.array(z.string()).readonly(),
|
|
243
|
-
'delivered': z.boolean().readonly(),
|
|
244
|
-
'conflict': z.string().readonly().optional(),
|
|
231
|
+
'path': z.string().readonly().describe('The managed `SKILL.md` path.'),
|
|
232
|
+
'presets': z.array(z.string()).readonly().describe('The preset ids its frontmatter declares; empty means "every preset".'),
|
|
233
|
+
'delivered': z.boolean().readonly().describe('Whether a delivery provider currently serves it in at least one preset.'),
|
|
234
|
+
'conflict': z.string().readonly().optional().describe('The default-root path already supplying this name, when delivery is refused.'),
|
|
245
235
|
})).readonly(),
|
|
246
236
|
'presets': z.array(z.object({
|
|
247
237
|
'presetId': z.string().readonly(),
|
|
248
238
|
'skills': z.array(z.string()).readonly(),
|
|
249
|
-
'error': z.string().readonly().optional(),
|
|
239
|
+
'error': z.string().readonly().optional().describe('Why this preset\'s standing scope could not be used.'),
|
|
250
240
|
})).readonly(),
|
|
251
|
-
'customRootsUnverifiable': z.boolean().readonly(),
|
|
241
|
+
'customRootsUnverifiable': z.boolean().readonly().describe('True because custom skill roots are configured in host compositions this plugin cannot read: a duplicate there would not be detected.'),
|
|
252
242
|
}))
|
|
253
243
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0$schema$value
|
|
254
244
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0$schema$value ??= z.string())
|
|
@@ -275,23 +265,23 @@ let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_result$schema$v
|
|
|
275
265
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_result$schema$value ??= z.object({
|
|
276
266
|
'skills': z.array(z.object({
|
|
277
267
|
'name': z.string().readonly(),
|
|
278
|
-
'description': z.string().readonly(),
|
|
279
|
-
'source': z.string().readonly(),
|
|
280
|
-
'provider': z.string().readonly(),
|
|
281
|
-
'modelInvocable': z.boolean().readonly(),
|
|
282
|
-
'userInvocable': z.boolean().readonly(),
|
|
283
|
-
'whenToUse': z.string().readonly().optional(),
|
|
284
|
-
'updatedAt': z.number().readonly().optional(),
|
|
285
|
-
'bodySha': z.string().readonly().optional(),
|
|
268
|
+
'description': z.string().readonly().describe('Short routing description.'),
|
|
269
|
+
'source': z.string().readonly().describe('Registration source bucket: project-dsh / project-agents / runtime / user-dsh / user-agents / custom / bundled.'),
|
|
270
|
+
'provider': z.string().readonly().describe('Provider that owns the skill body (e.g. `filesystem`, `skill-badge`, plugin name).'),
|
|
271
|
+
'modelInvocable': z.boolean().readonly().describe('Whether the model may load it (in catalog).'),
|
|
272
|
+
'userInvocable': z.boolean().readonly().describe('Whether a user may invoke it via `/name`.'),
|
|
273
|
+
'whenToUse': z.string().readonly().optional().describe('Optional extra routing guidance.'),
|
|
274
|
+
'updatedAt': z.number().readonly().optional().describe('Last-modified time (epoch ms) of the skill body, when a local bundle exists.'),
|
|
275
|
+
'bodySha': z.string().readonly().optional().describe('sha256 of the skill\'s SKILL.md body — the one part of a skill that IS a capability (the procedure the model executes), carried so the capability fingerprint can be taken from a snapshot alone. Absent when the body could not be read (a remote/opaque skill, or a registry that declines the load).'),
|
|
286
276
|
})).readonly(),
|
|
287
277
|
'tools': z.array(z.object({
|
|
288
|
-
'name': z.string().readonly(),
|
|
289
|
-
'description': z.string().readonly(),
|
|
290
|
-
'channel': z.union([z.literal("
|
|
291
|
-
'confidence': z.union([z.literal("exact"), z.literal("inferred")]).readonly(),
|
|
292
|
-
'serverName': z.string().readonly().optional(),
|
|
293
|
-
'parameters': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => CatalogJsonValueRemoteCodec$schema2())), z.record(z.string(), z.lazy(() => CatalogJsonValueRemoteCodec$schema2())).readonly()]).readonly().optional(),
|
|
294
|
-
'owner': z.string().readonly().optional(),
|
|
278
|
+
'name': z.string().readonly().describe('Wire tool name as registered.'),
|
|
279
|
+
'description': z.string().readonly().describe('Model-facing description.'),
|
|
280
|
+
'channel': z.union([z.literal("unknown"), z.literal("plugin"), z.literal("builtin"), z.literal("mcp")]).readonly().describe('Attribution result.'),
|
|
281
|
+
'confidence': z.union([z.literal("exact"), z.literal("inferred")]).readonly().describe('Attribution confidence: exact for prefix/whitelist hits, inferred for baseline-diff hits.'),
|
|
282
|
+
'serverName': z.string().readonly().optional().describe('MCP server name when channel === \'mcp\' (longest-match resolved).'),
|
|
283
|
+
'parameters': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => CatalogJsonValueRemoteCodec$schema2())), z.record(z.string(), z.lazy(() => CatalogJsonValueRemoteCodec$schema2())).readonly()]).readonly().optional().describe('Model-facing input parameters (JSON value), for the detail view.'),
|
|
284
|
+
'owner': z.string().readonly().optional().describe('Registrant package/owner when known.'),
|
|
295
285
|
})).readonly(),
|
|
296
286
|
'mcpServers': z.array(z.object({
|
|
297
287
|
'name': z.string().readonly(),
|
|
@@ -301,8 +291,26 @@ const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_result$schema
|
|
|
301
291
|
'channel': z.string().readonly(),
|
|
302
292
|
'count': z.number().readonly(),
|
|
303
293
|
})).readonly(),
|
|
304
|
-
'sha': z.string().readonly().optional(),
|
|
305
|
-
'preset': z.string().readonly().optional(),
|
|
294
|
+
'sha': z.string().readonly().optional().describe('The capability hash of this snapshot (`hashOf`), filled by the host half. It is NOT part of the canonical form it digests — a snapshot carrying it and the same snapshot without it hash alike.'),
|
|
295
|
+
'preset': z.string().readonly().optional().describe('The agent preset this snapshot was taken under; absent when none resolved.'),
|
|
296
|
+
'completeness': z.object({
|
|
297
|
+
'skills': z.object({
|
|
298
|
+
'state': z.union([z.literal("complete"), z.literal("unavailable"), z.literal("partial")]).readonly(),
|
|
299
|
+
'reason': z.string().readonly().optional().describe('Why the section is not complete; absent when it is.'),
|
|
300
|
+
}).readonly().optional(),
|
|
301
|
+
'tools': z.object({
|
|
302
|
+
'state': z.union([z.literal("complete"), z.literal("unavailable"), z.literal("partial")]).readonly(),
|
|
303
|
+
'reason': z.string().readonly().optional().describe('Why the section is not complete; absent when it is.'),
|
|
304
|
+
}).readonly().optional(),
|
|
305
|
+
'mcpServers': z.object({
|
|
306
|
+
'state': z.union([z.literal("complete"), z.literal("unavailable"), z.literal("partial")]).readonly(),
|
|
307
|
+
'reason': z.string().readonly().optional().describe('Why the section is not complete; absent when it is.'),
|
|
308
|
+
}).readonly().optional(),
|
|
309
|
+
'channels': z.object({
|
|
310
|
+
'state': z.union([z.literal("complete"), z.literal("unavailable"), z.literal("partial")]).readonly(),
|
|
311
|
+
'reason': z.string().readonly().optional().describe('Why the section is not complete; absent when it is.'),
|
|
312
|
+
}).readonly().optional(),
|
|
313
|
+
}).readonly().optional().describe('Evidence-grade per-section completeness, attached only by evidence production (the Remote listing/fingerprint verbs never set it, so their wire form is unchanged). Like `sha`, it is NOT part of the canonical form `hashOf` digests.'),
|
|
306
314
|
}))
|
|
307
315
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0$schema$value
|
|
308
316
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
@@ -312,23 +320,23 @@ let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_result$schema
|
|
|
312
320
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_result$schema$value ??= z.object({
|
|
313
321
|
'skills': z.array(z.object({
|
|
314
322
|
'name': z.string().readonly(),
|
|
315
|
-
'description': z.string().readonly(),
|
|
316
|
-
'source': z.string().readonly(),
|
|
317
|
-
'provider': z.string().readonly(),
|
|
318
|
-
'modelInvocable': z.boolean().readonly(),
|
|
319
|
-
'userInvocable': z.boolean().readonly(),
|
|
320
|
-
'whenToUse': z.string().readonly().optional(),
|
|
321
|
-
'updatedAt': z.number().readonly().optional(),
|
|
322
|
-
'bodySha': z.string().readonly().optional(),
|
|
323
|
+
'description': z.string().readonly().describe('Short routing description.'),
|
|
324
|
+
'source': z.string().readonly().describe('Registration source bucket: project-dsh / project-agents / runtime / user-dsh / user-agents / custom / bundled.'),
|
|
325
|
+
'provider': z.string().readonly().describe('Provider that owns the skill body (e.g. `filesystem`, `skill-badge`, plugin name).'),
|
|
326
|
+
'modelInvocable': z.boolean().readonly().describe('Whether the model may load it (in catalog).'),
|
|
327
|
+
'userInvocable': z.boolean().readonly().describe('Whether a user may invoke it via `/name`.'),
|
|
328
|
+
'whenToUse': z.string().readonly().optional().describe('Optional extra routing guidance.'),
|
|
329
|
+
'updatedAt': z.number().readonly().optional().describe('Last-modified time (epoch ms) of the skill body, when a local bundle exists.'),
|
|
330
|
+
'bodySha': z.string().readonly().optional().describe('sha256 of the skill\'s SKILL.md body — the one part of a skill that IS a capability (the procedure the model executes), carried so the capability fingerprint can be taken from a snapshot alone. Absent when the body could not be read (a remote/opaque skill, or a registry that declines the load).'),
|
|
323
331
|
})).readonly(),
|
|
324
332
|
'tools': z.array(z.object({
|
|
325
|
-
'name': z.string().readonly(),
|
|
326
|
-
'description': z.string().readonly(),
|
|
327
|
-
'channel': z.union([z.literal("
|
|
328
|
-
'confidence': z.union([z.literal("exact"), z.literal("inferred")]).readonly(),
|
|
329
|
-
'serverName': z.string().readonly().optional(),
|
|
330
|
-
'parameters': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => CatalogJsonValueRemoteCodec$schema3())), z.record(z.string(), z.lazy(() => CatalogJsonValueRemoteCodec$schema3())).readonly()]).readonly().optional(),
|
|
331
|
-
'owner': z.string().readonly().optional(),
|
|
333
|
+
'name': z.string().readonly().describe('Wire tool name as registered.'),
|
|
334
|
+
'description': z.string().readonly().describe('Model-facing description.'),
|
|
335
|
+
'channel': z.union([z.literal("unknown"), z.literal("plugin"), z.literal("builtin"), z.literal("mcp")]).readonly().describe('Attribution result.'),
|
|
336
|
+
'confidence': z.union([z.literal("exact"), z.literal("inferred")]).readonly().describe('Attribution confidence: exact for prefix/whitelist hits, inferred for baseline-diff hits.'),
|
|
337
|
+
'serverName': z.string().readonly().optional().describe('MCP server name when channel === \'mcp\' (longest-match resolved).'),
|
|
338
|
+
'parameters': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => CatalogJsonValueRemoteCodec$schema3())), z.record(z.string(), z.lazy(() => CatalogJsonValueRemoteCodec$schema3())).readonly()]).readonly().optional().describe('Model-facing input parameters (JSON value), for the detail view.'),
|
|
339
|
+
'owner': z.string().readonly().optional().describe('Registrant package/owner when known.'),
|
|
332
340
|
})).readonly(),
|
|
333
341
|
'mcpServers': z.array(z.object({
|
|
334
342
|
'name': z.string().readonly(),
|
|
@@ -338,8 +346,26 @@ const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_result$sche
|
|
|
338
346
|
'channel': z.string().readonly(),
|
|
339
347
|
'count': z.number().readonly(),
|
|
340
348
|
})).readonly(),
|
|
341
|
-
'sha': z.string().readonly().optional(),
|
|
342
|
-
'preset': z.string().readonly().optional(),
|
|
349
|
+
'sha': z.string().readonly().optional().describe('The capability hash of this snapshot (`hashOf`), filled by the host half. It is NOT part of the canonical form it digests — a snapshot carrying it and the same snapshot without it hash alike.'),
|
|
350
|
+
'preset': z.string().readonly().optional().describe('The agent preset this snapshot was taken under; absent when none resolved.'),
|
|
351
|
+
'completeness': z.object({
|
|
352
|
+
'skills': z.object({
|
|
353
|
+
'state': z.union([z.literal("complete"), z.literal("unavailable"), z.literal("partial")]).readonly(),
|
|
354
|
+
'reason': z.string().readonly().optional().describe('Why the section is not complete; absent when it is.'),
|
|
355
|
+
}).readonly().optional(),
|
|
356
|
+
'tools': z.object({
|
|
357
|
+
'state': z.union([z.literal("complete"), z.literal("unavailable"), z.literal("partial")]).readonly(),
|
|
358
|
+
'reason': z.string().readonly().optional().describe('Why the section is not complete; absent when it is.'),
|
|
359
|
+
}).readonly().optional(),
|
|
360
|
+
'mcpServers': z.object({
|
|
361
|
+
'state': z.union([z.literal("complete"), z.literal("unavailable"), z.literal("partial")]).readonly(),
|
|
362
|
+
'reason': z.string().readonly().optional().describe('Why the section is not complete; absent when it is.'),
|
|
363
|
+
}).readonly().optional(),
|
|
364
|
+
'channels': z.object({
|
|
365
|
+
'state': z.union([z.literal("complete"), z.literal("unavailable"), z.literal("partial")]).readonly(),
|
|
366
|
+
'reason': z.string().readonly().optional().describe('Why the section is not complete; absent when it is.'),
|
|
367
|
+
}).readonly().optional(),
|
|
368
|
+
}).readonly().optional().describe('Evidence-grade per-section completeness, attached only by evidence production (the Remote listing/fingerprint verbs never set it, so their wire form is unchanged). Like `sha`, it is NOT part of the canonical form `hashOf` digests.'),
|
|
343
369
|
}))
|
|
344
370
|
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0$schema$value
|
|
345
371
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
@@ -349,23 +375,23 @@ let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_result$schem
|
|
|
349
375
|
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_result$schema$value ??= z.object({
|
|
350
376
|
'skills': z.array(z.object({
|
|
351
377
|
'name': z.string().readonly(),
|
|
352
|
-
'description': z.string().readonly(),
|
|
353
|
-
'source': z.string().readonly(),
|
|
354
|
-
'provider': z.string().readonly(),
|
|
355
|
-
'modelInvocable': z.boolean().readonly(),
|
|
356
|
-
'userInvocable': z.boolean().readonly(),
|
|
357
|
-
'whenToUse': z.string().readonly().optional(),
|
|
358
|
-
'updatedAt': z.number().readonly().optional(),
|
|
359
|
-
'bodySha': z.string().readonly().optional(),
|
|
378
|
+
'description': z.string().readonly().describe('Short routing description.'),
|
|
379
|
+
'source': z.string().readonly().describe('Registration source bucket: project-dsh / project-agents / runtime / user-dsh / user-agents / custom / bundled.'),
|
|
380
|
+
'provider': z.string().readonly().describe('Provider that owns the skill body (e.g. `filesystem`, `skill-badge`, plugin name).'),
|
|
381
|
+
'modelInvocable': z.boolean().readonly().describe('Whether the model may load it (in catalog).'),
|
|
382
|
+
'userInvocable': z.boolean().readonly().describe('Whether a user may invoke it via `/name`.'),
|
|
383
|
+
'whenToUse': z.string().readonly().optional().describe('Optional extra routing guidance.'),
|
|
384
|
+
'updatedAt': z.number().readonly().optional().describe('Last-modified time (epoch ms) of the skill body, when a local bundle exists.'),
|
|
385
|
+
'bodySha': z.string().readonly().optional().describe('sha256 of the skill\'s SKILL.md body — the one part of a skill that IS a capability (the procedure the model executes), carried so the capability fingerprint can be taken from a snapshot alone. Absent when the body could not be read (a remote/opaque skill, or a registry that declines the load).'),
|
|
360
386
|
})).readonly(),
|
|
361
387
|
'tools': z.array(z.object({
|
|
362
|
-
'name': z.string().readonly(),
|
|
363
|
-
'description': z.string().readonly(),
|
|
364
|
-
'channel': z.union([z.literal("
|
|
365
|
-
'confidence': z.union([z.literal("exact"), z.literal("inferred")]).readonly(),
|
|
366
|
-
'serverName': z.string().readonly().optional(),
|
|
367
|
-
'parameters': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => CatalogJsonValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => CatalogJsonValueRemoteCodec$schema4())).readonly()]).readonly().optional(),
|
|
368
|
-
'owner': z.string().readonly().optional(),
|
|
388
|
+
'name': z.string().readonly().describe('Wire tool name as registered.'),
|
|
389
|
+
'description': z.string().readonly().describe('Model-facing description.'),
|
|
390
|
+
'channel': z.union([z.literal("unknown"), z.literal("plugin"), z.literal("builtin"), z.literal("mcp")]).readonly().describe('Attribution result.'),
|
|
391
|
+
'confidence': z.union([z.literal("exact"), z.literal("inferred")]).readonly().describe('Attribution confidence: exact for prefix/whitelist hits, inferred for baseline-diff hits.'),
|
|
392
|
+
'serverName': z.string().readonly().optional().describe('MCP server name when channel === \'mcp\' (longest-match resolved).'),
|
|
393
|
+
'parameters': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => CatalogJsonValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => CatalogJsonValueRemoteCodec$schema4())).readonly()]).readonly().optional().describe('Model-facing input parameters (JSON value), for the detail view.'),
|
|
394
|
+
'owner': z.string().readonly().optional().describe('Registrant package/owner when known.'),
|
|
369
395
|
})).readonly(),
|
|
370
396
|
'mcpServers': z.array(z.object({
|
|
371
397
|
'name': z.string().readonly(),
|
|
@@ -375,29 +401,143 @@ const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_result$sch
|
|
|
375
401
|
'channel': z.string().readonly(),
|
|
376
402
|
'count': z.number().readonly(),
|
|
377
403
|
})).readonly(),
|
|
378
|
-
'sha': z.string().readonly().optional(),
|
|
379
|
-
'preset': z.string().readonly().optional(),
|
|
404
|
+
'sha': z.string().readonly().optional().describe('The capability hash of this snapshot (`hashOf`), filled by the host half. It is NOT part of the canonical form it digests — a snapshot carrying it and the same snapshot without it hash alike.'),
|
|
405
|
+
'preset': z.string().readonly().optional().describe('The agent preset this snapshot was taken under; absent when none resolved.'),
|
|
406
|
+
'completeness': z.object({
|
|
407
|
+
'skills': z.object({
|
|
408
|
+
'state': z.union([z.literal("complete"), z.literal("unavailable"), z.literal("partial")]).readonly(),
|
|
409
|
+
'reason': z.string().readonly().optional().describe('Why the section is not complete; absent when it is.'),
|
|
410
|
+
}).readonly().optional(),
|
|
411
|
+
'tools': z.object({
|
|
412
|
+
'state': z.union([z.literal("complete"), z.literal("unavailable"), z.literal("partial")]).readonly(),
|
|
413
|
+
'reason': z.string().readonly().optional().describe('Why the section is not complete; absent when it is.'),
|
|
414
|
+
}).readonly().optional(),
|
|
415
|
+
'mcpServers': z.object({
|
|
416
|
+
'state': z.union([z.literal("complete"), z.literal("unavailable"), z.literal("partial")]).readonly(),
|
|
417
|
+
'reason': z.string().readonly().optional().describe('Why the section is not complete; absent when it is.'),
|
|
418
|
+
}).readonly().optional(),
|
|
419
|
+
'channels': z.object({
|
|
420
|
+
'state': z.union([z.literal("complete"), z.literal("unavailable"), z.literal("partial")]).readonly(),
|
|
421
|
+
'reason': z.string().readonly().optional().describe('Why the section is not complete; absent when it is.'),
|
|
422
|
+
}).readonly().optional(),
|
|
423
|
+
}).readonly().optional().describe('Evidence-grade per-section completeness, attached only by evidence production (the Remote listing/fingerprint verbs never set it, so their wire form is unchanged). Like `sha`, it is NOT part of the canonical form `hashOf` digests.'),
|
|
424
|
+
}))
|
|
425
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0_strict$schema$value
|
|
426
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0_strict$schema$value ??= z.strictObject({
|
|
427
|
+
'channel': z.union([z.literal("zip"), z.literal("github"), z.literal("command")]).readonly(),
|
|
428
|
+
'payload': z.string().readonly().describe('Base64-encoded zip/tgz bytes for `zip`; opaque for `github`.'),
|
|
429
|
+
'repo': z.string().readonly().optional().describe('owner/repo, a git URL (a host-prefixed or pasted link and an in-repo subpath resolve to the same clone), or a local dir path for `command`.'),
|
|
430
|
+
'skills': z.array(z.string()).readonly().optional().describe('Selected skill sub-directory names when `repo` is a multi-skill container dir.'),
|
|
431
|
+
'modelInvocable': z.boolean().readonly().describe('Whether the added skill is model-invocable (written as disable-model-invocation inversely).'),
|
|
432
|
+
'root': z.union([z.literal("user"), z.literal("project")]).readonly().describe('Target root: user (`$DSH_HOME/skills`) or project (`.agents/skills`).'),
|
|
433
|
+
'overwrite': z.boolean().readonly().optional().describe('When true, an existing same-name skill in the target root is replaced instead of prompting.'),
|
|
380
434
|
}))
|
|
435
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0_strict$schema$value
|
|
436
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0_strict$schema$value ??= z.string())
|
|
437
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_1_strict$schema$value
|
|
438
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_1_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_1_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
439
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_2_strict$schema$value
|
|
440
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_2_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_2_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
441
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_0_strict$schema$value
|
|
442
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_0_strict$schema$value ??= z.string())
|
|
443
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_1_strict$schema$value
|
|
444
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_1_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_1_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
445
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_2_strict$schema$value
|
|
446
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_2_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_2_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
447
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0_strict$schema$value
|
|
448
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0_strict$schema$value ??= z.string())
|
|
449
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0_strict$schema$value
|
|
450
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0_strict$schema$value ??= z.strictObject({
|
|
451
|
+
'serverName': z.string().readonly(),
|
|
452
|
+
'transport': z.union([z.literal("stdio"), z.literal("streamable-http")]).readonly(),
|
|
453
|
+
'command': z.string().readonly().optional().describe('stdio'),
|
|
454
|
+
'args': z.array(z.string()).readonly().optional(),
|
|
455
|
+
'cwd': z.string().readonly().optional(),
|
|
456
|
+
'url': z.string().readonly().optional().describe('streamable-http'),
|
|
457
|
+
'headers': z.array(z.tuple([z.string(), z.string()])).readonly().optional(),
|
|
458
|
+
'env': z.array(z.tuple([z.string(), z.string()])).readonly().optional().describe('env (value is a secretRef marker if it came from a secret).'),
|
|
459
|
+
'enabled': z.boolean().readonly().describe('Whether the server is enabled (connected + injected).'),
|
|
460
|
+
}))
|
|
461
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_parameter_0_strict$schema$value
|
|
462
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_parameter_0_strict$schema$value ??= z.string())
|
|
463
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0_strict$schema$value
|
|
464
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0_strict$schema$value ??= z.string())
|
|
465
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_0_strict$schema$value
|
|
466
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_0_strict$schema$value ??= z.string())
|
|
467
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_1_strict$schema$value
|
|
468
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_1_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_1_strict$schema$value ??= z.string())
|
|
469
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_0_strict$schema$value
|
|
470
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_0_strict$schema$value ??= z.string())
|
|
471
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_1_strict$schema$value
|
|
472
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_1_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_1_strict$schema$value ??= z.boolean())
|
|
473
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_0_strict$schema$value
|
|
474
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_0_strict$schema$value ??= z.string())
|
|
475
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_1_strict$schema$value
|
|
476
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_1_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_1_strict$schema$value ??= z.string())
|
|
477
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_2_strict$schema$value
|
|
478
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_2_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_2_strict$schema$value ??= z.boolean())
|
|
479
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0_strict$schema$value
|
|
480
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
481
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_parameter_0_strict$schema$value
|
|
482
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_parameter_0_strict$schema$value ??= z.strictObject({
|
|
483
|
+
'name': z.string().readonly(),
|
|
484
|
+
'presets': z.array(z.string()).readonly(),
|
|
485
|
+
'workdir': z.string().readonly().optional(),
|
|
486
|
+
}))
|
|
487
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_parameter_0_strict$schema$value
|
|
488
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_parameter_0_strict$schema$value ??= z.string())
|
|
489
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0_strict$schema$value
|
|
490
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0_strict$schema$value ??= z.strictObject({
|
|
491
|
+
'name': z.string().readonly(),
|
|
492
|
+
'presets': z.array(z.string()).readonly(),
|
|
493
|
+
}))
|
|
494
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0_strict$schema$value
|
|
495
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0_strict$schema$value ??= z.string())
|
|
496
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_1_strict$schema$value
|
|
497
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_1_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_1_strict$schema$value ??= z.string())
|
|
498
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_2_strict$schema$value
|
|
499
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_2_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_2_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
500
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_3_strict$schema$value
|
|
501
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_3_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_3_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
502
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_parameter_0_strict$schema$value
|
|
503
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_parameter_0_strict$schema$value ??= z.strictObject({
|
|
504
|
+
'key': z.string().readonly(),
|
|
505
|
+
'value': z.string().readonly(),
|
|
506
|
+
}))
|
|
507
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_parameter_0_strict$schema$value
|
|
508
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_parameter_0_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
509
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0_strict$schema$value
|
|
510
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
511
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_1_strict$schema$value
|
|
512
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_1_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_1_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
513
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0_strict$schema$value
|
|
514
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
515
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_1_strict$schema$value
|
|
516
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_1_strict$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_1_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
381
517
|
|
|
382
|
-
export const TYPERT_REMOTE = {
|
|
518
|
+
export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
383
519
|
package: '@khorsheed/dsh-capability-catalog',
|
|
384
|
-
|
|
385
|
-
{
|
|
386
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/addSkill',
|
|
520
|
+
methods: {
|
|
521
|
+
'capabilityCatalog/addSkill': {
|
|
387
522
|
service: 'capabilityCatalog',
|
|
388
|
-
namespace: 'capabilityCatalog',
|
|
389
|
-
method: 'addSkill',
|
|
390
523
|
invocation: { kind: 'direct' },
|
|
391
524
|
parameters: [
|
|
392
525
|
{
|
|
393
526
|
name: 'request',
|
|
394
|
-
wire: 'request',
|
|
395
527
|
source: 'json',
|
|
396
528
|
codec: {
|
|
397
529
|
mode: 'strict',
|
|
398
530
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogAddSkillRequest',
|
|
399
531
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0$schema,
|
|
400
532
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0$schema(),
|
|
533
|
+
jsonSchema: {"type":"object","properties":{"channel":{"type":"string","enum":["zip","github","command"]},"payload":{"type":"string","description":"Base64-encoded zip/tgz bytes for `zip`; opaque for `github`."},"repo":{"type":"string","description":"owner/repo, a git URL (a host-prefixed or pasted link and an in-repo subpath resolve to the same clone), or a local dir path for `command`."},"skills":{"type":"array","items":{"type":"string"},"description":"Selected skill sub-directory names when `repo` is a multi-skill container dir."},"modelInvocable":{"type":"boolean","description":"Whether the added skill is model-invocable (written as disable-model-invocation inversely)."},"root":{"type":"string","enum":["user","project"],"description":"Target root: user (`$DSH_HOME/skills`) or project (`.agents/skills`)."},"overwrite":{"type":"boolean","description":"When true, an existing same-name skill in the target root is replaced instead of prompting."}},"required":["channel","payload","modelInvocable","root"],"additionalProperties":true},
|
|
534
|
+
},
|
|
535
|
+
strictCodec: {
|
|
536
|
+
mode: 'strict',
|
|
537
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogAddSkillRequest',
|
|
538
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0_strict$schema,
|
|
539
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0_strict$schema(),
|
|
540
|
+
jsonSchema: {"type":"object","properties":{"channel":{"type":"string","enum":["zip","github","command"]},"payload":{"type":"string","description":"Base64-encoded zip/tgz bytes for `zip`; opaque for `github`."},"repo":{"type":"string","description":"owner/repo, a git URL (a host-prefixed or pasted link and an in-repo subpath resolve to the same clone), or a local dir path for `command`."},"skills":{"type":"array","items":{"type":"string"},"description":"Selected skill sub-directory names when `repo` is a multi-skill container dir."},"modelInvocable":{"type":"boolean","description":"Whether the added skill is model-invocable (written as disable-model-invocation inversely)."},"root":{"type":"string","enum":["user","project"],"description":"Target root: user (`$DSH_HOME/skills`) or project (`.agents/skills`)."},"overwrite":{"type":"boolean","description":"When true, an existing same-name skill in the target root is replaced instead of prompting."}},"required":["channel","payload","modelInvocable","root"],"additionalProperties":false},
|
|
401
541
|
},
|
|
402
542
|
},
|
|
403
543
|
],
|
|
@@ -406,30 +546,34 @@ export const TYPERT_REMOTE = {
|
|
|
406
546
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogAddSkillResult',
|
|
407
547
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_result$schema,
|
|
408
548
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_result$schema(),
|
|
549
|
+
jsonSchema: {"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"name":{"type":"string"},"exists":{"type":"boolean","description":"Set on a soft \"skill already exists\" refusal (ok:false) so the UI can offer overwrite."}},"required":["ok"],"additionalProperties":true},
|
|
409
550
|
},
|
|
410
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
551
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":646,"column":9},
|
|
411
552
|
},
|
|
412
|
-
{
|
|
413
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/deleteSkill',
|
|
553
|
+
'capabilityCatalog/deleteSkill': {
|
|
414
554
|
service: 'capabilityCatalog',
|
|
415
|
-
namespace: 'capabilityCatalog',
|
|
416
|
-
method: 'deleteSkill',
|
|
417
555
|
invocation: { kind: 'direct' },
|
|
418
556
|
parameters: [
|
|
419
557
|
{
|
|
420
558
|
name: 'name',
|
|
421
|
-
wire: 'name',
|
|
422
559
|
source: 'json',
|
|
423
560
|
codec: {
|
|
424
561
|
mode: 'strict',
|
|
425
562
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/deleteSkill:name',
|
|
426
563
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0$schema,
|
|
427
564
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0$schema(),
|
|
565
|
+
jsonSchema: {"type":"string"},
|
|
566
|
+
},
|
|
567
|
+
strictCodec: {
|
|
568
|
+
mode: 'strict',
|
|
569
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/deleteSkill:name',
|
|
570
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0_strict$schema,
|
|
571
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0_strict$schema(),
|
|
572
|
+
jsonSchema: {"type":"string"},
|
|
428
573
|
},
|
|
429
574
|
},
|
|
430
575
|
{
|
|
431
576
|
name: 'workdir',
|
|
432
|
-
wire: 'workdir',
|
|
433
577
|
source: 'json',
|
|
434
578
|
acceptsUndefined: true,
|
|
435
579
|
codec: {
|
|
@@ -437,11 +581,18 @@ export const TYPERT_REMOTE = {
|
|
|
437
581
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/deleteSkill:workdir',
|
|
438
582
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_1$schema,
|
|
439
583
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_1$schema(),
|
|
584
|
+
jsonSchema: {"type":"string"},
|
|
585
|
+
},
|
|
586
|
+
strictCodec: {
|
|
587
|
+
mode: 'strict',
|
|
588
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/deleteSkill:workdir',
|
|
589
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_1_strict$schema,
|
|
590
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_1_strict$schema(),
|
|
591
|
+
jsonSchema: {"type":"string"},
|
|
440
592
|
},
|
|
441
593
|
},
|
|
442
594
|
{
|
|
443
595
|
name: 'presetId',
|
|
444
|
-
wire: 'presetId',
|
|
445
596
|
source: 'json',
|
|
446
597
|
acceptsUndefined: true,
|
|
447
598
|
codec: {
|
|
@@ -449,6 +600,14 @@ export const TYPERT_REMOTE = {
|
|
|
449
600
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/deleteSkill:presetId',
|
|
450
601
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_2$schema,
|
|
451
602
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_2$schema(),
|
|
603
|
+
jsonSchema: {"type":"string"},
|
|
604
|
+
},
|
|
605
|
+
strictCodec: {
|
|
606
|
+
mode: 'strict',
|
|
607
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/deleteSkill:presetId',
|
|
608
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_2_strict$schema,
|
|
609
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_2_strict$schema(),
|
|
610
|
+
jsonSchema: {"type":"string"},
|
|
452
611
|
},
|
|
453
612
|
},
|
|
454
613
|
],
|
|
@@ -457,30 +616,34 @@ export const TYPERT_REMOTE = {
|
|
|
457
616
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogDeleteSkillResult',
|
|
458
617
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_result$schema,
|
|
459
618
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_result$schema(),
|
|
619
|
+
jsonSchema: {"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"}},"required":["ok"],"additionalProperties":true},
|
|
460
620
|
},
|
|
461
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
621
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":651,"column":9},
|
|
462
622
|
},
|
|
463
|
-
{
|
|
464
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail',
|
|
623
|
+
'capabilityCatalog/detail': {
|
|
465
624
|
service: 'capabilityCatalog',
|
|
466
|
-
namespace: 'capabilityCatalog',
|
|
467
|
-
method: 'detail',
|
|
468
625
|
invocation: { kind: 'direct' },
|
|
469
626
|
parameters: [
|
|
470
627
|
{
|
|
471
628
|
name: 'name',
|
|
472
|
-
wire: 'name',
|
|
473
629
|
source: 'json',
|
|
474
630
|
codec: {
|
|
475
631
|
mode: 'strict',
|
|
476
632
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail:name',
|
|
477
633
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_0$schema,
|
|
478
634
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_0$schema(),
|
|
635
|
+
jsonSchema: {"type":"string"},
|
|
636
|
+
},
|
|
637
|
+
strictCodec: {
|
|
638
|
+
mode: 'strict',
|
|
639
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail:name',
|
|
640
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_0_strict$schema,
|
|
641
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_0_strict$schema(),
|
|
642
|
+
jsonSchema: {"type":"string"},
|
|
479
643
|
},
|
|
480
644
|
},
|
|
481
645
|
{
|
|
482
646
|
name: 'workdir',
|
|
483
|
-
wire: 'workdir',
|
|
484
647
|
source: 'json',
|
|
485
648
|
acceptsUndefined: true,
|
|
486
649
|
codec: {
|
|
@@ -488,11 +651,18 @@ export const TYPERT_REMOTE = {
|
|
|
488
651
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail:workdir',
|
|
489
652
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_1$schema,
|
|
490
653
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_1$schema(),
|
|
654
|
+
jsonSchema: {"type":"string"},
|
|
655
|
+
},
|
|
656
|
+
strictCodec: {
|
|
657
|
+
mode: 'strict',
|
|
658
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail:workdir',
|
|
659
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_1_strict$schema,
|
|
660
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_1_strict$schema(),
|
|
661
|
+
jsonSchema: {"type":"string"},
|
|
491
662
|
},
|
|
492
663
|
},
|
|
493
664
|
{
|
|
494
665
|
name: 'presetId',
|
|
495
|
-
wire: 'presetId',
|
|
496
666
|
source: 'json',
|
|
497
667
|
acceptsUndefined: true,
|
|
498
668
|
codec: {
|
|
@@ -500,6 +670,14 @@ export const TYPERT_REMOTE = {
|
|
|
500
670
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail:presetId',
|
|
501
671
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_2$schema,
|
|
502
672
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_2$schema(),
|
|
673
|
+
jsonSchema: {"type":"string"},
|
|
674
|
+
},
|
|
675
|
+
strictCodec: {
|
|
676
|
+
mode: 'strict',
|
|
677
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail:presetId',
|
|
678
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_2_strict$schema,
|
|
679
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_2_strict$schema(),
|
|
680
|
+
jsonSchema: {"type":"string"},
|
|
503
681
|
},
|
|
504
682
|
},
|
|
505
683
|
],
|
|
@@ -508,25 +686,30 @@ export const TYPERT_REMOTE = {
|
|
|
508
686
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail:result',
|
|
509
687
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_result$schema,
|
|
510
688
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_result$schema(),
|
|
689
|
+
jsonSchemaError: 'typert tool schema: unsupported undefined value',
|
|
511
690
|
},
|
|
512
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
691
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":612,"column":9},
|
|
513
692
|
},
|
|
514
|
-
{
|
|
515
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/listDirSkills',
|
|
693
|
+
'capabilityCatalog/listDirSkills': {
|
|
516
694
|
service: 'capabilityCatalog',
|
|
517
|
-
namespace: 'capabilityCatalog',
|
|
518
|
-
method: 'listDirSkills',
|
|
519
695
|
invocation: { kind: 'direct' },
|
|
520
696
|
parameters: [
|
|
521
697
|
{
|
|
522
698
|
name: 'dirPath',
|
|
523
|
-
wire: 'dirPath',
|
|
524
699
|
source: 'json',
|
|
525
700
|
codec: {
|
|
526
701
|
mode: 'strict',
|
|
527
702
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/listDirSkills:dirPath',
|
|
528
703
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0$schema,
|
|
529
704
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0$schema(),
|
|
705
|
+
jsonSchema: {"type":"string"},
|
|
706
|
+
},
|
|
707
|
+
strictCodec: {
|
|
708
|
+
mode: 'strict',
|
|
709
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/listDirSkills:dirPath',
|
|
710
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0_strict$schema,
|
|
711
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0_strict$schema(),
|
|
712
|
+
jsonSchema: {"type":"string"},
|
|
530
713
|
},
|
|
531
714
|
},
|
|
532
715
|
],
|
|
@@ -535,25 +718,30 @@ export const TYPERT_REMOTE = {
|
|
|
535
718
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/listDirSkills:result',
|
|
536
719
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_result$schema,
|
|
537
720
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_result$schema(),
|
|
721
|
+
jsonSchema: {"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"kind":{"type":"string","enum":["self","child"]}},"required":["name","description"],"additionalProperties":true}},
|
|
538
722
|
},
|
|
539
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
723
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":636,"column":9},
|
|
540
724
|
},
|
|
541
|
-
{
|
|
542
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpAdd',
|
|
725
|
+
'capabilityCatalog/mcpAdd': {
|
|
543
726
|
service: 'capabilityCatalog',
|
|
544
|
-
namespace: 'capabilityCatalog',
|
|
545
|
-
method: 'mcpAdd',
|
|
546
727
|
invocation: { kind: 'direct' },
|
|
547
728
|
parameters: [
|
|
548
729
|
{
|
|
549
730
|
name: 'config',
|
|
550
|
-
wire: 'config',
|
|
551
731
|
source: 'json',
|
|
552
732
|
codec: {
|
|
553
733
|
mode: 'strict',
|
|
554
734
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogMcpServerConfig',
|
|
555
735
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0$schema,
|
|
556
736
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0$schema(),
|
|
737
|
+
jsonSchemaError: 'typert tool schema: unsupported selected tuple type',
|
|
738
|
+
},
|
|
739
|
+
strictCodec: {
|
|
740
|
+
mode: 'strict',
|
|
741
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogMcpServerConfig',
|
|
742
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0_strict$schema,
|
|
743
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0_strict$schema(),
|
|
744
|
+
jsonSchemaError: 'typert tool schema: unsupported selected tuple type',
|
|
557
745
|
},
|
|
558
746
|
},
|
|
559
747
|
],
|
|
@@ -562,25 +750,30 @@ export const TYPERT_REMOTE = {
|
|
|
562
750
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpAdd:result',
|
|
563
751
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_result$schema,
|
|
564
752
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_result$schema(),
|
|
753
|
+
jsonSchema: {"type":"boolean"},
|
|
565
754
|
},
|
|
566
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
755
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":663,"column":9},
|
|
567
756
|
},
|
|
568
|
-
{
|
|
569
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpDiscover',
|
|
757
|
+
'capabilityCatalog/mcpDiscover': {
|
|
570
758
|
service: 'capabilityCatalog',
|
|
571
|
-
namespace: 'capabilityCatalog',
|
|
572
|
-
method: 'mcpDiscover',
|
|
573
759
|
invocation: { kind: 'direct' },
|
|
574
760
|
parameters: [
|
|
575
761
|
{
|
|
576
762
|
name: 'serverName',
|
|
577
|
-
wire: 'serverName',
|
|
578
763
|
source: 'json',
|
|
579
764
|
codec: {
|
|
580
765
|
mode: 'strict',
|
|
581
766
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpDiscover:serverName',
|
|
582
767
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_parameter_0$schema,
|
|
583
768
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_parameter_0$schema(),
|
|
769
|
+
jsonSchema: {"type":"string"},
|
|
770
|
+
},
|
|
771
|
+
strictCodec: {
|
|
772
|
+
mode: 'strict',
|
|
773
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpDiscover:serverName',
|
|
774
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_parameter_0_strict$schema,
|
|
775
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_parameter_0_strict$schema(),
|
|
776
|
+
jsonSchema: {"type":"string"},
|
|
584
777
|
},
|
|
585
778
|
},
|
|
586
779
|
],
|
|
@@ -589,41 +782,30 @@ export const TYPERT_REMOTE = {
|
|
|
589
782
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpDiscover:result',
|
|
590
783
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_result$schema,
|
|
591
784
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_result$schema(),
|
|
785
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
592
786
|
},
|
|
593
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
787
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":696,"column":9},
|
|
594
788
|
},
|
|
595
|
-
{
|
|
596
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpList',
|
|
789
|
+
'capabilityCatalog/mcpRemove': {
|
|
597
790
|
service: 'capabilityCatalog',
|
|
598
|
-
namespace: 'capabilityCatalog',
|
|
599
|
-
method: 'mcpList',
|
|
600
|
-
invocation: { kind: 'direct' },
|
|
601
|
-
parameters: [
|
|
602
|
-
],
|
|
603
|
-
result: {
|
|
604
|
-
mode: 'strict',
|
|
605
|
-
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpList:result',
|
|
606
|
-
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpList_result$schema,
|
|
607
|
-
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpList_result$schema(),
|
|
608
|
-
},
|
|
609
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":648,"column":9},
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpRemove',
|
|
613
|
-
service: 'capabilityCatalog',
|
|
614
|
-
namespace: 'capabilityCatalog',
|
|
615
|
-
method: 'mcpRemove',
|
|
616
791
|
invocation: { kind: 'direct' },
|
|
617
792
|
parameters: [
|
|
618
793
|
{
|
|
619
794
|
name: 'serverName',
|
|
620
|
-
wire: 'serverName',
|
|
621
795
|
source: 'json',
|
|
622
796
|
codec: {
|
|
623
797
|
mode: 'strict',
|
|
624
798
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpRemove:serverName',
|
|
625
799
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0$schema,
|
|
626
800
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0$schema(),
|
|
801
|
+
jsonSchema: {"type":"string"},
|
|
802
|
+
},
|
|
803
|
+
strictCodec: {
|
|
804
|
+
mode: 'strict',
|
|
805
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpRemove:serverName',
|
|
806
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0_strict$schema,
|
|
807
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0_strict$schema(),
|
|
808
|
+
jsonSchema: {"type":"string"},
|
|
627
809
|
},
|
|
628
810
|
},
|
|
629
811
|
],
|
|
@@ -632,36 +814,48 @@ export const TYPERT_REMOTE = {
|
|
|
632
814
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpRemove:result',
|
|
633
815
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_result$schema,
|
|
634
816
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_result$schema(),
|
|
817
|
+
jsonSchema: {"type":"boolean"},
|
|
635
818
|
},
|
|
636
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
819
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":671,"column":9},
|
|
637
820
|
},
|
|
638
|
-
{
|
|
639
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetCredential',
|
|
821
|
+
'capabilityCatalog/mcpSetCredential': {
|
|
640
822
|
service: 'capabilityCatalog',
|
|
641
|
-
namespace: 'capabilityCatalog',
|
|
642
|
-
method: 'mcpSetCredential',
|
|
643
823
|
invocation: { kind: 'direct' },
|
|
644
824
|
parameters: [
|
|
645
825
|
{
|
|
646
826
|
name: 'ref',
|
|
647
|
-
wire: 'ref',
|
|
648
827
|
source: 'json',
|
|
649
828
|
codec: {
|
|
650
829
|
mode: 'strict',
|
|
651
830
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetCredential:ref',
|
|
652
831
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_0$schema,
|
|
653
832
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_0$schema(),
|
|
833
|
+
jsonSchema: {"type":"string"},
|
|
834
|
+
},
|
|
835
|
+
strictCodec: {
|
|
836
|
+
mode: 'strict',
|
|
837
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetCredential:ref',
|
|
838
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_0_strict$schema,
|
|
839
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_0_strict$schema(),
|
|
840
|
+
jsonSchema: {"type":"string"},
|
|
654
841
|
},
|
|
655
842
|
},
|
|
656
843
|
{
|
|
657
844
|
name: 'value',
|
|
658
|
-
wire: 'value',
|
|
659
845
|
source: 'json',
|
|
660
846
|
codec: {
|
|
661
847
|
mode: 'strict',
|
|
662
848
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetCredential:value',
|
|
663
849
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_1$schema,
|
|
664
850
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_1$schema(),
|
|
851
|
+
jsonSchema: {"type":"string"},
|
|
852
|
+
},
|
|
853
|
+
strictCodec: {
|
|
854
|
+
mode: 'strict',
|
|
855
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetCredential:value',
|
|
856
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_1_strict$schema,
|
|
857
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_1_strict$schema(),
|
|
858
|
+
jsonSchema: {"type":"string"},
|
|
665
859
|
},
|
|
666
860
|
},
|
|
667
861
|
],
|
|
@@ -670,36 +864,48 @@ export const TYPERT_REMOTE = {
|
|
|
670
864
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetCredential:result',
|
|
671
865
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_result$schema,
|
|
672
866
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_result$schema(),
|
|
867
|
+
jsonSchema: {"type":"boolean"},
|
|
673
868
|
},
|
|
674
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
869
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":684,"column":9},
|
|
675
870
|
},
|
|
676
|
-
{
|
|
677
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetEnabled',
|
|
871
|
+
'capabilityCatalog/mcpSetEnabled': {
|
|
678
872
|
service: 'capabilityCatalog',
|
|
679
|
-
namespace: 'capabilityCatalog',
|
|
680
|
-
method: 'mcpSetEnabled',
|
|
681
873
|
invocation: { kind: 'direct' },
|
|
682
874
|
parameters: [
|
|
683
875
|
{
|
|
684
876
|
name: 'serverName',
|
|
685
|
-
wire: 'serverName',
|
|
686
877
|
source: 'json',
|
|
687
878
|
codec: {
|
|
688
879
|
mode: 'strict',
|
|
689
880
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetEnabled:serverName',
|
|
690
881
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_0$schema,
|
|
691
882
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_0$schema(),
|
|
883
|
+
jsonSchema: {"type":"string"},
|
|
884
|
+
},
|
|
885
|
+
strictCodec: {
|
|
886
|
+
mode: 'strict',
|
|
887
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetEnabled:serverName',
|
|
888
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_0_strict$schema,
|
|
889
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_0_strict$schema(),
|
|
890
|
+
jsonSchema: {"type":"string"},
|
|
692
891
|
},
|
|
693
892
|
},
|
|
694
893
|
{
|
|
695
894
|
name: 'enabled',
|
|
696
|
-
wire: 'enabled',
|
|
697
895
|
source: 'json',
|
|
698
896
|
codec: {
|
|
699
897
|
mode: 'strict',
|
|
700
898
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetEnabled:enabled',
|
|
701
899
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_1$schema,
|
|
702
900
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_1$schema(),
|
|
901
|
+
jsonSchema: {"type":"boolean"},
|
|
902
|
+
},
|
|
903
|
+
strictCodec: {
|
|
904
|
+
mode: 'strict',
|
|
905
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetEnabled:enabled',
|
|
906
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_1_strict$schema,
|
|
907
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_1_strict$schema(),
|
|
908
|
+
jsonSchema: {"type":"boolean"},
|
|
703
909
|
},
|
|
704
910
|
},
|
|
705
911
|
],
|
|
@@ -708,47 +914,66 @@ export const TYPERT_REMOTE = {
|
|
|
708
914
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetEnabled:result',
|
|
709
915
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_result$schema,
|
|
710
916
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_result$schema(),
|
|
917
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
711
918
|
},
|
|
712
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
919
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":678,"column":9},
|
|
713
920
|
},
|
|
714
|
-
{
|
|
715
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled',
|
|
921
|
+
'capabilityCatalog/mcpSetToolEnabled': {
|
|
716
922
|
service: 'capabilityCatalog',
|
|
717
|
-
namespace: 'capabilityCatalog',
|
|
718
|
-
method: 'mcpSetToolEnabled',
|
|
719
923
|
invocation: { kind: 'direct' },
|
|
720
924
|
parameters: [
|
|
721
925
|
{
|
|
722
926
|
name: 'serverName',
|
|
723
|
-
wire: 'serverName',
|
|
724
927
|
source: 'json',
|
|
725
928
|
codec: {
|
|
726
929
|
mode: 'strict',
|
|
727
930
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled:serverName',
|
|
728
931
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_0$schema,
|
|
729
932
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_0$schema(),
|
|
933
|
+
jsonSchema: {"type":"string"},
|
|
934
|
+
},
|
|
935
|
+
strictCodec: {
|
|
936
|
+
mode: 'strict',
|
|
937
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled:serverName',
|
|
938
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_0_strict$schema,
|
|
939
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_0_strict$schema(),
|
|
940
|
+
jsonSchema: {"type":"string"},
|
|
730
941
|
},
|
|
731
942
|
},
|
|
732
943
|
{
|
|
733
944
|
name: 'tool',
|
|
734
|
-
wire: 'tool',
|
|
735
945
|
source: 'json',
|
|
736
946
|
codec: {
|
|
737
947
|
mode: 'strict',
|
|
738
948
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled:tool',
|
|
739
949
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_1$schema,
|
|
740
950
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_1$schema(),
|
|
951
|
+
jsonSchema: {"type":"string"},
|
|
952
|
+
},
|
|
953
|
+
strictCodec: {
|
|
954
|
+
mode: 'strict',
|
|
955
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled:tool',
|
|
956
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_1_strict$schema,
|
|
957
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_1_strict$schema(),
|
|
958
|
+
jsonSchema: {"type":"string"},
|
|
741
959
|
},
|
|
742
960
|
},
|
|
743
961
|
{
|
|
744
962
|
name: 'enabled',
|
|
745
|
-
wire: 'enabled',
|
|
746
963
|
source: 'json',
|
|
747
964
|
codec: {
|
|
748
965
|
mode: 'strict',
|
|
749
966
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled:enabled',
|
|
750
967
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_2$schema,
|
|
751
968
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_2$schema(),
|
|
969
|
+
jsonSchema: {"type":"boolean"},
|
|
970
|
+
},
|
|
971
|
+
strictCodec: {
|
|
972
|
+
mode: 'strict',
|
|
973
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled:enabled',
|
|
974
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_2_strict$schema,
|
|
975
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_2_strict$schema(),
|
|
976
|
+
jsonSchema: {"type":"boolean"},
|
|
752
977
|
},
|
|
753
978
|
},
|
|
754
979
|
],
|
|
@@ -757,14 +982,12 @@ export const TYPERT_REMOTE = {
|
|
|
757
982
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled:result',
|
|
758
983
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_result$schema,
|
|
759
984
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_result$schema(),
|
|
985
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
760
986
|
},
|
|
761
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
987
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":690,"column":9},
|
|
762
988
|
},
|
|
763
|
-
{
|
|
764
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSnapshot',
|
|
989
|
+
'capabilityCatalog/mcpSnapshot': {
|
|
765
990
|
service: 'capabilityCatalog',
|
|
766
|
-
namespace: 'capabilityCatalog',
|
|
767
|
-
method: 'mcpSnapshot',
|
|
768
991
|
invocation: { kind: 'direct' },
|
|
769
992
|
parameters: [
|
|
770
993
|
],
|
|
@@ -773,19 +996,18 @@ export const TYPERT_REMOTE = {
|
|
|
773
996
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogMcpSnapshot',
|
|
774
997
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSnapshot_result$schema,
|
|
775
998
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSnapshot_result$schema(),
|
|
999
|
+
jsonSchemaError: 'typert tool schema: unsupported selected tuple type',
|
|
776
1000
|
},
|
|
777
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1001
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":703,"column":9},
|
|
778
1002
|
},
|
|
779
|
-
{
|
|
780
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/modeFaces',
|
|
1003
|
+
'capabilityCatalog/modeFaces': {
|
|
781
1004
|
service: 'capabilityCatalog',
|
|
782
|
-
|
|
783
|
-
method: 'modeFaces',
|
|
1005
|
+
description: 'Every mode\'s capability face in ONE call, for the cross-mode comparison view ("which modes load this tool/skill?"). This is the expensive verb of the pair: a mode whose standing scope has not been composed yet is MOUNTED by its read (see modes.ts — there is no cheap honest source, because a composition file names plugins, not the tools and skills those plugins register). The browser therefore calls it only when a human chooses to compare modes, never on opening the section. A mode that cannot be read keeps its row with `unavailable` set rather than an empty face, so the comparison never claims that a broken mode loads nothing. `preset` on a face is always the id that was asked for: a read that silently degraded to the global layer is reported as unavailable, not as that mode\'s face.',
|
|
784
1006
|
invocation: { kind: 'direct' },
|
|
785
1007
|
parameters: [
|
|
786
1008
|
{
|
|
787
1009
|
name: 'workdir',
|
|
788
|
-
|
|
1010
|
+
description: 'optional cwd for project-scoped skill roots.',
|
|
789
1011
|
source: 'json',
|
|
790
1012
|
acceptsUndefined: true,
|
|
791
1013
|
codec: {
|
|
@@ -793,6 +1015,14 @@ export const TYPERT_REMOTE = {
|
|
|
793
1015
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/modeFaces:workdir',
|
|
794
1016
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0$schema,
|
|
795
1017
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0$schema(),
|
|
1018
|
+
jsonSchema: {"type":"string"},
|
|
1019
|
+
},
|
|
1020
|
+
strictCodec: {
|
|
1021
|
+
mode: 'strict',
|
|
1022
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/modeFaces:workdir',
|
|
1023
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0_strict$schema,
|
|
1024
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0_strict$schema(),
|
|
1025
|
+
jsonSchema: {"type":"string"},
|
|
796
1026
|
},
|
|
797
1027
|
},
|
|
798
1028
|
],
|
|
@@ -801,14 +1031,12 @@ export const TYPERT_REMOTE = {
|
|
|
801
1031
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/modeFaces:result',
|
|
802
1032
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_result$schema,
|
|
803
1033
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_result$schema(),
|
|
1034
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
804
1035
|
},
|
|
805
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1036
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":351,"column":9},
|
|
806
1037
|
},
|
|
807
|
-
{
|
|
808
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/pickDirectory',
|
|
1038
|
+
'capabilityCatalog/pickDirectory': {
|
|
809
1039
|
service: 'capabilityCatalog',
|
|
810
|
-
namespace: 'capabilityCatalog',
|
|
811
|
-
method: 'pickDirectory',
|
|
812
1040
|
invocation: { kind: 'direct' },
|
|
813
1041
|
parameters: [
|
|
814
1042
|
],
|
|
@@ -817,25 +1045,31 @@ export const TYPERT_REMOTE = {
|
|
|
817
1045
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/pickDirectory:result',
|
|
818
1046
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_pickDirectory_result$schema,
|
|
819
1047
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_pickDirectory_result$schema(),
|
|
1048
|
+
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
|
|
820
1049
|
},
|
|
821
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1050
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":658,"column":9},
|
|
822
1051
|
},
|
|
823
|
-
{
|
|
824
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeAdopt',
|
|
1052
|
+
'capabilityCatalog/presetScopeAdopt': {
|
|
825
1053
|
service: 'capabilityCatalog',
|
|
826
|
-
|
|
827
|
-
method: 'presetScopeAdopt',
|
|
1054
|
+
description: 'Move an installed skill into the managed root with a preset scope.',
|
|
828
1055
|
invocation: { kind: 'direct' },
|
|
829
1056
|
parameters: [
|
|
830
1057
|
{
|
|
831
1058
|
name: 'request',
|
|
832
|
-
wire: 'request',
|
|
833
1059
|
source: 'json',
|
|
834
1060
|
codec: {
|
|
835
1061
|
mode: 'strict',
|
|
836
1062
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeAdoptRequest',
|
|
837
1063
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_parameter_0$schema,
|
|
838
1064
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_parameter_0$schema(),
|
|
1065
|
+
jsonSchema: {"type":"object","properties":{"name":{"type":"string"},"presets":{"type":"array","items":{"type":"string"}},"workdir":{"type":"string"}},"required":["name","presets"],"additionalProperties":true},
|
|
1066
|
+
},
|
|
1067
|
+
strictCodec: {
|
|
1068
|
+
mode: 'strict',
|
|
1069
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeAdoptRequest',
|
|
1070
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_parameter_0_strict$schema,
|
|
1071
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_parameter_0_strict$schema(),
|
|
1072
|
+
jsonSchema: {"type":"object","properties":{"name":{"type":"string"},"presets":{"type":"array","items":{"type":"string"}},"workdir":{"type":"string"}},"required":["name","presets"],"additionalProperties":false},
|
|
839
1073
|
},
|
|
840
1074
|
},
|
|
841
1075
|
],
|
|
@@ -844,25 +1078,31 @@ export const TYPERT_REMOTE = {
|
|
|
844
1078
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeEditResult',
|
|
845
1079
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_result$schema,
|
|
846
1080
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_result$schema(),
|
|
1081
|
+
jsonSchema: {"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"}},"required":["ok"],"additionalProperties":true},
|
|
847
1082
|
},
|
|
848
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1083
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":390,"column":9},
|
|
849
1084
|
},
|
|
850
|
-
{
|
|
851
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeRelease',
|
|
1085
|
+
'capabilityCatalog/presetScopeRelease': {
|
|
852
1086
|
service: 'capabilityCatalog',
|
|
853
|
-
|
|
854
|
-
method: 'presetScopeRelease',
|
|
1087
|
+
description: 'Move a managed skill back to the user skill root (the recovery direction).',
|
|
855
1088
|
invocation: { kind: 'direct' },
|
|
856
1089
|
parameters: [
|
|
857
1090
|
{
|
|
858
1091
|
name: 'name',
|
|
859
|
-
wire: 'name',
|
|
860
1092
|
source: 'json',
|
|
861
1093
|
codec: {
|
|
862
1094
|
mode: 'strict',
|
|
863
1095
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeRelease:name',
|
|
864
1096
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_parameter_0$schema,
|
|
865
1097
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_parameter_0$schema(),
|
|
1098
|
+
jsonSchema: {"type":"string"},
|
|
1099
|
+
},
|
|
1100
|
+
strictCodec: {
|
|
1101
|
+
mode: 'strict',
|
|
1102
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeRelease:name',
|
|
1103
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_parameter_0_strict$schema,
|
|
1104
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_parameter_0_strict$schema(),
|
|
1105
|
+
jsonSchema: {"type":"string"},
|
|
866
1106
|
},
|
|
867
1107
|
},
|
|
868
1108
|
],
|
|
@@ -871,14 +1111,13 @@ export const TYPERT_REMOTE = {
|
|
|
871
1111
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeEditResult',
|
|
872
1112
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_result$schema,
|
|
873
1113
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_result$schema(),
|
|
1114
|
+
jsonSchema: {"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"}},"required":["ok"],"additionalProperties":true},
|
|
874
1115
|
},
|
|
875
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1116
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":400,"column":9},
|
|
876
1117
|
},
|
|
877
|
-
{
|
|
878
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeRoster',
|
|
1118
|
+
'capabilityCatalog/presetScopeRoster': {
|
|
879
1119
|
service: 'capabilityCatalog',
|
|
880
|
-
|
|
881
|
-
method: 'presetScopeRoster',
|
|
1120
|
+
description: 'Every preset the roster supplies, for the scope picker.',
|
|
882
1121
|
invocation: { kind: 'direct' },
|
|
883
1122
|
parameters: [
|
|
884
1123
|
],
|
|
@@ -887,25 +1126,31 @@ export const TYPERT_REMOTE = {
|
|
|
887
1126
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeRoster:result',
|
|
888
1127
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRoster_result$schema,
|
|
889
1128
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRoster_result$schema(),
|
|
1129
|
+
jsonSchema: {"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"broken":{"type":"string","description":"Why this preset cannot compose a session, when it cannot."},"isDefault":{"type":"boolean","description":"Whether a session naming no preset composes this one (the deployment default)."}},"required":["id"],"additionalProperties":true}},
|
|
890
1130
|
},
|
|
891
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1131
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":329,"column":9},
|
|
892
1132
|
},
|
|
893
|
-
{
|
|
894
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeSet',
|
|
1133
|
+
'capabilityCatalog/presetScopeSet': {
|
|
895
1134
|
service: 'capabilityCatalog',
|
|
896
|
-
|
|
897
|
-
method: 'presetScopeSet',
|
|
1135
|
+
description: 'Declare which presets one managed skill is delivered to.',
|
|
898
1136
|
invocation: { kind: 'direct' },
|
|
899
1137
|
parameters: [
|
|
900
1138
|
{
|
|
901
1139
|
name: 'request',
|
|
902
|
-
wire: 'request',
|
|
903
1140
|
source: 'json',
|
|
904
1141
|
codec: {
|
|
905
1142
|
mode: 'strict',
|
|
906
1143
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeSetRequest',
|
|
907
1144
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0$schema,
|
|
908
1145
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0$schema(),
|
|
1146
|
+
jsonSchema: {"type":"object","properties":{"name":{"type":"string"},"presets":{"type":"array","items":{"type":"string"}}},"required":["name","presets"],"additionalProperties":true},
|
|
1147
|
+
},
|
|
1148
|
+
strictCodec: {
|
|
1149
|
+
mode: 'strict',
|
|
1150
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeSetRequest',
|
|
1151
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0_strict$schema,
|
|
1152
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0_strict$schema(),
|
|
1153
|
+
jsonSchema: {"type":"object","properties":{"name":{"type":"string"},"presets":{"type":"array","items":{"type":"string"}}},"required":["name","presets"],"additionalProperties":false},
|
|
909
1154
|
},
|
|
910
1155
|
},
|
|
911
1156
|
],
|
|
@@ -914,14 +1159,13 @@ export const TYPERT_REMOTE = {
|
|
|
914
1159
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeEditResult',
|
|
915
1160
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_result$schema,
|
|
916
1161
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_result$schema(),
|
|
1162
|
+
jsonSchema: {"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"}},"required":["ok"],"additionalProperties":true},
|
|
917
1163
|
},
|
|
918
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1164
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":382,"column":9},
|
|
919
1165
|
},
|
|
920
|
-
{
|
|
921
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeStatus',
|
|
1166
|
+
'capabilityCatalog/presetScopeStatus': {
|
|
922
1167
|
service: 'capabilityCatalog',
|
|
923
|
-
|
|
924
|
-
method: 'presetScopeStatus',
|
|
1168
|
+
description: 'The preset-scoped delivery\'s current state, for the settings surface.',
|
|
925
1169
|
invocation: { kind: 'direct' },
|
|
926
1170
|
parameters: [
|
|
927
1171
|
],
|
|
@@ -930,41 +1174,52 @@ export const TYPERT_REMOTE = {
|
|
|
930
1174
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeStatus',
|
|
931
1175
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeStatus_result$schema,
|
|
932
1176
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeStatus_result$schema(),
|
|
1177
|
+
jsonSchema: {"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether any preset is currently served."},"reason":{"type":"string","description":"Why delivery is off, or reduced — absent when fully operational."},"root":{"type":"string","description":"The plugin-owned root the delivered skills live in."},"watching":{"type":"boolean","description":"Whether the managed root is currently watched for changes."},"skills":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"modelInvocable":{"type":"boolean"},"userInvocable":{"type":"boolean"},"path":{"type":"string","description":"The managed `SKILL.md` path."},"presets":{"type":"array","items":{"type":"string"},"description":"The preset ids its frontmatter declares; empty means \"every preset\"."},"delivered":{"type":"boolean","description":"Whether a delivery provider currently serves it in at least one preset."},"conflict":{"type":"string","description":"The default-root path already supplying this name, when delivery is refused."}},"required":["name","description","modelInvocable","userInvocable","path","presets","delivered"],"additionalProperties":true}},"presets":{"type":"array","items":{"type":"object","properties":{"presetId":{"type":"string"},"skills":{"type":"array","items":{"type":"string"}},"error":{"type":"string","description":"Why this preset's standing scope could not be used."}},"required":["presetId","skills"],"additionalProperties":true}},"customRootsUnverifiable":{"type":"boolean","description":"True because custom skill roots are configured in host compositions this plugin cannot read: a duplicate there would not be detected."}},"required":["enabled","root","watching","skills","presets","customRootsUnverifiable"],"additionalProperties":true},
|
|
933
1178
|
},
|
|
934
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1179
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":312,"column":9},
|
|
935
1180
|
},
|
|
936
|
-
{
|
|
937
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile',
|
|
1181
|
+
'capabilityCatalog/readSkillFile': {
|
|
938
1182
|
service: 'capabilityCatalog',
|
|
939
|
-
namespace: 'capabilityCatalog',
|
|
940
|
-
method: 'readSkillFile',
|
|
941
1183
|
invocation: { kind: 'direct' },
|
|
942
1184
|
parameters: [
|
|
943
1185
|
{
|
|
944
1186
|
name: 'name',
|
|
945
|
-
wire: 'name',
|
|
946
1187
|
source: 'json',
|
|
947
1188
|
codec: {
|
|
948
1189
|
mode: 'strict',
|
|
949
1190
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:name',
|
|
950
1191
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0$schema,
|
|
951
1192
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0$schema(),
|
|
1193
|
+
jsonSchema: {"type":"string"},
|
|
1194
|
+
},
|
|
1195
|
+
strictCodec: {
|
|
1196
|
+
mode: 'strict',
|
|
1197
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:name',
|
|
1198
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0_strict$schema,
|
|
1199
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0_strict$schema(),
|
|
1200
|
+
jsonSchema: {"type":"string"},
|
|
952
1201
|
},
|
|
953
1202
|
},
|
|
954
1203
|
{
|
|
955
1204
|
name: 'filePath',
|
|
956
|
-
wire: 'filePath',
|
|
957
1205
|
source: 'json',
|
|
958
1206
|
codec: {
|
|
959
1207
|
mode: 'strict',
|
|
960
1208
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:filePath',
|
|
961
1209
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_1$schema,
|
|
962
1210
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_1$schema(),
|
|
1211
|
+
jsonSchema: {"type":"string"},
|
|
1212
|
+
},
|
|
1213
|
+
strictCodec: {
|
|
1214
|
+
mode: 'strict',
|
|
1215
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:filePath',
|
|
1216
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_1_strict$schema,
|
|
1217
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_1_strict$schema(),
|
|
1218
|
+
jsonSchema: {"type":"string"},
|
|
963
1219
|
},
|
|
964
1220
|
},
|
|
965
1221
|
{
|
|
966
1222
|
name: 'workdir',
|
|
967
|
-
wire: 'workdir',
|
|
968
1223
|
source: 'json',
|
|
969
1224
|
acceptsUndefined: true,
|
|
970
1225
|
codec: {
|
|
@@ -972,11 +1227,18 @@ export const TYPERT_REMOTE = {
|
|
|
972
1227
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:workdir',
|
|
973
1228
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_2$schema,
|
|
974
1229
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_2$schema(),
|
|
1230
|
+
jsonSchema: {"type":"string"},
|
|
1231
|
+
},
|
|
1232
|
+
strictCodec: {
|
|
1233
|
+
mode: 'strict',
|
|
1234
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:workdir',
|
|
1235
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_2_strict$schema,
|
|
1236
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_2_strict$schema(),
|
|
1237
|
+
jsonSchema: {"type":"string"},
|
|
975
1238
|
},
|
|
976
1239
|
},
|
|
977
1240
|
{
|
|
978
1241
|
name: 'presetId',
|
|
979
|
-
wire: 'presetId',
|
|
980
1242
|
source: 'json',
|
|
981
1243
|
acceptsUndefined: true,
|
|
982
1244
|
codec: {
|
|
@@ -984,6 +1246,14 @@ export const TYPERT_REMOTE = {
|
|
|
984
1246
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:presetId',
|
|
985
1247
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_3$schema,
|
|
986
1248
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_3$schema(),
|
|
1249
|
+
jsonSchema: {"type":"string"},
|
|
1250
|
+
},
|
|
1251
|
+
strictCodec: {
|
|
1252
|
+
mode: 'strict',
|
|
1253
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:presetId',
|
|
1254
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_3_strict$schema,
|
|
1255
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_3_strict$schema(),
|
|
1256
|
+
jsonSchema: {"type":"string"},
|
|
987
1257
|
},
|
|
988
1258
|
},
|
|
989
1259
|
],
|
|
@@ -992,25 +1262,30 @@ export const TYPERT_REMOTE = {
|
|
|
992
1262
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:result',
|
|
993
1263
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_result$schema,
|
|
994
1264
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_result$schema(),
|
|
1265
|
+
jsonSchemaError: 'typert tool schema: unsupported undefined value',
|
|
995
1266
|
},
|
|
996
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1267
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":623,"column":9},
|
|
997
1268
|
},
|
|
998
|
-
{
|
|
999
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/setCredential',
|
|
1269
|
+
'capabilityCatalog/setCredential': {
|
|
1000
1270
|
service: 'capabilityCatalog',
|
|
1001
|
-
namespace: 'capabilityCatalog',
|
|
1002
|
-
method: 'setCredential',
|
|
1003
1271
|
invocation: { kind: 'direct' },
|
|
1004
1272
|
parameters: [
|
|
1005
1273
|
{
|
|
1006
1274
|
name: 'request',
|
|
1007
|
-
wire: 'request',
|
|
1008
1275
|
source: 'json',
|
|
1009
1276
|
codec: {
|
|
1010
1277
|
mode: 'strict',
|
|
1011
1278
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogCredentialSetRequest',
|
|
1012
1279
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_parameter_0$schema,
|
|
1013
1280
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_parameter_0$schema(),
|
|
1281
|
+
jsonSchema: {"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}},"required":["key","value"],"additionalProperties":true},
|
|
1282
|
+
},
|
|
1283
|
+
strictCodec: {
|
|
1284
|
+
mode: 'strict',
|
|
1285
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogCredentialSetRequest',
|
|
1286
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_parameter_0_strict$schema,
|
|
1287
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_parameter_0_strict$schema(),
|
|
1288
|
+
jsonSchema: {"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}},"required":["key","value"],"additionalProperties":false},
|
|
1014
1289
|
},
|
|
1015
1290
|
},
|
|
1016
1291
|
],
|
|
@@ -1019,19 +1294,16 @@ export const TYPERT_REMOTE = {
|
|
|
1019
1294
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/setCredential:result',
|
|
1020
1295
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_result$schema,
|
|
1021
1296
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_result$schema(),
|
|
1297
|
+
jsonSchema: {"type":"boolean"},
|
|
1022
1298
|
},
|
|
1023
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1299
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":641,"column":9},
|
|
1024
1300
|
},
|
|
1025
|
-
{
|
|
1026
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshot',
|
|
1301
|
+
'capabilityCatalog/snapshot': {
|
|
1027
1302
|
service: 'capabilityCatalog',
|
|
1028
|
-
namespace: 'capabilityCatalog',
|
|
1029
|
-
method: 'snapshot',
|
|
1030
1303
|
invocation: { kind: 'direct' },
|
|
1031
1304
|
parameters: [
|
|
1032
1305
|
{
|
|
1033
1306
|
name: 'workdir',
|
|
1034
|
-
wire: 'workdir',
|
|
1035
1307
|
source: 'json',
|
|
1036
1308
|
acceptsUndefined: true,
|
|
1037
1309
|
codec: {
|
|
@@ -1039,6 +1311,14 @@ export const TYPERT_REMOTE = {
|
|
|
1039
1311
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshot:workdir',
|
|
1040
1312
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_parameter_0$schema,
|
|
1041
1313
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_parameter_0$schema(),
|
|
1314
|
+
jsonSchema: {"type":"string"},
|
|
1315
|
+
},
|
|
1316
|
+
strictCodec: {
|
|
1317
|
+
mode: 'strict',
|
|
1318
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshot:workdir',
|
|
1319
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_parameter_0_strict$schema,
|
|
1320
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_parameter_0_strict$schema(),
|
|
1321
|
+
jsonSchema: {"type":"string"},
|
|
1042
1322
|
},
|
|
1043
1323
|
},
|
|
1044
1324
|
],
|
|
@@ -1047,19 +1327,18 @@ export const TYPERT_REMOTE = {
|
|
|
1047
1327
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CapabilityCatalogSnapshot',
|
|
1048
1328
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_result$schema,
|
|
1049
1329
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_result$schema(),
|
|
1330
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1050
1331
|
},
|
|
1051
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1332
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":531,"column":9},
|
|
1052
1333
|
},
|
|
1053
|
-
{
|
|
1054
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotAt',
|
|
1334
|
+
'capabilityCatalog/snapshotAt': {
|
|
1055
1335
|
service: 'capabilityCatalog',
|
|
1056
|
-
|
|
1057
|
-
method: 'snapshotAt',
|
|
1336
|
+
description: 'The capability face of ONE mode as a LISTING — {@link snapshot} scoped to a named preset, for the settings surface\'s mode picker. The LISTING/FINGERPRINT split matters here the way it does everywhere else: a viewer wants rows as fast as the registries can produce them, not every skill body loaded and digested. Asking for a preset\'s IDENTITY is {@link snapshotFor}. Like every scope resolution, this MOUNTS a preset nothing has composed yet. Degrades like {@link snapshot}: a preset whose standing scope refuses answers with the global layer and NO `preset` stamp, which is how a caller tells "this mode" from "the fallback" and says so.',
|
|
1058
1337
|
invocation: { kind: 'direct' },
|
|
1059
1338
|
parameters: [
|
|
1060
1339
|
{
|
|
1061
1340
|
name: 'presetId',
|
|
1062
|
-
|
|
1341
|
+
description: 'the mode to read, or undefined for the deployment default.',
|
|
1063
1342
|
source: 'json',
|
|
1064
1343
|
acceptsUndefined: true,
|
|
1065
1344
|
codec: {
|
|
@@ -1067,11 +1346,19 @@ export const TYPERT_REMOTE = {
|
|
|
1067
1346
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotAt:presetId',
|
|
1068
1347
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0$schema,
|
|
1069
1348
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0$schema(),
|
|
1349
|
+
jsonSchema: {"type":"string"},
|
|
1350
|
+
},
|
|
1351
|
+
strictCodec: {
|
|
1352
|
+
mode: 'strict',
|
|
1353
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotAt:presetId',
|
|
1354
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0_strict$schema,
|
|
1355
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0_strict$schema(),
|
|
1356
|
+
jsonSchema: {"type":"string"},
|
|
1070
1357
|
},
|
|
1071
1358
|
},
|
|
1072
1359
|
{
|
|
1073
1360
|
name: 'workdir',
|
|
1074
|
-
|
|
1361
|
+
description: 'optional cwd for project-scoped skill roots.',
|
|
1075
1362
|
source: 'json',
|
|
1076
1363
|
acceptsUndefined: true,
|
|
1077
1364
|
codec: {
|
|
@@ -1079,6 +1366,14 @@ export const TYPERT_REMOTE = {
|
|
|
1079
1366
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotAt:workdir',
|
|
1080
1367
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_1$schema,
|
|
1081
1368
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_1$schema(),
|
|
1369
|
+
jsonSchema: {"type":"string"},
|
|
1370
|
+
},
|
|
1371
|
+
strictCodec: {
|
|
1372
|
+
mode: 'strict',
|
|
1373
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotAt:workdir',
|
|
1374
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_1_strict$schema,
|
|
1375
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_1_strict$schema(),
|
|
1376
|
+
jsonSchema: {"type":"string"},
|
|
1082
1377
|
},
|
|
1083
1378
|
},
|
|
1084
1379
|
],
|
|
@@ -1087,19 +1382,18 @@ export const TYPERT_REMOTE = {
|
|
|
1087
1382
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CapabilityCatalogSnapshot',
|
|
1088
1383
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_result$schema,
|
|
1089
1384
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_result$schema(),
|
|
1385
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1090
1386
|
},
|
|
1091
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1387
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":552,"column":9},
|
|
1092
1388
|
},
|
|
1093
|
-
{
|
|
1094
|
-
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotFor',
|
|
1389
|
+
'capabilityCatalog/snapshotFor': {
|
|
1095
1390
|
service: 'capabilityCatalog',
|
|
1096
|
-
|
|
1097
|
-
method: 'snapshotFor',
|
|
1391
|
+
description: 'The capability face of ONE preset, with its {@link hashOf} digest. This is the fingerprint verb: every skill body is loaded (so the rows carry `bodySha`) and `sha` is stamped, which is what makes the answer an identity rather than a listing. `presetId` omitted reads the deployment default — the same face `snapshot` reads, now hashable. Degrades like every other verb: without a skills registry the answer is an empty face with the hash of an empty face, not a throw. Note that a preset nobody has composed yet is MOUNTED by the read (the roster\'s single-flight standing mount), so asking is not free.',
|
|
1098
1392
|
invocation: { kind: 'direct' },
|
|
1099
1393
|
parameters: [
|
|
1100
1394
|
{
|
|
1101
1395
|
name: 'presetId',
|
|
1102
|
-
|
|
1396
|
+
description: 'the preset to fingerprint, or undefined for the default.',
|
|
1103
1397
|
source: 'json',
|
|
1104
1398
|
acceptsUndefined: true,
|
|
1105
1399
|
codec: {
|
|
@@ -1107,11 +1401,19 @@ export const TYPERT_REMOTE = {
|
|
|
1107
1401
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotFor:presetId',
|
|
1108
1402
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0$schema,
|
|
1109
1403
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0$schema(),
|
|
1404
|
+
jsonSchema: {"type":"string"},
|
|
1405
|
+
},
|
|
1406
|
+
strictCodec: {
|
|
1407
|
+
mode: 'strict',
|
|
1408
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotFor:presetId',
|
|
1409
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0_strict$schema,
|
|
1410
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0_strict$schema(),
|
|
1411
|
+
jsonSchema: {"type":"string"},
|
|
1110
1412
|
},
|
|
1111
1413
|
},
|
|
1112
1414
|
{
|
|
1113
1415
|
name: 'workdir',
|
|
1114
|
-
|
|
1416
|
+
description: 'optional cwd for project-scoped skill roots.',
|
|
1115
1417
|
source: 'json',
|
|
1116
1418
|
acceptsUndefined: true,
|
|
1117
1419
|
codec: {
|
|
@@ -1119,6 +1421,14 @@ export const TYPERT_REMOTE = {
|
|
|
1119
1421
|
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotFor:workdir',
|
|
1120
1422
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_1$schema,
|
|
1121
1423
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_1$schema(),
|
|
1424
|
+
jsonSchema: {"type":"string"},
|
|
1425
|
+
},
|
|
1426
|
+
strictCodec: {
|
|
1427
|
+
mode: 'strict',
|
|
1428
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotFor:workdir',
|
|
1429
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_1_strict$schema,
|
|
1430
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_1_strict$schema(),
|
|
1431
|
+
jsonSchema: {"type":"string"},
|
|
1122
1432
|
},
|
|
1123
1433
|
},
|
|
1124
1434
|
],
|
|
@@ -1127,10 +1437,11 @@ export const TYPERT_REMOTE = {
|
|
|
1127
1437
|
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CapabilityCatalogSnapshot',
|
|
1128
1438
|
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_result$schema,
|
|
1129
1439
|
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_result$schema(),
|
|
1440
|
+
jsonSchemaError: 'typert tool schema: recursive selected type requires a supported JSON value declaration',
|
|
1130
1441
|
},
|
|
1131
|
-
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":
|
|
1442
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":572,"column":9},
|
|
1132
1443
|
},
|
|
1133
|
-
|
|
1134
|
-
}
|
|
1444
|
+
},
|
|
1445
|
+
}, z)
|
|
1135
1446
|
|
|
1136
1447
|
export default TYPERT_REMOTE
|