@openbkn/dsh-business-context 0.1.5-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +42 -0
- package/README.zh.md +42 -0
- package/cordis.patch.yml +3 -0
- package/lib/client.js +7553 -0
- package/lib/index.js +1788 -0
- package/lib/typert.host.d.ts +3 -0
- package/lib/typert.host.js +624 -0
- package/lib/typert.remote-client.d.ts +40 -0
- package/lib/typert.remote-client.js +435 -0
- package/lib/types/auth.d.ts +42 -0
- package/lib/types/business-context-service.d.ts +126 -0
- package/lib/types/business-graph-model.d.ts +34 -0
- package/lib/types/business-network-catalog.d.ts +8 -0
- package/lib/types/client/BoundNetworkBadge.d.ts +37 -0
- package/lib/types/client/OpenBknContextToolView.d.ts +4 -0
- package/lib/types/client/OpenBknEntry.d.ts +9 -0
- package/lib/types/client/OpenBknOverlay.d.ts +16 -0
- package/lib/types/client/ProvenanceOverlay.d.ts +33 -0
- package/lib/types/client/SuggestionDock.d.ts +12 -0
- package/lib/types/client/TurnProvenanceActions.d.ts +13 -0
- package/lib/types/client/index.d.ts +11 -0
- package/lib/types/client/network-directory.d.ts +13 -0
- package/lib/types/client/openbkn-ui-controller.d.ts +51 -0
- package/lib/types/client/suggestion-dock-controller.d.ts +22 -0
- package/lib/types/client/turn-provenance-controller.d.ts +14 -0
- package/lib/types/config.d.ts +30 -0
- package/lib/types/dsh-session-binding.d.ts +26 -0
- package/lib/types/dsh-session-provenance.d.ts +27 -0
- package/lib/types/index.d.ts +33 -0
- package/lib/types/interaction-references.d.ts +15 -0
- package/lib/types/managed-session-policy.d.ts +18 -0
- package/lib/types/native-mcp-provenance.d.ts +17 -0
- package/lib/types/network-capability-profile.d.ts +26 -0
- package/lib/types/openbkn-cli-subprocess.d.ts +50 -0
- package/lib/types/openbkn-mcp-manager.d.ts +32 -0
- package/lib/types/platform-reader.d.ts +51 -0
- package/lib/types/provenance-handle.d.ts +5 -0
- package/lib/types/provenance-view.d.ts +11 -0
- package/lib/types/scoped-business-context.d.ts +10 -0
- package/lib/types/session-binding.d.ts +35 -0
- package/lib/types/suggested-prompts.d.ts +3 -0
- package/lib/types/turn-provenance.d.ts +25 -0
- package/lib/types/types.d.ts +111 -0
- package/lib/types/workspace-binding-registry.d.ts +40 -0
- package/package.json +131 -0
|
@@ -0,0 +1,624 @@
|
|
|
1
|
+
/* Generated by @deepseek-ai/dsh-typert-generator from FaceModel — do not edit. */
|
|
2
|
+
import { z } from 'zod'
|
|
3
|
+
|
|
4
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_beginLogin_result$schema$value
|
|
5
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_beginLogin_result$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_beginLogin_result$schema$value ??= z.array(z.object({
|
|
6
|
+
'id': z.string().readonly(),
|
|
7
|
+
'displayName': z.string().readonly(),
|
|
8
|
+
'description': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
9
|
+
'workspacePath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
10
|
+
})))
|
|
11
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_bindNetwork_parameter_0$schema$value
|
|
12
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_bindNetwork_parameter_0$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_bindNetwork_parameter_0$schema$value ??= z.intersection(z.string(), z.unknown()))
|
|
13
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_bindNetwork_parameter_1$schema$value
|
|
14
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_bindNetwork_parameter_1$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_bindNetwork_parameter_1$schema$value ??= z.string())
|
|
15
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_bindNetwork_result$schema$value
|
|
16
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_bindNetwork_result$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_bindNetwork_result$schema$value ??= z.object({
|
|
17
|
+
'platformBaseUrl': z.string().readonly(),
|
|
18
|
+
'knowledgeNetworkId': z.string().readonly(),
|
|
19
|
+
'displayName': z.string().readonly(),
|
|
20
|
+
}))
|
|
21
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_bindNetworkWorkspace_parameter_0$schema$value
|
|
22
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_bindNetworkWorkspace_parameter_0$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_bindNetworkWorkspace_parameter_0$schema$value ??= z.string())
|
|
23
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_bindNetworkWorkspace_parameter_1$schema$value
|
|
24
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_bindNetworkWorkspace_parameter_1$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_bindNetworkWorkspace_parameter_1$schema$value ??= z.string())
|
|
25
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_bindNetworkWorkspace_result$schema$value
|
|
26
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_bindNetworkWorkspace_result$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_bindNetworkWorkspace_result$schema$value ??= z.object({
|
|
27
|
+
'id': z.string().readonly(),
|
|
28
|
+
'displayName': z.string().readonly(),
|
|
29
|
+
'description': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
30
|
+
'workspacePath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
31
|
+
}))
|
|
32
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_configureToken_parameter_0$schema$value
|
|
33
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_configureToken_parameter_0$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_configureToken_parameter_0$schema$value ??= z.string())
|
|
34
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_configureToken_result$schema$value
|
|
35
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_configureToken_result$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_configureToken_result$schema$value ??= z.array(z.object({
|
|
36
|
+
'id': z.string().readonly(),
|
|
37
|
+
'displayName': z.string().readonly(),
|
|
38
|
+
'description': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
39
|
+
'workspacePath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
40
|
+
})))
|
|
41
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_getNetworkBinding_parameter_0$schema$value
|
|
42
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_getNetworkBinding_parameter_0$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_getNetworkBinding_parameter_0$schema$value ??= z.intersection(z.string(), z.unknown()))
|
|
43
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_getNetworkBinding_result$schema$value
|
|
44
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_getNetworkBinding_result$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_getNetworkBinding_result$schema$value ??= z.union([z.undefined(), z.object({
|
|
45
|
+
'platformBaseUrl': z.string().readonly(),
|
|
46
|
+
'knowledgeNetworkId': z.string().readonly(),
|
|
47
|
+
'displayName': z.string().readonly(),
|
|
48
|
+
})]))
|
|
49
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_getSessionSuggestions_parameter_0$schema$value
|
|
50
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_getSessionSuggestions_parameter_0$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_getSessionSuggestions_parameter_0$schema$value ??= z.intersection(z.string(), z.unknown()))
|
|
51
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_getSessionSuggestions_result$schema$value
|
|
52
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_getSessionSuggestions_result$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_getSessionSuggestions_result$schema$value ??= z.array(z.string()))
|
|
53
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenance_parameter_0$schema$value
|
|
54
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenance_parameter_0$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenance_parameter_0$schema$value ??= z.intersection(z.string(), z.unknown()))
|
|
55
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenance_parameter_1$schema$value
|
|
56
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenance_parameter_1$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenance_parameter_1$schema$value ??= z.string())
|
|
57
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenance_result$schema$value
|
|
58
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenance_result$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenance_result$schema$value ??= z.union([z.undefined(), z.object({
|
|
59
|
+
'schemaVersion': z.literal(1).readonly(),
|
|
60
|
+
'interactionId': z.string().readonly(),
|
|
61
|
+
'requestIds': z.array(z.string()).readonly(),
|
|
62
|
+
'traceIds': z.array(z.string()).readonly(),
|
|
63
|
+
'receiptIds': z.array(z.string()).readonly(),
|
|
64
|
+
'status': z.union([z.literal("completed"), z.literal("failed")]).readonly(),
|
|
65
|
+
'partial': z.boolean().readonly(),
|
|
66
|
+
})]))
|
|
67
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenanceView_parameter_0$schema$value
|
|
68
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenanceView_parameter_0$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenanceView_parameter_0$schema$value ??= z.intersection(z.string(), z.unknown()))
|
|
69
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenanceView_parameter_1$schema$value
|
|
70
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenanceView_parameter_1$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenanceView_parameter_1$schema$value ??= z.string())
|
|
71
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenanceView_result$schema$value
|
|
72
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenanceView_result$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenanceView_result$schema$value ??= z.union([z.undefined(), z.object({
|
|
73
|
+
'interactionId': z.string().readonly(),
|
|
74
|
+
'execution': z.object({
|
|
75
|
+
'status': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
76
|
+
'operations': z.array(z.object({
|
|
77
|
+
'id': z.string().readonly(),
|
|
78
|
+
'label': z.string().readonly(),
|
|
79
|
+
'protocol': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
80
|
+
'status': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
81
|
+
'startedAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
82
|
+
'finishedAt': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
83
|
+
'requestId': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
84
|
+
'traceId': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
85
|
+
'receiptId': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
86
|
+
})).readonly(),
|
|
87
|
+
}).readonly(),
|
|
88
|
+
'business': z.union([z.object({
|
|
89
|
+
'kind': z.literal("unavailable").readonly(),
|
|
90
|
+
}), z.object({
|
|
91
|
+
'kind': z.literal("ready").readonly(),
|
|
92
|
+
'operations': z.array(z.object({
|
|
93
|
+
'id': z.string().readonly(),
|
|
94
|
+
'attempt': z.number().readonly(),
|
|
95
|
+
'toolName': z.string().readonly(),
|
|
96
|
+
'knowledgeNetworkId': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
97
|
+
'status': z.union([z.literal("resolved"), z.literal("ambiguous"), z.literal("unresolved"), z.literal("not_evaluable")]).readonly(),
|
|
98
|
+
'elements': z.array(z.object({
|
|
99
|
+
'kind': z.union([z.literal("object"), z.literal("relation"), z.literal("action"), z.literal("property"), z.literal("logic"), z.literal("metric")]).readonly(),
|
|
100
|
+
'id': z.string().readonly(),
|
|
101
|
+
'name': z.string().readonly(),
|
|
102
|
+
'parentId': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
103
|
+
'field': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
104
|
+
})).readonly(),
|
|
105
|
+
'missingFacts': z.array(z.string()).readonly(),
|
|
106
|
+
})).readonly(),
|
|
107
|
+
'conversationContext': z.array(z.object({
|
|
108
|
+
'knowledgeNetworkId': z.string().readonly(),
|
|
109
|
+
'sourceInteractionId': z.string().readonly(),
|
|
110
|
+
'sourceOperationId': z.string().readonly(),
|
|
111
|
+
})).readonly(),
|
|
112
|
+
'derivedFacts': z.array(z.object({
|
|
113
|
+
'rule': z.string().readonly(),
|
|
114
|
+
'sourceOperationId': z.string().readonly(),
|
|
115
|
+
'operationId': z.string().readonly(),
|
|
116
|
+
'elementId': z.string().readonly(),
|
|
117
|
+
})).readonly(),
|
|
118
|
+
'contextRelations': z.array(z.object({
|
|
119
|
+
'id': z.string().readonly(),
|
|
120
|
+
'knowledgeNetworkId': z.string().readonly(),
|
|
121
|
+
'name': z.string().readonly(),
|
|
122
|
+
'sourceObjectId': z.string().readonly(),
|
|
123
|
+
'targetObjectId': z.string().readonly(),
|
|
124
|
+
})).readonly(),
|
|
125
|
+
})]).readonly(),
|
|
126
|
+
'evidence': z.object({
|
|
127
|
+
'kind': z.literal("unavailable").readonly(),
|
|
128
|
+
}).readonly(),
|
|
129
|
+
})]))
|
|
130
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_listNetworks_result$schema$value
|
|
131
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_listNetworks_result$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_listNetworks_result$schema$value ??= z.array(z.object({
|
|
132
|
+
'id': z.string().readonly(),
|
|
133
|
+
'displayName': z.string().readonly(),
|
|
134
|
+
'description': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
135
|
+
'workspacePath': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
136
|
+
})))
|
|
137
|
+
let _openbkn_dsh_business_context_openbknBusinessContext_status_result$schema$value
|
|
138
|
+
const _openbkn_dsh_business_context_openbknBusinessContext_status_result$schema = () => (_openbkn_dsh_business_context_openbknBusinessContext_status_result$schema$value ??= z.union([z.object({
|
|
139
|
+
'kind': z.literal("authenticated").readonly(),
|
|
140
|
+
'baseUrl': z.string().readonly(),
|
|
141
|
+
'userId': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
142
|
+
'username': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
143
|
+
}), z.object({
|
|
144
|
+
'kind': z.literal("authentication-required").readonly(),
|
|
145
|
+
'baseUrl': z.string().readonly(),
|
|
146
|
+
}), z.object({
|
|
147
|
+
'kind': z.literal("platform-mismatch").readonly(),
|
|
148
|
+
'expectedBaseUrl': z.string().readonly(),
|
|
149
|
+
'actualBaseUrl': z.string().readonly(),
|
|
150
|
+
})]))
|
|
151
|
+
|
|
152
|
+
export const TYPERT = {
|
|
153
|
+
package: '@openbkn/dsh-business-context',
|
|
154
|
+
face: 'host',
|
|
155
|
+
schemas: [
|
|
156
|
+
],
|
|
157
|
+
invocations: [
|
|
158
|
+
{
|
|
159
|
+
id: '@openbkn/dsh-business-context#openbknBusinessContext/beginLogin',
|
|
160
|
+
service: 'openbknBusinessContext',
|
|
161
|
+
namespace: 'openbknBusinessContext',
|
|
162
|
+
method: 'beginLogin',
|
|
163
|
+
implementation: 'remoteBeginLogin',
|
|
164
|
+
invocation: { kind: 'direct' },
|
|
165
|
+
parameters: [
|
|
166
|
+
],
|
|
167
|
+
cancellation: { parameter: 'signal' },
|
|
168
|
+
result: {
|
|
169
|
+
mode: 'strict',
|
|
170
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/beginLogin:result',
|
|
171
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_beginLogin_result$schema,
|
|
172
|
+
},
|
|
173
|
+
sourceLocation: {"file":"packages/openbkn-business-context/src/business-context-service.ts","line":104,"column":9},
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
id: '@openbkn/dsh-business-context#openbknBusinessContext/bindNetwork',
|
|
177
|
+
service: 'openbknBusinessContext',
|
|
178
|
+
namespace: 'openbknBusinessContext',
|
|
179
|
+
method: 'bindNetwork',
|
|
180
|
+
implementation: 'remoteBindNetwork',
|
|
181
|
+
invocation: { kind: 'direct' },
|
|
182
|
+
parameters: [
|
|
183
|
+
{
|
|
184
|
+
name: 'sessionId',
|
|
185
|
+
wire: 'sessionId',
|
|
186
|
+
source: 'json',
|
|
187
|
+
codec: {
|
|
188
|
+
mode: 'strict',
|
|
189
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/bindNetwork:sessionId',
|
|
190
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_bindNetwork_parameter_0$schema,
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: 'networkId',
|
|
195
|
+
wire: 'networkId',
|
|
196
|
+
source: 'json',
|
|
197
|
+
codec: {
|
|
198
|
+
mode: 'strict',
|
|
199
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/bindNetwork:networkId',
|
|
200
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_bindNetwork_parameter_1$schema,
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
cancellation: { parameter: 'signal' },
|
|
205
|
+
result: {
|
|
206
|
+
mode: 'strict',
|
|
207
|
+
typeSymbol: '@openbkn/dsh-business-context/types#BusinessNetworkBinding',
|
|
208
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_bindNetwork_result$schema,
|
|
209
|
+
},
|
|
210
|
+
sourceLocation: {"file":"packages/openbkn-business-context/src/business-context-service.ts","line":296,"column":9},
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
id: '@openbkn/dsh-business-context#openbknBusinessContext/bindNetworkWorkspace',
|
|
214
|
+
service: 'openbknBusinessContext',
|
|
215
|
+
namespace: 'openbknBusinessContext',
|
|
216
|
+
method: 'bindNetworkWorkspace',
|
|
217
|
+
implementation: 'remoteBindNetworkWorkspace',
|
|
218
|
+
invocation: { kind: 'direct' },
|
|
219
|
+
parameters: [
|
|
220
|
+
{
|
|
221
|
+
name: 'networkId',
|
|
222
|
+
wire: 'networkId',
|
|
223
|
+
source: 'json',
|
|
224
|
+
codec: {
|
|
225
|
+
mode: 'strict',
|
|
226
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/bindNetworkWorkspace:networkId',
|
|
227
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_bindNetworkWorkspace_parameter_0$schema,
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
name: 'workspacePath',
|
|
232
|
+
wire: 'workspacePath',
|
|
233
|
+
source: 'json',
|
|
234
|
+
codec: {
|
|
235
|
+
mode: 'strict',
|
|
236
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/bindNetworkWorkspace:workspacePath',
|
|
237
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_bindNetworkWorkspace_parameter_1$schema,
|
|
238
|
+
},
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
cancellation: { parameter: 'signal' },
|
|
242
|
+
result: {
|
|
243
|
+
mode: 'strict',
|
|
244
|
+
typeSymbol: '@openbkn/dsh-business-context/types#BusinessNetworkSummary',
|
|
245
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_bindNetworkWorkspace_result$schema,
|
|
246
|
+
},
|
|
247
|
+
sourceLocation: {"file":"packages/openbkn-business-context/src/business-context-service.ts","line":274,"column":9},
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
id: '@openbkn/dsh-business-context#openbknBusinessContext/configureToken',
|
|
251
|
+
service: 'openbknBusinessContext',
|
|
252
|
+
namespace: 'openbknBusinessContext',
|
|
253
|
+
method: 'configureToken',
|
|
254
|
+
implementation: 'remoteConfigureToken',
|
|
255
|
+
invocation: { kind: 'direct' },
|
|
256
|
+
parameters: [
|
|
257
|
+
{
|
|
258
|
+
name: 'token',
|
|
259
|
+
wire: 'token',
|
|
260
|
+
source: 'json',
|
|
261
|
+
codec: {
|
|
262
|
+
mode: 'strict',
|
|
263
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/configureToken:token',
|
|
264
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_configureToken_parameter_0$schema,
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
],
|
|
268
|
+
cancellation: { parameter: 'signal' },
|
|
269
|
+
result: {
|
|
270
|
+
mode: 'strict',
|
|
271
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/configureToken:result',
|
|
272
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_configureToken_result$schema,
|
|
273
|
+
},
|
|
274
|
+
sourceLocation: {"file":"packages/openbkn-business-context/src/business-context-service.ts","line":116,"column":9},
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
id: '@openbkn/dsh-business-context#openbknBusinessContext/getNetworkBinding',
|
|
278
|
+
service: 'openbknBusinessContext',
|
|
279
|
+
namespace: 'openbknBusinessContext',
|
|
280
|
+
method: 'getNetworkBinding',
|
|
281
|
+
implementation: 'remoteGetNetworkBinding',
|
|
282
|
+
invocation: { kind: 'direct' },
|
|
283
|
+
parameters: [
|
|
284
|
+
{
|
|
285
|
+
name: 'sessionId',
|
|
286
|
+
wire: 'sessionId',
|
|
287
|
+
source: 'json',
|
|
288
|
+
codec: {
|
|
289
|
+
mode: 'strict',
|
|
290
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/getNetworkBinding:sessionId',
|
|
291
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_getNetworkBinding_parameter_0$schema,
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
result: {
|
|
296
|
+
mode: 'strict',
|
|
297
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/getNetworkBinding:result',
|
|
298
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_getNetworkBinding_result$schema,
|
|
299
|
+
},
|
|
300
|
+
sourceLocation: {"file":"packages/openbkn-business-context/src/business-context-service.ts","line":135,"column":3},
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
id: '@openbkn/dsh-business-context#openbknBusinessContext/getSessionSuggestions',
|
|
304
|
+
service: 'openbknBusinessContext',
|
|
305
|
+
namespace: 'openbknBusinessContext',
|
|
306
|
+
method: 'getSessionSuggestions',
|
|
307
|
+
implementation: 'remoteGetSessionSuggestions',
|
|
308
|
+
invocation: { kind: 'direct' },
|
|
309
|
+
parameters: [
|
|
310
|
+
{
|
|
311
|
+
name: 'sessionId',
|
|
312
|
+
wire: 'sessionId',
|
|
313
|
+
source: 'json',
|
|
314
|
+
codec: {
|
|
315
|
+
mode: 'strict',
|
|
316
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/getSessionSuggestions:sessionId',
|
|
317
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_getSessionSuggestions_parameter_0$schema,
|
|
318
|
+
},
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
result: {
|
|
322
|
+
mode: 'strict',
|
|
323
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/getSessionSuggestions:result',
|
|
324
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_getSessionSuggestions_result$schema,
|
|
325
|
+
},
|
|
326
|
+
sourceLocation: {"file":"packages/openbkn-business-context/src/business-context-service.ts","line":216,"column":3},
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
id: '@openbkn/dsh-business-context#openbknBusinessContext/getTurnProvenance',
|
|
330
|
+
service: 'openbknBusinessContext',
|
|
331
|
+
namespace: 'openbknBusinessContext',
|
|
332
|
+
method: 'getTurnProvenance',
|
|
333
|
+
implementation: 'remoteGetTurnProvenance',
|
|
334
|
+
invocation: { kind: 'direct' },
|
|
335
|
+
parameters: [
|
|
336
|
+
{
|
|
337
|
+
name: 'sessionId',
|
|
338
|
+
wire: 'sessionId',
|
|
339
|
+
source: 'json',
|
|
340
|
+
codec: {
|
|
341
|
+
mode: 'strict',
|
|
342
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/getTurnProvenance:sessionId',
|
|
343
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenance_parameter_0$schema,
|
|
344
|
+
},
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
name: 'messageId',
|
|
348
|
+
wire: 'messageId',
|
|
349
|
+
source: 'json',
|
|
350
|
+
codec: {
|
|
351
|
+
mode: 'strict',
|
|
352
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/getTurnProvenance:messageId',
|
|
353
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenance_parameter_1$schema,
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
],
|
|
357
|
+
result: {
|
|
358
|
+
mode: 'strict',
|
|
359
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/getTurnProvenance:result',
|
|
360
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenance_result$schema,
|
|
361
|
+
},
|
|
362
|
+
sourceLocation: {"file":"packages/openbkn-business-context/src/business-context-service.ts","line":145,"column":3},
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
id: '@openbkn/dsh-business-context#openbknBusinessContext/getTurnProvenanceView',
|
|
366
|
+
service: 'openbknBusinessContext',
|
|
367
|
+
namespace: 'openbknBusinessContext',
|
|
368
|
+
method: 'getTurnProvenanceView',
|
|
369
|
+
implementation: 'remoteGetTurnProvenanceView',
|
|
370
|
+
invocation: { kind: 'direct' },
|
|
371
|
+
parameters: [
|
|
372
|
+
{
|
|
373
|
+
name: 'sessionId',
|
|
374
|
+
wire: 'sessionId',
|
|
375
|
+
source: 'json',
|
|
376
|
+
codec: {
|
|
377
|
+
mode: 'strict',
|
|
378
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/getTurnProvenanceView:sessionId',
|
|
379
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenanceView_parameter_0$schema,
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
name: 'messageId',
|
|
384
|
+
wire: 'messageId',
|
|
385
|
+
source: 'json',
|
|
386
|
+
codec: {
|
|
387
|
+
mode: 'strict',
|
|
388
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/getTurnProvenanceView:messageId',
|
|
389
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenanceView_parameter_1$schema,
|
|
390
|
+
},
|
|
391
|
+
},
|
|
392
|
+
],
|
|
393
|
+
cancellation: { parameter: 'signal' },
|
|
394
|
+
result: {
|
|
395
|
+
mode: 'strict',
|
|
396
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/getTurnProvenanceView:result',
|
|
397
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_getTurnProvenanceView_result$schema,
|
|
398
|
+
},
|
|
399
|
+
sourceLocation: {"file":"packages/openbkn-business-context/src/business-context-service.ts","line":159,"column":9},
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
id: '@openbkn/dsh-business-context#openbknBusinessContext/listNetworks',
|
|
403
|
+
service: 'openbknBusinessContext',
|
|
404
|
+
namespace: 'openbknBusinessContext',
|
|
405
|
+
method: 'listNetworks',
|
|
406
|
+
implementation: 'remoteListNetworks',
|
|
407
|
+
invocation: { kind: 'direct' },
|
|
408
|
+
parameters: [
|
|
409
|
+
],
|
|
410
|
+
cancellation: { parameter: 'signal' },
|
|
411
|
+
result: {
|
|
412
|
+
mode: 'strict',
|
|
413
|
+
typeSymbol: '@openbkn/dsh-business-context#openbknBusinessContext/listNetworks:result',
|
|
414
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_listNetworks_result$schema,
|
|
415
|
+
},
|
|
416
|
+
sourceLocation: {"file":"packages/openbkn-business-context/src/business-context-service.ts","line":229,"column":9},
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
id: '@openbkn/dsh-business-context#openbknBusinessContext/status',
|
|
420
|
+
service: 'openbknBusinessContext',
|
|
421
|
+
namespace: 'openbknBusinessContext',
|
|
422
|
+
method: 'status',
|
|
423
|
+
implementation: 'remoteStatus',
|
|
424
|
+
invocation: { kind: 'direct' },
|
|
425
|
+
parameters: [
|
|
426
|
+
],
|
|
427
|
+
cancellation: { parameter: 'signal' },
|
|
428
|
+
result: {
|
|
429
|
+
mode: 'strict',
|
|
430
|
+
typeSymbol: '@openbkn/dsh-business-context/types#AuthSnapshot',
|
|
431
|
+
create: _openbkn_dsh_business_context_openbknBusinessContext_status_result$schema,
|
|
432
|
+
},
|
|
433
|
+
sourceLocation: {"file":"packages/openbkn-business-context/src/business-context-service.ts","line":81,"column":9},
|
|
434
|
+
},
|
|
435
|
+
],
|
|
436
|
+
model: {
|
|
437
|
+
"services": [
|
|
438
|
+
{
|
|
439
|
+
"description": "Owns the only selection transition: append the immutable DSH session event, then activate the model tool only inside that Agent scope. The browser UI will call this service through its host bridge in the next slice.",
|
|
440
|
+
"summary": "Owns the only selection transition: append the immutable DSH session event, then activate the model tool only inside that Agent scope.",
|
|
441
|
+
"tags": [],
|
|
442
|
+
"jsDoc": "/**\n * Owns the only selection transition: append the immutable DSH session event,\n * then activate the model tool only inside that Agent scope. The browser UI\n * will call this service through its host bridge in the next slice.\n */",
|
|
443
|
+
"key": "openbknBusinessContext",
|
|
444
|
+
"exportName": "OpenBknBusinessContextService",
|
|
445
|
+
"members": [
|
|
446
|
+
{
|
|
447
|
+
"kind": "method",
|
|
448
|
+
"name": "remoteStatus",
|
|
449
|
+
"signature": "@Remote('status') async remoteStatus(signal: AbortSignal): Promise<AuthSnapshot>",
|
|
450
|
+
"summary": "Return the CLI-authenticated state and synchronize its token into the DSH credential vault when needed.",
|
|
451
|
+
"jsDoc": "/**\n * Return the CLI-authenticated state and synchronize its token into the\n * DSH credential vault when needed. The token stays Host-only throughout.\n * A pre-existing manually configured DSH credential remains a fallback for\n * deployments without a usable CLI login.\n */"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"kind": "method",
|
|
455
|
+
"name": "remoteBeginLogin",
|
|
456
|
+
"signature": "@Remote('beginLogin') async remoteBeginLogin(signal: AbortSignal): Promise<readonly BusinessNetworkSummary[]>",
|
|
457
|
+
"summary": "Start the CLI's configured-platform browser login, then synchronize and verify it.",
|
|
458
|
+
"jsDoc": "/** Start the CLI's configured-platform browser login, then synchronize and verify it. */"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"kind": "method",
|
|
462
|
+
"name": "remoteConfigureToken",
|
|
463
|
+
"signature": "@Remote('configureToken') async remoteConfigureToken(token: string, signal: AbortSignal): Promise<readonly BusinessNetworkSummary[]>",
|
|
464
|
+
"summary": "Save one user-entered token to DSH's credential provider, connect the standard MCP client by reference, then return only visible network DTOs.",
|
|
465
|
+
"jsDoc": "/**\n * Save one user-entered token to DSH's credential provider, connect the\n * standard MCP client by reference, then return only visible network DTOs.\n */"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"kind": "method",
|
|
469
|
+
"name": "remoteGetNetworkBinding",
|
|
470
|
+
"signature": "@Remote('getNetworkBinding') remoteGetNetworkBinding(sessionId: SessionId): BusinessNetworkBinding | undefined",
|
|
471
|
+
"summary": "Read the immutable network identity already recorded on one live DSH session.",
|
|
472
|
+
"jsDoc": "/** Read the immutable network identity already recorded on one live DSH session. */"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"kind": "method",
|
|
476
|
+
"name": "remoteGetTurnProvenance",
|
|
477
|
+
"signature": "@Remote('getTurnProvenance') remoteGetTurnProvenance(sessionId: SessionId, messageId: string): ProvenanceHandle | undefined",
|
|
478
|
+
"summary": "Read only the provenance already committed for one finalized assistant message.",
|
|
479
|
+
"jsDoc": "/** Read only the provenance already committed for one finalized assistant message. */"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"kind": "method",
|
|
483
|
+
"name": "remoteGetTurnProvenanceView",
|
|
484
|
+
"signature": "@Remote('getTurnProvenanceView') async remoteGetTurnProvenanceView( sessionId: SessionId, messageId: string, signal: AbortSignal, ): Promise<ProvenanceView | undefined>",
|
|
485
|
+
"summary": "Resolve the selected turn's provenance on demand through the fixed platform OSDK catalogue.",
|
|
486
|
+
"jsDoc": "/**\n * Resolve the selected turn's provenance on demand through the fixed\n * platform OSDK catalogue. The browser receives a bounded presentation DTO,\n * never raw MCP output, OSDK routes, or credentials.\n */"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"kind": "method",
|
|
490
|
+
"name": "remoteGetSessionSuggestions",
|
|
491
|
+
"signature": "@Remote('getSessionSuggestions') remoteGetSessionSuggestions(sessionId: SessionId): readonly string[]",
|
|
492
|
+
"summary": "Return the one optional, draft-only introduction for an empty bound session.",
|
|
493
|
+
"jsDoc": "/** Return the one optional, draft-only introduction for an empty bound session. */"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"kind": "method",
|
|
497
|
+
"name": "remoteListNetworks",
|
|
498
|
+
"signature": "@Remote('listNetworks') async remoteListNetworks(signal: AbortSignal): Promise<readonly BusinessNetworkSummary[]>",
|
|
499
|
+
"summary": "List only the business networks authorized by the managed OpenBKN token.",
|
|
500
|
+
"jsDoc": "/** List only the business networks authorized by the managed OpenBKN token. */"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"kind": "method",
|
|
504
|
+
"name": "remoteBindNetworkWorkspace",
|
|
505
|
+
"signature": "@Remote('bindNetworkWorkspace') async remoteBindNetworkWorkspace(networkId: string, workspacePath: string, signal: AbortSignal): Promise<BusinessNetworkSummary>",
|
|
506
|
+
"summary": "Persist a selected local DSH workspace only after the network is authorized.",
|
|
507
|
+
"jsDoc": "/** Persist a selected local DSH workspace only after the network is authorized. */"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"kind": "method",
|
|
511
|
+
"name": "remoteBindNetwork",
|
|
512
|
+
"signature": "@Remote('bindNetwork') async remoteBindNetwork( sessionId: SessionId, networkId: string, signal: AbortSignal, ): Promise<BusinessNetworkBinding>",
|
|
513
|
+
"summary": "Bind this exact live Agent to one network already confirmed visible by the configured CLI identity.",
|
|
514
|
+
"jsDoc": "/**\n * Bind this exact live Agent to one network already confirmed visible by the\n * configured CLI identity. The Client provides only the opaque network id;\n * display data and platform routing are re-derived on the Host.\n */"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"kind": "method",
|
|
518
|
+
"name": "bind",
|
|
519
|
+
"signature": "bind(agent: Agent, requested: BusinessNetworkBinding): BindBusinessNetworkResult",
|
|
520
|
+
"summary": "Persist one network selection, reject conflicts, then scope the capability to this Agent.",
|
|
521
|
+
"jsDoc": "/** Persist one network selection, reject conflicts, then scope the capability to this Agent. */"
|
|
522
|
+
}
|
|
523
|
+
],
|
|
524
|
+
"types": [
|
|
525
|
+
{
|
|
526
|
+
"name": "AuthSnapshot",
|
|
527
|
+
"declaration": "export type AuthSnapshot = { readonly kind: 'authenticated'; readonly baseUrl: string; readonly userId?: string; readonly username?: string; } | { readonly kind: 'authentication-required'; readonly baseUrl: string; } | { readonly kind: 'platform-mismatch'; readonly expectedBaseUrl: string; readonly actualBaseUrl: string; };"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"name": "BindBusinessNetworkResult",
|
|
531
|
+
"declaration": "export type BindBusinessNetworkResult = { readonly kind: 'bound'; readonly event: BusinessNetworkBoundEvent; } | { readonly kind: 'already-bound'; readonly binding: BusinessNetworkBinding; };"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "BusinessNetworkBinding",
|
|
535
|
+
"declaration": "export interface BusinessNetworkBinding {\n readonly platformBaseUrl: string;\n readonly knowledgeNetworkId: string;\n readonly displayName: string;\n}"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "BusinessNetworkBoundEvent",
|
|
539
|
+
"declaration": "export interface BusinessNetworkBoundEvent {\n readonly type: typeof BUSINESS_NETWORK_BOUND_EVENT;\n readonly data: BusinessNetworkBinding;\n}"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "BusinessNetworkSummary",
|
|
543
|
+
"declaration": "export interface BusinessNetworkSummary {\n readonly id: string;\n readonly displayName: string;\n readonly description?: string;\n readonly workspacePath?: string;\n}"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"name": "ProvenanceBusinessElement",
|
|
547
|
+
"declaration": "export interface ProvenanceBusinessElement {\n readonly kind: 'object' | 'relation' | 'action' | 'property' | 'logic' | 'metric';\n readonly id: string;\n readonly name: string;\n readonly parentId?: string;\n readonly field?: string;\n}"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "ProvenanceBusinessOperation",
|
|
551
|
+
"declaration": "export interface ProvenanceBusinessOperation {\n readonly id: string;\n readonly attempt: number;\n readonly toolName: string;\n readonly knowledgeNetworkId?: string;\n readonly status: 'resolved' | 'ambiguous' | 'unresolved' | 'not_evaluable';\n readonly elements: readonly ProvenanceBusinessElement[];\n readonly missingFacts: readonly string[];\n}"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"name": "ProvenanceBusinessView",
|
|
555
|
+
"declaration": "export type ProvenanceBusinessView = { readonly kind: 'unavailable'; } | { readonly kind: 'ready'; readonly operations: readonly ProvenanceBusinessOperation[]; readonly conversationContext: readonly ProvenanceConversationContext[]; readonly derivedFacts: readonly ProvenanceDerivedFact[]; readonly contextRelations: readonly ProvenanceContextRelation[]; };"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"name": "ProvenanceContextRelation",
|
|
559
|
+
"declaration": "export interface ProvenanceContextRelation {\n readonly id: string;\n readonly knowledgeNetworkId: string;\n readonly name: string;\n readonly sourceObjectId: string;\n readonly targetObjectId: string;\n}"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "ProvenanceConversationContext",
|
|
563
|
+
"declaration": "export interface ProvenanceConversationContext {\n readonly knowledgeNetworkId: string;\n readonly sourceInteractionId: string;\n readonly sourceOperationId: string;\n}"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"name": "ProvenanceDerivedFact",
|
|
567
|
+
"declaration": "export interface ProvenanceDerivedFact {\n readonly rule: string;\n readonly sourceOperationId: string;\n readonly operationId: string;\n readonly elementId: string;\n}"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"name": "ProvenanceEvidenceView",
|
|
571
|
+
"declaration": "export type ProvenanceEvidenceView = { readonly kind: 'unavailable'; };"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "ProvenanceHandle",
|
|
575
|
+
"declaration": "export interface ProvenanceHandle {\n readonly schemaVersion: 1;\n readonly interactionId: string;\n readonly requestIds: readonly string[];\n readonly traceIds: readonly string[];\n readonly receiptIds: readonly string[];\n readonly status: 'completed' | 'failed';\n readonly partial: boolean;\n}"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "ProvenanceOperationView",
|
|
579
|
+
"declaration": "export interface ProvenanceOperationView {\n readonly id: string;\n readonly label: string;\n readonly protocol?: string;\n readonly status?: string;\n readonly startedAt?: string;\n readonly finishedAt?: string;\n readonly requestId?: string;\n readonly traceId?: string;\n readonly receiptId?: string;\n}"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "ProvenanceView",
|
|
583
|
+
"declaration": "export interface ProvenanceView {\n readonly interactionId: string;\n readonly execution: { readonly status?: string; readonly operations: readonly ProvenanceOperationView[]; };\n readonly business: ProvenanceBusinessView;\n readonly evidence: ProvenanceEvidenceView;\n}"
|
|
584
|
+
}
|
|
585
|
+
]
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"description": "Host-owned durable index for the small, non-secret network-to-workspace association. It deliberately stores a path rather than a DSH workspace id: DSH resolves a registered workspace id from the path at each Client run.",
|
|
589
|
+
"summary": "Host-owned durable index for the small, non-secret network-to-workspace association.",
|
|
590
|
+
"tags": [],
|
|
591
|
+
"jsDoc": "/**\n * Host-owned durable index for the small, non-secret network-to-workspace\n * association. It deliberately stores a path rather than a DSH workspace id:\n * DSH resolves a registered workspace id from the path at each Client run.\n */",
|
|
592
|
+
"key": "openbknWorkspaceBindingRegistry",
|
|
593
|
+
"exportName": "OpenBknWorkspaceBindingRegistry",
|
|
594
|
+
"members": [
|
|
595
|
+
{
|
|
596
|
+
"kind": "method",
|
|
597
|
+
"name": "get",
|
|
598
|
+
"signature": "get(platformBaseUrl: string, knowledgeNetworkId: string): WorkspaceBindingRecord | undefined"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"kind": "method",
|
|
602
|
+
"name": "findUniqueByWorkspace",
|
|
603
|
+
"signature": "findUniqueByWorkspace(platformBaseUrl: string, workspacePath: string): WorkspaceBindingRecord | undefined",
|
|
604
|
+
"summary": "Return the one network associated with a native DSH workspace.",
|
|
605
|
+
"jsDoc": "/**\n * Return the one network associated with a native DSH workspace. Ambiguous\n * workspace associations deliberately produce no result so a session is\n * never bound to a network by guesswork.\n */"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"kind": "method",
|
|
609
|
+
"name": "put",
|
|
610
|
+
"signature": "async put(input: Omit<WorkspaceBindingRecord, 'updatedAt'>): Promise<WorkspaceBindingRecord>"
|
|
611
|
+
}
|
|
612
|
+
],
|
|
613
|
+
"types": [
|
|
614
|
+
{
|
|
615
|
+
"name": "WorkspaceBindingRecord",
|
|
616
|
+
"declaration": "export type WorkspaceBindingRecord = z.infer<typeof workspaceBindingRecord>;"
|
|
617
|
+
}
|
|
618
|
+
]
|
|
619
|
+
}
|
|
620
|
+
],
|
|
621
|
+
"events": [],
|
|
622
|
+
"objects": []
|
|
623
|
+
},
|
|
624
|
+
}
|