@deepraxis/sdk 0.1.1-dev.07df50c → 0.1.1-dev.1046919
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/METHODS.md +19 -1
- package/README.md +1 -1
- package/dist/automation.d.ts +7 -0
- package/dist/core/transport.js +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +56 -14
- package/dist/generated/sdk.gen.js +128 -13
- package/dist/generated/types.gen.d.ts +1426 -140
- package/dist/helpers/application-build.d.ts +10 -0
- package/dist/helpers/application-build.js +98 -0
- package/dist/helpers/application-publish.d.ts +8 -0
- package/dist/helpers/application-publish.js +26 -9
- package/dist/helpers/file-upload.d.ts +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/operations.generated.d.ts +207 -27
- package/dist/operations.generated.js +257 -29
- package/dist/resources.generated.d.ts +70 -6
- package/dist/resources.generated.js +11 -0
- package/package.json +1 -1
|
@@ -1056,6 +1056,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1056
1056
|
type: "agent";
|
|
1057
1057
|
updated_at: string;
|
|
1058
1058
|
version: number;
|
|
1059
|
+
latest_version?: number;
|
|
1059
1060
|
active_version: number;
|
|
1060
1061
|
created_by: {
|
|
1061
1062
|
type: "user";
|
|
@@ -2183,16 +2184,22 @@ export declare function createAgent(transport: Transport): {
|
|
|
2183
2184
|
compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
|
|
2184
2185
|
type: "session_compaction";
|
|
2185
2186
|
id: string;
|
|
2186
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2187
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2187
2188
|
reason?: string;
|
|
2188
2189
|
} | {
|
|
2189
2190
|
type: "session_compaction";
|
|
2190
2191
|
id: string;
|
|
2191
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2192
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2192
2193
|
reason?: string;
|
|
2193
2194
|
}>;
|
|
2194
2195
|
compactions: {
|
|
2195
2196
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
|
|
2197
|
+
active: {
|
|
2198
|
+
type: "session_compaction";
|
|
2199
|
+
id: string;
|
|
2200
|
+
status: "queued" | "running";
|
|
2201
|
+
trigger: "manual" | "auto";
|
|
2202
|
+
} | null;
|
|
2196
2203
|
data: Array<{
|
|
2197
2204
|
type: "context_compaction";
|
|
2198
2205
|
id: string;
|
|
@@ -2333,6 +2340,15 @@ export declare function createAgent(transport: Transport): {
|
|
|
2333
2340
|
parent_tool_use_id?: string;
|
|
2334
2341
|
user_once?: true;
|
|
2335
2342
|
guarded_rule?: string;
|
|
2343
|
+
permission_suggestions?: Array<{
|
|
2344
|
+
type: "add_rules";
|
|
2345
|
+
behavior: "allow";
|
|
2346
|
+
destination: "agent" | "session";
|
|
2347
|
+
rules: Array<{
|
|
2348
|
+
tool_name: string;
|
|
2349
|
+
rule_content: string;
|
|
2350
|
+
}>;
|
|
2351
|
+
}>;
|
|
2336
2352
|
title?: string;
|
|
2337
2353
|
input_titles?: {
|
|
2338
2354
|
[key: string]: string;
|
|
@@ -2363,6 +2379,15 @@ export declare function createAgent(transport: Transport): {
|
|
|
2363
2379
|
run_id: string | null;
|
|
2364
2380
|
user_once?: true;
|
|
2365
2381
|
guarded_rule?: string;
|
|
2382
|
+
permission_suggestions?: Array<{
|
|
2383
|
+
type: "add_rules";
|
|
2384
|
+
behavior: "allow";
|
|
2385
|
+
destination: "agent" | "session";
|
|
2386
|
+
rules: Array<{
|
|
2387
|
+
tool_name: string;
|
|
2388
|
+
rule_content: string;
|
|
2389
|
+
}>;
|
|
2390
|
+
}>;
|
|
2366
2391
|
} | {
|
|
2367
2392
|
id: string;
|
|
2368
2393
|
processed_at: string;
|
|
@@ -3007,10 +3032,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3007
3032
|
web_fetch_requests?: number;
|
|
3008
3033
|
web_search_requests?: number;
|
|
3009
3034
|
};
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
currency: "USD";
|
|
3035
|
+
cost_by_product?: {
|
|
3036
|
+
[key: string]: string;
|
|
3013
3037
|
};
|
|
3038
|
+
subagent_cost_micro_usd?: number;
|
|
3014
3039
|
};
|
|
3015
3040
|
vault_ids: Array<string>;
|
|
3016
3041
|
deployment_id?: null | string;
|
|
@@ -3173,7 +3198,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3173
3198
|
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
3174
3199
|
type: "session_compaction";
|
|
3175
3200
|
id: string;
|
|
3176
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
3201
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
3177
3202
|
reason?: string;
|
|
3178
3203
|
}>;
|
|
3179
3204
|
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
|
|
@@ -3322,6 +3347,15 @@ export declare function createAgent(transport: Transport): {
|
|
|
3322
3347
|
source?: "app" | "codemode";
|
|
3323
3348
|
user_once?: true;
|
|
3324
3349
|
guarded_rule?: string;
|
|
3350
|
+
permission_suggestions?: Array<{
|
|
3351
|
+
type: "add_rules";
|
|
3352
|
+
behavior: "allow";
|
|
3353
|
+
destination: "agent" | "session";
|
|
3354
|
+
rules: Array<{
|
|
3355
|
+
tool_name: string;
|
|
3356
|
+
rule_content: string;
|
|
3357
|
+
}>;
|
|
3358
|
+
}>;
|
|
3325
3359
|
title?: string;
|
|
3326
3360
|
input_titles?: {
|
|
3327
3361
|
[key: string]: string;
|
|
@@ -3352,6 +3386,15 @@ export declare function createAgent(transport: Transport): {
|
|
|
3352
3386
|
run_id: string | null;
|
|
3353
3387
|
user_once?: true;
|
|
3354
3388
|
guarded_rule?: string;
|
|
3389
|
+
permission_suggestions?: Array<{
|
|
3390
|
+
type: "add_rules";
|
|
3391
|
+
behavior: "allow";
|
|
3392
|
+
destination: "agent" | "session";
|
|
3393
|
+
rules: Array<{
|
|
3394
|
+
tool_name: string;
|
|
3395
|
+
rule_content: string;
|
|
3396
|
+
}>;
|
|
3397
|
+
}>;
|
|
3355
3398
|
} | {
|
|
3356
3399
|
id: string;
|
|
3357
3400
|
processed_at: string;
|
|
@@ -3643,6 +3686,13 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3643
3686
|
hooks: {
|
|
3644
3687
|
send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
|
|
3645
3688
|
};
|
|
3689
|
+
humanTasks: {
|
|
3690
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
|
|
3691
|
+
delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
|
|
3692
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
|
|
3693
|
+
respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
|
|
3694
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
|
|
3695
|
+
};
|
|
3646
3696
|
resolve: {
|
|
3647
3697
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
|
|
3648
3698
|
};
|
|
@@ -3976,6 +4026,20 @@ export declare function createMedia(transport: Transport): {
|
|
|
3976
4026
|
};
|
|
3977
4027
|
};
|
|
3978
4028
|
export declare function createMeta(transport: Transport): {
|
|
4029
|
+
docs: {
|
|
4030
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
|
|
4031
|
+
path: string;
|
|
4032
|
+
title: string;
|
|
4033
|
+
url: string;
|
|
4034
|
+
markdown: string;
|
|
4035
|
+
}>;
|
|
4036
|
+
search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
|
|
4037
|
+
path: string;
|
|
4038
|
+
title: string;
|
|
4039
|
+
url: string;
|
|
4040
|
+
snippet: string;
|
|
4041
|
+
}[]>;
|
|
4042
|
+
};
|
|
3979
4043
|
health: {
|
|
3980
4044
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
|
|
3981
4045
|
};
|
|
@@ -236,6 +236,13 @@ export function createAutomation(transport) {
|
|
|
236
236
|
hooks: {
|
|
237
237
|
send: bind(transport, sdk.automationHooksReceive),
|
|
238
238
|
},
|
|
239
|
+
humanTasks: {
|
|
240
|
+
cancel: bind(transport, sdk.automationHumanTasksCancel),
|
|
241
|
+
delegate: bind(transport, sdk.automationHumanTasksDelegate),
|
|
242
|
+
list: bindPage(transport, sdk.automationHumanTasksList),
|
|
243
|
+
respond: bind(transport, sdk.automationHumanTasksRespond),
|
|
244
|
+
retrieve: bind(transport, sdk.automationHumanTasksGet),
|
|
245
|
+
},
|
|
239
246
|
resolve: {
|
|
240
247
|
retrieve: bind(transport, sdk.automationResolveResolve),
|
|
241
248
|
},
|
|
@@ -526,6 +533,10 @@ export function createMedia(transport) {
|
|
|
526
533
|
}
|
|
527
534
|
export function createMeta(transport) {
|
|
528
535
|
return {
|
|
536
|
+
docs: {
|
|
537
|
+
retrieve: bind(transport, sdk.metaDocsRetrieve),
|
|
538
|
+
search: bind(transport, sdk.metaDocsSearch),
|
|
539
|
+
},
|
|
529
540
|
health: {
|
|
530
541
|
retrieve: bind(transport, sdk.healthCheck),
|
|
531
542
|
},
|