@constal/sdk 2.4.0 → 3.0.0
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/package.json +14 -4
- package/publish/api.json +36 -1
- package/publish/index.d.ts +268 -43
- package/publish/index.js +373 -52
package/package.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constal/sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Public TypeScript SDK for authoring Constal agents, integrations, policies, channels, and credential providers",
|
|
5
|
-
"keywords": [
|
|
5
|
+
"keywords": [
|
|
6
|
+
"constal",
|
|
7
|
+
"agents",
|
|
8
|
+
"integrations",
|
|
9
|
+
"typescript",
|
|
10
|
+
"sdk"
|
|
11
|
+
],
|
|
6
12
|
"license": "UNLICENSED",
|
|
7
13
|
"homepage": "https://constal.ai",
|
|
8
14
|
"type": "module",
|
|
@@ -15,8 +21,12 @@
|
|
|
15
21
|
"import": "./publish/index.js"
|
|
16
22
|
}
|
|
17
23
|
},
|
|
18
|
-
"files": [
|
|
19
|
-
|
|
24
|
+
"files": [
|
|
25
|
+
"publish"
|
|
26
|
+
],
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
20
30
|
"scripts": {
|
|
21
31
|
"build": "node ../../scripts/build-sdk-boundaries.mjs --public-only",
|
|
22
32
|
"test": "vitest run test",
|
package/publish/api.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@constal/sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"exports": [
|
|
5
5
|
"Action",
|
|
6
6
|
"ActionPattern",
|
|
@@ -11,8 +11,12 @@
|
|
|
11
11
|
"AdmissionLimitWindow",
|
|
12
12
|
"AfterYield",
|
|
13
13
|
"Agent",
|
|
14
|
+
"AgentCredentialSetupRequirement",
|
|
14
15
|
"AgentDef",
|
|
15
16
|
"AgentDeployPolicy",
|
|
17
|
+
"AgentSetupMetadata",
|
|
18
|
+
"AgentSetupRequirement",
|
|
19
|
+
"AgentSetupWorkflow",
|
|
16
20
|
"AnalyticsClient",
|
|
17
21
|
"AnalyticsDimensionValue",
|
|
18
22
|
"AnalyticsEventDefinition",
|
|
@@ -28,11 +32,15 @@
|
|
|
28
32
|
"AwaitPresentation",
|
|
29
33
|
"BatchSpec",
|
|
30
34
|
"BindingCRN",
|
|
35
|
+
"BindingOwnerContext",
|
|
31
36
|
"BindingOwnerScope",
|
|
32
37
|
"BranchRef",
|
|
33
38
|
"CONSTAL_API_CAPABILITY",
|
|
39
|
+
"CONSTAL_API_GET_KINDS",
|
|
40
|
+
"CONSTAL_API_MODEL_TOOL_DESCRIPTIONS",
|
|
34
41
|
"CONSTAL_API_OPERATIONS",
|
|
35
42
|
"CONSTAL_API_OPERATION_SCHEMAS",
|
|
43
|
+
"CONSTAL_API_QUERY_KINDS",
|
|
36
44
|
"CONSTAL_API_VERSION",
|
|
37
45
|
"CRN",
|
|
38
46
|
"CRNKind",
|
|
@@ -48,11 +56,16 @@
|
|
|
48
56
|
"ChannelAlarm",
|
|
49
57
|
"ChannelAlarmResult",
|
|
50
58
|
"ChannelContext",
|
|
59
|
+
"ChannelIngressEvent",
|
|
60
|
+
"ChannelIngressSource",
|
|
51
61
|
"ChannelMessage",
|
|
52
62
|
"ChannelProtocol",
|
|
53
63
|
"ChannelReceiveResult",
|
|
54
64
|
"ChannelRequest",
|
|
55
65
|
"ChannelResponse",
|
|
66
|
+
"ChannelSourceEvidence",
|
|
67
|
+
"ChannelSubscriptionRequest",
|
|
68
|
+
"ChannelTarget",
|
|
56
69
|
"CheckpointDeploymentRequest",
|
|
57
70
|
"CheckpointImportMetadata",
|
|
58
71
|
"CheckpointImportRequest",
|
|
@@ -83,6 +96,7 @@
|
|
|
83
96
|
"CreateSandboxOptions",
|
|
84
97
|
"CredentialCRN",
|
|
85
98
|
"CredentialDestroyResult",
|
|
99
|
+
"CredentialEvidence",
|
|
86
100
|
"CredentialInteractionAction",
|
|
87
101
|
"CredentialInteractionAdvanceRequest",
|
|
88
102
|
"CredentialInteractionEvent",
|
|
@@ -102,6 +116,7 @@
|
|
|
102
116
|
"CredentialProviderSecretInput",
|
|
103
117
|
"CredentialProviderSetupMetadata",
|
|
104
118
|
"CredentialRevoked",
|
|
119
|
+
"CredentialSetupState",
|
|
105
120
|
"CredentialUnavailable",
|
|
106
121
|
"CredentialVerifyResult",
|
|
107
122
|
"Ctx",
|
|
@@ -176,6 +191,7 @@
|
|
|
176
191
|
"LeaseLost",
|
|
177
192
|
"LedgerAddress",
|
|
178
193
|
"LedgerEvent",
|
|
194
|
+
"LocalResourceRef",
|
|
179
195
|
"MCP_CLIENT_CAPABILITY",
|
|
180
196
|
"MEMORY_OPERATION_DECLARATIONS",
|
|
181
197
|
"MODEL_CHECKPOINT_IMPORT_CAPABILITY",
|
|
@@ -222,6 +238,7 @@
|
|
|
222
238
|
"Principal",
|
|
223
239
|
"PrincipalKind",
|
|
224
240
|
"Provenance",
|
|
241
|
+
"RESOURCE_KINDS",
|
|
225
242
|
"RawModelProtocol",
|
|
226
243
|
"Recovery",
|
|
227
244
|
"ReduceFact",
|
|
@@ -231,6 +248,7 @@
|
|
|
231
248
|
"ResourceContractRef",
|
|
232
249
|
"ResourceControlsConstraint",
|
|
233
250
|
"ResourceCredentialBinding",
|
|
251
|
+
"ResourceDependencyRef",
|
|
234
252
|
"ResourceDisabled",
|
|
235
253
|
"ResourceInvalid",
|
|
236
254
|
"ResourceKind",
|
|
@@ -257,6 +275,9 @@
|
|
|
257
275
|
"SandboxNetworkMode",
|
|
258
276
|
"SandboxNetworkPolicy",
|
|
259
277
|
"SandboxPool",
|
|
278
|
+
"SandboxReadFileOptions",
|
|
279
|
+
"SandboxReadFileResult",
|
|
280
|
+
"SandboxWriteFileResult",
|
|
260
281
|
"ScopedBindingKey",
|
|
261
282
|
"ScopedCredentialRef",
|
|
262
283
|
"ScopedMemoryStoreRef",
|
|
@@ -273,6 +294,7 @@
|
|
|
273
294
|
"SessionDeleted",
|
|
274
295
|
"SetEvalBaselineRequest",
|
|
275
296
|
"SetupAction",
|
|
297
|
+
"SetupCredentialCandidate",
|
|
276
298
|
"SetupCredentialInteractionPanel",
|
|
277
299
|
"SetupFormPanel",
|
|
278
300
|
"SetupPanel",
|
|
@@ -355,6 +377,8 @@
|
|
|
355
377
|
"actionPattern",
|
|
356
378
|
"agent",
|
|
357
379
|
"agentResourceBinding",
|
|
380
|
+
"agentSetupMetadata",
|
|
381
|
+
"agentSetupRequirements",
|
|
358
382
|
"analyticsEvent",
|
|
359
383
|
"approximateTokens",
|
|
360
384
|
"authProvider",
|
|
@@ -365,11 +389,17 @@
|
|
|
365
389
|
"capabilityContractRef",
|
|
366
390
|
"casTool",
|
|
367
391
|
"channel",
|
|
392
|
+
"channelIngressRequest",
|
|
393
|
+
"channelIngressSource",
|
|
394
|
+
"channelSourceEvidence",
|
|
395
|
+
"channelSubscriptionRequest",
|
|
396
|
+
"channelTarget",
|
|
368
397
|
"checkpointArtifactRef",
|
|
369
398
|
"checkpointDeploymentRequest",
|
|
370
399
|
"checkpointImportMetadata",
|
|
371
400
|
"checkpointImportRequest",
|
|
372
401
|
"codeScorerIR",
|
|
402
|
+
"credentialEvidence",
|
|
373
403
|
"credentialInteractionAction",
|
|
374
404
|
"credentialInteractionEvent",
|
|
375
405
|
"credentialInteractionResult",
|
|
@@ -379,6 +409,7 @@
|
|
|
379
409
|
"credentialProviderName",
|
|
380
410
|
"credentialProviderSetupMetadata",
|
|
381
411
|
"credentialRotationDefaults",
|
|
412
|
+
"credentialSetupState",
|
|
382
413
|
"customerTenantName",
|
|
383
414
|
"cutBatches",
|
|
384
415
|
"cutPartitions",
|
|
@@ -413,9 +444,12 @@
|
|
|
413
444
|
"policy",
|
|
414
445
|
"policyName",
|
|
415
446
|
"renderTrainingCompletion",
|
|
447
|
+
"resolveBindingOwner",
|
|
416
448
|
"resolveGatewayEgress",
|
|
449
|
+
"resolveResourceDependencyRef",
|
|
417
450
|
"resourceContractRef",
|
|
418
451
|
"resourceCredentialBinding",
|
|
452
|
+
"resourceDependencyRef",
|
|
419
453
|
"resourceLabelMap",
|
|
420
454
|
"resourceName",
|
|
421
455
|
"resourceNeed",
|
|
@@ -427,6 +461,7 @@
|
|
|
427
461
|
"scopedCredentialRef",
|
|
428
462
|
"scopedResourceRef",
|
|
429
463
|
"scorerName",
|
|
464
|
+
"selectableResourceLabels",
|
|
430
465
|
"setupAwait",
|
|
431
466
|
"setupScreen",
|
|
432
467
|
"setupScreenView",
|