@nimble-way/nimble-js 1.0.0 → 1.1.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/CHANGELOG.md +9 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agents/agents.d.mts +177 -21
- package/resources/agents/agents.d.mts.map +1 -1
- package/resources/agents/agents.d.ts +177 -21
- package/resources/agents/agents.d.ts.map +1 -1
- package/resources/agents/agents.js +7 -0
- package/resources/agents/agents.js.map +1 -1
- package/resources/agents/agents.mjs +7 -0
- package/resources/agents/agents.mjs.map +1 -1
- package/resources/agents/index.d.mts +1 -1
- package/resources/agents/index.d.mts.map +1 -1
- package/resources/agents/index.d.ts +1 -1
- package/resources/agents/index.d.ts.map +1 -1
- package/resources/agents/index.js.map +1 -1
- package/resources/agents/index.mjs.map +1 -1
- package/resources/agents/templates.d.mts +8 -8
- package/resources/agents/templates.d.mts.map +1 -1
- package/resources/agents/templates.d.ts +8 -8
- package/resources/agents/templates.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/src/client.ts +4 -0
- package/src/resources/agents/agents.ts +210 -25
- package/src/resources/agents/index.ts +2 -0
- package/src/resources/agents/templates.ts +10 -10
- package/src/resources/index.ts +2 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB,2BAAwB;AACzB,OAAO,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,qBAAkB;AACvF,OAAO,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB,mBAAgB;AACjB,OAAO,EACL,eAAe,EACf,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,GACpC,8BAA2B;AAC5B,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,GACtB,6BAA0B;AAC3B,OAAO,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,uBAAoB;AACzF,OAAO,EACL,IAAI,EACJ,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,uBAAoB;AACrB,OAAO,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,mBAAmB,GACzB,mBAAgB;AACjB,OAAO,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,kBAAe;AAChB,OAAO,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,cAAc,GACpB,mBAAgB;AACjB,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,KAAK,YAAY,EAAE,uBAAoB"}
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,6CAWyB;AAVvB,gGAAA,MAAM,OAAA;AAWR,wCAAuF;AAA9E,kGAAA,OAAO,OAAA;AAChB,oCAQiB;AAPf,8FAAA,KAAK,OAAA;AAQP,0DAI4B;AAH1B,mHAAA,eAAe,OAAA;AAIjB,gDAQ2B;AAPzB,kGAAA,OAAO,OAAA;AAQT,4CAAyF;AAAhF,qGAAA,QAAQ,OAAA;AACjB,uCASqB;AARnB,4FAAA,IAAI,OAAA;AASN,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,kCAQgB;AAPd,4FAAA,IAAI,OAAA;AAQN,oCAMiB;AALf,8FAAA,KAAK,OAAA"}
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,MAAM,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,MAAM,GAUP,4BAAwB;AACzB,OAAO,EAAE,OAAO,EAAqD,sBAAkB;AACvF,OAAO,EACL,KAAK,GAON,oBAAgB;AACjB,OAAO,EACL,eAAe,GAGhB,+BAA2B;AAC5B,OAAO,EACL,OAAO,GAOR,8BAA0B;AAC3B,OAAO,EAAE,QAAQ,EAAoD,wBAAoB;AACzF,OAAO,EACL,IAAI,GAQL,wBAAoB;AACrB,OAAO,EACL,KAAK,GAKN,oBAAgB;AACjB,OAAO,EACL,IAAI,GAOL,mBAAe;AAChB,OAAO,EACL,KAAK,GAKN,oBAAgB"}
|
package/src/client.ts
CHANGED
|
@@ -64,6 +64,8 @@ import {
|
|
|
64
64
|
AgentGetResponse,
|
|
65
65
|
AgentListParams,
|
|
66
66
|
AgentListResponse,
|
|
67
|
+
AgentRunParams,
|
|
68
|
+
AgentRunResponse,
|
|
67
69
|
AgentUpdateParams,
|
|
68
70
|
AgentUpdateResponse,
|
|
69
71
|
Agents,
|
|
@@ -898,9 +900,11 @@ export declare namespace Nimble {
|
|
|
898
900
|
type AgentUpdateResponse as AgentUpdateResponse,
|
|
899
901
|
type AgentListResponse as AgentListResponse,
|
|
900
902
|
type AgentGetResponse as AgentGetResponse,
|
|
903
|
+
type AgentRunResponse as AgentRunResponse,
|
|
901
904
|
type AgentCreateParams as AgentCreateParams,
|
|
902
905
|
type AgentUpdateParams as AgentUpdateParams,
|
|
903
906
|
type AgentListParams as AgentListParams,
|
|
907
|
+
type AgentRunParams as AgentRunParams,
|
|
904
908
|
};
|
|
905
909
|
|
|
906
910
|
export {
|
|
@@ -80,6 +80,14 @@ export class Agents extends APIResource {
|
|
|
80
80
|
get(agentID: string, options?: RequestOptions): APIPromise<AgentGetResponse> {
|
|
81
81
|
return this._client.get(path`/v2/agents/${agentID}`, options);
|
|
82
82
|
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Creates a minimal persistent Web Search Agent and starts a run for it. The
|
|
86
|
+
* response includes `web_search_agent_id` for later agent and run queries.
|
|
87
|
+
*/
|
|
88
|
+
run(body: AgentRunParams, options?: RequestOptions): APIPromise<AgentRunResponse> {
|
|
89
|
+
return this._client.post('/v2/agents/runs', { body, ...options });
|
|
90
|
+
}
|
|
83
91
|
}
|
|
84
92
|
|
|
85
93
|
export interface AgentCreateResponse {
|
|
@@ -103,11 +111,6 @@ export interface AgentCreateResponse {
|
|
|
103
111
|
*/
|
|
104
112
|
display_name: string;
|
|
105
113
|
|
|
106
|
-
/**
|
|
107
|
-
* Domain expertise or operating context for the agent.
|
|
108
|
-
*/
|
|
109
|
-
domain_expertise: string;
|
|
110
|
-
|
|
111
114
|
/**
|
|
112
115
|
* Default effort level for this agent's runs.
|
|
113
116
|
*/
|
|
@@ -133,6 +136,11 @@ export interface AgentCreateResponse {
|
|
|
133
136
|
*/
|
|
134
137
|
output_schema: { [key: string]: unknown } | null;
|
|
135
138
|
|
|
139
|
+
/**
|
|
140
|
+
* Skill or operating context for the agent.
|
|
141
|
+
*/
|
|
142
|
+
skill: string;
|
|
143
|
+
|
|
136
144
|
/**
|
|
137
145
|
* Source guidance for the agent.
|
|
138
146
|
*/
|
|
@@ -287,11 +295,6 @@ export interface AgentUpdateResponse {
|
|
|
287
295
|
*/
|
|
288
296
|
display_name: string;
|
|
289
297
|
|
|
290
|
-
/**
|
|
291
|
-
* Domain expertise or operating context for the agent.
|
|
292
|
-
*/
|
|
293
|
-
domain_expertise: string;
|
|
294
|
-
|
|
295
298
|
/**
|
|
296
299
|
* Default effort level for this agent's runs.
|
|
297
300
|
*/
|
|
@@ -317,6 +320,11 @@ export interface AgentUpdateResponse {
|
|
|
317
320
|
*/
|
|
318
321
|
output_schema: { [key: string]: unknown } | null;
|
|
319
322
|
|
|
323
|
+
/**
|
|
324
|
+
* Skill or operating context for the agent.
|
|
325
|
+
*/
|
|
326
|
+
skill: string;
|
|
327
|
+
|
|
320
328
|
/**
|
|
321
329
|
* Source guidance for the agent.
|
|
322
330
|
*/
|
|
@@ -494,11 +502,6 @@ export namespace AgentListResponse {
|
|
|
494
502
|
*/
|
|
495
503
|
display_name: string;
|
|
496
504
|
|
|
497
|
-
/**
|
|
498
|
-
* Domain expertise or operating context for the agent.
|
|
499
|
-
*/
|
|
500
|
-
domain_expertise: string;
|
|
501
|
-
|
|
502
505
|
/**
|
|
503
506
|
* Default effort level for this agent's runs.
|
|
504
507
|
*/
|
|
@@ -524,6 +527,11 @@ export namespace AgentListResponse {
|
|
|
524
527
|
*/
|
|
525
528
|
output_schema: { [key: string]: unknown } | null;
|
|
526
529
|
|
|
530
|
+
/**
|
|
531
|
+
* Skill or operating context for the agent.
|
|
532
|
+
*/
|
|
533
|
+
skill: string;
|
|
534
|
+
|
|
527
535
|
/**
|
|
528
536
|
* Source guidance for the agent.
|
|
529
537
|
*/
|
|
@@ -679,11 +687,6 @@ export interface AgentGetResponse {
|
|
|
679
687
|
*/
|
|
680
688
|
display_name: string;
|
|
681
689
|
|
|
682
|
-
/**
|
|
683
|
-
* Domain expertise or operating context for the agent.
|
|
684
|
-
*/
|
|
685
|
-
domain_expertise: string;
|
|
686
|
-
|
|
687
690
|
/**
|
|
688
691
|
* Default effort level for this agent's runs.
|
|
689
692
|
*/
|
|
@@ -709,6 +712,11 @@ export interface AgentGetResponse {
|
|
|
709
712
|
*/
|
|
710
713
|
output_schema: { [key: string]: unknown } | null;
|
|
711
714
|
|
|
715
|
+
/**
|
|
716
|
+
* Skill or operating context for the agent.
|
|
717
|
+
*/
|
|
718
|
+
skill: string;
|
|
719
|
+
|
|
712
720
|
/**
|
|
713
721
|
* Source guidance for the agent.
|
|
714
722
|
*/
|
|
@@ -842,6 +850,80 @@ export namespace AgentGetResponse {
|
|
|
842
850
|
}
|
|
843
851
|
}
|
|
844
852
|
|
|
853
|
+
export interface AgentRunResponse {
|
|
854
|
+
/**
|
|
855
|
+
* Run identifier, format "task*run*{uuid}".
|
|
856
|
+
*/
|
|
857
|
+
id: string;
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* When the run was created.
|
|
861
|
+
*/
|
|
862
|
+
created_at: string;
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* Effort level used for the run.
|
|
866
|
+
*/
|
|
867
|
+
effort: 'low' | 'medium' | 'high' | 'x-high' | 'max';
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* Interaction ID.
|
|
871
|
+
*/
|
|
872
|
+
interaction_id: string;
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* True while status is 'queued' or 'running'.
|
|
876
|
+
*/
|
|
877
|
+
is_active: boolean;
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* Current run status.
|
|
881
|
+
*/
|
|
882
|
+
status: 'queued' | 'running' | 'completed' | 'failed' | 'cancelled';
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* Web Search Agent instance this run belongs to.
|
|
886
|
+
*/
|
|
887
|
+
web_search_agent_id: string;
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* When the run completed.
|
|
891
|
+
*/
|
|
892
|
+
completed_at?: string | null;
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* Error details when the run failed.
|
|
896
|
+
*/
|
|
897
|
+
error?: AgentRunResponse.Error | null;
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* Prompt submitted for the run.
|
|
901
|
+
*/
|
|
902
|
+
prompt?: string | null;
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* When the run started executing.
|
|
906
|
+
*/
|
|
907
|
+
started_at?: string | null;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
export namespace AgentRunResponse {
|
|
911
|
+
/**
|
|
912
|
+
* Error details when the run failed.
|
|
913
|
+
*/
|
|
914
|
+
export interface Error {
|
|
915
|
+
/**
|
|
916
|
+
* Human-readable error description.
|
|
917
|
+
*/
|
|
918
|
+
message: string;
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* Reference ID (equals the run id).
|
|
922
|
+
*/
|
|
923
|
+
ref_id: string;
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
|
|
845
927
|
export interface AgentCreateParams {
|
|
846
928
|
/**
|
|
847
929
|
* Stable agent name.
|
|
@@ -858,11 +940,6 @@ export interface AgentCreateParams {
|
|
|
858
940
|
*/
|
|
859
941
|
display_name?: string | null;
|
|
860
942
|
|
|
861
|
-
/**
|
|
862
|
-
* Domain expertise or operating context for the agent.
|
|
863
|
-
*/
|
|
864
|
-
domain_expertise?: string | null;
|
|
865
|
-
|
|
866
943
|
/**
|
|
867
944
|
* Default effort level for this agent's runs.
|
|
868
945
|
*/
|
|
@@ -888,6 +965,11 @@ export interface AgentCreateParams {
|
|
|
888
965
|
*/
|
|
889
966
|
output_schema?: { [key: string]: unknown } | null;
|
|
890
967
|
|
|
968
|
+
/**
|
|
969
|
+
* Skill or operating context for the agent.
|
|
970
|
+
*/
|
|
971
|
+
skill?: string | null;
|
|
972
|
+
|
|
891
973
|
/**
|
|
892
974
|
* Source guidance for the agent.
|
|
893
975
|
*/
|
|
@@ -1003,6 +1085,107 @@ export interface AgentListParams {
|
|
|
1003
1085
|
workspace_id?: string | null;
|
|
1004
1086
|
}
|
|
1005
1087
|
|
|
1088
|
+
export interface AgentRunParams {
|
|
1089
|
+
/**
|
|
1090
|
+
* User prompt or task instructions for the run.
|
|
1091
|
+
*/
|
|
1092
|
+
input: string;
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* Canonical effort tier names for the research graph.
|
|
1096
|
+
*/
|
|
1097
|
+
effort?: 'low' | 'medium' | 'high' | 'x-high' | 'max' | null;
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* Whether to stream run events when supported.
|
|
1101
|
+
*/
|
|
1102
|
+
enable_events?: boolean;
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* Existing records to ENRICH: a list of partial rows, or a single object,
|
|
1106
|
+
* mirroring output_schema's shape.
|
|
1107
|
+
*/
|
|
1108
|
+
input_data?: Array<{ [key: string]: unknown }> | { [key: string]: unknown } | null;
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* JSON schema overriding the agent's default structured output for this run.
|
|
1112
|
+
*/
|
|
1113
|
+
output_schema?: { [key: string]: unknown } | null;
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Previous interaction identifier used to continue a conversation.
|
|
1117
|
+
*/
|
|
1118
|
+
previous_interaction_id?: string | null;
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* Source guidance overriding the agent default.
|
|
1122
|
+
*/
|
|
1123
|
+
sources?: AgentRunParams.Sources | null;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
export namespace AgentRunParams {
|
|
1127
|
+
/**
|
|
1128
|
+
* Source guidance overriding the agent default.
|
|
1129
|
+
*/
|
|
1130
|
+
export interface Sources {
|
|
1131
|
+
/**
|
|
1132
|
+
* Source groups the agent is allowed to use.
|
|
1133
|
+
*/
|
|
1134
|
+
allow?: Array<Sources.Allow>;
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* Free-text guidance describing sources or domains to avoid.
|
|
1138
|
+
*/
|
|
1139
|
+
avoid?: string | null;
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* Source groups the agent should not use.
|
|
1143
|
+
*/
|
|
1144
|
+
block?: Array<Sources.Block>;
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* Free-text guidance describing sources or domains to prioritize.
|
|
1148
|
+
*/
|
|
1149
|
+
prioritize?: string | null;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
export namespace Sources {
|
|
1153
|
+
export interface Allow {
|
|
1154
|
+
/**
|
|
1155
|
+
* Domains included in this source group.
|
|
1156
|
+
*/
|
|
1157
|
+
domains: Array<string>;
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* Source group title.
|
|
1161
|
+
*/
|
|
1162
|
+
title: string;
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* Zero-based source group position.
|
|
1166
|
+
*/
|
|
1167
|
+
order?: number;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
export interface Block {
|
|
1171
|
+
/**
|
|
1172
|
+
* Domains included in this source group.
|
|
1173
|
+
*/
|
|
1174
|
+
domains: Array<string>;
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* Source group title.
|
|
1178
|
+
*/
|
|
1179
|
+
title: string;
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Zero-based source group position.
|
|
1183
|
+
*/
|
|
1184
|
+
order?: number;
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1006
1189
|
Agents.Templates = Templates;
|
|
1007
1190
|
Agents.Runs = Runs;
|
|
1008
1191
|
|
|
@@ -1012,9 +1195,11 @@ export declare namespace Agents {
|
|
|
1012
1195
|
type AgentUpdateResponse as AgentUpdateResponse,
|
|
1013
1196
|
type AgentListResponse as AgentListResponse,
|
|
1014
1197
|
type AgentGetResponse as AgentGetResponse,
|
|
1198
|
+
type AgentRunResponse as AgentRunResponse,
|
|
1015
1199
|
type AgentCreateParams as AgentCreateParams,
|
|
1016
1200
|
type AgentUpdateParams as AgentUpdateParams,
|
|
1017
1201
|
type AgentListParams as AgentListParams,
|
|
1202
|
+
type AgentRunParams as AgentRunParams,
|
|
1018
1203
|
};
|
|
1019
1204
|
|
|
1020
1205
|
export {
|
|
@@ -6,9 +6,11 @@ export {
|
|
|
6
6
|
type AgentUpdateResponse,
|
|
7
7
|
type AgentListResponse,
|
|
8
8
|
type AgentGetResponse,
|
|
9
|
+
type AgentRunResponse,
|
|
9
10
|
type AgentCreateParams,
|
|
10
11
|
type AgentUpdateParams,
|
|
11
12
|
type AgentListParams,
|
|
13
|
+
type AgentRunParams,
|
|
12
14
|
} from './agents';
|
|
13
15
|
export {
|
|
14
16
|
Runs,
|
|
@@ -69,11 +69,6 @@ export namespace TemplateListResponse {
|
|
|
69
69
|
*/
|
|
70
70
|
display_name: string;
|
|
71
71
|
|
|
72
|
-
/**
|
|
73
|
-
* Domain expertise or operating context for the template.
|
|
74
|
-
*/
|
|
75
|
-
domain_expertise: string;
|
|
76
|
-
|
|
77
72
|
/**
|
|
78
73
|
* Default effort level for runs created from this template.
|
|
79
74
|
*/
|
|
@@ -94,6 +89,11 @@ export namespace TemplateListResponse {
|
|
|
94
89
|
*/
|
|
95
90
|
output_schema: { [key: string]: unknown } | null;
|
|
96
91
|
|
|
92
|
+
/**
|
|
93
|
+
* Skill or operating context for the template.
|
|
94
|
+
*/
|
|
95
|
+
skill: string;
|
|
96
|
+
|
|
97
97
|
/**
|
|
98
98
|
* Ordered source groups for the template.
|
|
99
99
|
*/
|
|
@@ -200,11 +200,6 @@ export interface TemplateGetResponse {
|
|
|
200
200
|
*/
|
|
201
201
|
display_name: string;
|
|
202
202
|
|
|
203
|
-
/**
|
|
204
|
-
* Domain expertise or operating context for the template.
|
|
205
|
-
*/
|
|
206
|
-
domain_expertise: string;
|
|
207
|
-
|
|
208
203
|
/**
|
|
209
204
|
* Default effort level for runs created from this template.
|
|
210
205
|
*/
|
|
@@ -225,6 +220,11 @@ export interface TemplateGetResponse {
|
|
|
225
220
|
*/
|
|
226
221
|
output_schema: { [key: string]: unknown } | null;
|
|
227
222
|
|
|
223
|
+
/**
|
|
224
|
+
* Skill or operating context for the template.
|
|
225
|
+
*/
|
|
226
|
+
skill: string;
|
|
227
|
+
|
|
228
228
|
/**
|
|
229
229
|
* Ordered source groups for the template.
|
|
230
230
|
*/
|
package/src/resources/index.ts
CHANGED
|
@@ -7,9 +7,11 @@ export {
|
|
|
7
7
|
type AgentUpdateResponse,
|
|
8
8
|
type AgentListResponse,
|
|
9
9
|
type AgentGetResponse,
|
|
10
|
+
type AgentRunResponse,
|
|
10
11
|
type AgentCreateParams,
|
|
11
12
|
type AgentUpdateParams,
|
|
12
13
|
type AgentListParams,
|
|
14
|
+
type AgentRunParams,
|
|
13
15
|
} from './agents/agents';
|
|
14
16
|
export { Batches, type BatchGetResponse, type BatchProgressResponse } from './batches';
|
|
15
17
|
export {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.1.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.1.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.1.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.1.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|