@khorsheed/dsh-capability-catalog 0.1.95
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/LICENSE +21 -0
- package/README.i18n.yaml +6 -0
- package/README.md +286 -0
- package/README.zh.md +138 -0
- package/cordis.patch.yml +8 -0
- package/lib/client.js +10100 -0
- package/lib/index.js +4022 -0
- package/lib/invariant.js +25 -0
- package/lib/mcpConnector-C2TbkPBY.js +69 -0
- package/lib/typert.host.d.ts +3 -0
- package/lib/typert.host.js +1417 -0
- package/lib/typert.remote-client.d.ts +68 -0
- package/lib/typert.remote-client.js +1136 -0
- package/lib/types/capabilities.d.ts +103 -0
- package/lib/types/capabilities.js +116 -0
- package/lib/types/channels.d.ts +41 -0
- package/lib/types/channels.js +75 -0
- package/lib/types/client/AddMcpDialog.d.ts +13 -0
- package/lib/types/client/AddMcpDialog.js +79 -0
- package/lib/types/client/AddSkillModal.d.ts +17 -0
- package/lib/types/client/AddSkillModal.js +138 -0
- package/lib/types/client/BundleFileTree.d.ts +7 -0
- package/lib/types/client/BundleFileTree.js +74 -0
- package/lib/types/client/CapabilityCatalogCard.d.ts +57 -0
- package/lib/types/client/CapabilityCatalogCard.js +479 -0
- package/lib/types/client/CredentialField.d.ts +14 -0
- package/lib/types/client/CredentialField.js +9 -0
- package/lib/types/client/McpCards.d.ts +13 -0
- package/lib/types/client/McpCards.js +12 -0
- package/lib/types/client/McpServerManageModal.d.ts +18 -0
- package/lib/types/client/McpServerManageModal.js +63 -0
- package/lib/types/client/MetadataRow.d.ts +10 -0
- package/lib/types/client/MetadataRow.js +6 -0
- package/lib/types/client/ModalShell.d.ts +16 -0
- package/lib/types/client/ModalShell.js +27 -0
- package/lib/types/client/ModeChips.d.ts +38 -0
- package/lib/types/client/ModeChips.js +42 -0
- package/lib/types/client/SchemaView.d.ts +11 -0
- package/lib/types/client/SchemaView.js +143 -0
- package/lib/types/client/SkillCards.d.ts +28 -0
- package/lib/types/client/SkillCards.js +43 -0
- package/lib/types/client/SkillDetailModal.d.ts +69 -0
- package/lib/types/client/SkillDetailModal.js +167 -0
- package/lib/types/client/ToolCards.d.ts +28 -0
- package/lib/types/client/ToolCards.js +52 -0
- package/lib/types/client/ToolDetailModal.d.ts +12 -0
- package/lib/types/client/ToolDetailModal.js +29 -0
- package/lib/types/client/icons.d.ts +26 -0
- package/lib/types/client/icons.js +10 -0
- package/lib/types/client/index.d.ts +21 -0
- package/lib/types/client/index.js +196 -0
- package/lib/types/client/locales.d.ts +392 -0
- package/lib/types/client/locales.js +395 -0
- package/lib/types/client/mcp-model.d.ts +24 -0
- package/lib/types/client/mcp-model.js +87 -0
- package/lib/types/client/mode-model.d.ts +108 -0
- package/lib/types/client/mode-model.js +140 -0
- package/lib/types/client/preset-display.d.ts +21 -0
- package/lib/types/client/preset-display.js +20 -0
- package/lib/types/client/settle.d.ts +40 -0
- package/lib/types/client/settle.js +57 -0
- package/lib/types/client/slots.d.ts +86 -0
- package/lib/types/client/slots.js +1 -0
- package/lib/types/envHint.d.ts +22 -0
- package/lib/types/envHint.js +76 -0
- package/lib/types/import.d.ts +106 -0
- package/lib/types/import.js +635 -0
- package/lib/types/index.d.ts +216 -0
- package/lib/types/index.js +739 -0
- package/lib/types/invariant.d.ts +16 -0
- package/lib/types/invariant.js +23 -0
- package/lib/types/mcpConnector.d.ts +24 -0
- package/lib/types/mcpConnector.js +73 -0
- package/lib/types/mcpStore.d.ts +68 -0
- package/lib/types/mcpStore.js +235 -0
- package/lib/types/mcpTools.d.ts +45 -0
- package/lib/types/mcpTools.js +125 -0
- package/lib/types/mcps.d.ts +64 -0
- package/lib/types/mcps.js +157 -0
- package/lib/types/modes.d.ts +65 -0
- package/lib/types/modes.js +97 -0
- package/lib/types/namespace.d.ts +9 -0
- package/lib/types/namespace.js +8 -0
- package/lib/types/official-tools.d.ts +3 -0
- package/lib/types/official-tools.js +44 -0
- package/lib/types/preset-scope.d.ts +105 -0
- package/lib/types/preset-scope.js +117 -0
- package/lib/types/remote.d.ts +48 -0
- package/lib/types/remote.js +120 -0
- package/lib/types/scoped-delivery.d.ts +243 -0
- package/lib/types/scoped-delivery.js +686 -0
- package/lib/types/scoped-edits.d.ts +90 -0
- package/lib/types/scoped-edits.js +234 -0
- package/lib/types/settings.d.ts +28 -0
- package/lib/types/settings.js +28 -0
- package/lib/types/shellEnv.d.ts +65 -0
- package/lib/types/shellEnv.js +232 -0
- package/lib/types/skills.d.ts +103 -0
- package/lib/types/skills.js +303 -0
- package/lib/types/tool-origin.d.ts +29 -0
- package/lib/types/tool-origin.js +30 -0
- package/lib/types/types.d.ts +315 -0
- package/lib/types/types.js +8 -0
- package/lib/types/zip.d.ts +24 -0
- package/lib/types/zip.js +80 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +119 -0
- package/scripts/gen-official-tools.mts +52 -0
|
@@ -0,0 +1,1417 @@
|
|
|
1
|
+
/* Generated by @deepseek-ai/dsh-typert-generator from FaceModel — do not edit. */
|
|
2
|
+
import { z } from 'zod'
|
|
3
|
+
|
|
4
|
+
let CatalogJsonValueRemoteCodec$schema$value
|
|
5
|
+
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
|
+
let CatalogJsonValueRemoteCodec$schema2$value
|
|
7
|
+
const CatalogJsonValueRemoteCodec$schema2 = () => (CatalogJsonValueRemoteCodec$schema2$value ??= 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()]))
|
|
8
|
+
let CatalogJsonValueRemoteCodec$schema3$value
|
|
9
|
+
const CatalogJsonValueRemoteCodec$schema3 = () => (CatalogJsonValueRemoteCodec$schema3$value ??= 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()]))
|
|
10
|
+
let CatalogJsonValueRemoteCodec$schema4$value
|
|
11
|
+
const CatalogJsonValueRemoteCodec$schema4 = () => (CatalogJsonValueRemoteCodec$schema4$value ??= 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()]))
|
|
12
|
+
let CatalogJsonValueRemoteCodec$schema5$value
|
|
13
|
+
const CatalogJsonValueRemoteCodec$schema5 = () => (CatalogJsonValueRemoteCodec$schema5$value ??= 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()]))
|
|
14
|
+
let CatalogJsonValueRemoteCodec$schema6$value
|
|
15
|
+
const CatalogJsonValueRemoteCodec$schema6 = () => (CatalogJsonValueRemoteCodec$schema6$value ??= 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()]))
|
|
16
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0$schema$value
|
|
17
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0$schema$value ??= z.object({
|
|
18
|
+
'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(),
|
|
25
|
+
}))
|
|
26
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_result$schema$value
|
|
27
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_result$schema$value ??= z.object({
|
|
28
|
+
'ok': z.boolean().readonly(),
|
|
29
|
+
'error': z.string().readonly().optional(),
|
|
30
|
+
'name': z.string().readonly().optional(),
|
|
31
|
+
'exists': z.boolean().readonly().optional(),
|
|
32
|
+
}))
|
|
33
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0$schema$value
|
|
34
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0$schema$value ??= z.string())
|
|
35
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_1$schema$value
|
|
36
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_1$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_1$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
37
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_2$schema$value
|
|
38
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_2$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_2$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
39
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_result$schema$value
|
|
40
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_result$schema$value ??= z.object({
|
|
41
|
+
'ok': z.boolean().readonly(),
|
|
42
|
+
'error': z.string().readonly().optional(),
|
|
43
|
+
}))
|
|
44
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_0$schema$value
|
|
45
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_0$schema$value ??= z.string())
|
|
46
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_1$schema$value
|
|
47
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_1$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_1$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
48
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_2$schema$value
|
|
49
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_2$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_2$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
50
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_result$schema$value
|
|
51
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_detail_result$schema$value ??= z.union([z.undefined(), z.object({
|
|
52
|
+
'name': z.string().readonly(),
|
|
53
|
+
'description': z.string().readonly(),
|
|
54
|
+
'source': z.string().readonly(),
|
|
55
|
+
'provider': z.string().readonly(),
|
|
56
|
+
'modelInvocable': z.boolean().readonly(),
|
|
57
|
+
'userInvocable': z.boolean().readonly(),
|
|
58
|
+
'path': z.string().readonly().optional(),
|
|
59
|
+
'whenToUse': z.string().readonly().optional(),
|
|
60
|
+
'content': z.string().readonly(),
|
|
61
|
+
'metadataText': z.string().readonly().optional(),
|
|
62
|
+
'credentials': z.array(z.object({
|
|
63
|
+
'key': z.string().readonly(),
|
|
64
|
+
'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(),
|
|
69
|
+
})]))
|
|
70
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0$schema$value
|
|
71
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0$schema$value ??= z.string())
|
|
72
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_result$schema$value
|
|
73
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_result$schema$value ??= z.array(z.object({
|
|
74
|
+
'name': z.string().readonly(),
|
|
75
|
+
'description': z.string().readonly(),
|
|
76
|
+
'kind': z.union([z.literal("self"), z.literal("child")]).readonly().optional(),
|
|
77
|
+
})))
|
|
78
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0$schema$value
|
|
79
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0$schema$value ??= z.object({
|
|
80
|
+
'serverName': z.string().readonly(),
|
|
81
|
+
'transport': z.union([z.literal("stdio"), z.literal("streamable-http")]).readonly(),
|
|
82
|
+
'command': z.string().readonly().optional(),
|
|
83
|
+
'args': z.array(z.string()).readonly().optional(),
|
|
84
|
+
'cwd': z.string().readonly().optional(),
|
|
85
|
+
'url': z.string().readonly().optional(),
|
|
86
|
+
'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
|
+
}))
|
|
90
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_result$schema$value
|
|
91
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_result$schema$value ??= z.boolean())
|
|
92
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_parameter_0$schema$value
|
|
93
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_parameter_0$schema$value ??= z.string())
|
|
94
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_result$schema$value
|
|
95
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_result$schema$value ??= z.array(z.object({
|
|
96
|
+
'name': z.string().readonly(),
|
|
97
|
+
'description': z.string().readonly(),
|
|
98
|
+
'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(),
|
|
112
|
+
})))
|
|
113
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0$schema$value
|
|
114
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0$schema$value ??= z.string())
|
|
115
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_result$schema$value
|
|
116
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_result$schema$value ??= z.boolean())
|
|
117
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_0$schema$value
|
|
118
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_0$schema$value ??= z.string())
|
|
119
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_1$schema$value
|
|
120
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_1$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_1$schema$value ??= z.string())
|
|
121
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_result$schema$value
|
|
122
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_result$schema$value ??= z.boolean())
|
|
123
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_0$schema$value
|
|
124
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_0$schema$value ??= z.string())
|
|
125
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_1$schema$value
|
|
126
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_1$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_1$schema$value ??= z.boolean())
|
|
127
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_result$schema$value
|
|
128
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_result$schema$value ??= z.void())
|
|
129
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_0$schema$value
|
|
130
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_0$schema$value ??= z.string())
|
|
131
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_1$schema$value
|
|
132
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_1$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_1$schema$value ??= z.string())
|
|
133
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_2$schema$value
|
|
134
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_2$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_2$schema$value ??= z.boolean())
|
|
135
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_result$schema$value
|
|
136
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_result$schema$value ??= z.void())
|
|
137
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSnapshot_result$schema$value
|
|
138
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSnapshot_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSnapshot_result$schema$value ??= z.object({
|
|
139
|
+
'servers': z.array(z.object({
|
|
140
|
+
'serverName': z.string().readonly(),
|
|
141
|
+
'transport': z.union([z.literal("stdio"), z.literal("streamable-http")]).readonly(),
|
|
142
|
+
'command': z.string().readonly().optional(),
|
|
143
|
+
'args': z.array(z.string()).readonly().optional(),
|
|
144
|
+
'cwd': z.string().readonly().optional(),
|
|
145
|
+
'url': z.string().readonly().optional(),
|
|
146
|
+
'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(),
|
|
149
|
+
})).readonly(),
|
|
150
|
+
'tools': z.record(z.string(), z.array(z.object({
|
|
151
|
+
'name': z.string().readonly(),
|
|
152
|
+
'description': z.string().readonly(),
|
|
153
|
+
'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(),
|
|
155
|
+
}))).readonly().readonly(),
|
|
156
|
+
'credentials': z.array(z.object({
|
|
157
|
+
'ref': z.string().readonly(),
|
|
158
|
+
'label': z.string().readonly(),
|
|
159
|
+
'configured': z.boolean().readonly(),
|
|
160
|
+
})).readonly(),
|
|
161
|
+
}))
|
|
162
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0$schema$value
|
|
163
|
+
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
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_result$schema$value
|
|
165
|
+
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(),
|
|
170
|
+
'skills': z.array(z.object({
|
|
171
|
+
'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(),
|
|
180
|
+
})).readonly(),
|
|
181
|
+
'tools': z.array(z.object({
|
|
182
|
+
'name': z.string().readonly(),
|
|
183
|
+
'description': z.string().readonly(),
|
|
184
|
+
'channel': z.union([z.literal("builtin"), z.literal("plugin"), z.literal("mcp"), z.literal("unknown")]).readonly(),
|
|
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(),
|
|
189
|
+
})).readonly(),
|
|
190
|
+
'unavailable': z.string().readonly().optional(),
|
|
191
|
+
})))
|
|
192
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_pickDirectory_result$schema$value
|
|
193
|
+
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()]))
|
|
194
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_parameter_0$schema$value
|
|
195
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_parameter_0$schema$value ??= z.object({
|
|
196
|
+
'name': z.string().readonly(),
|
|
197
|
+
'presets': z.array(z.string()).readonly(),
|
|
198
|
+
'workdir': z.string().readonly().optional(),
|
|
199
|
+
}))
|
|
200
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_result$schema$value
|
|
201
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_result$schema$value ??= z.object({
|
|
202
|
+
'ok': z.boolean().readonly(),
|
|
203
|
+
'error': z.string().readonly().optional(),
|
|
204
|
+
}))
|
|
205
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_parameter_0$schema$value
|
|
206
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_parameter_0$schema$value ??= z.string())
|
|
207
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_result$schema$value
|
|
208
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_result$schema$value ??= z.object({
|
|
209
|
+
'ok': z.boolean().readonly(),
|
|
210
|
+
'error': z.string().readonly().optional(),
|
|
211
|
+
}))
|
|
212
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRoster_result$schema$value
|
|
213
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRoster_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRoster_result$schema$value ??= z.array(z.object({
|
|
214
|
+
'id': z.string().readonly(),
|
|
215
|
+
'name': z.string().readonly().optional(),
|
|
216
|
+
'description': z.string().readonly().optional(),
|
|
217
|
+
'broken': z.string().readonly().optional(),
|
|
218
|
+
'isDefault': z.boolean().readonly().optional(),
|
|
219
|
+
})))
|
|
220
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0$schema$value
|
|
221
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0$schema$value ??= z.object({
|
|
222
|
+
'name': z.string().readonly(),
|
|
223
|
+
'presets': z.array(z.string()).readonly(),
|
|
224
|
+
}))
|
|
225
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_result$schema$value
|
|
226
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_result$schema$value ??= z.object({
|
|
227
|
+
'ok': z.boolean().readonly(),
|
|
228
|
+
'error': z.string().readonly().optional(),
|
|
229
|
+
}))
|
|
230
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeStatus_result$schema$value
|
|
231
|
+
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(),
|
|
236
|
+
'skills': z.array(z.object({
|
|
237
|
+
'name': z.string().readonly(),
|
|
238
|
+
'description': z.string().readonly(),
|
|
239
|
+
'modelInvocable': z.boolean().readonly(),
|
|
240
|
+
'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(),
|
|
245
|
+
})).readonly(),
|
|
246
|
+
'presets': z.array(z.object({
|
|
247
|
+
'presetId': z.string().readonly(),
|
|
248
|
+
'skills': z.array(z.string()).readonly(),
|
|
249
|
+
'error': z.string().readonly().optional(),
|
|
250
|
+
})).readonly(),
|
|
251
|
+
'customRootsUnverifiable': z.boolean().readonly(),
|
|
252
|
+
}))
|
|
253
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0$schema$value
|
|
254
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0$schema$value ??= z.string())
|
|
255
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_1$schema$value
|
|
256
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_1$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_1$schema$value ??= z.string())
|
|
257
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_2$schema$value
|
|
258
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_2$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_2$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
259
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_3$schema$value
|
|
260
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_3$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_3$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
261
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_result$schema$value
|
|
262
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_result$schema$value ??= z.union([z.undefined(), z.object({
|
|
263
|
+
'content': z.string().readonly(),
|
|
264
|
+
})]))
|
|
265
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_parameter_0$schema$value
|
|
266
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_parameter_0$schema$value ??= z.object({
|
|
267
|
+
'key': z.string().readonly(),
|
|
268
|
+
'value': z.string().readonly(),
|
|
269
|
+
}))
|
|
270
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_result$schema$value
|
|
271
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_result$schema$value ??= z.boolean())
|
|
272
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_parameter_0$schema$value
|
|
273
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_parameter_0$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_parameter_0$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
274
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_result$schema$value
|
|
275
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_result$schema$value ??= z.object({
|
|
276
|
+
'skills': z.array(z.object({
|
|
277
|
+
'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(),
|
|
286
|
+
})).readonly(),
|
|
287
|
+
'tools': z.array(z.object({
|
|
288
|
+
'name': z.string().readonly(),
|
|
289
|
+
'description': z.string().readonly(),
|
|
290
|
+
'channel': z.union([z.literal("builtin"), z.literal("plugin"), z.literal("mcp"), z.literal("unknown")]).readonly(),
|
|
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(),
|
|
295
|
+
})).readonly(),
|
|
296
|
+
'mcpServers': z.array(z.object({
|
|
297
|
+
'name': z.string().readonly(),
|
|
298
|
+
'toolCount': z.number().readonly(),
|
|
299
|
+
})).readonly(),
|
|
300
|
+
'channels': z.array(z.object({
|
|
301
|
+
'channel': z.string().readonly(),
|
|
302
|
+
'count': z.number().readonly(),
|
|
303
|
+
})).readonly(),
|
|
304
|
+
'sha': z.string().readonly().optional(),
|
|
305
|
+
'preset': z.string().readonly().optional(),
|
|
306
|
+
}))
|
|
307
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0$schema$value
|
|
308
|
+
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()]))
|
|
309
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_1$schema$value
|
|
310
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_1$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_1$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
311
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_result$schema$value
|
|
312
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_result$schema$value ??= z.object({
|
|
313
|
+
'skills': z.array(z.object({
|
|
314
|
+
'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
|
+
})).readonly(),
|
|
324
|
+
'tools': z.array(z.object({
|
|
325
|
+
'name': z.string().readonly(),
|
|
326
|
+
'description': z.string().readonly(),
|
|
327
|
+
'channel': z.union([z.literal("builtin"), z.literal("plugin"), z.literal("mcp"), z.literal("unknown")]).readonly(),
|
|
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(),
|
|
332
|
+
})).readonly(),
|
|
333
|
+
'mcpServers': z.array(z.object({
|
|
334
|
+
'name': z.string().readonly(),
|
|
335
|
+
'toolCount': z.number().readonly(),
|
|
336
|
+
})).readonly(),
|
|
337
|
+
'channels': z.array(z.object({
|
|
338
|
+
'channel': z.string().readonly(),
|
|
339
|
+
'count': z.number().readonly(),
|
|
340
|
+
})).readonly(),
|
|
341
|
+
'sha': z.string().readonly().optional(),
|
|
342
|
+
'preset': z.string().readonly().optional(),
|
|
343
|
+
}))
|
|
344
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0$schema$value
|
|
345
|
+
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()]))
|
|
346
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_1$schema$value
|
|
347
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_1$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_1$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
348
|
+
let _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_result$schema$value
|
|
349
|
+
const _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_result$schema = () => (_khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_result$schema$value ??= z.object({
|
|
350
|
+
'skills': z.array(z.object({
|
|
351
|
+
'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(),
|
|
360
|
+
})).readonly(),
|
|
361
|
+
'tools': z.array(z.object({
|
|
362
|
+
'name': z.string().readonly(),
|
|
363
|
+
'description': z.string().readonly(),
|
|
364
|
+
'channel': z.union([z.literal("builtin"), z.literal("plugin"), z.literal("mcp"), z.literal("unknown")]).readonly(),
|
|
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(),
|
|
369
|
+
})).readonly(),
|
|
370
|
+
'mcpServers': z.array(z.object({
|
|
371
|
+
'name': z.string().readonly(),
|
|
372
|
+
'toolCount': z.number().readonly(),
|
|
373
|
+
})).readonly(),
|
|
374
|
+
'channels': z.array(z.object({
|
|
375
|
+
'channel': z.string().readonly(),
|
|
376
|
+
'count': z.number().readonly(),
|
|
377
|
+
})).readonly(),
|
|
378
|
+
'sha': z.string().readonly().optional(),
|
|
379
|
+
'preset': z.string().readonly().optional(),
|
|
380
|
+
}))
|
|
381
|
+
|
|
382
|
+
export const TYPERT = {
|
|
383
|
+
package: '@khorsheed/dsh-capability-catalog',
|
|
384
|
+
face: 'host',
|
|
385
|
+
schemas: [
|
|
386
|
+
],
|
|
387
|
+
invocations: [
|
|
388
|
+
{
|
|
389
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/addSkill',
|
|
390
|
+
service: 'capabilityCatalog',
|
|
391
|
+
namespace: 'capabilityCatalog',
|
|
392
|
+
method: 'addSkill',
|
|
393
|
+
invocation: { kind: 'direct' },
|
|
394
|
+
parameters: [
|
|
395
|
+
{
|
|
396
|
+
name: 'request',
|
|
397
|
+
wire: 'request',
|
|
398
|
+
source: 'json',
|
|
399
|
+
codec: {
|
|
400
|
+
mode: 'strict',
|
|
401
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogAddSkillRequest',
|
|
402
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0$schema,
|
|
403
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_parameter_0$schema(),
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
],
|
|
407
|
+
result: {
|
|
408
|
+
mode: 'strict',
|
|
409
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogAddSkillResult',
|
|
410
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_result$schema,
|
|
411
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_addSkill_result$schema(),
|
|
412
|
+
},
|
|
413
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":631,"column":9},
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/deleteSkill',
|
|
417
|
+
service: 'capabilityCatalog',
|
|
418
|
+
namespace: 'capabilityCatalog',
|
|
419
|
+
method: 'deleteSkill',
|
|
420
|
+
invocation: { kind: 'direct' },
|
|
421
|
+
parameters: [
|
|
422
|
+
{
|
|
423
|
+
name: 'name',
|
|
424
|
+
wire: 'name',
|
|
425
|
+
source: 'json',
|
|
426
|
+
codec: {
|
|
427
|
+
mode: 'strict',
|
|
428
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/deleteSkill:name',
|
|
429
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0$schema,
|
|
430
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_0$schema(),
|
|
431
|
+
},
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
name: 'workdir',
|
|
435
|
+
wire: 'workdir',
|
|
436
|
+
source: 'json',
|
|
437
|
+
acceptsUndefined: true,
|
|
438
|
+
codec: {
|
|
439
|
+
mode: 'strict',
|
|
440
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/deleteSkill:workdir',
|
|
441
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_1$schema,
|
|
442
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_1$schema(),
|
|
443
|
+
},
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
name: 'presetId',
|
|
447
|
+
wire: 'presetId',
|
|
448
|
+
source: 'json',
|
|
449
|
+
acceptsUndefined: true,
|
|
450
|
+
codec: {
|
|
451
|
+
mode: 'strict',
|
|
452
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/deleteSkill:presetId',
|
|
453
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_2$schema,
|
|
454
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_parameter_2$schema(),
|
|
455
|
+
},
|
|
456
|
+
},
|
|
457
|
+
],
|
|
458
|
+
result: {
|
|
459
|
+
mode: 'strict',
|
|
460
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogDeleteSkillResult',
|
|
461
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_result$schema,
|
|
462
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_deleteSkill_result$schema(),
|
|
463
|
+
},
|
|
464
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":636,"column":9},
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail',
|
|
468
|
+
service: 'capabilityCatalog',
|
|
469
|
+
namespace: 'capabilityCatalog',
|
|
470
|
+
method: 'detail',
|
|
471
|
+
invocation: { kind: 'direct' },
|
|
472
|
+
parameters: [
|
|
473
|
+
{
|
|
474
|
+
name: 'name',
|
|
475
|
+
wire: 'name',
|
|
476
|
+
source: 'json',
|
|
477
|
+
codec: {
|
|
478
|
+
mode: 'strict',
|
|
479
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail:name',
|
|
480
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_0$schema,
|
|
481
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_0$schema(),
|
|
482
|
+
},
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
name: 'workdir',
|
|
486
|
+
wire: 'workdir',
|
|
487
|
+
source: 'json',
|
|
488
|
+
acceptsUndefined: true,
|
|
489
|
+
codec: {
|
|
490
|
+
mode: 'strict',
|
|
491
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail:workdir',
|
|
492
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_1$schema,
|
|
493
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_1$schema(),
|
|
494
|
+
},
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
name: 'presetId',
|
|
498
|
+
wire: 'presetId',
|
|
499
|
+
source: 'json',
|
|
500
|
+
acceptsUndefined: true,
|
|
501
|
+
codec: {
|
|
502
|
+
mode: 'strict',
|
|
503
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail:presetId',
|
|
504
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_2$schema,
|
|
505
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_parameter_2$schema(),
|
|
506
|
+
},
|
|
507
|
+
},
|
|
508
|
+
],
|
|
509
|
+
result: {
|
|
510
|
+
mode: 'strict',
|
|
511
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/detail:result',
|
|
512
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_result$schema,
|
|
513
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_detail_result$schema(),
|
|
514
|
+
},
|
|
515
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":597,"column":9},
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/listDirSkills',
|
|
519
|
+
service: 'capabilityCatalog',
|
|
520
|
+
namespace: 'capabilityCatalog',
|
|
521
|
+
method: 'listDirSkills',
|
|
522
|
+
invocation: { kind: 'direct' },
|
|
523
|
+
parameters: [
|
|
524
|
+
{
|
|
525
|
+
name: 'dirPath',
|
|
526
|
+
wire: 'dirPath',
|
|
527
|
+
source: 'json',
|
|
528
|
+
codec: {
|
|
529
|
+
mode: 'strict',
|
|
530
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/listDirSkills:dirPath',
|
|
531
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0$schema,
|
|
532
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_parameter_0$schema(),
|
|
533
|
+
},
|
|
534
|
+
},
|
|
535
|
+
],
|
|
536
|
+
result: {
|
|
537
|
+
mode: 'strict',
|
|
538
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/listDirSkills:result',
|
|
539
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_result$schema,
|
|
540
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_listDirSkills_result$schema(),
|
|
541
|
+
},
|
|
542
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":621,"column":9},
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpAdd',
|
|
546
|
+
service: 'capabilityCatalog',
|
|
547
|
+
namespace: 'capabilityCatalog',
|
|
548
|
+
method: 'mcpAdd',
|
|
549
|
+
invocation: { kind: 'direct' },
|
|
550
|
+
parameters: [
|
|
551
|
+
{
|
|
552
|
+
name: 'config',
|
|
553
|
+
wire: 'config',
|
|
554
|
+
source: 'json',
|
|
555
|
+
codec: {
|
|
556
|
+
mode: 'strict',
|
|
557
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogMcpServerConfig',
|
|
558
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0$schema,
|
|
559
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_parameter_0$schema(),
|
|
560
|
+
},
|
|
561
|
+
},
|
|
562
|
+
],
|
|
563
|
+
result: {
|
|
564
|
+
mode: 'strict',
|
|
565
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpAdd:result',
|
|
566
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_result$schema,
|
|
567
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpAdd_result$schema(),
|
|
568
|
+
},
|
|
569
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":654,"column":9},
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpDiscover',
|
|
573
|
+
service: 'capabilityCatalog',
|
|
574
|
+
namespace: 'capabilityCatalog',
|
|
575
|
+
method: 'mcpDiscover',
|
|
576
|
+
invocation: { kind: 'direct' },
|
|
577
|
+
parameters: [
|
|
578
|
+
{
|
|
579
|
+
name: 'serverName',
|
|
580
|
+
wire: 'serverName',
|
|
581
|
+
source: 'json',
|
|
582
|
+
codec: {
|
|
583
|
+
mode: 'strict',
|
|
584
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpDiscover:serverName',
|
|
585
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_parameter_0$schema,
|
|
586
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_parameter_0$schema(),
|
|
587
|
+
},
|
|
588
|
+
},
|
|
589
|
+
],
|
|
590
|
+
result: {
|
|
591
|
+
mode: 'strict',
|
|
592
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpDiscover:result',
|
|
593
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_result$schema,
|
|
594
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpDiscover_result$schema(),
|
|
595
|
+
},
|
|
596
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":687,"column":9},
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpList',
|
|
600
|
+
service: 'capabilityCatalog',
|
|
601
|
+
namespace: 'capabilityCatalog',
|
|
602
|
+
method: 'mcpList',
|
|
603
|
+
invocation: { kind: 'direct' },
|
|
604
|
+
parameters: [
|
|
605
|
+
],
|
|
606
|
+
result: {
|
|
607
|
+
mode: 'strict',
|
|
608
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpList:result',
|
|
609
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpList_result$schema,
|
|
610
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpList_result$schema(),
|
|
611
|
+
},
|
|
612
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":648,"column":9},
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpRemove',
|
|
616
|
+
service: 'capabilityCatalog',
|
|
617
|
+
namespace: 'capabilityCatalog',
|
|
618
|
+
method: 'mcpRemove',
|
|
619
|
+
invocation: { kind: 'direct' },
|
|
620
|
+
parameters: [
|
|
621
|
+
{
|
|
622
|
+
name: 'serverName',
|
|
623
|
+
wire: 'serverName',
|
|
624
|
+
source: 'json',
|
|
625
|
+
codec: {
|
|
626
|
+
mode: 'strict',
|
|
627
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpRemove:serverName',
|
|
628
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0$schema,
|
|
629
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_parameter_0$schema(),
|
|
630
|
+
},
|
|
631
|
+
},
|
|
632
|
+
],
|
|
633
|
+
result: {
|
|
634
|
+
mode: 'strict',
|
|
635
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpRemove:result',
|
|
636
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_result$schema,
|
|
637
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpRemove_result$schema(),
|
|
638
|
+
},
|
|
639
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":662,"column":9},
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetCredential',
|
|
643
|
+
service: 'capabilityCatalog',
|
|
644
|
+
namespace: 'capabilityCatalog',
|
|
645
|
+
method: 'mcpSetCredential',
|
|
646
|
+
invocation: { kind: 'direct' },
|
|
647
|
+
parameters: [
|
|
648
|
+
{
|
|
649
|
+
name: 'ref',
|
|
650
|
+
wire: 'ref',
|
|
651
|
+
source: 'json',
|
|
652
|
+
codec: {
|
|
653
|
+
mode: 'strict',
|
|
654
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetCredential:ref',
|
|
655
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_0$schema,
|
|
656
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_0$schema(),
|
|
657
|
+
},
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
name: 'value',
|
|
661
|
+
wire: 'value',
|
|
662
|
+
source: 'json',
|
|
663
|
+
codec: {
|
|
664
|
+
mode: 'strict',
|
|
665
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetCredential:value',
|
|
666
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_1$schema,
|
|
667
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_parameter_1$schema(),
|
|
668
|
+
},
|
|
669
|
+
},
|
|
670
|
+
],
|
|
671
|
+
result: {
|
|
672
|
+
mode: 'strict',
|
|
673
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetCredential:result',
|
|
674
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_result$schema,
|
|
675
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetCredential_result$schema(),
|
|
676
|
+
},
|
|
677
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":675,"column":9},
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetEnabled',
|
|
681
|
+
service: 'capabilityCatalog',
|
|
682
|
+
namespace: 'capabilityCatalog',
|
|
683
|
+
method: 'mcpSetEnabled',
|
|
684
|
+
invocation: { kind: 'direct' },
|
|
685
|
+
parameters: [
|
|
686
|
+
{
|
|
687
|
+
name: 'serverName',
|
|
688
|
+
wire: 'serverName',
|
|
689
|
+
source: 'json',
|
|
690
|
+
codec: {
|
|
691
|
+
mode: 'strict',
|
|
692
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetEnabled:serverName',
|
|
693
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_0$schema,
|
|
694
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_0$schema(),
|
|
695
|
+
},
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
name: 'enabled',
|
|
699
|
+
wire: 'enabled',
|
|
700
|
+
source: 'json',
|
|
701
|
+
codec: {
|
|
702
|
+
mode: 'strict',
|
|
703
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetEnabled:enabled',
|
|
704
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_1$schema,
|
|
705
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_parameter_1$schema(),
|
|
706
|
+
},
|
|
707
|
+
},
|
|
708
|
+
],
|
|
709
|
+
result: {
|
|
710
|
+
mode: 'strict',
|
|
711
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetEnabled:result',
|
|
712
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_result$schema,
|
|
713
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetEnabled_result$schema(),
|
|
714
|
+
},
|
|
715
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":669,"column":9},
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled',
|
|
719
|
+
service: 'capabilityCatalog',
|
|
720
|
+
namespace: 'capabilityCatalog',
|
|
721
|
+
method: 'mcpSetToolEnabled',
|
|
722
|
+
invocation: { kind: 'direct' },
|
|
723
|
+
parameters: [
|
|
724
|
+
{
|
|
725
|
+
name: 'serverName',
|
|
726
|
+
wire: 'serverName',
|
|
727
|
+
source: 'json',
|
|
728
|
+
codec: {
|
|
729
|
+
mode: 'strict',
|
|
730
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled:serverName',
|
|
731
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_0$schema,
|
|
732
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_0$schema(),
|
|
733
|
+
},
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
name: 'tool',
|
|
737
|
+
wire: 'tool',
|
|
738
|
+
source: 'json',
|
|
739
|
+
codec: {
|
|
740
|
+
mode: 'strict',
|
|
741
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled:tool',
|
|
742
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_1$schema,
|
|
743
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_1$schema(),
|
|
744
|
+
},
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
name: 'enabled',
|
|
748
|
+
wire: 'enabled',
|
|
749
|
+
source: 'json',
|
|
750
|
+
codec: {
|
|
751
|
+
mode: 'strict',
|
|
752
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled:enabled',
|
|
753
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_2$schema,
|
|
754
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_parameter_2$schema(),
|
|
755
|
+
},
|
|
756
|
+
},
|
|
757
|
+
],
|
|
758
|
+
result: {
|
|
759
|
+
mode: 'strict',
|
|
760
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSetToolEnabled:result',
|
|
761
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_result$schema,
|
|
762
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSetToolEnabled_result$schema(),
|
|
763
|
+
},
|
|
764
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":681,"column":9},
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/mcpSnapshot',
|
|
768
|
+
service: 'capabilityCatalog',
|
|
769
|
+
namespace: 'capabilityCatalog',
|
|
770
|
+
method: 'mcpSnapshot',
|
|
771
|
+
invocation: { kind: 'direct' },
|
|
772
|
+
parameters: [
|
|
773
|
+
],
|
|
774
|
+
result: {
|
|
775
|
+
mode: 'strict',
|
|
776
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogMcpSnapshot',
|
|
777
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSnapshot_result$schema,
|
|
778
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_mcpSnapshot_result$schema(),
|
|
779
|
+
},
|
|
780
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":694,"column":9},
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/modeFaces',
|
|
784
|
+
service: 'capabilityCatalog',
|
|
785
|
+
namespace: 'capabilityCatalog',
|
|
786
|
+
method: 'modeFaces',
|
|
787
|
+
invocation: { kind: 'direct' },
|
|
788
|
+
parameters: [
|
|
789
|
+
{
|
|
790
|
+
name: 'workdir',
|
|
791
|
+
wire: 'workdir',
|
|
792
|
+
source: 'json',
|
|
793
|
+
acceptsUndefined: true,
|
|
794
|
+
codec: {
|
|
795
|
+
mode: 'strict',
|
|
796
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/modeFaces:workdir',
|
|
797
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0$schema,
|
|
798
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_parameter_0$schema(),
|
|
799
|
+
},
|
|
800
|
+
},
|
|
801
|
+
],
|
|
802
|
+
result: {
|
|
803
|
+
mode: 'strict',
|
|
804
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/modeFaces:result',
|
|
805
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_result$schema,
|
|
806
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_modeFaces_result$schema(),
|
|
807
|
+
},
|
|
808
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":344,"column":9},
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/pickDirectory',
|
|
812
|
+
service: 'capabilityCatalog',
|
|
813
|
+
namespace: 'capabilityCatalog',
|
|
814
|
+
method: 'pickDirectory',
|
|
815
|
+
invocation: { kind: 'direct' },
|
|
816
|
+
parameters: [
|
|
817
|
+
],
|
|
818
|
+
result: {
|
|
819
|
+
mode: 'strict',
|
|
820
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/pickDirectory:result',
|
|
821
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_pickDirectory_result$schema,
|
|
822
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_pickDirectory_result$schema(),
|
|
823
|
+
},
|
|
824
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":643,"column":9},
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeAdopt',
|
|
828
|
+
service: 'capabilityCatalog',
|
|
829
|
+
namespace: 'capabilityCatalog',
|
|
830
|
+
method: 'presetScopeAdopt',
|
|
831
|
+
invocation: { kind: 'direct' },
|
|
832
|
+
parameters: [
|
|
833
|
+
{
|
|
834
|
+
name: 'request',
|
|
835
|
+
wire: 'request',
|
|
836
|
+
source: 'json',
|
|
837
|
+
codec: {
|
|
838
|
+
mode: 'strict',
|
|
839
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeAdoptRequest',
|
|
840
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_parameter_0$schema,
|
|
841
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_parameter_0$schema(),
|
|
842
|
+
},
|
|
843
|
+
},
|
|
844
|
+
],
|
|
845
|
+
result: {
|
|
846
|
+
mode: 'strict',
|
|
847
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeEditResult',
|
|
848
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_result$schema,
|
|
849
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeAdopt_result$schema(),
|
|
850
|
+
},
|
|
851
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":383,"column":9},
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeRelease',
|
|
855
|
+
service: 'capabilityCatalog',
|
|
856
|
+
namespace: 'capabilityCatalog',
|
|
857
|
+
method: 'presetScopeRelease',
|
|
858
|
+
invocation: { kind: 'direct' },
|
|
859
|
+
parameters: [
|
|
860
|
+
{
|
|
861
|
+
name: 'name',
|
|
862
|
+
wire: 'name',
|
|
863
|
+
source: 'json',
|
|
864
|
+
codec: {
|
|
865
|
+
mode: 'strict',
|
|
866
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeRelease:name',
|
|
867
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_parameter_0$schema,
|
|
868
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_parameter_0$schema(),
|
|
869
|
+
},
|
|
870
|
+
},
|
|
871
|
+
],
|
|
872
|
+
result: {
|
|
873
|
+
mode: 'strict',
|
|
874
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeEditResult',
|
|
875
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_result$schema,
|
|
876
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRelease_result$schema(),
|
|
877
|
+
},
|
|
878
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":393,"column":9},
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeRoster',
|
|
882
|
+
service: 'capabilityCatalog',
|
|
883
|
+
namespace: 'capabilityCatalog',
|
|
884
|
+
method: 'presetScopeRoster',
|
|
885
|
+
invocation: { kind: 'direct' },
|
|
886
|
+
parameters: [
|
|
887
|
+
],
|
|
888
|
+
result: {
|
|
889
|
+
mode: 'strict',
|
|
890
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeRoster:result',
|
|
891
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRoster_result$schema,
|
|
892
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeRoster_result$schema(),
|
|
893
|
+
},
|
|
894
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":322,"column":9},
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeSet',
|
|
898
|
+
service: 'capabilityCatalog',
|
|
899
|
+
namespace: 'capabilityCatalog',
|
|
900
|
+
method: 'presetScopeSet',
|
|
901
|
+
invocation: { kind: 'direct' },
|
|
902
|
+
parameters: [
|
|
903
|
+
{
|
|
904
|
+
name: 'request',
|
|
905
|
+
wire: 'request',
|
|
906
|
+
source: 'json',
|
|
907
|
+
codec: {
|
|
908
|
+
mode: 'strict',
|
|
909
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeSetRequest',
|
|
910
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0$schema,
|
|
911
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_parameter_0$schema(),
|
|
912
|
+
},
|
|
913
|
+
},
|
|
914
|
+
],
|
|
915
|
+
result: {
|
|
916
|
+
mode: 'strict',
|
|
917
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeEditResult',
|
|
918
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_result$schema,
|
|
919
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeSet_result$schema(),
|
|
920
|
+
},
|
|
921
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":375,"column":9},
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/presetScopeStatus',
|
|
925
|
+
service: 'capabilityCatalog',
|
|
926
|
+
namespace: 'capabilityCatalog',
|
|
927
|
+
method: 'presetScopeStatus',
|
|
928
|
+
invocation: { kind: 'direct' },
|
|
929
|
+
parameters: [
|
|
930
|
+
],
|
|
931
|
+
result: {
|
|
932
|
+
mode: 'strict',
|
|
933
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogPresetScopeStatus',
|
|
934
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeStatus_result$schema,
|
|
935
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_presetScopeStatus_result$schema(),
|
|
936
|
+
},
|
|
937
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":305,"column":9},
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile',
|
|
941
|
+
service: 'capabilityCatalog',
|
|
942
|
+
namespace: 'capabilityCatalog',
|
|
943
|
+
method: 'readSkillFile',
|
|
944
|
+
invocation: { kind: 'direct' },
|
|
945
|
+
parameters: [
|
|
946
|
+
{
|
|
947
|
+
name: 'name',
|
|
948
|
+
wire: 'name',
|
|
949
|
+
source: 'json',
|
|
950
|
+
codec: {
|
|
951
|
+
mode: 'strict',
|
|
952
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:name',
|
|
953
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0$schema,
|
|
954
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_0$schema(),
|
|
955
|
+
},
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
name: 'filePath',
|
|
959
|
+
wire: 'filePath',
|
|
960
|
+
source: 'json',
|
|
961
|
+
codec: {
|
|
962
|
+
mode: 'strict',
|
|
963
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:filePath',
|
|
964
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_1$schema,
|
|
965
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_1$schema(),
|
|
966
|
+
},
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
name: 'workdir',
|
|
970
|
+
wire: 'workdir',
|
|
971
|
+
source: 'json',
|
|
972
|
+
acceptsUndefined: true,
|
|
973
|
+
codec: {
|
|
974
|
+
mode: 'strict',
|
|
975
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:workdir',
|
|
976
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_2$schema,
|
|
977
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_2$schema(),
|
|
978
|
+
},
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
name: 'presetId',
|
|
982
|
+
wire: 'presetId',
|
|
983
|
+
source: 'json',
|
|
984
|
+
acceptsUndefined: true,
|
|
985
|
+
codec: {
|
|
986
|
+
mode: 'strict',
|
|
987
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:presetId',
|
|
988
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_3$schema,
|
|
989
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_parameter_3$schema(),
|
|
990
|
+
},
|
|
991
|
+
},
|
|
992
|
+
],
|
|
993
|
+
result: {
|
|
994
|
+
mode: 'strict',
|
|
995
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/readSkillFile:result',
|
|
996
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_result$schema,
|
|
997
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_readSkillFile_result$schema(),
|
|
998
|
+
},
|
|
999
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":608,"column":9},
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/setCredential',
|
|
1003
|
+
service: 'capabilityCatalog',
|
|
1004
|
+
namespace: 'capabilityCatalog',
|
|
1005
|
+
method: 'setCredential',
|
|
1006
|
+
invocation: { kind: 'direct' },
|
|
1007
|
+
parameters: [
|
|
1008
|
+
{
|
|
1009
|
+
name: 'request',
|
|
1010
|
+
wire: 'request',
|
|
1011
|
+
source: 'json',
|
|
1012
|
+
codec: {
|
|
1013
|
+
mode: 'strict',
|
|
1014
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CatalogCredentialSetRequest',
|
|
1015
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_parameter_0$schema,
|
|
1016
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_parameter_0$schema(),
|
|
1017
|
+
},
|
|
1018
|
+
},
|
|
1019
|
+
],
|
|
1020
|
+
result: {
|
|
1021
|
+
mode: 'strict',
|
|
1022
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/setCredential:result',
|
|
1023
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_result$schema,
|
|
1024
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_setCredential_result$schema(),
|
|
1025
|
+
},
|
|
1026
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":626,"column":9},
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshot',
|
|
1030
|
+
service: 'capabilityCatalog',
|
|
1031
|
+
namespace: 'capabilityCatalog',
|
|
1032
|
+
method: 'snapshot',
|
|
1033
|
+
invocation: { kind: 'direct' },
|
|
1034
|
+
parameters: [
|
|
1035
|
+
{
|
|
1036
|
+
name: 'workdir',
|
|
1037
|
+
wire: 'workdir',
|
|
1038
|
+
source: 'json',
|
|
1039
|
+
acceptsUndefined: true,
|
|
1040
|
+
codec: {
|
|
1041
|
+
mode: 'strict',
|
|
1042
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshot:workdir',
|
|
1043
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_parameter_0$schema,
|
|
1044
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_parameter_0$schema(),
|
|
1045
|
+
},
|
|
1046
|
+
},
|
|
1047
|
+
],
|
|
1048
|
+
result: {
|
|
1049
|
+
mode: 'strict',
|
|
1050
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CapabilityCatalogSnapshot',
|
|
1051
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_result$schema,
|
|
1052
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshot_result$schema(),
|
|
1053
|
+
},
|
|
1054
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":516,"column":9},
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotAt',
|
|
1058
|
+
service: 'capabilityCatalog',
|
|
1059
|
+
namespace: 'capabilityCatalog',
|
|
1060
|
+
method: 'snapshotAt',
|
|
1061
|
+
invocation: { kind: 'direct' },
|
|
1062
|
+
parameters: [
|
|
1063
|
+
{
|
|
1064
|
+
name: 'presetId',
|
|
1065
|
+
wire: 'presetId',
|
|
1066
|
+
source: 'json',
|
|
1067
|
+
acceptsUndefined: true,
|
|
1068
|
+
codec: {
|
|
1069
|
+
mode: 'strict',
|
|
1070
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotAt:presetId',
|
|
1071
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0$schema,
|
|
1072
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_0$schema(),
|
|
1073
|
+
},
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
name: 'workdir',
|
|
1077
|
+
wire: 'workdir',
|
|
1078
|
+
source: 'json',
|
|
1079
|
+
acceptsUndefined: true,
|
|
1080
|
+
codec: {
|
|
1081
|
+
mode: 'strict',
|
|
1082
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotAt:workdir',
|
|
1083
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_1$schema,
|
|
1084
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_parameter_1$schema(),
|
|
1085
|
+
},
|
|
1086
|
+
},
|
|
1087
|
+
],
|
|
1088
|
+
result: {
|
|
1089
|
+
mode: 'strict',
|
|
1090
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CapabilityCatalogSnapshot',
|
|
1091
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_result$schema,
|
|
1092
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotAt_result$schema(),
|
|
1093
|
+
},
|
|
1094
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":537,"column":9},
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
id: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotFor',
|
|
1098
|
+
service: 'capabilityCatalog',
|
|
1099
|
+
namespace: 'capabilityCatalog',
|
|
1100
|
+
method: 'snapshotFor',
|
|
1101
|
+
invocation: { kind: 'direct' },
|
|
1102
|
+
parameters: [
|
|
1103
|
+
{
|
|
1104
|
+
name: 'presetId',
|
|
1105
|
+
wire: 'presetId',
|
|
1106
|
+
source: 'json',
|
|
1107
|
+
acceptsUndefined: true,
|
|
1108
|
+
codec: {
|
|
1109
|
+
mode: 'strict',
|
|
1110
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotFor:presetId',
|
|
1111
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0$schema,
|
|
1112
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_0$schema(),
|
|
1113
|
+
},
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
name: 'workdir',
|
|
1117
|
+
wire: 'workdir',
|
|
1118
|
+
source: 'json',
|
|
1119
|
+
acceptsUndefined: true,
|
|
1120
|
+
codec: {
|
|
1121
|
+
mode: 'strict',
|
|
1122
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog#capabilityCatalog/snapshotFor:workdir',
|
|
1123
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_1$schema,
|
|
1124
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_parameter_1$schema(),
|
|
1125
|
+
},
|
|
1126
|
+
},
|
|
1127
|
+
],
|
|
1128
|
+
result: {
|
|
1129
|
+
mode: 'strict',
|
|
1130
|
+
typeSymbol: '@khorsheed/dsh-capability-catalog/types#CapabilityCatalogSnapshot',
|
|
1131
|
+
create: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_result$schema,
|
|
1132
|
+
schema: _khorsheed_dsh_capability_catalog_capabilityCatalog_snapshotFor_result$schema(),
|
|
1133
|
+
},
|
|
1134
|
+
sourceLocation: {"file":"packages/capability-catalog/src/index.ts","line":557,"column":9},
|
|
1135
|
+
},
|
|
1136
|
+
],
|
|
1137
|
+
model: {
|
|
1138
|
+
"services": [
|
|
1139
|
+
{
|
|
1140
|
+
"description": "Capability catalog Remote service.",
|
|
1141
|
+
"summary": "Capability catalog Remote service.",
|
|
1142
|
+
"tags": [
|
|
1143
|
+
{
|
|
1144
|
+
"name": "module",
|
|
1145
|
+
"text": "@module"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"name": "khorsheed",
|
|
1149
|
+
"comment": "/dsh-capability-catalog",
|
|
1150
|
+
"text": "@khorsheed/dsh-capability-catalog"
|
|
1151
|
+
}
|
|
1152
|
+
],
|
|
1153
|
+
"jsDoc": "/**\n * Capability catalog Remote service.\n * @module @khorsheed/dsh-capability-catalog\n */",
|
|
1154
|
+
"key": "capabilityCatalog",
|
|
1155
|
+
"exportName": "CapabilityCatalogService",
|
|
1156
|
+
"members": [
|
|
1157
|
+
{
|
|
1158
|
+
"kind": "method",
|
|
1159
|
+
"name": "presetScopeStatus",
|
|
1160
|
+
"signature": "@Remote('presetScopeStatus') async presetScopeStatus(): Promise<CatalogPresetScopeStatus>",
|
|
1161
|
+
"summary": "The preset-scoped delivery's current state, for the settings surface.",
|
|
1162
|
+
"jsDoc": "/** The preset-scoped delivery's current state, for the settings surface. */"
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"kind": "method",
|
|
1166
|
+
"name": "presetScopeRoster",
|
|
1167
|
+
"signature": "@Remote('presetScopeRoster') async presetScopeRoster(): Promise<readonly CatalogPresetOption[]>",
|
|
1168
|
+
"summary": "Every preset the roster supplies, for the scope picker.",
|
|
1169
|
+
"jsDoc": "/** Every preset the roster supplies, for the scope picker. */"
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"kind": "method",
|
|
1173
|
+
"name": "modeFaces",
|
|
1174
|
+
"signature": "@Remote('modeFaces') async modeFaces(workdir?: string): Promise<readonly CatalogModeFace[]>",
|
|
1175
|
+
"summary": "Every mode's capability face in ONE call, for the cross-mode comparison view (\"which modes load this tool/skill?\").",
|
|
1176
|
+
"jsDoc": "/**\n * Every mode's capability face in ONE call, for the cross-mode comparison\n * view (\"which modes load this tool/skill?\").\n *\n * This is the expensive verb of the pair: a mode whose standing scope has not\n * been composed yet is MOUNTED by its read (see modes.ts — there is no cheap\n * honest source, because a composition file names plugins, not the tools and\n * skills those plugins register). The browser therefore calls it only when a\n * human chooses to compare modes, never on opening the section.\n *\n * A mode that cannot be read keeps its row with `unavailable` set rather than\n * an empty face, so the comparison never claims that a broken mode loads\n * nothing. `preset` on a face is always the id that was asked for: a read\n * that silently degraded to the global layer is reported as unavailable, not\n * as that mode's face.\n * @param workdir - optional cwd for project-scoped skill roots.\n */"
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"kind": "method",
|
|
1180
|
+
"name": "presetScopeSet",
|
|
1181
|
+
"signature": "@Remote('presetScopeSet') async presetScopeSet(request: CatalogPresetScopeSetRequest): Promise<CatalogPresetScopeEditResult>",
|
|
1182
|
+
"summary": "Declare which presets one managed skill is delivered to.",
|
|
1183
|
+
"jsDoc": "/** Declare which presets one managed skill is delivered to. */"
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"kind": "method",
|
|
1187
|
+
"name": "presetScopeAdopt",
|
|
1188
|
+
"signature": "@Remote('presetScopeAdopt') async presetScopeAdopt(request: CatalogPresetScopeAdoptRequest): Promise<CatalogPresetScopeEditResult>",
|
|
1189
|
+
"summary": "Move an installed skill into the managed root with a preset scope.",
|
|
1190
|
+
"jsDoc": "/** Move an installed skill into the managed root with a preset scope. */"
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"kind": "method",
|
|
1194
|
+
"name": "presetScopeRelease",
|
|
1195
|
+
"signature": "@Remote('presetScopeRelease') async presetScopeRelease(name: string): Promise<CatalogPresetScopeEditResult>",
|
|
1196
|
+
"summary": "Move a managed skill back to the user skill root (the recovery direction).",
|
|
1197
|
+
"jsDoc": "/** Move a managed skill back to the user skill root (the recovery direction). */"
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"kind": "method",
|
|
1201
|
+
"name": "snapshot",
|
|
1202
|
+
"signature": "@Remote('snapshot') async snapshot(workdir?: string): Promise<CapabilityCatalogSnapshot>"
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"kind": "method",
|
|
1206
|
+
"name": "snapshotAt",
|
|
1207
|
+
"signature": "@Remote('snapshotAt') async snapshotAt(presetId?: string, workdir?: string): Promise<CapabilityCatalogSnapshot>",
|
|
1208
|
+
"summary": "The capability face of ONE mode as a LISTING — {@link snapshot} scoped to a named preset, for the settings surface's mode picker.",
|
|
1209
|
+
"jsDoc": "/**\n * The capability face of ONE mode as a LISTING — {@link snapshot} scoped to a\n * named preset, for the settings surface's mode picker.\n *\n * The LISTING/FINGERPRINT split matters here the way it does everywhere else:\n * a viewer wants rows as fast as the registries can produce them, not every\n * skill body loaded and digested. Asking for a preset's IDENTITY is\n * {@link snapshotFor}. Like every scope resolution, this MOUNTS a preset\n * nothing has composed yet.\n *\n * Degrades like {@link snapshot}: a preset whose standing scope refuses\n * answers with the global layer and NO `preset` stamp, which is how a caller\n * tells \"this mode\" from \"the fallback\" and says so.\n * @param presetId - the mode to read, or undefined for the deployment default.\n * @param workdir - optional cwd for project-scoped skill roots.\n */"
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"kind": "method",
|
|
1213
|
+
"name": "snapshotFor",
|
|
1214
|
+
"signature": "@Remote('snapshotFor') async snapshotFor(presetId?: string, workdir?: string): Promise<CapabilityCatalogSnapshot>",
|
|
1215
|
+
"summary": "The capability face of ONE preset, with its {@link hashOf} digest.",
|
|
1216
|
+
"jsDoc": "/**\n * The capability face of ONE preset, with its {@link hashOf} digest.\n *\n * This is the fingerprint verb: every skill body is loaded (so the rows\n * carry `bodySha`) and `sha` is stamped, which is what makes the answer an\n * identity rather than a listing. `presetId` omitted reads the deployment\n * default — the same face `snapshot` reads, now hashable.\n *\n * Degrades like every other verb: without a skills registry the answer is\n * an empty face with the hash of an empty face, not a throw. Note that a\n * preset nobody has composed yet is MOUNTED by the read (the roster's\n * single-flight standing mount), so asking is not free.\n * @param presetId - the preset to fingerprint, or undefined for the default.\n * @param workdir - optional cwd for project-scoped skill roots.\n */"
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"kind": "method",
|
|
1220
|
+
"name": "detail",
|
|
1221
|
+
"signature": "@Remote('detail') async detail(name: string, workdir?: string, presetId?: string): Promise<CatalogSkillDetail | undefined>"
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"kind": "method",
|
|
1225
|
+
"name": "readSkillFile",
|
|
1226
|
+
"signature": "@Remote('readSkillFile') async readSkillFile(name: string, filePath: string, workdir?: string, presetId?: string): Promise<CatalogSkillFileRead | undefined>"
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"kind": "method",
|
|
1230
|
+
"name": "listDirSkills",
|
|
1231
|
+
"signature": "@Remote('listDirSkills') async listDirSkills(dirPath: string): Promise<readonly CatalogDirSkillInfo[]>"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"kind": "method",
|
|
1235
|
+
"name": "setCredential",
|
|
1236
|
+
"signature": "@Remote('setCredential') async setCredential(request: CatalogCredentialSetRequest): Promise<boolean>"
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"kind": "method",
|
|
1240
|
+
"name": "addSkill",
|
|
1241
|
+
"signature": "@Remote('addSkill') async addSkill(request: CatalogAddSkillRequest): Promise<CatalogAddSkillResult>"
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"kind": "method",
|
|
1245
|
+
"name": "deleteSkill",
|
|
1246
|
+
"signature": "@Remote('deleteSkill') async deleteSkill(name: string, workdir?: string, presetId?: string): Promise<CatalogDeleteSkillResult>"
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"kind": "method",
|
|
1250
|
+
"name": "pickDirectory",
|
|
1251
|
+
"signature": "@Remote('pickDirectory') async pickDirectory(): Promise<string | null>"
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"kind": "method",
|
|
1255
|
+
"name": "mcpList",
|
|
1256
|
+
"signature": "@Remote('mcpList') async mcpList(): Promise<readonly CatalogMcpServerConfig[]>"
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"kind": "method",
|
|
1260
|
+
"name": "mcpAdd",
|
|
1261
|
+
"signature": "@Remote('mcpAdd') async mcpAdd(config: CatalogMcpServerConfig): Promise<boolean>"
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"kind": "method",
|
|
1265
|
+
"name": "mcpRemove",
|
|
1266
|
+
"signature": "@Remote('mcpRemove') async mcpRemove(serverName: string): Promise<boolean>"
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
"kind": "method",
|
|
1270
|
+
"name": "mcpSetEnabled",
|
|
1271
|
+
"signature": "@Remote('mcpSetEnabled') async mcpSetEnabled(serverName: string, enabled: boolean): Promise<void>"
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"kind": "method",
|
|
1275
|
+
"name": "mcpSetCredential",
|
|
1276
|
+
"signature": "@Remote('mcpSetCredential') async mcpSetCredential(ref: string, value: string): Promise<boolean>"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"kind": "method",
|
|
1280
|
+
"name": "mcpSetToolEnabled",
|
|
1281
|
+
"signature": "@Remote('mcpSetToolEnabled') async mcpSetToolEnabled(serverName: string, tool: string, enabled: boolean): Promise<void>"
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"kind": "method",
|
|
1285
|
+
"name": "mcpDiscover",
|
|
1286
|
+
"signature": "@Remote('mcpDiscover') async mcpDiscover(serverName: string): Promise<readonly CatalogMcpTool[]>"
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"kind": "method",
|
|
1290
|
+
"name": "mcpSnapshot",
|
|
1291
|
+
"signature": "@Remote('mcpSnapshot') async mcpSnapshot(): Promise<CatalogMcpSnapshot>"
|
|
1292
|
+
}
|
|
1293
|
+
],
|
|
1294
|
+
"types": [
|
|
1295
|
+
{
|
|
1296
|
+
"name": "AddSkillChannel",
|
|
1297
|
+
"declaration": "export type AddSkillChannel = 'zip' | 'github' | 'command';"
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"name": "CapabilityCatalogSnapshot",
|
|
1301
|
+
"declaration": "export interface CapabilityCatalogSnapshot {\n readonly skills: readonly CatalogSkillRow[];\n readonly tools: readonly CatalogToolRow[];\n readonly mcpServers: readonly CatalogMcpServerRow[];\n readonly channels: readonly CatalogChannelSummary[];\n readonly sha?: string;\n readonly preset?: string;\n}"
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"name": "CatalogAddSkillRequest",
|
|
1305
|
+
"declaration": "export interface CatalogAddSkillRequest {\n readonly channel: AddSkillChannel;\n readonly payload: string;\n readonly repo?: string;\n readonly skills?: readonly string[];\n readonly modelInvocable: boolean;\n readonly root: 'user' | 'project';\n readonly overwrite?: boolean;\n}"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"name": "CatalogAddSkillResult",
|
|
1309
|
+
"declaration": "export interface CatalogAddSkillResult {\n readonly ok: boolean;\n readonly error?: string;\n readonly name?: string;\n readonly exists?: boolean;\n}"
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"name": "CatalogChannelSummary",
|
|
1313
|
+
"declaration": "export interface CatalogChannelSummary {\n readonly channel: string;\n readonly count: number;\n}"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"name": "CatalogCredentialSetRequest",
|
|
1317
|
+
"declaration": "export interface CatalogCredentialSetRequest {\n readonly key: string;\n readonly value: string;\n}"
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
"name": "CatalogCredentialState",
|
|
1321
|
+
"declaration": "export interface CatalogCredentialState {\n readonly key: string;\n readonly label?: string;\n readonly configured: boolean;\n}"
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"name": "CatalogDeleteSkillResult",
|
|
1325
|
+
"declaration": "export interface CatalogDeleteSkillResult {\n readonly ok: boolean;\n readonly error?: string;\n}"
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"name": "CatalogDirSkillInfo",
|
|
1329
|
+
"declaration": "export interface CatalogDirSkillInfo {\n readonly name: string;\n readonly description: string;\n readonly kind?: 'self' | 'child';\n}"
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"name": "CatalogJsonValue",
|
|
1333
|
+
"declaration": "export type CatalogJsonValue = null | boolean | number | string | readonly CatalogJsonValue[] | { readonly [key: string]: CatalogJsonValue; };"
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"name": "CatalogMcpCredentialDecl",
|
|
1337
|
+
"declaration": "export interface CatalogMcpCredentialDecl {\n readonly ref: string;\n readonly label: string;\n readonly configured: boolean;\n}"
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
"name": "CatalogMcpServerConfig",
|
|
1341
|
+
"declaration": "export interface CatalogMcpServerConfig {\n readonly serverName: string;\n readonly transport: McpTransport;\n readonly command?: string;\n readonly args?: readonly string[];\n readonly cwd?: string;\n readonly url?: string;\n readonly headers?: readonly [string, string][];\n readonly env?: readonly [string, string][];\n readonly enabled: boolean;\n}"
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"name": "CatalogMcpServerRow",
|
|
1345
|
+
"declaration": "export interface CatalogMcpServerRow {\n readonly name: string;\n readonly toolCount: number;\n}"
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
"name": "CatalogMcpSnapshot",
|
|
1349
|
+
"declaration": "export interface CatalogMcpSnapshot {\n readonly servers: readonly CatalogMcpServerConfig[];\n readonly tools: Readonly<Record<string, readonly CatalogMcpTool[]>>;\n readonly credentials: readonly CatalogMcpCredentialDecl[];\n}"
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
"name": "CatalogMcpTool",
|
|
1353
|
+
"declaration": "export interface CatalogMcpTool {\n readonly name: string;\n readonly description: string;\n readonly parameters?: CatalogJsonValue;\n readonly enabled: boolean;\n}"
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"name": "CatalogModeFace",
|
|
1357
|
+
"declaration": "export interface CatalogModeFace {\n readonly preset: string;\n readonly name?: string;\n readonly description?: string;\n readonly isDefault: boolean;\n readonly skills: readonly CatalogSkillRow[];\n readonly tools: readonly CatalogToolRow[];\n readonly unavailable?: string;\n}"
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"name": "CatalogPresetOption",
|
|
1361
|
+
"declaration": "export interface CatalogPresetOption {\n readonly id: string;\n readonly name?: string;\n readonly description?: string;\n readonly broken?: string;\n readonly isDefault?: boolean;\n}"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"name": "CatalogPresetScopeAdoptRequest",
|
|
1365
|
+
"declaration": "export interface CatalogPresetScopeAdoptRequest {\n readonly name: string;\n readonly presets: readonly string[];\n readonly workdir?: string;\n}"
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
"name": "CatalogPresetScopeEditResult",
|
|
1369
|
+
"declaration": "export interface CatalogPresetScopeEditResult {\n readonly ok: boolean;\n readonly error?: string;\n}"
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"name": "CatalogPresetScopeSetRequest",
|
|
1373
|
+
"declaration": "export interface CatalogPresetScopeSetRequest {\n readonly name: string;\n readonly presets: readonly string[];\n}"
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"name": "CatalogPresetScopeStatus",
|
|
1377
|
+
"declaration": "export interface CatalogPresetScopeStatus {\n readonly enabled: boolean;\n readonly reason?: string;\n readonly root: string;\n readonly watching: boolean;\n readonly skills: readonly CatalogScopedSkillRow[];\n readonly presets: readonly CatalogScopedPresetRow[];\n readonly customRootsUnverifiable: boolean;\n}"
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"name": "CatalogScopedPresetRow",
|
|
1381
|
+
"declaration": "export interface CatalogScopedPresetRow {\n readonly presetId: string;\n readonly skills: readonly string[];\n readonly error?: string;\n}"
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"name": "CatalogScopedSkillRow",
|
|
1385
|
+
"declaration": "export interface CatalogScopedSkillRow {\n readonly name: string;\n readonly description: string;\n readonly modelInvocable: boolean;\n readonly userInvocable: boolean;\n readonly path: string;\n readonly presets: readonly string[];\n readonly delivered: boolean;\n readonly conflict?: string;\n}"
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
"name": "CatalogSkillDetail",
|
|
1389
|
+
"declaration": "export interface CatalogSkillDetail {\n readonly name: string;\n readonly description: string;\n readonly source: string;\n readonly provider: string;\n readonly modelInvocable: boolean;\n readonly userInvocable: boolean;\n readonly path?: string;\n readonly whenToUse?: string;\n readonly content: string;\n readonly metadataText?: string;\n readonly credentials?: readonly CatalogCredentialState[];\n readonly environmentRefs?: readonly string[];\n readonly files?: readonly string[];\n}"
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"name": "CatalogSkillFileRead",
|
|
1393
|
+
"declaration": "export interface CatalogSkillFileRead {\n readonly content: string;\n}"
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"name": "CatalogSkillRow",
|
|
1397
|
+
"declaration": "export interface CatalogSkillRow {\n readonly name: string;\n readonly description: string;\n readonly source: string;\n readonly provider: string;\n readonly modelInvocable: boolean;\n readonly userInvocable: boolean;\n readonly whenToUse?: string;\n readonly updatedAt?: number;\n readonly bodySha?: string;\n}"
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
"name": "CatalogToolChannel",
|
|
1401
|
+
"declaration": "export type CatalogToolChannel = 'builtin' | 'plugin' | 'mcp' | 'unknown';"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"name": "CatalogToolRow",
|
|
1405
|
+
"declaration": "export interface CatalogToolRow {\n readonly name: string;\n readonly description: string;\n readonly channel: CatalogToolChannel;\n readonly confidence: 'exact' | 'inferred';\n readonly serverName?: string;\n readonly parameters?: CatalogJsonValue;\n readonly owner?: string;\n}"
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"name": "McpTransport",
|
|
1409
|
+
"declaration": "export type McpTransport = 'stdio' | 'streamable-http';"
|
|
1410
|
+
}
|
|
1411
|
+
]
|
|
1412
|
+
}
|
|
1413
|
+
],
|
|
1414
|
+
"events": [],
|
|
1415
|
+
"objects": []
|
|
1416
|
+
},
|
|
1417
|
+
}
|