@tai42/api-client 25.0.0 → 26.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/dist/agents.d.ts +1 -0
- package/dist/agents.d.ts.map +1 -1
- package/dist/agents.js.map +1 -1
- package/dist/client/auth-client.d.ts +1 -0
- package/dist/client/auth-client.d.ts.map +1 -1
- package/dist/client/backup-client.d.ts +1 -0
- package/dist/client/backup-client.d.ts.map +1 -1
- package/dist/client/capabilities-client.d.ts +1 -0
- package/dist/client/capabilities-client.d.ts.map +1 -1
- package/dist/client/channels-client.d.ts +4 -1
- package/dist/client/channels-client.d.ts.map +1 -1
- package/dist/client/config-client.d.ts +1 -0
- package/dist/client/config-client.d.ts.map +1 -1
- package/dist/client/connectors-client.d.ts +7 -0
- package/dist/client/connectors-client.d.ts.map +1 -1
- package/dist/client/conversations-client.d.ts +9 -9
- package/dist/client/hooks-client.d.ts +1 -1
- package/dist/client/index.d.ts +529 -198
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +9 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/interactions-client.d.ts +1 -1
- package/dist/client/manifest-client.d.ts +161 -30
- package/dist/client/manifest-client.d.ts.map +1 -1
- package/dist/client/manifest-client.js +16 -5
- package/dist/client/manifest-client.js.map +1 -1
- package/dist/client/marketplace-client.d.ts +132 -83
- package/dist/client/marketplace-client.d.ts.map +1 -1
- package/dist/client/observability-client.d.ts +2 -2
- package/dist/client/presets-client.d.ts +113 -11
- package/dist/client/presets-client.d.ts.map +1 -1
- package/dist/client/presets-client.js +4 -3
- package/dist/client/presets-client.js.map +1 -1
- package/dist/client/profiles-client.d.ts +1 -0
- package/dist/client/profiles-client.d.ts.map +1 -1
- package/dist/client/states-client.d.ts +30 -21
- package/dist/client/states-client.d.ts.map +1 -1
- package/dist/client/states-client.js +5 -0
- package/dist/client/states-client.js.map +1 -1
- package/dist/client/storage-client.d.ts +19 -0
- package/dist/client/storage-client.d.ts.map +1 -1
- package/dist/client/storage-client.js +14 -17
- package/dist/client/storage-client.js.map +1 -1
- package/dist/client/templates-client.d.ts +20 -2
- package/dist/client/templates-client.d.ts.map +1 -1
- package/dist/client/templates-client.js +1 -1
- package/dist/client/templates-client.js.map +1 -1
- package/dist/client/tool-extensions-client.d.ts +3 -0
- package/dist/client/tool-extensions-client.d.ts.map +1 -1
- package/dist/client/transport.d.ts +2 -1
- package/dist/client/transport.d.ts.map +1 -1
- package/dist/client/transport.js.map +1 -1
- package/dist/errors.d.ts +13 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +31 -0
- package/dist/errors.js.map +1 -1
- package/dist/fleet-report.d.ts +14 -2
- package/dist/fleet-report.d.ts.map +1 -1
- package/dist/fleet-report.js +41 -10
- package/dist/fleet-report.js.map +1 -1
- package/dist/generated/api-routes.d.ts +17 -1
- package/dist/generated/api-routes.d.ts.map +1 -1
- package/dist/generated/api-routes.js +7 -2
- package/dist/generated/api-routes.js.map +1 -1
- package/dist/generated/openapi-schemas.d.ts +737 -160
- package/dist/generated/openapi-schemas.d.ts.map +1 -1
- package/dist/generated/openapi-schemas.js +46 -27
- package/dist/generated/openapi-schemas.js.map +1 -1
- package/dist/generated/served-schemas.d.ts +80 -16
- package/dist/generated/served-schemas.d.ts.map +1 -1
- package/dist/generated/served-schemas.js +64 -4
- package/dist/generated/served-schemas.js.map +1 -1
- package/dist/http.d.ts +6 -0
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +11 -0
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas/auth-routes.d.ts +34 -8
- package/dist/schemas/auth-routes.d.ts.map +1 -1
- package/dist/schemas/auth-routes.js +16 -8
- package/dist/schemas/auth-routes.js.map +1 -1
- package/dist/schemas/backup.d.ts +13 -0
- package/dist/schemas/backup.d.ts.map +1 -1
- package/dist/schemas/backup.js +5 -0
- package/dist/schemas/backup.js.map +1 -1
- package/dist/schemas/capabilities.d.ts +11 -6
- package/dist/schemas/capabilities.d.ts.map +1 -1
- package/dist/schemas/capabilities.js +10 -6
- package/dist/schemas/capabilities.js.map +1 -1
- package/dist/schemas/channels.d.ts +7 -1
- package/dist/schemas/channels.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +6 -0
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/conversations.d.ts +11 -11
- package/dist/schemas/extensions.d.ts +8 -4
- package/dist/schemas/extensions.d.ts.map +1 -1
- package/dist/schemas/extensions.js +5 -4
- package/dist/schemas/extensions.js.map +1 -1
- package/dist/schemas/hooks.d.ts +1 -1
- package/dist/schemas/interactions.d.ts +3 -3
- package/dist/schemas/manifest-mcp.d.ts +79 -0
- package/dist/schemas/manifest-mcp.d.ts.map +1 -1
- package/dist/schemas/manifest-mcp.js +19 -0
- package/dist/schemas/manifest-mcp.js.map +1 -1
- package/dist/schemas/marketplace.d.ts +155 -84
- package/dist/schemas/marketplace.d.ts.map +1 -1
- package/dist/schemas/marketplace.js +7 -2
- package/dist/schemas/marketplace.js.map +1 -1
- package/dist/schemas/observability.d.ts +3 -3
- package/dist/schemas/presets.d.ts +107 -14
- package/dist/schemas/presets.d.ts.map +1 -1
- package/dist/schemas/presets.js +7 -5
- package/dist/schemas/presets.js.map +1 -1
- package/dist/schemas/profiles.d.ts +1 -0
- package/dist/schemas/profiles.d.ts.map +1 -1
- package/dist/schemas/served.d.ts +67 -13
- package/dist/schemas/served.d.ts.map +1 -1
- package/dist/schemas/states.d.ts +22 -22
- package/dist/schemas/storage.d.ts +30 -1
- package/dist/schemas/storage.d.ts.map +1 -1
- package/dist/schemas/storage.js +8 -1
- package/dist/schemas/storage.js.map +1 -1
- package/dist/schemas/system-kinds.d.ts +1 -0
- package/dist/schemas/system-kinds.d.ts.map +1 -1
- package/dist/schemas/templates.d.ts +110 -83
- package/dist/schemas/templates.d.ts.map +1 -1
- package/dist/schemas/templates.js +14 -2
- package/dist/schemas/templates.js.map +1 -1
- package/dist/schemas/tools.d.ts +1 -1
- package/package.json +3 -3
- package/src/agents.ts +1 -0
- package/src/client/index.ts +9 -2
- package/src/client/manifest-client.ts +39 -12
- package/src/client/presets-client.ts +20 -6
- package/src/client/states-client.ts +10 -0
- package/src/client/storage-client.ts +21 -17
- package/src/client/templates-client.ts +1 -1
- package/src/client/transport.ts +3 -1
- package/src/errors.ts +34 -0
- package/src/fleet-report.ts +46 -7
- package/src/generated/api-routes.ts +7 -2
- package/src/generated/openapi-schemas.ts +80 -31
- package/src/generated/served-schemas.ts +64 -4
- package/src/http.ts +12 -0
- package/src/index.ts +19 -2
- package/src/schemas/auth-routes.ts +18 -8
- package/src/schemas/backup.ts +7 -0
- package/src/schemas/capabilities.ts +10 -6
- package/src/schemas/channels.ts +2 -0
- package/src/schemas/extensions.ts +5 -4
- package/src/schemas/manifest-mcp.ts +25 -0
- package/src/schemas/marketplace.ts +7 -2
- package/src/schemas/presets.ts +13 -6
- package/src/schemas/storage.ts +10 -1
- package/src/schemas/templates.ts +17 -1
|
@@ -101,8 +101,8 @@ export declare const apiConversationRoute: z.ZodObject<{
|
|
|
101
101
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
102
102
|
}, z.core.$strict>>>;
|
|
103
103
|
target_kind: z.ZodEnum<{
|
|
104
|
-
tool: "tool";
|
|
105
104
|
agent: "agent";
|
|
105
|
+
tool: "tool";
|
|
106
106
|
}>;
|
|
107
107
|
target_name: z.ZodString;
|
|
108
108
|
turns_per_hour_override: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -171,8 +171,8 @@ export declare const apiConversationRouteCreate: z.ZodObject<{
|
|
|
171
171
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
172
172
|
}, z.core.$strict>>>;
|
|
173
173
|
target_kind: z.ZodEnum<{
|
|
174
|
-
tool: "tool";
|
|
175
174
|
agent: "agent";
|
|
175
|
+
tool: "tool";
|
|
176
176
|
}>;
|
|
177
177
|
target_name: z.ZodString;
|
|
178
178
|
turns_per_hour_override: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -258,8 +258,8 @@ export declare const channelConversationRoute: z.ZodObject<{
|
|
|
258
258
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
259
259
|
}, z.core.$strict>>>;
|
|
260
260
|
target_kind: z.ZodEnum<{
|
|
261
|
-
tool: "tool";
|
|
262
261
|
agent: "agent";
|
|
262
|
+
tool: "tool";
|
|
263
263
|
}>;
|
|
264
264
|
target_name: z.ZodString;
|
|
265
265
|
turns_per_hour_override: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -328,8 +328,8 @@ export declare const channelConversationRouteCreate: z.ZodObject<{
|
|
|
328
328
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
329
329
|
}, z.core.$strict>>>;
|
|
330
330
|
target_kind: z.ZodEnum<{
|
|
331
|
-
tool: "tool";
|
|
332
331
|
agent: "agent";
|
|
332
|
+
tool: "tool";
|
|
333
333
|
}>;
|
|
334
334
|
target_name: z.ZodString;
|
|
335
335
|
turns_per_hour_override: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -406,8 +406,8 @@ export declare const conversationRoute: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
406
406
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
407
407
|
}, z.core.$strict>>>;
|
|
408
408
|
target_kind: z.ZodEnum<{
|
|
409
|
-
tool: "tool";
|
|
410
409
|
agent: "agent";
|
|
410
|
+
tool: "tool";
|
|
411
411
|
}>;
|
|
412
412
|
target_name: z.ZodString;
|
|
413
413
|
turns_per_hour_override: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -476,8 +476,8 @@ export declare const conversationRoute: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
476
476
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
477
477
|
}, z.core.$strict>>>;
|
|
478
478
|
target_kind: z.ZodEnum<{
|
|
479
|
-
tool: "tool";
|
|
480
479
|
agent: "agent";
|
|
480
|
+
tool: "tool";
|
|
481
481
|
}>;
|
|
482
482
|
target_name: z.ZodString;
|
|
483
483
|
turns_per_hour_override: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -546,8 +546,8 @@ export declare const conversationRouteCreate: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
546
546
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
547
547
|
}, z.core.$strict>>>;
|
|
548
548
|
target_kind: z.ZodEnum<{
|
|
549
|
-
tool: "tool";
|
|
550
549
|
agent: "agent";
|
|
550
|
+
tool: "tool";
|
|
551
551
|
}>;
|
|
552
552
|
target_name: z.ZodString;
|
|
553
553
|
turns_per_hour_override: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -614,8 +614,8 @@ export declare const conversationRouteCreate: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
614
614
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
615
615
|
}, z.core.$strict>>>;
|
|
616
616
|
target_kind: z.ZodEnum<{
|
|
617
|
-
tool: "tool";
|
|
618
617
|
agent: "agent";
|
|
618
|
+
tool: "tool";
|
|
619
619
|
}>;
|
|
620
620
|
target_name: z.ZodString;
|
|
621
621
|
turns_per_hour_override: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -662,8 +662,8 @@ export declare const hookSubject: z.ZodObject<{
|
|
|
662
662
|
}, z.core.$strict>;
|
|
663
663
|
kind: z.ZodString;
|
|
664
664
|
target_kind: z.ZodEnum<{
|
|
665
|
-
tool: "tool";
|
|
666
665
|
agent: "agent";
|
|
666
|
+
tool: "tool";
|
|
667
667
|
}>;
|
|
668
668
|
target_name: z.ZodString;
|
|
669
669
|
}, z.core.$strict>;
|
|
@@ -863,8 +863,8 @@ export declare const hookParams: z.ZodObject<{
|
|
|
863
863
|
}, z.core.$strict>;
|
|
864
864
|
kind: z.ZodString;
|
|
865
865
|
target_kind: z.ZodEnum<{
|
|
866
|
-
tool: "tool";
|
|
867
866
|
agent: "agent";
|
|
867
|
+
tool: "tool";
|
|
868
868
|
}>;
|
|
869
869
|
target_name: z.ZodString;
|
|
870
870
|
}, z.core.$strict>>>;
|
|
@@ -952,8 +952,8 @@ export declare const hookRegister: z.ZodObject<{
|
|
|
952
952
|
}, z.core.$strict>;
|
|
953
953
|
kind: z.ZodString;
|
|
954
954
|
target_kind: z.ZodEnum<{
|
|
955
|
-
tool: "tool";
|
|
956
955
|
agent: "agent";
|
|
956
|
+
tool: "tool";
|
|
957
957
|
}>;
|
|
958
958
|
target_name: z.ZodString;
|
|
959
959
|
}, z.core.$strict>>>;
|
|
@@ -973,11 +973,21 @@ export declare const presetBody: z.ZodObject<{
|
|
|
973
973
|
description: z.ZodString;
|
|
974
974
|
extensions: z.ZodDefault<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>>;
|
|
975
975
|
fixed_kwargs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
976
|
+
input_map: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
977
|
+
content: z.ZodOptional<z.ZodString>;
|
|
978
|
+
id: z.ZodOptional<z.ZodString>;
|
|
979
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
980
|
+
}, z.core.$strict>, z.ZodString, z.ZodNull]>>;
|
|
976
981
|
input_schema: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
977
982
|
content: z.ZodOptional<z.ZodString>;
|
|
978
983
|
id: z.ZodOptional<z.ZodString>;
|
|
979
984
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
980
985
|
}, z.core.$strict>, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
986
|
+
output_map: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
987
|
+
content: z.ZodOptional<z.ZodString>;
|
|
988
|
+
id: z.ZodOptional<z.ZodString>;
|
|
989
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
990
|
+
}, z.core.$strict>, z.ZodString, z.ZodNull]>>;
|
|
981
991
|
output_schema: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
982
992
|
content: z.ZodOptional<z.ZodString>;
|
|
983
993
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1038,12 +1048,22 @@ export declare const presetSeed: z.ZodObject<{
|
|
|
1038
1048
|
base_tool: z.ZodString;
|
|
1039
1049
|
description: z.ZodString;
|
|
1040
1050
|
fixed_kwargs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1051
|
+
input_map: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
1052
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1053
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1054
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1055
|
+
}, z.core.$strict>, z.ZodString, z.ZodNull]>>;
|
|
1041
1056
|
input_schema: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
1042
1057
|
content: z.ZodOptional<z.ZodString>;
|
|
1043
1058
|
id: z.ZodOptional<z.ZodString>;
|
|
1044
1059
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1045
1060
|
}, z.core.$strict>, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
1046
1061
|
name: z.ZodString;
|
|
1062
|
+
output_map: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
1063
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1066
|
+
}, z.core.$strict>, z.ZodString, z.ZodNull]>>;
|
|
1047
1067
|
output_schema: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
1048
1068
|
content: z.ZodOptional<z.ZodString>;
|
|
1049
1069
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1123,8 +1143,8 @@ export declare const stateSubject: z.ZodObject<{
|
|
|
1123
1143
|
key: z.ZodString;
|
|
1124
1144
|
kind: z.ZodString;
|
|
1125
1145
|
target_kind: z.ZodEnum<{
|
|
1126
|
-
tool: "tool";
|
|
1127
1146
|
agent: "agent";
|
|
1147
|
+
tool: "tool";
|
|
1128
1148
|
}>;
|
|
1129
1149
|
target_name: z.ZodString;
|
|
1130
1150
|
}, z.core.$strict>;
|
|
@@ -1211,8 +1231,8 @@ export declare const scheduleCreate: z.ZodObject<{
|
|
|
1211
1231
|
key: z.ZodString;
|
|
1212
1232
|
kind: z.ZodString;
|
|
1213
1233
|
target_kind: z.ZodEnum<{
|
|
1214
|
-
tool: "tool";
|
|
1215
1234
|
agent: "agent";
|
|
1235
|
+
tool: "tool";
|
|
1216
1236
|
}>;
|
|
1217
1237
|
target_name: z.ZodString;
|
|
1218
1238
|
}, z.core.$strict>>>;
|
|
@@ -1468,8 +1488,8 @@ export declare const targetConversationConfig: z.ZodObject<{
|
|
|
1468
1488
|
}, z.core.$strict>>;
|
|
1469
1489
|
}, z.core.$strict>>>;
|
|
1470
1490
|
target_kind: z.ZodEnum<{
|
|
1471
|
-
tool: "tool";
|
|
1472
1491
|
agent: "agent";
|
|
1492
|
+
tool: "tool";
|
|
1473
1493
|
}>;
|
|
1474
1494
|
target_name: z.ZodString;
|
|
1475
1495
|
}, z.core.$strip>;
|
|
@@ -4825,7 +4845,7 @@ export declare const servedDocumentsJson: {
|
|
|
4825
4845
|
};
|
|
4826
4846
|
};
|
|
4827
4847
|
};
|
|
4828
|
-
readonly description: "The persisted body of a versioned preset.\n\n``base_tool`` is the tool the preset binds; ``description`` is the preset's\nhuman description; ``fixed_kwargs`` are the baked kwargs (each becomes a\nhidden, fixed constant on the bound tool). ``extensions`` is a list of\nextension COMBOS — the SAME shape as a manifest ``extensions`` map value,\neach combo element an extension name or a ``{\"name\", \"config\"}`` mapping\nbinding author config (e.g. an ``ask_external`` verifier) — fed unconverted\nto the structured runtime-attach API at register (an empty outer list means\nno extensions; an empty INNER combo is rejected by the validating view).\n``output_schema`` is an optional author-set OUTPUT JSON Schema (an object\nschema): on an AGENT base it is baked into the run tool's ``response_format``\nso the agent FORCES a structured output matching it; on a plain tool it is\nadvertised as the bound tool's output schema and every result is validated\nagainst it at run time — a park is a suspend signal, not a result, and passes.\n``input_schema`` is an optional author-set INPUT JSON\nSchema: it becomes the exposed named tool's input contract, and the caller's\nvalidated object is routed into the base tool's declared payload argument (see\n:class:`PresetInputSchemaSupport`). Only a base tool that DECLARES input-schema\nsupport accepts one; otherwise a set ``input_schema`` is a loud authoring error.\n\nEach schema is the ``TemplatedText | dict`` union: an inline ``dict`` is the JSON\nSchema document itself; a :class:`~tai42_contract.template.TemplatedText` names a stored\nschema by ``id`` (or carries it inline as ``content``), rendered and parsed as JSON to the\nsame schema at the point of use and save.\n\nEvery field must survive carry-forward on a version save: dropping\n``extensions`` would make the branch tools vanish on reload, dropping\n``base_tool`` would break the bind, dropping ``description`` would strip the\ntool's description, dropping ``output_schema`` would silently un-enforce the\nstructured output,
|
|
4848
|
+
readonly description: "The persisted body of a versioned preset.\n\n``base_tool`` is the tool the preset binds; ``description`` is the preset's\nhuman description; ``fixed_kwargs`` are the baked kwargs (each becomes a\nhidden, fixed constant on the bound tool). ``extensions`` is a list of\nextension COMBOS — the SAME shape as a manifest ``extensions`` map value,\neach combo element an extension name or a ``{\"name\", \"config\"}`` mapping\nbinding author config (e.g. an ``ask_external`` verifier) — fed unconverted\nto the structured runtime-attach API at register (an empty outer list means\nno extensions; an empty INNER combo is rejected by the validating view).\n``output_schema`` is an optional author-set OUTPUT JSON Schema (an object\nschema): on an AGENT base it is baked into the run tool's ``response_format``\nso the agent FORCES a structured output matching it; on a plain tool it is\nadvertised as the bound tool's output schema and every result is validated\nagainst it at run time — a park is a suspend signal, not a result, and passes.\n``input_schema`` is an optional author-set INPUT JSON\nSchema: it becomes the exposed named tool's input contract, and the caller's\nvalidated object is routed into the base tool's declared payload argument (see\n:class:`PresetInputSchemaSupport`). Only a base tool that DECLARES input-schema\nsupport accepts one; otherwise a set ``input_schema`` is a loud authoring error.\n\n``input_map`` and ``output_map`` are optional jq programs. With an ``input_map`` the\ncaller's object (validated against ``input_schema``, which the map requires) is mapped\nto the base tool's arguments, with the stored ``fixed_kwargs`` readable as ``$fixed``;\nthe mapped object is merged with ``fixed_kwargs`` and a key both set is refused, so a\nfixed value is never overridden. The base tool's result then passes the output stage:\n``output_map`` maps it, and ``output_schema`` validates what the map produced (or the\nraw result when there is no map). An output map never runs over a result that carries\na secret. A ``str`` map is the jq program itself; a\n:class:`~tai42_contract.template.TemplatedText` is rendered to the program.\n\nEach schema is the ``TemplatedText | dict`` union: an inline ``dict`` is the JSON\nSchema document itself; a :class:`~tai42_contract.template.TemplatedText` names a stored\nschema by ``id`` (or carries it inline as ``content``), rendered and parsed as JSON to the\nsame schema at the point of use and save.\n\nEvery field must survive carry-forward on a version save: dropping\n``extensions`` would make the branch tools vanish on reload, dropping\n``base_tool`` would break the bind, dropping ``description`` would strip the\ntool's description, dropping ``output_schema`` would silently un-enforce the\nstructured output, dropping ``input_schema`` would silently un-enforce the\nstructured input, and dropping ``input_map`` or ``output_map`` would silently\nchange what the base tool receives or what the caller gets back.\n\nA ``fixed_kwargs`` scalar-string value written ``!ENV ${VAR}`` is a SECRET\nREFERENCE, not a credential: the server resolves it from the environment at bind\nand the store keeps only the reference — never the resolved value.";
|
|
4829
4849
|
readonly properties: {
|
|
4830
4850
|
readonly base_tool: {
|
|
4831
4851
|
readonly title: "Base Tool";
|
|
@@ -4858,6 +4878,17 @@ export declare const servedDocumentsJson: {
|
|
|
4858
4878
|
readonly title: "Fixed Kwargs";
|
|
4859
4879
|
readonly type: "object";
|
|
4860
4880
|
};
|
|
4881
|
+
readonly input_map: {
|
|
4882
|
+
readonly anyOf: readonly [{
|
|
4883
|
+
readonly $ref: "#/$defs/TemplatedText";
|
|
4884
|
+
}, {
|
|
4885
|
+
readonly type: "string";
|
|
4886
|
+
}, {
|
|
4887
|
+
readonly type: "null";
|
|
4888
|
+
}];
|
|
4889
|
+
readonly default: null;
|
|
4890
|
+
readonly title: "Input Map";
|
|
4891
|
+
};
|
|
4861
4892
|
readonly input_schema: {
|
|
4862
4893
|
readonly anyOf: readonly [{
|
|
4863
4894
|
readonly $ref: "#/$defs/TemplatedText";
|
|
@@ -4870,6 +4901,17 @@ export declare const servedDocumentsJson: {
|
|
|
4870
4901
|
readonly default: null;
|
|
4871
4902
|
readonly title: "Input Schema";
|
|
4872
4903
|
};
|
|
4904
|
+
readonly output_map: {
|
|
4905
|
+
readonly anyOf: readonly [{
|
|
4906
|
+
readonly $ref: "#/$defs/TemplatedText";
|
|
4907
|
+
}, {
|
|
4908
|
+
readonly type: "string";
|
|
4909
|
+
}, {
|
|
4910
|
+
readonly type: "null";
|
|
4911
|
+
}];
|
|
4912
|
+
readonly default: null;
|
|
4913
|
+
readonly title: "Output Map";
|
|
4914
|
+
};
|
|
4873
4915
|
readonly output_schema: {
|
|
4874
4916
|
readonly anyOf: readonly [{
|
|
4875
4917
|
readonly $ref: "#/$defs/TemplatedText";
|
|
@@ -5194,7 +5236,7 @@ export declare const servedDocumentsJson: {
|
|
|
5194
5236
|
};
|
|
5195
5237
|
};
|
|
5196
5238
|
};
|
|
5197
|
-
readonly description: "A declared default preset a plugin ships for import-time seeding.\n\nA seed names the preset (``name``), its human ``description``, the\n``base_tool`` it binds, and the ``fixed_kwargs`` baked in — the same body a\n:class:`PresetBody` carries — plus the optional author ``input_schema`` /\n``output_schema`` and optional ``tool_meta`` display seed. The applier creates\nor upgrades the preset from this shape; the contract holds only the SHAPE,\nnever the applier logic.\n\nA ``fixed_kwargs`` scalar-string value written ``!ENV ${VAR}`` is a SECRET\nREFERENCE, not a credential: the server resolves it from the environment at bind\nand the store keeps only the reference — never the resolved value.";
|
|
5239
|
+
readonly description: "A declared default preset a plugin ships for import-time seeding.\n\nA seed names the preset (``name``), its human ``description``, the\n``base_tool`` it binds, and the ``fixed_kwargs`` baked in — the same body a\n:class:`PresetBody` carries — plus the optional author ``input_schema`` /\n``output_schema``, ``input_map`` / ``output_map`` and optional ``tool_meta`` display seed. The applier creates\nor upgrades the preset from this shape; the contract holds only the SHAPE,\nnever the applier logic.\n\nA ``fixed_kwargs`` scalar-string value written ``!ENV ${VAR}`` is a SECRET\nREFERENCE, not a credential: the server resolves it from the environment at bind\nand the store keeps only the reference — never the resolved value.";
|
|
5198
5240
|
readonly properties: {
|
|
5199
5241
|
readonly base_tool: {
|
|
5200
5242
|
readonly title: "Base Tool";
|
|
@@ -5211,6 +5253,17 @@ export declare const servedDocumentsJson: {
|
|
|
5211
5253
|
readonly title: "Fixed Kwargs";
|
|
5212
5254
|
readonly type: "object";
|
|
5213
5255
|
};
|
|
5256
|
+
readonly input_map: {
|
|
5257
|
+
readonly anyOf: readonly [{
|
|
5258
|
+
readonly $ref: "#/$defs/TemplatedText";
|
|
5259
|
+
}, {
|
|
5260
|
+
readonly type: "string";
|
|
5261
|
+
}, {
|
|
5262
|
+
readonly type: "null";
|
|
5263
|
+
}];
|
|
5264
|
+
readonly default: null;
|
|
5265
|
+
readonly title: "Input Map";
|
|
5266
|
+
};
|
|
5214
5267
|
readonly input_schema: {
|
|
5215
5268
|
readonly anyOf: readonly [{
|
|
5216
5269
|
readonly $ref: "#/$defs/TemplatedText";
|
|
@@ -5227,6 +5280,17 @@ export declare const servedDocumentsJson: {
|
|
|
5227
5280
|
readonly title: "Name";
|
|
5228
5281
|
readonly type: "string";
|
|
5229
5282
|
};
|
|
5283
|
+
readonly output_map: {
|
|
5284
|
+
readonly anyOf: readonly [{
|
|
5285
|
+
readonly $ref: "#/$defs/TemplatedText";
|
|
5286
|
+
}, {
|
|
5287
|
+
readonly type: "string";
|
|
5288
|
+
}, {
|
|
5289
|
+
readonly type: "null";
|
|
5290
|
+
}];
|
|
5291
|
+
readonly default: null;
|
|
5292
|
+
readonly title: "Output Map";
|
|
5293
|
+
};
|
|
5230
5294
|
readonly output_schema: {
|
|
5231
5295
|
readonly anyOf: readonly [{
|
|
5232
5296
|
readonly $ref: "#/$defs/TemplatedText";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"served-schemas.d.ts","sourceRoot":"","sources":["../../src/generated/served-schemas.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,YAAY;;;;;;;;iBAA6K,CAAC;AACvM,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,eAAO,MAAM,aAAa;;;;;;;;;;iBAA4L,CAAC;AACvN,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,UAAU;;;;;;;;;;;;;kBAAitC,CAAC;AACzuC,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAulC,CAAC;AACznC,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwvOtB,CAAC"}
|
|
@@ -31,9 +31,9 @@ export const stateBinding = z.object({ "states": z.array(stateAttach).min(1) }).
|
|
|
31
31
|
export const hookParams = z.object({ "cancel_expr": templatedText.nullable().default(null), "condition": templatedText.nullable().default(null), "execution_key": z.string().min(1), "execution_key_fingerprint": z.string().min(1), "extras_expr": templatedText.nullable().default(null), "name": z.string().min(1), "resume_expr": templatedText.nullable().default(null), "start_expr": templatedText.nullable().default(null), "state_binding": stateBinding.nullable().default(null), "subject": hookSubject.nullable().default(null), "tool": z.string().min(1), "tool_kwargs": z.record(z.string(), z.unknown()).default({}), "topic": z.string().min(1) });
|
|
32
32
|
export const hookRegister = z.object({ "cancel_expr": templatedText.nullable().default(null), "condition": templatedText.nullable().default(null), "execution_key": z.string().min(1), "extras_expr": templatedText.nullable().default(null), "name": z.string().min(1), "resume_expr": templatedText.nullable().default(null), "start_expr": templatedText.nullable().default(null), "state_binding": stateBinding.nullable().default(null), "subject": hookSubject.nullable().default(null), "tool": z.string().min(1), "tool_kwargs": z.record(z.string(), z.unknown()).default({}), "topic": z.string().min(1) });
|
|
33
33
|
export const intervalCadence = z.object({ "every": z.number().gt(0), "kind": z.literal("interval").default("interval"), "relative": z.boolean().default(false) }).strict();
|
|
34
|
-
export const presetBody = z.object({ "base_tool": z.string(), "description": z.string(), "extensions": z.array(z.array(z.union([z.string(), z.record(z.string(), z.unknown())]))).default([]), "fixed_kwargs": z.record(z.string(), z.unknown()).default({}), "input_schema": z.union([templatedText, z.record(z.string(), z.unknown()), z.null()]).default(null), "output_schema": z.union([templatedText, z.record(z.string(), z.unknown()), z.null()]).default(null), "state_binding": stateBinding.nullable().default(null) });
|
|
34
|
+
export const presetBody = z.object({ "base_tool": z.string(), "description": z.string(), "extensions": z.array(z.array(z.union([z.string(), z.record(z.string(), z.unknown())]))).default([]), "fixed_kwargs": z.record(z.string(), z.unknown()).default({}), "input_map": z.union([templatedText, z.string(), z.null()]).default(null), "input_schema": z.union([templatedText, z.record(z.string(), z.unknown()), z.null()]).default(null), "output_map": z.union([templatedText, z.string(), z.null()]).default(null), "output_schema": z.union([templatedText, z.record(z.string(), z.unknown()), z.null()]).default(null), "state_binding": stateBinding.nullable().default(null) });
|
|
35
35
|
export const presetSeedToolMeta = z.object({ "display_name": z.string().nullable().default(null), "folder_path": z.string().nullable().default(null), "tags": z.array(z.string()).nullable().default(null) });
|
|
36
|
-
export const presetSeed = z.object({ "base_tool": z.string(), "description": z.string(), "fixed_kwargs": z.record(z.string(), z.unknown()).default({}), "input_schema": z.union([templatedText, z.record(z.string(), z.unknown()), z.null()]).default(null), "name": z.string(), "output_schema": z.union([templatedText, z.record(z.string(), z.unknown()), z.null()]).default(null), "state_binding": stateBinding.nullable().default(null), "tool_meta": presetSeedToolMeta.nullable().default(null) });
|
|
36
|
+
export const presetSeed = z.object({ "base_tool": z.string(), "description": z.string(), "fixed_kwargs": z.record(z.string(), z.unknown()).default({}), "input_map": z.union([templatedText, z.string(), z.null()]).default(null), "input_schema": z.union([templatedText, z.record(z.string(), z.unknown()), z.null()]).default(null), "name": z.string(), "output_map": z.union([templatedText, z.string(), z.null()]).default(null), "output_schema": z.union([templatedText, z.record(z.string(), z.unknown()), z.null()]).default(null), "state_binding": stateBinding.nullable().default(null), "tool_meta": presetSeedToolMeta.nullable().default(null) });
|
|
37
37
|
export const previousProfileName = z.literal("@previous");
|
|
38
38
|
export const roleDefinition = z.object({ "allow_all": z.boolean().default(false), "base_tier": z.string().nullable().default(null), "condition": templatedText.nullable().default(null), "description": z.string(), "grants": z.record(z.string(), z.enum(["none", "read", "write"])), "name": z.string(), "scopes": z.array(z.string()).default([]) });
|
|
39
39
|
export const stateSubject = z.object({ "key": z.string(), "kind": z.string(), "target_kind": z.enum(["agent", "tool"]), "target_name": z.string().min(1) }).strict();
|
|
@@ -4202,7 +4202,7 @@ export const servedDocumentsJson = {
|
|
|
4202
4202
|
}
|
|
4203
4203
|
}
|
|
4204
4204
|
},
|
|
4205
|
-
"description": "The persisted body of a versioned preset.\n\n``base_tool`` is the tool the preset binds; ``description`` is the preset's\nhuman description; ``fixed_kwargs`` are the baked kwargs (each becomes a\nhidden, fixed constant on the bound tool). ``extensions`` is a list of\nextension COMBOS — the SAME shape as a manifest ``extensions`` map value,\neach combo element an extension name or a ``{\"name\", \"config\"}`` mapping\nbinding author config (e.g. an ``ask_external`` verifier) — fed unconverted\nto the structured runtime-attach API at register (an empty outer list means\nno extensions; an empty INNER combo is rejected by the validating view).\n``output_schema`` is an optional author-set OUTPUT JSON Schema (an object\nschema): on an AGENT base it is baked into the run tool's ``response_format``\nso the agent FORCES a structured output matching it; on a plain tool it is\nadvertised as the bound tool's output schema and every result is validated\nagainst it at run time — a park is a suspend signal, not a result, and passes.\n``input_schema`` is an optional author-set INPUT JSON\nSchema: it becomes the exposed named tool's input contract, and the caller's\nvalidated object is routed into the base tool's declared payload argument (see\n:class:`PresetInputSchemaSupport`). Only a base tool that DECLARES input-schema\nsupport accepts one; otherwise a set ``input_schema`` is a loud authoring error.\n\nEach schema is the ``TemplatedText | dict`` union: an inline ``dict`` is the JSON\nSchema document itself; a :class:`~tai42_contract.template.TemplatedText` names a stored\nschema by ``id`` (or carries it inline as ``content``), rendered and parsed as JSON to the\nsame schema at the point of use and save.\n\nEvery field must survive carry-forward on a version save: dropping\n``extensions`` would make the branch tools vanish on reload, dropping\n``base_tool`` would break the bind, dropping ``description`` would strip the\ntool's description, dropping ``output_schema`` would silently un-enforce the\nstructured output,
|
|
4205
|
+
"description": "The persisted body of a versioned preset.\n\n``base_tool`` is the tool the preset binds; ``description`` is the preset's\nhuman description; ``fixed_kwargs`` are the baked kwargs (each becomes a\nhidden, fixed constant on the bound tool). ``extensions`` is a list of\nextension COMBOS — the SAME shape as a manifest ``extensions`` map value,\neach combo element an extension name or a ``{\"name\", \"config\"}`` mapping\nbinding author config (e.g. an ``ask_external`` verifier) — fed unconverted\nto the structured runtime-attach API at register (an empty outer list means\nno extensions; an empty INNER combo is rejected by the validating view).\n``output_schema`` is an optional author-set OUTPUT JSON Schema (an object\nschema): on an AGENT base it is baked into the run tool's ``response_format``\nso the agent FORCES a structured output matching it; on a plain tool it is\nadvertised as the bound tool's output schema and every result is validated\nagainst it at run time — a park is a suspend signal, not a result, and passes.\n``input_schema`` is an optional author-set INPUT JSON\nSchema: it becomes the exposed named tool's input contract, and the caller's\nvalidated object is routed into the base tool's declared payload argument (see\n:class:`PresetInputSchemaSupport`). Only a base tool that DECLARES input-schema\nsupport accepts one; otherwise a set ``input_schema`` is a loud authoring error.\n\n``input_map`` and ``output_map`` are optional jq programs. With an ``input_map`` the\ncaller's object (validated against ``input_schema``, which the map requires) is mapped\nto the base tool's arguments, with the stored ``fixed_kwargs`` readable as ``$fixed``;\nthe mapped object is merged with ``fixed_kwargs`` and a key both set is refused, so a\nfixed value is never overridden. The base tool's result then passes the output stage:\n``output_map`` maps it, and ``output_schema`` validates what the map produced (or the\nraw result when there is no map). An output map never runs over a result that carries\na secret. A ``str`` map is the jq program itself; a\n:class:`~tai42_contract.template.TemplatedText` is rendered to the program.\n\nEach schema is the ``TemplatedText | dict`` union: an inline ``dict`` is the JSON\nSchema document itself; a :class:`~tai42_contract.template.TemplatedText` names a stored\nschema by ``id`` (or carries it inline as ``content``), rendered and parsed as JSON to the\nsame schema at the point of use and save.\n\nEvery field must survive carry-forward on a version save: dropping\n``extensions`` would make the branch tools vanish on reload, dropping\n``base_tool`` would break the bind, dropping ``description`` would strip the\ntool's description, dropping ``output_schema`` would silently un-enforce the\nstructured output, dropping ``input_schema`` would silently un-enforce the\nstructured input, and dropping ``input_map`` or ``output_map`` would silently\nchange what the base tool receives or what the caller gets back.\n\nA ``fixed_kwargs`` scalar-string value written ``!ENV ${VAR}`` is a SECRET\nREFERENCE, not a credential: the server resolves it from the environment at bind\nand the store keeps only the reference — never the resolved value.",
|
|
4206
4206
|
"properties": {
|
|
4207
4207
|
"base_tool": {
|
|
4208
4208
|
"title": "Base Tool",
|
|
@@ -4238,6 +4238,21 @@ export const servedDocumentsJson = {
|
|
|
4238
4238
|
"title": "Fixed Kwargs",
|
|
4239
4239
|
"type": "object"
|
|
4240
4240
|
},
|
|
4241
|
+
"input_map": {
|
|
4242
|
+
"anyOf": [
|
|
4243
|
+
{
|
|
4244
|
+
"$ref": "#/$defs/TemplatedText"
|
|
4245
|
+
},
|
|
4246
|
+
{
|
|
4247
|
+
"type": "string"
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
"type": "null"
|
|
4251
|
+
}
|
|
4252
|
+
],
|
|
4253
|
+
"default": null,
|
|
4254
|
+
"title": "Input Map"
|
|
4255
|
+
},
|
|
4241
4256
|
"input_schema": {
|
|
4242
4257
|
"anyOf": [
|
|
4243
4258
|
{
|
|
@@ -4254,6 +4269,21 @@ export const servedDocumentsJson = {
|
|
|
4254
4269
|
"default": null,
|
|
4255
4270
|
"title": "Input Schema"
|
|
4256
4271
|
},
|
|
4272
|
+
"output_map": {
|
|
4273
|
+
"anyOf": [
|
|
4274
|
+
{
|
|
4275
|
+
"$ref": "#/$defs/TemplatedText"
|
|
4276
|
+
},
|
|
4277
|
+
{
|
|
4278
|
+
"type": "string"
|
|
4279
|
+
},
|
|
4280
|
+
{
|
|
4281
|
+
"type": "null"
|
|
4282
|
+
}
|
|
4283
|
+
],
|
|
4284
|
+
"default": null,
|
|
4285
|
+
"title": "Output Map"
|
|
4286
|
+
},
|
|
4257
4287
|
"output_schema": {
|
|
4258
4288
|
"anyOf": [
|
|
4259
4289
|
{
|
|
@@ -4640,7 +4670,7 @@ export const servedDocumentsJson = {
|
|
|
4640
4670
|
}
|
|
4641
4671
|
}
|
|
4642
4672
|
},
|
|
4643
|
-
"description": "A declared default preset a plugin ships for import-time seeding.\n\nA seed names the preset (``name``), its human ``description``, the\n``base_tool`` it binds, and the ``fixed_kwargs`` baked in — the same body a\n:class:`PresetBody` carries — plus the optional author ``input_schema`` /\n``output_schema`` and optional ``tool_meta`` display seed. The applier creates\nor upgrades the preset from this shape; the contract holds only the SHAPE,\nnever the applier logic.\n\nA ``fixed_kwargs`` scalar-string value written ``!ENV ${VAR}`` is a SECRET\nREFERENCE, not a credential: the server resolves it from the environment at bind\nand the store keeps only the reference — never the resolved value.",
|
|
4673
|
+
"description": "A declared default preset a plugin ships for import-time seeding.\n\nA seed names the preset (``name``), its human ``description``, the\n``base_tool`` it binds, and the ``fixed_kwargs`` baked in — the same body a\n:class:`PresetBody` carries — plus the optional author ``input_schema`` /\n``output_schema``, ``input_map`` / ``output_map`` and optional ``tool_meta`` display seed. The applier creates\nor upgrades the preset from this shape; the contract holds only the SHAPE,\nnever the applier logic.\n\nA ``fixed_kwargs`` scalar-string value written ``!ENV ${VAR}`` is a SECRET\nREFERENCE, not a credential: the server resolves it from the environment at bind\nand the store keeps only the reference — never the resolved value.",
|
|
4644
4674
|
"properties": {
|
|
4645
4675
|
"base_tool": {
|
|
4646
4676
|
"title": "Base Tool",
|
|
@@ -4657,6 +4687,21 @@ export const servedDocumentsJson = {
|
|
|
4657
4687
|
"title": "Fixed Kwargs",
|
|
4658
4688
|
"type": "object"
|
|
4659
4689
|
},
|
|
4690
|
+
"input_map": {
|
|
4691
|
+
"anyOf": [
|
|
4692
|
+
{
|
|
4693
|
+
"$ref": "#/$defs/TemplatedText"
|
|
4694
|
+
},
|
|
4695
|
+
{
|
|
4696
|
+
"type": "string"
|
|
4697
|
+
},
|
|
4698
|
+
{
|
|
4699
|
+
"type": "null"
|
|
4700
|
+
}
|
|
4701
|
+
],
|
|
4702
|
+
"default": null,
|
|
4703
|
+
"title": "Input Map"
|
|
4704
|
+
},
|
|
4660
4705
|
"input_schema": {
|
|
4661
4706
|
"anyOf": [
|
|
4662
4707
|
{
|
|
@@ -4677,6 +4722,21 @@ export const servedDocumentsJson = {
|
|
|
4677
4722
|
"title": "Name",
|
|
4678
4723
|
"type": "string"
|
|
4679
4724
|
},
|
|
4725
|
+
"output_map": {
|
|
4726
|
+
"anyOf": [
|
|
4727
|
+
{
|
|
4728
|
+
"$ref": "#/$defs/TemplatedText"
|
|
4729
|
+
},
|
|
4730
|
+
{
|
|
4731
|
+
"type": "string"
|
|
4732
|
+
},
|
|
4733
|
+
{
|
|
4734
|
+
"type": "null"
|
|
4735
|
+
}
|
|
4736
|
+
],
|
|
4737
|
+
"default": null,
|
|
4738
|
+
"title": "Output Map"
|
|
4739
|
+
},
|
|
4680
4740
|
"output_schema": {
|
|
4681
4741
|
"anyOf": [
|
|
4682
4742
|
{
|