@omnara/sdk 0.1.43 → 0.1.44
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/README.md +98 -0
- package/dist/browser.js +22 -13
- package/dist/browser.js.map +1 -1
- package/dist/{chunk-WM4BXMLD.js → chunk-BUM22BVJ.js} +194 -11
- package/dist/chunk-BUM22BVJ.js.map +1 -0
- package/dist/chunk-HFFDN2XF.js +1604 -0
- package/dist/chunk-HFFDN2XF.js.map +1 -0
- package/dist/{chunk-PPREVIWL.js → chunk-WVD6U2JJ.js} +217 -820
- package/dist/chunk-WVD6U2JJ.js.map +1 -0
- package/dist/index.d.ts +104 -13
- package/dist/index.js +344 -138
- package/dist/index.js.map +1 -1
- package/dist/{sdk.gen-Bp5seXss.d.ts → sdk.gen-BG9nJQHq.d.ts} +1600 -515
- package/dist/tanstack.d.ts +426 -2206
- package/dist/tanstack.js +305 -32
- package/dist/tanstack.js.map +1 -1
- package/dist/zod.d.ts +1 -1
- package/dist/{zod.gen-ArHIe1NX.d.ts → zod.gen-DMsuMMrB.d.ts} +850 -9
- package/dist/zod.js +61 -1
- package/package.json +8 -5
- package/dist/chunk-6YKVAVCM.js +0 -73
- package/dist/chunk-6YKVAVCM.js.map +0 -1
- package/dist/chunk-NZCMY3BC.js +0 -50
- package/dist/chunk-NZCMY3BC.js.map +0 -1
- package/dist/chunk-PPREVIWL.js.map +0 -1
- package/dist/chunk-WM4BXMLD.js.map +0 -1
|
@@ -14,6 +14,8 @@ __export(zod_gen_exports, {
|
|
|
14
14
|
zActorProvider: () => zActorProvider,
|
|
15
15
|
zAgent: () => zAgent,
|
|
16
16
|
zAgentActivity: () => zAgentActivity,
|
|
17
|
+
zAgentActivityState: () => zAgentActivityState,
|
|
18
|
+
zAgentActivityStateFilter: () => zAgentActivityStateFilter,
|
|
17
19
|
zAgentConfig: () => zAgentConfig,
|
|
18
20
|
zAgentConfigDefinition: () => zAgentConfigDefinition,
|
|
19
21
|
zAgentConfigDefinitionGitCredentials: () => zAgentConfigDefinitionGitCredentials,
|
|
@@ -398,6 +400,8 @@ __export(zod_gen_exports, {
|
|
|
398
400
|
zGetArtifactContentResponse: () => zGetArtifactContentResponse,
|
|
399
401
|
zGetArtifactPath: () => zGetArtifactPath,
|
|
400
402
|
zGetArtifactResponse: () => zGetArtifactResponse,
|
|
403
|
+
zGetConfiguredModelPath: () => zGetConfiguredModelPath,
|
|
404
|
+
zGetConfiguredModelResponse: () => zGetConfiguredModelResponse,
|
|
401
405
|
zGetCronTriggerPath: () => zGetCronTriggerPath,
|
|
402
406
|
zGetCronTriggerResponse: () => zGetCronTriggerResponse,
|
|
403
407
|
zGetCurrentUserResponse: () => zGetCurrentUserResponse,
|
|
@@ -406,8 +410,12 @@ __export(zod_gen_exports, {
|
|
|
406
410
|
zGetDaemonSkillArchivePath: () => zGetDaemonSkillArchivePath,
|
|
407
411
|
zGetDaemonSkillArchiveQuery: () => zGetDaemonSkillArchiveQuery,
|
|
408
412
|
zGetDaemonSkillArchiveResponse: () => zGetDaemonSkillArchiveResponse,
|
|
413
|
+
zGetEventWebhookPath: () => zGetEventWebhookPath,
|
|
414
|
+
zGetEventWebhookResponse: () => zGetEventWebhookResponse,
|
|
409
415
|
zGetIntegrationPath: () => zGetIntegrationPath,
|
|
410
416
|
zGetIntegrationResponse: () => zGetIntegrationResponse,
|
|
417
|
+
zGetIntegrationSubscriptionPath: () => zGetIntegrationSubscriptionPath,
|
|
418
|
+
zGetIntegrationSubscriptionResponse: () => zGetIntegrationSubscriptionResponse,
|
|
411
419
|
zGetMachinePath: () => zGetMachinePath,
|
|
412
420
|
zGetMachinePoolPath: () => zGetMachinePoolPath,
|
|
413
421
|
zGetMachinePoolResponse: () => zGetMachinePoolResponse,
|
|
@@ -430,15 +438,27 @@ __export(zod_gen_exports, {
|
|
|
430
438
|
zGetOrgUsageTimeseriesResponse: () => zGetOrgUsageTimeseriesResponse,
|
|
431
439
|
zGetProjectAvailableSecretPath: () => zGetProjectAvailableSecretPath,
|
|
432
440
|
zGetProjectAvailableSecretResponse: () => zGetProjectAvailableSecretResponse,
|
|
441
|
+
zGetProjectMachineGrantPath: () => zGetProjectMachineGrantPath,
|
|
442
|
+
zGetProjectMachineGrantResponse: () => zGetProjectMachineGrantResponse,
|
|
433
443
|
zGetProjectMachinePoolGrantPath: () => zGetProjectMachinePoolGrantPath,
|
|
434
444
|
zGetProjectMachinePoolGrantResponse: () => zGetProjectMachinePoolGrantResponse,
|
|
445
|
+
zGetProjectModelGrantPath: () => zGetProjectModelGrantPath,
|
|
446
|
+
zGetProjectModelGrantResponse: () => zGetProjectModelGrantResponse,
|
|
447
|
+
zGetProjectPath: () => zGetProjectPath,
|
|
448
|
+
zGetProjectResponse: () => zGetProjectResponse,
|
|
435
449
|
zGetProjectUsagePath: () => zGetProjectUsagePath,
|
|
436
450
|
zGetProjectUsageQuery: () => zGetProjectUsageQuery,
|
|
437
451
|
zGetProjectUsageResponse: () => zGetProjectUsageResponse,
|
|
452
|
+
zGetSecretGrantPath: () => zGetSecretGrantPath,
|
|
453
|
+
zGetSecretGrantResponse: () => zGetSecretGrantResponse,
|
|
438
454
|
zGetSecretPath: () => zGetSecretPath,
|
|
439
455
|
zGetSecretResponse: () => zGetSecretResponse,
|
|
456
|
+
zGetSkillGrantPath: () => zGetSkillGrantPath,
|
|
457
|
+
zGetSkillGrantResponse: () => zGetSkillGrantResponse,
|
|
440
458
|
zGetSkillPath: () => zGetSkillPath,
|
|
441
459
|
zGetSkillResponse: () => zGetSkillResponse,
|
|
460
|
+
zGetToolCallPath: () => zGetToolCallPath,
|
|
461
|
+
zGetToolCallResponse: () => zGetToolCallResponse,
|
|
442
462
|
zGetToolCatalogResponse: () => zGetToolCatalogResponse,
|
|
443
463
|
zGitHubAppCredentialsSecretMaterial: () => zGitHubAppCredentialsSecretMaterial,
|
|
444
464
|
zGitHubInstallations: () => zGitHubInstallations,
|
|
@@ -599,6 +619,9 @@ __export(zod_gen_exports, {
|
|
|
599
619
|
zListProjectAvailableSkillsPath: () => zListProjectAvailableSkillsPath,
|
|
600
620
|
zListProjectAvailableSkillsQuery: () => zListProjectAvailableSkillsQuery,
|
|
601
621
|
zListProjectAvailableSkillsResponse: () => zListProjectAvailableSkillsResponse,
|
|
622
|
+
zListProjectInteractionsPath: () => zListProjectInteractionsPath,
|
|
623
|
+
zListProjectInteractionsQuery: () => zListProjectInteractionsQuery,
|
|
624
|
+
zListProjectInteractionsResponse: () => zListProjectInteractionsResponse,
|
|
602
625
|
zListProjectMachineGrantsPath: () => zListProjectMachineGrantsPath,
|
|
603
626
|
zListProjectMachineGrantsQuery: () => zListProjectMachineGrantsQuery,
|
|
604
627
|
zListProjectMachineGrantsResponse: () => zListProjectMachineGrantsResponse,
|
|
@@ -614,6 +637,9 @@ __export(zod_gen_exports, {
|
|
|
614
637
|
zListProjectModelGrantsResponse2: () => zListProjectModelGrantsResponse2,
|
|
615
638
|
zListProjectSecretAccessesResponse: () => zListProjectSecretAccessesResponse,
|
|
616
639
|
zListProjectSkillAccessesResponse: () => zListProjectSkillAccessesResponse,
|
|
640
|
+
zListProjectToolCallsPath: () => zListProjectToolCallsPath,
|
|
641
|
+
zListProjectToolCallsQuery: () => zListProjectToolCallsQuery,
|
|
642
|
+
zListProjectToolCallsResponse: () => zListProjectToolCallsResponse,
|
|
617
643
|
zListProjectsResponse: () => zListProjectsResponse,
|
|
618
644
|
zListQueuedBacklogInputsPath: () => zListQueuedBacklogInputsPath,
|
|
619
645
|
zListQueuedBacklogInputsQuery: () => zListQueuedBacklogInputsQuery,
|
|
@@ -969,6 +995,7 @@ __export(zod_gen_exports, {
|
|
|
969
995
|
zUpdateOrgMemberPath: () => zUpdateOrgMemberPath,
|
|
970
996
|
zUpdateOrgMemberRequest: () => zUpdateOrgMemberRequest,
|
|
971
997
|
zUpdateOrgMemberResponse: () => zUpdateOrgMemberResponse,
|
|
998
|
+
zUpdateProjectBody: () => zUpdateProjectBody,
|
|
972
999
|
zUpdateProjectMachinePoolGrantBody: () => zUpdateProjectMachinePoolGrantBody,
|
|
973
1000
|
zUpdateProjectMachinePoolGrantPath: () => zUpdateProjectMachinePoolGrantPath,
|
|
974
1001
|
zUpdateProjectMachinePoolGrantRequest: () => zUpdateProjectMachinePoolGrantRequest,
|
|
@@ -977,6 +1004,9 @@ __export(zod_gen_exports, {
|
|
|
977
1004
|
zUpdateProjectModelGrantPath: () => zUpdateProjectModelGrantPath,
|
|
978
1005
|
zUpdateProjectModelGrantRequest: () => zUpdateProjectModelGrantRequest,
|
|
979
1006
|
zUpdateProjectModelGrantResponse: () => zUpdateProjectModelGrantResponse,
|
|
1007
|
+
zUpdateProjectPath: () => zUpdateProjectPath,
|
|
1008
|
+
zUpdateProjectRequest: () => zUpdateProjectRequest,
|
|
1009
|
+
zUpdateProjectResponse: () => zUpdateProjectResponse,
|
|
980
1010
|
zUpdateSecretBody: () => zUpdateSecretBody,
|
|
981
1011
|
zUpdateSecretPath: () => zUpdateSecretPath,
|
|
982
1012
|
zUpdateSecretRequest: () => zUpdateSecretRequest,
|
|
@@ -1212,6 +1242,7 @@ var zErrorCode = z.enum([
|
|
|
1212
1242
|
"idempotency_key_conflict",
|
|
1213
1243
|
"agent_backlog_full",
|
|
1214
1244
|
"state_transition_conflict",
|
|
1245
|
+
"tool_call_already_completed",
|
|
1215
1246
|
"managed_work_admission_denied",
|
|
1216
1247
|
"pending_work",
|
|
1217
1248
|
"not_wake_capable",
|
|
@@ -1392,6 +1423,7 @@ var zSkillGrantId = z.string().regex(/^skg_[a-z2-7]{26}$/);
|
|
|
1392
1423
|
var zMemoryStoreId = z.string().regex(/^mst_[a-z2-7]{26}$/);
|
|
1393
1424
|
var zSecretId = z.string().regex(/^sec_[a-z2-7]{26}$/);
|
|
1394
1425
|
var zUpdateEventWebhookRequest = z.object({
|
|
1426
|
+
scope: zEventWebhookScope.optional(),
|
|
1395
1427
|
url: z.string().min(1).max(2048).optional(),
|
|
1396
1428
|
event_types: z.array(zEventWebhookEventType).min(1).optional(),
|
|
1397
1429
|
signing_secret_id: zSecretId.nullish()
|
|
@@ -1407,6 +1439,7 @@ var zEventWebhook = z.object({
|
|
|
1407
1439
|
event_types: z.array(zEventWebhookEventType).min(1),
|
|
1408
1440
|
signing_secret_id: zSecretId.optional(),
|
|
1409
1441
|
scope: zEventWebhookScope,
|
|
1442
|
+
scope_name: zResourceName.optional(),
|
|
1410
1443
|
id: zEventWebhookId,
|
|
1411
1444
|
org_id: zOrganizationId,
|
|
1412
1445
|
project_id: zProjectId,
|
|
@@ -1414,7 +1447,8 @@ var zEventWebhook = z.object({
|
|
|
1414
1447
|
updated_at: z.iso.datetime({ offset: true })
|
|
1415
1448
|
});
|
|
1416
1449
|
var zListEventWebhooksResponse = z.object({
|
|
1417
|
-
data: z.array(zEventWebhook)
|
|
1450
|
+
data: z.array(zEventWebhook),
|
|
1451
|
+
next_cursor: z.string().nullable()
|
|
1418
1452
|
});
|
|
1419
1453
|
var zCreateModelProviderConfigRequest = z.object({
|
|
1420
1454
|
name: zResourceName,
|
|
@@ -2077,6 +2111,12 @@ var zCronTriggerLastRun = z.object({
|
|
|
2077
2111
|
updated_at: zTimestamp,
|
|
2078
2112
|
failure_message: z.string().nullable()
|
|
2079
2113
|
});
|
|
2114
|
+
var zAgentActivityState = z.enum([
|
|
2115
|
+
"running",
|
|
2116
|
+
"idle",
|
|
2117
|
+
"waiting_on_interaction",
|
|
2118
|
+
"archived"
|
|
2119
|
+
]);
|
|
2080
2120
|
var zAgentOpenInteractions = z.object({
|
|
2081
2121
|
question_count: z.int().gte(0),
|
|
2082
2122
|
permission_request_count: z.int().gte(0)
|
|
@@ -2090,12 +2130,7 @@ var zAgentWorkingSubagents = z.object({
|
|
|
2090
2130
|
agent_ids: z.array(zAgentId).max(20)
|
|
2091
2131
|
});
|
|
2092
2132
|
var zAgentActivity = z.object({
|
|
2093
|
-
state:
|
|
2094
|
-
"running",
|
|
2095
|
-
"idle",
|
|
2096
|
-
"waiting_on_interaction",
|
|
2097
|
-
"archived"
|
|
2098
|
-
]),
|
|
2133
|
+
state: zAgentActivityState,
|
|
2099
2134
|
last_activity_at: zTimestamp,
|
|
2100
2135
|
open_interactions: zAgentOpenInteractions,
|
|
2101
2136
|
running_processes: zAgentRunningProcesses,
|
|
@@ -2349,6 +2384,9 @@ var zAgentInputEvent = z.object({
|
|
|
2349
2384
|
org_id: zOrganizationId,
|
|
2350
2385
|
project_id: zProjectId,
|
|
2351
2386
|
agent_id: zAgentId,
|
|
2387
|
+
agent_profile_id: zAgentProfileId.nullable(),
|
|
2388
|
+
parent_agent_id: zAgentId.nullable(),
|
|
2389
|
+
root_agent_id: zAgentId,
|
|
2352
2390
|
turn_id: zAgentTurnId,
|
|
2353
2391
|
turn_sequence: zAgentSequence,
|
|
2354
2392
|
is_opening_event: z.boolean(),
|
|
@@ -2369,6 +2407,9 @@ var zToolResultEvent = z.object({
|
|
|
2369
2407
|
org_id: zOrganizationId,
|
|
2370
2408
|
project_id: zProjectId,
|
|
2371
2409
|
agent_id: zAgentId,
|
|
2410
|
+
agent_profile_id: zAgentProfileId.nullable(),
|
|
2411
|
+
parent_agent_id: zAgentId.nullable(),
|
|
2412
|
+
root_agent_id: zAgentId,
|
|
2372
2413
|
turn_id: zAgentTurnId,
|
|
2373
2414
|
turn_sequence: zAgentSequence,
|
|
2374
2415
|
is_opening_event: z.literal(false),
|
|
@@ -2384,6 +2425,9 @@ var zContextCheckpointEvent = z.object({
|
|
|
2384
2425
|
org_id: zOrganizationId,
|
|
2385
2426
|
project_id: zProjectId,
|
|
2386
2427
|
agent_id: zAgentId,
|
|
2428
|
+
agent_profile_id: zAgentProfileId.nullable(),
|
|
2429
|
+
parent_agent_id: zAgentId.nullable(),
|
|
2430
|
+
root_agent_id: zAgentId,
|
|
2387
2431
|
turn_id: zAgentTurnId,
|
|
2388
2432
|
turn_sequence: zAgentSequence,
|
|
2389
2433
|
is_opening_event: z.literal(false),
|
|
@@ -2459,6 +2503,9 @@ var zModelOutputEvent = z.object({
|
|
|
2459
2503
|
org_id: zOrganizationId,
|
|
2460
2504
|
project_id: zProjectId,
|
|
2461
2505
|
agent_id: zAgentId,
|
|
2506
|
+
agent_profile_id: zAgentProfileId.nullable(),
|
|
2507
|
+
parent_agent_id: zAgentId.nullable(),
|
|
2508
|
+
root_agent_id: zAgentId,
|
|
2462
2509
|
turn_id: zAgentTurnId,
|
|
2463
2510
|
turn_sequence: zAgentSequence,
|
|
2464
2511
|
is_opening_event: z.literal(false),
|
|
@@ -2599,9 +2646,16 @@ var zAgentInteractionUpdate = z.object({
|
|
|
2599
2646
|
state: zAgentInteractionState
|
|
2600
2647
|
});
|
|
2601
2648
|
var zToolCallUpdate = z.object({
|
|
2649
|
+
org_id: zOrganizationId,
|
|
2650
|
+
project_id: zProjectId,
|
|
2602
2651
|
tool_call_id: zToolCallId,
|
|
2603
|
-
agent_id: zAgentId
|
|
2652
|
+
agent_id: zAgentId,
|
|
2653
|
+
agent_profile_id: zAgentProfileId.nullable(),
|
|
2654
|
+
parent_agent_id: zAgentId.nullable(),
|
|
2655
|
+
root_agent_id: zAgentId,
|
|
2604
2656
|
state: zToolCallState,
|
|
2657
|
+
name: z.string().optional(),
|
|
2658
|
+
input: zToolInput.optional(),
|
|
2605
2659
|
interaction_update: zAgentInteractionUpdate.optional()
|
|
2606
2660
|
});
|
|
2607
2661
|
var zEventWebhookToolCallUpdate = z.object({
|
|
@@ -3370,6 +3424,9 @@ var zBootstrapDaemonResponse = z.object({
|
|
|
3370
3424
|
var zCreateProjectRequest = z.object({
|
|
3371
3425
|
name: zResourceName
|
|
3372
3426
|
});
|
|
3427
|
+
var zUpdateProjectRequest = z.object({
|
|
3428
|
+
name: zResourceName
|
|
3429
|
+
});
|
|
3373
3430
|
var zProjectFields = z.object({
|
|
3374
3431
|
id: zProjectId,
|
|
3375
3432
|
org_id: zOrganizationId,
|
|
@@ -3913,6 +3970,7 @@ var zIntegrationDefinition = z.object({
|
|
|
3913
3970
|
var zListIntegrationDefinitionsResponse = z.object({
|
|
3914
3971
|
data: z.array(zIntegrationDefinition)
|
|
3915
3972
|
});
|
|
3973
|
+
var zAgentActivityStateFilter = zAgentActivityState;
|
|
3916
3974
|
var zAgentIncludeUsage = z.boolean();
|
|
3917
3975
|
var zAgentProfileIncludeStats = z.boolean();
|
|
3918
3976
|
var zAgentProfileStatsSince = z.iso.datetime({ offset: true });
|
|
@@ -3947,9 +4005,11 @@ var zListEventWebhooksPath = z.object({
|
|
|
3947
4005
|
projectID: zProjectId
|
|
3948
4006
|
});
|
|
3949
4007
|
var zListEventWebhooksQuery = z.object({
|
|
3950
|
-
scope_type: zEventWebhookScopeType,
|
|
4008
|
+
scope_type: zEventWebhookScopeType.optional(),
|
|
3951
4009
|
agent_profile_id: zAgentProfileId.optional(),
|
|
3952
|
-
agent_id: zAgentId.optional()
|
|
4010
|
+
agent_id: zAgentId.optional(),
|
|
4011
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
4012
|
+
cursor: z.string().max(1024).optional()
|
|
3953
4013
|
});
|
|
3954
4014
|
var zListEventWebhooksResponse2 = zListEventWebhooksResponse;
|
|
3955
4015
|
var zCreateEventWebhookBody = zCreateEventWebhookRequest;
|
|
@@ -3964,6 +4024,12 @@ var zDeleteEventWebhookPath = z.object({
|
|
|
3964
4024
|
webhookID: zEventWebhookId
|
|
3965
4025
|
});
|
|
3966
4026
|
var zDeleteEventWebhookResponse = z.void();
|
|
4027
|
+
var zGetEventWebhookPath = z.object({
|
|
4028
|
+
orgID: zOrganizationId,
|
|
4029
|
+
projectID: zProjectId,
|
|
4030
|
+
webhookID: zEventWebhookId
|
|
4031
|
+
});
|
|
4032
|
+
var zGetEventWebhookResponse = zEventWebhook;
|
|
3967
4033
|
var zUpdateEventWebhookBody = zUpdateEventWebhookRequest;
|
|
3968
4034
|
var zUpdateEventWebhookPath = z.object({
|
|
3969
4035
|
orgID: zOrganizationId,
|
|
@@ -4063,6 +4129,7 @@ var zListOrgAgentsQuery = z.object({
|
|
|
4063
4129
|
parent_agent_id: zAgentId.optional(),
|
|
4064
4130
|
include_subagents: z.boolean().optional(),
|
|
4065
4131
|
include_archived: z.boolean().optional(),
|
|
4132
|
+
activity_state: zAgentActivityState.optional(),
|
|
4066
4133
|
include_usage: z.boolean().optional(),
|
|
4067
4134
|
sort: zResourceListSort.optional(),
|
|
4068
4135
|
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
@@ -4102,6 +4169,17 @@ var zDeleteProjectPath = z.object({
|
|
|
4102
4169
|
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
4103
4170
|
});
|
|
4104
4171
|
var zDeleteProjectResponse = z.void();
|
|
4172
|
+
var zGetProjectPath = z.object({
|
|
4173
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
4174
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
4175
|
+
});
|
|
4176
|
+
var zGetProjectResponse = zProject;
|
|
4177
|
+
var zUpdateProjectBody = zUpdateProjectRequest;
|
|
4178
|
+
var zUpdateProjectPath = z.object({
|
|
4179
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
4180
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
4181
|
+
});
|
|
4182
|
+
var zUpdateProjectResponse = zProject;
|
|
4105
4183
|
var zGetProjectUsagePath = z.object({
|
|
4106
4184
|
orgID: zOrganizationId,
|
|
4107
4185
|
projectID: zProjectId
|
|
@@ -4275,6 +4353,12 @@ var zDeleteSkillGrantPath = z.object({
|
|
|
4275
4353
|
grantID: zSkillGrantId
|
|
4276
4354
|
});
|
|
4277
4355
|
var zDeleteSkillGrantResponse = z.void();
|
|
4356
|
+
var zGetSkillGrantPath = z.object({
|
|
4357
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
4358
|
+
skillID: zSkillId,
|
|
4359
|
+
grantID: zSkillGrantId
|
|
4360
|
+
});
|
|
4361
|
+
var zGetSkillGrantResponse = zSkillGrant;
|
|
4278
4362
|
var zListProjectAvailableSkillsPath = z.object({
|
|
4279
4363
|
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
4280
4364
|
projectID: zProjectId
|
|
@@ -4451,6 +4535,12 @@ var zDeleteSecretGrantPath = z.object({
|
|
|
4451
4535
|
grantID: z.string().regex(/^sgr_[a-z2-7]{26}$/)
|
|
4452
4536
|
});
|
|
4453
4537
|
var zDeleteSecretGrantResponse = z.void();
|
|
4538
|
+
var zGetSecretGrantPath = z.object({
|
|
4539
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
4540
|
+
secretID: z.string().regex(/^sec_[a-z2-7]{26}$/),
|
|
4541
|
+
grantID: z.string().regex(/^sgr_[a-z2-7]{26}$/)
|
|
4542
|
+
});
|
|
4543
|
+
var zGetSecretGrantResponse = zSecretGrant;
|
|
4454
4544
|
var zResolveAgentConfigToolsBody = zResolveAgentConfigToolsRequest;
|
|
4455
4545
|
var zResolveAgentConfigToolsPath = z.object({
|
|
4456
4546
|
orgID: zOrganizationId,
|
|
@@ -4634,6 +4724,7 @@ var zListAgentsQuery = z.object({
|
|
|
4634
4724
|
parent_agent_id: zAgentId.optional(),
|
|
4635
4725
|
include_subagents: z.boolean().optional(),
|
|
4636
4726
|
include_archived: z.boolean().optional(),
|
|
4727
|
+
activity_state: zAgentActivityState.optional(),
|
|
4637
4728
|
include_usage: z.boolean().optional(),
|
|
4638
4729
|
sort: zResourceListSort.optional(),
|
|
4639
4730
|
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
@@ -4695,6 +4786,25 @@ var zCreateAgentInputPath = z.object({
|
|
|
4695
4786
|
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
4696
4787
|
});
|
|
4697
4788
|
var zCreateAgentInputResponse = zAgentInputEnvelope;
|
|
4789
|
+
var zListProjectToolCallsPath = z.object({
|
|
4790
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
4791
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
4792
|
+
});
|
|
4793
|
+
var zListProjectToolCallsQuery = z.object({
|
|
4794
|
+
state: z.enum([
|
|
4795
|
+
"awaiting_authorization",
|
|
4796
|
+
"awaiting_permission",
|
|
4797
|
+
"ready",
|
|
4798
|
+
"running",
|
|
4799
|
+
"waiting"
|
|
4800
|
+
]).optional(),
|
|
4801
|
+
type: zToolCallType.optional(),
|
|
4802
|
+
names: z.array(z.string().min(1).max(64)).min(1).max(100).optional(),
|
|
4803
|
+
agent_profile_id: zAgentProfileId.optional(),
|
|
4804
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
4805
|
+
cursor: z.string().max(1024).optional()
|
|
4806
|
+
});
|
|
4807
|
+
var zListProjectToolCallsResponse = zListToolCallsResponse;
|
|
4698
4808
|
var zListToolCallsPath = z.object({
|
|
4699
4809
|
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
4700
4810
|
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
@@ -4708,6 +4818,13 @@ var zListToolCallsQuery = z.object({
|
|
|
4708
4818
|
cursor: z.string().max(1024).optional()
|
|
4709
4819
|
});
|
|
4710
4820
|
var zListToolCallsResponse2 = zListToolCallsResponse;
|
|
4821
|
+
var zGetToolCallPath = z.object({
|
|
4822
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
4823
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
4824
|
+
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/),
|
|
4825
|
+
toolCallID: zToolCallId
|
|
4826
|
+
});
|
|
4827
|
+
var zGetToolCallResponse = zToolCall;
|
|
4711
4828
|
var zSubmitToolCallResultBody = zSubmitToolCallResultRequest;
|
|
4712
4829
|
var zSubmitToolCallResultPath = z.object({
|
|
4713
4830
|
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
@@ -4768,6 +4885,17 @@ var zCancelAgentPath = z.object({
|
|
|
4768
4885
|
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
|
|
4769
4886
|
});
|
|
4770
4887
|
var zCancelAgentResponse2 = zCancelAgentResponse;
|
|
4888
|
+
var zListProjectInteractionsPath = z.object({
|
|
4889
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
4890
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
4891
|
+
});
|
|
4892
|
+
var zListProjectInteractionsQuery = z.object({
|
|
4893
|
+
interaction_kind: zAgentInteractionKind.optional(),
|
|
4894
|
+
agent_profile_id: zAgentProfileId.optional(),
|
|
4895
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
4896
|
+
cursor: z.string().max(1024).optional()
|
|
4897
|
+
});
|
|
4898
|
+
var zListProjectInteractionsResponse = zListAgentInteractionsResponse;
|
|
4771
4899
|
var zListAgentInteractionsPath = z.object({
|
|
4772
4900
|
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
4773
4901
|
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
@@ -4881,6 +5009,12 @@ var zDeleteProjectMachineGrantPath = z.object({
|
|
|
4881
5009
|
grantID: z.string().regex(/^pmg_[a-z2-7]{26}$/)
|
|
4882
5010
|
});
|
|
4883
5011
|
var zDeleteProjectMachineGrantResponse = z.void();
|
|
5012
|
+
var zGetProjectMachineGrantPath = z.object({
|
|
5013
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
5014
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
5015
|
+
grantID: z.string().regex(/^pmg_[a-z2-7]{26}$/)
|
|
5016
|
+
});
|
|
5017
|
+
var zGetProjectMachineGrantResponse = zCreateProjectMachineGrantResponse;
|
|
4884
5018
|
var zListProjectAvailableSecretsPath = z.object({
|
|
4885
5019
|
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
4886
5020
|
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
@@ -5028,6 +5162,12 @@ var zDeleteConfiguredModelPath = z.object({
|
|
|
5028
5162
|
configuredModelID: z.string().regex(/^mdl_[a-z2-7]{26}$/)
|
|
5029
5163
|
});
|
|
5030
5164
|
var zDeleteConfiguredModelResponse = z.void();
|
|
5165
|
+
var zGetConfiguredModelPath = z.object({
|
|
5166
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
5167
|
+
modelProviderConfigID: z.string().regex(/^mpc_[a-z2-7]{26}$/),
|
|
5168
|
+
configuredModelID: z.string().regex(/^mdl_[a-z2-7]{26}$/)
|
|
5169
|
+
});
|
|
5170
|
+
var zGetConfiguredModelResponse = zConfiguredModel;
|
|
5031
5171
|
var zUpdateConfiguredModelBody = zUpdateConfiguredModelRequest;
|
|
5032
5172
|
var zUpdateConfiguredModelPath = z.object({
|
|
5033
5173
|
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
@@ -5058,6 +5198,12 @@ var zDeleteProjectModelGrantPath = z.object({
|
|
|
5058
5198
|
modelGrantID: z.string().regex(/^pmog_[a-z2-7]{26}$/)
|
|
5059
5199
|
});
|
|
5060
5200
|
var zDeleteProjectModelGrantResponse = z.void();
|
|
5201
|
+
var zGetProjectModelGrantPath = z.object({
|
|
5202
|
+
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
5203
|
+
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
5204
|
+
modelGrantID: z.string().regex(/^pmog_[a-z2-7]{26}$/)
|
|
5205
|
+
});
|
|
5206
|
+
var zGetProjectModelGrantResponse = zProjectModelGrantEnvelope;
|
|
5061
5207
|
var zUpdateProjectModelGrantBody = zUpdateProjectModelGrantRequest;
|
|
5062
5208
|
var zUpdateProjectModelGrantPath = z.object({
|
|
5063
5209
|
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
@@ -5271,6 +5417,13 @@ var zDeleteIntegrationSubscriptionPath = z.object({
|
|
|
5271
5417
|
subscriptionID: zIntegrationSubscriptionId
|
|
5272
5418
|
});
|
|
5273
5419
|
var zDeleteIntegrationSubscriptionResponse = z.void();
|
|
5420
|
+
var zGetIntegrationSubscriptionPath = z.object({
|
|
5421
|
+
orgID: zOrganizationId,
|
|
5422
|
+
projectID: zProjectId,
|
|
5423
|
+
integrationID: zIntegrationId,
|
|
5424
|
+
subscriptionID: zIntegrationSubscriptionId
|
|
5425
|
+
});
|
|
5426
|
+
var zGetIntegrationSubscriptionResponse = zIntegrationSubscription;
|
|
5274
5427
|
var zConfigureIntegrationBody = zConfigureIntegrationRequest;
|
|
5275
5428
|
var zConfigureIntegrationPath = z.object({
|
|
5276
5429
|
orgID: zOrganizationId,
|
|
@@ -5521,6 +5674,7 @@ export {
|
|
|
5521
5674
|
zCronTriggerFailureReport,
|
|
5522
5675
|
zCronTriggerLastRunState,
|
|
5523
5676
|
zCronTriggerLastRun,
|
|
5677
|
+
zAgentActivityState,
|
|
5524
5678
|
zAgentOpenInteractions,
|
|
5525
5679
|
zAgentRunningProcesses,
|
|
5526
5680
|
zAgentWorkingSubagents,
|
|
@@ -5715,6 +5869,7 @@ export {
|
|
|
5715
5869
|
zRegisterDaemonRuntimeResponse,
|
|
5716
5870
|
zBootstrapDaemonResponse,
|
|
5717
5871
|
zCreateProjectRequest,
|
|
5872
|
+
zUpdateProjectRequest,
|
|
5718
5873
|
zProjectFields,
|
|
5719
5874
|
zProject,
|
|
5720
5875
|
zSkillGrantListItem,
|
|
@@ -5804,6 +5959,7 @@ export {
|
|
|
5804
5959
|
zListIntegrationsResponse,
|
|
5805
5960
|
zIntegrationDefinition,
|
|
5806
5961
|
zListIntegrationDefinitionsResponse,
|
|
5962
|
+
zAgentActivityStateFilter,
|
|
5807
5963
|
zAgentIncludeUsage,
|
|
5808
5964
|
zAgentProfileIncludeStats,
|
|
5809
5965
|
zAgentProfileStatsSince,
|
|
@@ -5833,6 +5989,8 @@ export {
|
|
|
5833
5989
|
zCreateEventWebhookResponse,
|
|
5834
5990
|
zDeleteEventWebhookPath,
|
|
5835
5991
|
zDeleteEventWebhookResponse,
|
|
5992
|
+
zGetEventWebhookPath,
|
|
5993
|
+
zGetEventWebhookResponse,
|
|
5836
5994
|
zUpdateEventWebhookBody,
|
|
5837
5995
|
zUpdateEventWebhookPath,
|
|
5838
5996
|
zUpdateEventWebhookResponse,
|
|
@@ -5883,6 +6041,11 @@ export {
|
|
|
5883
6041
|
zCreateProjectResponse,
|
|
5884
6042
|
zDeleteProjectPath,
|
|
5885
6043
|
zDeleteProjectResponse,
|
|
6044
|
+
zGetProjectPath,
|
|
6045
|
+
zGetProjectResponse,
|
|
6046
|
+
zUpdateProjectBody,
|
|
6047
|
+
zUpdateProjectPath,
|
|
6048
|
+
zUpdateProjectResponse,
|
|
5886
6049
|
zGetProjectUsagePath,
|
|
5887
6050
|
zGetProjectUsageQuery,
|
|
5888
6051
|
zGetProjectUsageResponse,
|
|
@@ -5950,6 +6113,8 @@ export {
|
|
|
5950
6113
|
zCreateSkillGrantResponse,
|
|
5951
6114
|
zDeleteSkillGrantPath,
|
|
5952
6115
|
zDeleteSkillGrantResponse,
|
|
6116
|
+
zGetSkillGrantPath,
|
|
6117
|
+
zGetSkillGrantResponse,
|
|
5953
6118
|
zListProjectAvailableSkillsPath,
|
|
5954
6119
|
zListProjectAvailableSkillsQuery,
|
|
5955
6120
|
zListProjectAvailableSkillsResponse,
|
|
@@ -6009,6 +6174,8 @@ export {
|
|
|
6009
6174
|
zCreateSecretGrantResponse,
|
|
6010
6175
|
zDeleteSecretGrantPath,
|
|
6011
6176
|
zDeleteSecretGrantResponse,
|
|
6177
|
+
zGetSecretGrantPath,
|
|
6178
|
+
zGetSecretGrantResponse,
|
|
6012
6179
|
zResolveAgentConfigToolsBody,
|
|
6013
6180
|
zResolveAgentConfigToolsPath,
|
|
6014
6181
|
zResolveAgentConfigToolsResponse,
|
|
@@ -6095,9 +6262,14 @@ export {
|
|
|
6095
6262
|
zCreateAgentInputHeaders,
|
|
6096
6263
|
zCreateAgentInputPath,
|
|
6097
6264
|
zCreateAgentInputResponse,
|
|
6265
|
+
zListProjectToolCallsPath,
|
|
6266
|
+
zListProjectToolCallsQuery,
|
|
6267
|
+
zListProjectToolCallsResponse,
|
|
6098
6268
|
zListToolCallsPath,
|
|
6099
6269
|
zListToolCallsQuery,
|
|
6100
6270
|
zListToolCallsResponse2,
|
|
6271
|
+
zGetToolCallPath,
|
|
6272
|
+
zGetToolCallResponse,
|
|
6101
6273
|
zSubmitToolCallResultBody,
|
|
6102
6274
|
zSubmitToolCallResultPath,
|
|
6103
6275
|
zSubmitToolCallResultResponse2,
|
|
@@ -6117,6 +6289,9 @@ export {
|
|
|
6117
6289
|
zCancelAgentBody,
|
|
6118
6290
|
zCancelAgentPath,
|
|
6119
6291
|
zCancelAgentResponse2,
|
|
6292
|
+
zListProjectInteractionsPath,
|
|
6293
|
+
zListProjectInteractionsQuery,
|
|
6294
|
+
zListProjectInteractionsResponse,
|
|
6120
6295
|
zListAgentInteractionsPath,
|
|
6121
6296
|
zListAgentInteractionsQuery,
|
|
6122
6297
|
zListAgentInteractionsResponse2,
|
|
@@ -6152,6 +6327,8 @@ export {
|
|
|
6152
6327
|
zCreateProjectMachineGrantResponse2,
|
|
6153
6328
|
zDeleteProjectMachineGrantPath,
|
|
6154
6329
|
zDeleteProjectMachineGrantResponse,
|
|
6330
|
+
zGetProjectMachineGrantPath,
|
|
6331
|
+
zGetProjectMachineGrantResponse,
|
|
6155
6332
|
zListProjectAvailableSecretsPath,
|
|
6156
6333
|
zListProjectAvailableSecretsQuery,
|
|
6157
6334
|
zListProjectAvailableSecretsResponse,
|
|
@@ -6205,6 +6382,8 @@ export {
|
|
|
6205
6382
|
zCreateConfiguredModelResponse,
|
|
6206
6383
|
zDeleteConfiguredModelPath,
|
|
6207
6384
|
zDeleteConfiguredModelResponse,
|
|
6385
|
+
zGetConfiguredModelPath,
|
|
6386
|
+
zGetConfiguredModelResponse,
|
|
6208
6387
|
zUpdateConfiguredModelBody,
|
|
6209
6388
|
zUpdateConfiguredModelPath,
|
|
6210
6389
|
zUpdateConfiguredModelResponse,
|
|
@@ -6216,6 +6395,8 @@ export {
|
|
|
6216
6395
|
zCreateProjectModelGrantResponse,
|
|
6217
6396
|
zDeleteProjectModelGrantPath,
|
|
6218
6397
|
zDeleteProjectModelGrantResponse,
|
|
6398
|
+
zGetProjectModelGrantPath,
|
|
6399
|
+
zGetProjectModelGrantResponse,
|
|
6219
6400
|
zUpdateProjectModelGrantBody,
|
|
6220
6401
|
zUpdateProjectModelGrantPath,
|
|
6221
6402
|
zUpdateProjectModelGrantResponse,
|
|
@@ -6299,6 +6480,8 @@ export {
|
|
|
6299
6480
|
zCreateIntegrationSubscriptionResponse,
|
|
6300
6481
|
zDeleteIntegrationSubscriptionPath,
|
|
6301
6482
|
zDeleteIntegrationSubscriptionResponse,
|
|
6483
|
+
zGetIntegrationSubscriptionPath,
|
|
6484
|
+
zGetIntegrationSubscriptionResponse,
|
|
6302
6485
|
zConfigureIntegrationBody,
|
|
6303
6486
|
zConfigureIntegrationPath,
|
|
6304
6487
|
zConfigureIntegrationResponse,
|
|
@@ -6311,4 +6494,4 @@ export {
|
|
|
6311
6494
|
zListIntegrationDefinitionsResponse2,
|
|
6312
6495
|
zod_gen_exports
|
|
6313
6496
|
};
|
|
6314
|
-
//# sourceMappingURL=chunk-
|
|
6497
|
+
//# sourceMappingURL=chunk-BUM22BVJ.js.map
|