@converge.ai/a13n 0.1.0 → 0.3.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/resources/generated.d.ts +1233 -1172
- package/dist/resources/generated.d.ts.map +1 -1
- package/dist/resources/generated.js +58 -0
- package/dist/resources/generated.js.map +1 -1
- package/dist/schema.d.ts +341 -4
- package/dist/schema.d.ts.map +1 -1
- package/dist/semantic.d.ts +2 -0
- package/dist/semantic.d.ts.map +1 -1
- package/dist/session-stream-schema.d.ts +65 -2
- package/dist/session-stream-schema.d.ts.map +1 -1
- package/dist/session-stream-validation.d.ts.map +1 -1
- package/dist/session-stream-validation.js +2491 -1298
- package/dist/session-stream-validation.js.map +1 -1
- package/dist/workflow.d.ts.map +1 -1
- package/dist/workspace-scope.d.ts.map +1 -1
- package/dist/workspace-scope.js +5 -0
- package/dist/workspace-scope.js.map +1 -1
- package/openapi.json +899 -197
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -915,6 +915,75 @@ export interface paths {
|
|
|
915
915
|
patch: operations["change_client_environment_status"];
|
|
916
916
|
trace?: never;
|
|
917
917
|
};
|
|
918
|
+
"/api/v1/cloudflare-deployments": {
|
|
919
|
+
parameters: {
|
|
920
|
+
query?: never;
|
|
921
|
+
header?: never;
|
|
922
|
+
path?: never;
|
|
923
|
+
cookie?: never;
|
|
924
|
+
};
|
|
925
|
+
/** List Cloudflare Deployments */
|
|
926
|
+
get: operations["list_cloudflare_deployments"];
|
|
927
|
+
put?: never;
|
|
928
|
+
/** Create Cloudflare Deployment */
|
|
929
|
+
post: operations["create_cloudflare_deployment"];
|
|
930
|
+
delete?: never;
|
|
931
|
+
options?: never;
|
|
932
|
+
head?: never;
|
|
933
|
+
patch?: never;
|
|
934
|
+
trace?: never;
|
|
935
|
+
};
|
|
936
|
+
"/api/v1/cloudflare-deployments/{deployment_id}": {
|
|
937
|
+
parameters: {
|
|
938
|
+
query?: never;
|
|
939
|
+
header?: never;
|
|
940
|
+
path?: never;
|
|
941
|
+
cookie?: never;
|
|
942
|
+
};
|
|
943
|
+
/** Get Cloudflare Deployment */
|
|
944
|
+
get: operations["get_cloudflare_deployment"];
|
|
945
|
+
put?: never;
|
|
946
|
+
post?: never;
|
|
947
|
+
delete?: never;
|
|
948
|
+
options?: never;
|
|
949
|
+
head?: never;
|
|
950
|
+
patch?: never;
|
|
951
|
+
trace?: never;
|
|
952
|
+
};
|
|
953
|
+
"/api/v1/cloudflare-deployments/{deployment_id}/retire": {
|
|
954
|
+
parameters: {
|
|
955
|
+
query?: never;
|
|
956
|
+
header?: never;
|
|
957
|
+
path?: never;
|
|
958
|
+
cookie?: never;
|
|
959
|
+
};
|
|
960
|
+
get?: never;
|
|
961
|
+
put?: never;
|
|
962
|
+
/** Retire Cloudflare Deployment */
|
|
963
|
+
post: operations["retire_cloudflare_deployment"];
|
|
964
|
+
delete?: never;
|
|
965
|
+
options?: never;
|
|
966
|
+
head?: never;
|
|
967
|
+
patch?: never;
|
|
968
|
+
trace?: never;
|
|
969
|
+
};
|
|
970
|
+
"/api/v1/cloudflare-deployments/{deployment_id}/retry": {
|
|
971
|
+
parameters: {
|
|
972
|
+
query?: never;
|
|
973
|
+
header?: never;
|
|
974
|
+
path?: never;
|
|
975
|
+
cookie?: never;
|
|
976
|
+
};
|
|
977
|
+
get?: never;
|
|
978
|
+
put?: never;
|
|
979
|
+
/** Retry Cloudflare Deployment */
|
|
980
|
+
post: operations["retry_cloudflare_deployment"];
|
|
981
|
+
delete?: never;
|
|
982
|
+
options?: never;
|
|
983
|
+
head?: never;
|
|
984
|
+
patch?: never;
|
|
985
|
+
trace?: never;
|
|
986
|
+
};
|
|
918
987
|
"/api/v1/connections": {
|
|
919
988
|
parameters: {
|
|
920
989
|
query?: never;
|
|
@@ -6781,6 +6850,28 @@ export interface components {
|
|
|
6781
6850
|
*/
|
|
6782
6851
|
permission_ceiling?: components["schemas"]["EnvironmentPermissionSet-Output"];
|
|
6783
6852
|
};
|
|
6853
|
+
/** ClientOutputAlternative */
|
|
6854
|
+
ClientOutputAlternative: {
|
|
6855
|
+
/** Description */
|
|
6856
|
+
description?: string | null;
|
|
6857
|
+
/**
|
|
6858
|
+
* @description discriminator enum property added by openapi-typescript
|
|
6859
|
+
* @enum {string}
|
|
6860
|
+
*/
|
|
6861
|
+
kind: "client_tool";
|
|
6862
|
+
/** Name */
|
|
6863
|
+
name: string;
|
|
6864
|
+
/** Resources */
|
|
6865
|
+
resources?: {
|
|
6866
|
+
[key: string]: {
|
|
6867
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
6868
|
+
};
|
|
6869
|
+
};
|
|
6870
|
+
/** Schema */
|
|
6871
|
+
schema: {
|
|
6872
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
6873
|
+
};
|
|
6874
|
+
};
|
|
6784
6875
|
/**
|
|
6785
6876
|
* ClientToolDefinition
|
|
6786
6877
|
* @description Portable model guidance for one externally executed client tool.
|
|
@@ -7659,6 +7750,67 @@ export interface components {
|
|
|
7659
7750
|
/** Reason */
|
|
7660
7751
|
reason?: string | null;
|
|
7661
7752
|
};
|
|
7753
|
+
/** Deployment */
|
|
7754
|
+
Deployment: {
|
|
7755
|
+
/** Account Id */
|
|
7756
|
+
account_id: string;
|
|
7757
|
+
/** Cleanup */
|
|
7758
|
+
cleanup: {
|
|
7759
|
+
[key: string]: "removed" | "pending" | "not_created";
|
|
7760
|
+
};
|
|
7761
|
+
/** Endpoint */
|
|
7762
|
+
endpoint: string | null;
|
|
7763
|
+
/** Error */
|
|
7764
|
+
error: string | null;
|
|
7765
|
+
/** Id */
|
|
7766
|
+
id: string;
|
|
7767
|
+
/** Name */
|
|
7768
|
+
name: string;
|
|
7769
|
+
/**
|
|
7770
|
+
* Operation
|
|
7771
|
+
* @enum {string}
|
|
7772
|
+
*/
|
|
7773
|
+
operation: "deploy" | "retire";
|
|
7774
|
+
/** Provider Id */
|
|
7775
|
+
provider_id: string | null;
|
|
7776
|
+
/** Source Image */
|
|
7777
|
+
source_image: string;
|
|
7778
|
+
/** Stage */
|
|
7779
|
+
stage: string;
|
|
7780
|
+
/**
|
|
7781
|
+
* Status
|
|
7782
|
+
* @enum {string}
|
|
7783
|
+
*/
|
|
7784
|
+
status: "deploying" | "ready" | "retiring" | "needs_attention" | "retired";
|
|
7785
|
+
/** Version */
|
|
7786
|
+
version: number;
|
|
7787
|
+
/** Worker Name */
|
|
7788
|
+
worker_name: string;
|
|
7789
|
+
};
|
|
7790
|
+
/** DeploymentCreate */
|
|
7791
|
+
DeploymentCreate: {
|
|
7792
|
+
/** Account Id */
|
|
7793
|
+
account_id: string;
|
|
7794
|
+
/**
|
|
7795
|
+
* Api Token
|
|
7796
|
+
* Format: password
|
|
7797
|
+
*/
|
|
7798
|
+
api_token: string;
|
|
7799
|
+
/** Name */
|
|
7800
|
+
name: string;
|
|
7801
|
+
/**
|
|
7802
|
+
* Request Id
|
|
7803
|
+
* Format: uuid
|
|
7804
|
+
*/
|
|
7805
|
+
request_id: string;
|
|
7806
|
+
};
|
|
7807
|
+
/** DeploymentList */
|
|
7808
|
+
DeploymentList: {
|
|
7809
|
+
/** Available */
|
|
7810
|
+
available: boolean;
|
|
7811
|
+
/** Items */
|
|
7812
|
+
items: components["schemas"]["Deployment"][];
|
|
7813
|
+
};
|
|
7662
7814
|
/** DeploymentPreset */
|
|
7663
7815
|
DeploymentPreset: {
|
|
7664
7816
|
config: components["schemas"]["Configuration"];
|
|
@@ -7669,6 +7821,11 @@ export interface components {
|
|
|
7669
7821
|
/** Revision */
|
|
7670
7822
|
revision: string;
|
|
7671
7823
|
};
|
|
7824
|
+
/** DeploymentRetry */
|
|
7825
|
+
DeploymentRetry: {
|
|
7826
|
+
/** Api Token */
|
|
7827
|
+
api_token?: string | null;
|
|
7828
|
+
};
|
|
7672
7829
|
Description: string;
|
|
7673
7830
|
/** Device */
|
|
7674
7831
|
Device: {
|
|
@@ -7948,7 +8105,7 @@ export interface components {
|
|
|
7948
8105
|
* Kind
|
|
7949
8106
|
* @enum {string}
|
|
7950
8107
|
*/
|
|
7951
|
-
kind: "message" | "child_result";
|
|
8108
|
+
kind: "message" | "child_result" | "child_message";
|
|
7952
8109
|
/**
|
|
7953
8110
|
* Omitted Sections
|
|
7954
8111
|
* @default [
|
|
@@ -8021,7 +8178,7 @@ export interface components {
|
|
|
8021
8178
|
* Kind
|
|
8022
8179
|
* @enum {string}
|
|
8023
8180
|
*/
|
|
8024
|
-
kind: "message" | "child_result" | "tool_result" | "browser_handback" | "desktop_handback";
|
|
8181
|
+
kind: "message" | "child_result" | "child_message" | "tool_result" | "browser_handback" | "desktop_handback";
|
|
8025
8182
|
options: components["schemas"]["RunOptions-Output"];
|
|
8026
8183
|
/** Origin Run Id */
|
|
8027
8184
|
origin_run_id: string | null;
|
|
@@ -11184,6 +11341,8 @@ export interface components {
|
|
|
11184
11341
|
/** Name */
|
|
11185
11342
|
name?: string | null;
|
|
11186
11343
|
};
|
|
11344
|
+
OutputAlternative: components["schemas"]["OutputReference"] | components["schemas"]["OutputDefinition"];
|
|
11345
|
+
OutputDefinition: components["schemas"]["StructuredOutputAlternative"] | components["schemas"]["ClientOutputAlternative"];
|
|
11187
11346
|
/** OutputPreview */
|
|
11188
11347
|
OutputPreview: {
|
|
11189
11348
|
/** Observation Closed */
|
|
@@ -11195,6 +11354,7 @@ export interface components {
|
|
|
11195
11354
|
/** Truncated */
|
|
11196
11355
|
truncated: boolean;
|
|
11197
11356
|
};
|
|
11357
|
+
OutputReference: string;
|
|
11198
11358
|
/**
|
|
11199
11359
|
* OutputSpec
|
|
11200
11360
|
* @description Plain text without a schema, one structured output, or at least two named variants.
|
|
@@ -11202,6 +11362,8 @@ export interface components {
|
|
|
11202
11362
|
* `resources` are the schemas `$ref`s may name besides the schema's own definitions.
|
|
11203
11363
|
*/
|
|
11204
11364
|
OutputSpec: {
|
|
11365
|
+
/** Alternatives */
|
|
11366
|
+
alternatives?: components["schemas"]["OutputAlternative"][] | null;
|
|
11205
11367
|
/** Description */
|
|
11206
11368
|
description?: string | null;
|
|
11207
11369
|
/** Name */
|
|
@@ -11396,6 +11558,11 @@ export interface components {
|
|
|
11396
11558
|
presentation?: {
|
|
11397
11559
|
[key: string]: components["schemas"]["JsonValue"];
|
|
11398
11560
|
} | null;
|
|
11561
|
+
/**
|
|
11562
|
+
* Terminal
|
|
11563
|
+
* @default false
|
|
11564
|
+
*/
|
|
11565
|
+
terminal?: boolean;
|
|
11399
11566
|
tool_call_id: components["schemas"]["ToolCallId"];
|
|
11400
11567
|
/** Tool Name */
|
|
11401
11568
|
tool_name: string;
|
|
@@ -11652,6 +11819,11 @@ export interface components {
|
|
|
11652
11819
|
header_names: string[];
|
|
11653
11820
|
/** Id */
|
|
11654
11821
|
id: string;
|
|
11822
|
+
/**
|
|
11823
|
+
* Managed Deployment
|
|
11824
|
+
* @default false
|
|
11825
|
+
*/
|
|
11826
|
+
managed_deployment?: boolean;
|
|
11655
11827
|
/** Name */
|
|
11656
11828
|
name: string;
|
|
11657
11829
|
/** Organization Id */
|
|
@@ -13696,6 +13868,28 @@ export interface components {
|
|
|
13696
13868
|
};
|
|
13697
13869
|
/** @enum {string} */
|
|
13698
13870
|
Steering: "boundary" | "immediate";
|
|
13871
|
+
/** StructuredOutputAlternative */
|
|
13872
|
+
StructuredOutputAlternative: {
|
|
13873
|
+
/** Description */
|
|
13874
|
+
description?: string | null;
|
|
13875
|
+
/**
|
|
13876
|
+
* @description discriminator enum property added by openapi-typescript
|
|
13877
|
+
* @enum {string}
|
|
13878
|
+
*/
|
|
13879
|
+
kind: "structured";
|
|
13880
|
+
/** Name */
|
|
13881
|
+
name: string;
|
|
13882
|
+
/** Resources */
|
|
13883
|
+
resources?: {
|
|
13884
|
+
[key: string]: {
|
|
13885
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
13886
|
+
};
|
|
13887
|
+
};
|
|
13888
|
+
/** Schema */
|
|
13889
|
+
schema: {
|
|
13890
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
13891
|
+
};
|
|
13892
|
+
};
|
|
13699
13893
|
/** SubagentSelection */
|
|
13700
13894
|
"SubagentSelection-Input": {
|
|
13701
13895
|
/** Agent Id */
|
|
@@ -14519,7 +14713,7 @@ export interface components {
|
|
|
14519
14713
|
total: number;
|
|
14520
14714
|
};
|
|
14521
14715
|
/** @enum {string} */
|
|
14522
|
-
Trigger: "input" | "queued" | "resume" | "child_result" | "tool_result" | "browser_handback" | "desktop_handback" | "spawned";
|
|
14716
|
+
Trigger: "input" | "queued" | "resume" | "child_result" | "child_message" | "tool_result" | "browser_handback" | "desktop_handback" | "spawned";
|
|
14523
14717
|
/** TypedQuery */
|
|
14524
14718
|
TypedQuery: {
|
|
14525
14719
|
/**
|
|
@@ -16792,6 +16986,149 @@ export interface operations {
|
|
|
16792
16986
|
default: components["responses"]["Error"];
|
|
16793
16987
|
};
|
|
16794
16988
|
};
|
|
16989
|
+
list_cloudflare_deployments: {
|
|
16990
|
+
parameters: {
|
|
16991
|
+
query?: never;
|
|
16992
|
+
header?: {
|
|
16993
|
+
/** @description The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden. */
|
|
16994
|
+
"X-Workspace-ID"?: string | null;
|
|
16995
|
+
};
|
|
16996
|
+
path?: never;
|
|
16997
|
+
cookie?: never;
|
|
16998
|
+
};
|
|
16999
|
+
requestBody?: never;
|
|
17000
|
+
responses: {
|
|
17001
|
+
/** @description Successful Response */
|
|
17002
|
+
200: {
|
|
17003
|
+
headers: {
|
|
17004
|
+
[name: string]: unknown;
|
|
17005
|
+
};
|
|
17006
|
+
content: {
|
|
17007
|
+
"application/json": components["schemas"]["DeploymentList"];
|
|
17008
|
+
};
|
|
17009
|
+
};
|
|
17010
|
+
400: components["responses"]["Error"];
|
|
17011
|
+
default: components["responses"]["Error"];
|
|
17012
|
+
};
|
|
17013
|
+
};
|
|
17014
|
+
create_cloudflare_deployment: {
|
|
17015
|
+
parameters: {
|
|
17016
|
+
query?: never;
|
|
17017
|
+
header?: {
|
|
17018
|
+
/** @description The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden. */
|
|
17019
|
+
"X-Workspace-ID"?: string | null;
|
|
17020
|
+
};
|
|
17021
|
+
path?: never;
|
|
17022
|
+
cookie?: never;
|
|
17023
|
+
};
|
|
17024
|
+
requestBody: {
|
|
17025
|
+
content: {
|
|
17026
|
+
"application/json": components["schemas"]["DeploymentCreate"];
|
|
17027
|
+
};
|
|
17028
|
+
};
|
|
17029
|
+
responses: {
|
|
17030
|
+
/** @description Successful Response */
|
|
17031
|
+
202: {
|
|
17032
|
+
headers: {
|
|
17033
|
+
[name: string]: unknown;
|
|
17034
|
+
};
|
|
17035
|
+
content: {
|
|
17036
|
+
"application/json": components["schemas"]["Deployment"];
|
|
17037
|
+
};
|
|
17038
|
+
};
|
|
17039
|
+
400: components["responses"]["Error"];
|
|
17040
|
+
default: components["responses"]["Error"];
|
|
17041
|
+
};
|
|
17042
|
+
};
|
|
17043
|
+
get_cloudflare_deployment: {
|
|
17044
|
+
parameters: {
|
|
17045
|
+
query?: never;
|
|
17046
|
+
header?: {
|
|
17047
|
+
/** @description The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden. */
|
|
17048
|
+
"X-Workspace-ID"?: string | null;
|
|
17049
|
+
};
|
|
17050
|
+
path: {
|
|
17051
|
+
deployment_id: string;
|
|
17052
|
+
};
|
|
17053
|
+
cookie?: never;
|
|
17054
|
+
};
|
|
17055
|
+
requestBody?: never;
|
|
17056
|
+
responses: {
|
|
17057
|
+
/** @description Successful Response */
|
|
17058
|
+
200: {
|
|
17059
|
+
headers: {
|
|
17060
|
+
[name: string]: unknown;
|
|
17061
|
+
};
|
|
17062
|
+
content: {
|
|
17063
|
+
"application/json": components["schemas"]["Deployment"];
|
|
17064
|
+
};
|
|
17065
|
+
};
|
|
17066
|
+
400: components["responses"]["Error"];
|
|
17067
|
+
default: components["responses"]["Error"];
|
|
17068
|
+
};
|
|
17069
|
+
};
|
|
17070
|
+
retire_cloudflare_deployment: {
|
|
17071
|
+
parameters: {
|
|
17072
|
+
query?: never;
|
|
17073
|
+
header?: {
|
|
17074
|
+
/** @description The resource's ETag: `"{id}:{version}"` of its current view, `"{key}:{version}"` for a model */
|
|
17075
|
+
"If-Match"?: string | null;
|
|
17076
|
+
/** @description The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden. */
|
|
17077
|
+
"X-Workspace-ID"?: string | null;
|
|
17078
|
+
};
|
|
17079
|
+
path: {
|
|
17080
|
+
deployment_id: string;
|
|
17081
|
+
};
|
|
17082
|
+
cookie?: never;
|
|
17083
|
+
};
|
|
17084
|
+
requestBody?: never;
|
|
17085
|
+
responses: {
|
|
17086
|
+
/** @description Successful Response */
|
|
17087
|
+
202: {
|
|
17088
|
+
headers: {
|
|
17089
|
+
[name: string]: unknown;
|
|
17090
|
+
};
|
|
17091
|
+
content: {
|
|
17092
|
+
"application/json": components["schemas"]["Deployment"];
|
|
17093
|
+
};
|
|
17094
|
+
};
|
|
17095
|
+
400: components["responses"]["Error"];
|
|
17096
|
+
default: components["responses"]["Error"];
|
|
17097
|
+
};
|
|
17098
|
+
};
|
|
17099
|
+
retry_cloudflare_deployment: {
|
|
17100
|
+
parameters: {
|
|
17101
|
+
query?: never;
|
|
17102
|
+
header?: {
|
|
17103
|
+
/** @description The resource's ETag: `"{id}:{version}"` of its current view, `"{key}:{version}"` for a model */
|
|
17104
|
+
"If-Match"?: string | null;
|
|
17105
|
+
/** @description The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden. */
|
|
17106
|
+
"X-Workspace-ID"?: string | null;
|
|
17107
|
+
};
|
|
17108
|
+
path: {
|
|
17109
|
+
deployment_id: string;
|
|
17110
|
+
};
|
|
17111
|
+
cookie?: never;
|
|
17112
|
+
};
|
|
17113
|
+
requestBody: {
|
|
17114
|
+
content: {
|
|
17115
|
+
"application/json": components["schemas"]["DeploymentRetry"];
|
|
17116
|
+
};
|
|
17117
|
+
};
|
|
17118
|
+
responses: {
|
|
17119
|
+
/** @description Successful Response */
|
|
17120
|
+
202: {
|
|
17121
|
+
headers: {
|
|
17122
|
+
[name: string]: unknown;
|
|
17123
|
+
};
|
|
17124
|
+
content: {
|
|
17125
|
+
"application/json": components["schemas"]["Deployment"];
|
|
17126
|
+
};
|
|
17127
|
+
};
|
|
17128
|
+
400: components["responses"]["Error"];
|
|
17129
|
+
default: components["responses"]["Error"];
|
|
17130
|
+
};
|
|
17131
|
+
};
|
|
16795
17132
|
list_connections: {
|
|
16796
17133
|
parameters: {
|
|
16797
17134
|
query?: {
|
|
@@ -24216,7 +24553,7 @@ export interface operations {
|
|
|
24216
24553
|
status?: components["schemas"]["EntryStatus"][] | null;
|
|
24217
24554
|
/** @description Use compact for discovery; detailed preserves the original response. */
|
|
24218
24555
|
view?: components["schemas"]["ReadView"];
|
|
24219
|
-
kind?: ("message" | "child_result") | null;
|
|
24556
|
+
kind?: ("message" | "child_result" | "child_message") | null;
|
|
24220
24557
|
limit?: number | null;
|
|
24221
24558
|
cursor?: string | null;
|
|
24222
24559
|
};
|