omnara 1.0.12 → 1.0.14

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.
Files changed (2) hide show
  1. package/dist/bin.js +346 -92
  2. package/package.json +1 -1
package/dist/bin.js CHANGED
@@ -67,10 +67,6 @@ var zError = z.object({
67
67
  "authentication_unavailable"
68
68
  ])
69
69
  });
70
- var zWarning = z.object({
71
- message: z.string(),
72
- code: z.enum(["missing_recommended_machine_tools"])
73
- });
74
70
  var zClientErrorCode = z.enum([
75
71
  "invalid_request",
76
72
  "validation_failed",
@@ -146,11 +142,18 @@ var zModelCacheRetention = z.enum([
146
142
  "short",
147
143
  "long"
148
144
  ]);
145
+ var zDiscoveredModelPricing = z.object({
146
+ input_usd_per_million: z.string().regex(/^(0|[1-9][0-9]*)(\.[0-9]+)?$/),
147
+ cache_read_input_usd_per_million: z.string().regex(/^(0|[1-9][0-9]*)(\.[0-9]+)?$/).optional(),
148
+ cache_write_input_usd_per_million: z.string().regex(/^(0|[1-9][0-9]*)(\.[0-9]+)?$/).optional(),
149
+ output_usd_per_million: z.string().regex(/^(0|[1-9][0-9]*)(\.[0-9]+)?$/)
150
+ });
149
151
  var zDiscoveredProviderModel = z.object({
150
152
  slug: z.string(),
151
153
  display_name: z.string().optional(),
152
154
  context_window_tokens: z.int().gte(2).lte(2147483647).optional(),
153
- max_output_tokens: z.int().gte(1).lte(2147483647).optional()
155
+ max_output_tokens: z.int().gte(1).lte(2147483647).optional(),
156
+ pricing: zDiscoveredModelPricing.optional()
154
157
  });
155
158
  var zModelCatalog = z.object({
156
159
  status: z.enum(["ok", "failed"]),
@@ -345,6 +348,7 @@ var zConfiguredModelSummary = z.object({
345
348
  model_provider_config_id: zModelProviderConfigId,
346
349
  name: zResourceName,
347
350
  provider_config: zResourceName,
351
+ provider_model_slug: z.string(),
348
352
  created_at: zTimestamp,
349
353
  updated_at: zTimestamp
350
354
  });
@@ -515,6 +519,10 @@ var zSlackSetup = z.object({
515
519
  actions_url: z.url(),
516
520
  expires_at: zTimestamp
517
521
  });
522
+ var zResolveAgentConfigToolsRequest = z.object({
523
+ source: z.string().min(1),
524
+ source_format: z.enum(["yaml", "json"])
525
+ });
518
526
  var zCreateAgentConfigRequest = z.object({
519
527
  source: z.string().min(1),
520
528
  source_format: z.enum(["yaml", "json"])
@@ -528,6 +536,14 @@ var zToolPermissionSelection = z.object({
528
536
  mode: z.string(),
529
537
  parameters: z.record(z.string(), z.unknown())
530
538
  });
539
+ var zResolvedAgentConfigTool = z.object({
540
+ name: z.string(),
541
+ enabled: z.boolean(),
542
+ permission: zToolPermissionSelection
543
+ });
544
+ var zResolvedAgentConfigTools = z.object({
545
+ tools: z.array(zResolvedAgentConfigTool)
546
+ });
531
547
  var zToolPermissionMode = z.object({
532
548
  name: z.string(),
533
549
  label: z.string(),
@@ -541,6 +557,7 @@ var zToolPermissionProfile = z.object({
541
557
  var zToolCatalogEntry = z.object({
542
558
  name: z.string(),
543
559
  description: z.string(),
560
+ implicit: z.boolean().optional(),
544
561
  default_permission: zToolPermissionSelection,
545
562
  permission_modes: z.array(zToolPermissionMode)
546
563
  });
@@ -674,7 +691,6 @@ var zAgentConfig = z.object({
674
691
  effective_definition_hash: z.string(),
675
692
  model: zAgentConfigModel,
676
693
  instruction_hash: z.string().optional(),
677
- warnings: z.array(zWarning).min(1).optional(),
678
694
  created_at: zTimestamp
679
695
  });
680
696
  var zCreateAgentProfileRequest = z.object({
@@ -767,6 +783,15 @@ var zCreateAgentRequest = z.object({
767
783
  name: zAgentName.optional(),
768
784
  message: z.string().optional()
769
785
  });
786
+ var zAgentActivity = z.object({
787
+ state: z.enum([
788
+ "running",
789
+ "idle",
790
+ "waiting_on_interaction",
791
+ "archived"
792
+ ]),
793
+ last_activity_at: zTimestamp
794
+ });
770
795
  var zAgentModel = z.object({
771
796
  provider_config: zResourceName,
772
797
  name: zResourceName
@@ -788,6 +813,9 @@ var zAgent = z.object({
788
813
  integration_target: zIntegrationTarget.optional(),
789
814
  current_config_id: zAgentConfigId.optional(),
790
815
  model: zAgentModel.optional(),
816
+ parent_agent_id: zAgentId.optional(),
817
+ subagent_key: z.string().optional(),
818
+ activity: zAgentActivity.optional(),
791
819
  created_at: zTimestamp,
792
820
  updated_at: zTimestamp,
793
821
  archived_at: zTimestamp.optional()
@@ -859,7 +887,6 @@ var zAgentMachineBinding = z.object({
859
887
  project_id: zProjectId,
860
888
  agent_id: zAgentId,
861
889
  machine_id: zMachineId,
862
- machine_ref: z.string(),
863
890
  binding_kind: zAgentMachineBindingKind,
864
891
  state: zAgentMachineBindingState,
865
892
  description: z.string(),
@@ -874,6 +901,7 @@ var zMachineFailureReport = z.object({
874
901
  "startup_script",
875
902
  "daemon_install",
876
903
  "daemon_update",
904
+ "daemon_runtime",
877
905
  "daemon_uninstall",
878
906
  "daemon_uninstalled"
879
907
  ]),
@@ -1023,6 +1051,7 @@ var zToolCallOutcome = z.enum([
1023
1051
  ]);
1024
1052
  var zToolCall = z.object({
1025
1053
  id: zToolCallId,
1054
+ agent_id: zAgentId,
1026
1055
  turn_id: zAgentTurnId,
1027
1056
  provider_call_id: z.string(),
1028
1057
  name: z.string(),
@@ -1035,6 +1064,7 @@ var zToolCall = z.object({
1035
1064
  });
1036
1065
  var zToolCallUpdate = z.object({
1037
1066
  tool_call_id: zToolCallId,
1067
+ agent_id: zAgentId.optional(),
1038
1068
  state: zToolCallState
1039
1069
  });
1040
1070
  var zListToolCallsResponse = z.object({
@@ -1303,6 +1333,8 @@ var zAgentInteraction = z.object({
1303
1333
  agent_id: zAgentId,
1304
1334
  tool_call_id: zToolCallId,
1305
1335
  tool_name: z.string().optional(),
1336
+ agent_name: zAgentName.optional(),
1337
+ subagent_key: z.string().optional(),
1306
1338
  interaction_kind: zAgentInteractionKind,
1307
1339
  state: zAgentInteractionState,
1308
1340
  request: zInteractionForm,
@@ -2075,6 +2107,40 @@ var zOrgOverviewResponse = z.object({
2075
2107
  recent_agents: z.array(zAgent),
2076
2108
  recent_agent_profiles: z.array(zAgentProfile)
2077
2109
  });
2110
+ var zUsageTokenTotals = z.object({
2111
+ input_tokens_total: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
2112
+ uncached_input_tokens: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
2113
+ cache_read_input_tokens: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
2114
+ cache_write_input_tokens: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
2115
+ output_tokens_total: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
2116
+ reasoning_output_tokens: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
2117
+ });
2118
+ var zUsageCostTotals = z.object({
2119
+ provider_reported_usd: z.string().regex(/^(0|[1-9][0-9]*)(\.[0-9]+)?$/),
2120
+ model_calls_with_reported_cost: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
2121
+ });
2122
+ var zUsageTotals = z.object({
2123
+ model_calls: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
2124
+ tokens: zUsageTokenTotals,
2125
+ cost: zUsageCostTotals
2126
+ });
2127
+ var zUsageModel = z.object({
2128
+ configured_model_id: zConfiguredModelId,
2129
+ name: zResourceName,
2130
+ provider_model_slug: z.string(),
2131
+ model_provider_config_id: zModelProviderConfigId,
2132
+ model_provider_config_name: zResourceName
2133
+ });
2134
+ var zModelUsageTotals = z.object({
2135
+ model: zUsageModel,
2136
+ model_calls: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
2137
+ tokens: zUsageTokenTotals,
2138
+ cost: zUsageCostTotals
2139
+ });
2140
+ var zUsageReport = z.object({
2141
+ totals: zUsageTotals,
2142
+ by_model: z.array(zModelUsageTotals)
2143
+ });
2078
2144
  var zCurrentUserIdentity = z.object({
2079
2145
  id: zUserId,
2080
2146
  email: z.string(),
@@ -2123,6 +2189,10 @@ var zProjectMembershipGrant = z.object({
2123
2189
  var zListProjectMembershipGrantsResponse = z.object({
2124
2190
  data: z.array(zProjectMembershipGrant)
2125
2191
  });
2192
+ var zUsageSince = z.iso.datetime({ offset: true });
2193
+ var zUsageUntil = z.iso.datetime({ offset: true });
2194
+ var zUsageIncludeProjectIds = z.array(zProjectId).min(1).max(100);
2195
+ var zUsageExcludeProjectIds = z.array(zProjectId).min(1).max(100);
2126
2196
  var zIdempotencyKey = z.string().min(1).max(255);
2127
2197
  var zPageLimit = z.int().gte(1).lte(100).default(50);
2128
2198
  var zPageCursor = z.string().max(1024);
@@ -2158,6 +2228,7 @@ var zRecordMachineFailureQuery = z.object({
2158
2228
  "startup_script",
2159
2229
  "daemon_install",
2160
2230
  "daemon_update",
2231
+ "daemon_runtime",
2161
2232
  "daemon_uninstall",
2162
2233
  "daemon_uninstalled"
2163
2234
  ]),
@@ -2196,6 +2267,16 @@ var zGetOrgOverviewPath = z.object({
2196
2267
  orgID: zOrganizationId
2197
2268
  });
2198
2269
  var zGetOrgOverviewResponse = zOrgOverviewResponse;
2270
+ var zGetOrgUsagePath = z.object({
2271
+ orgID: zOrganizationId
2272
+ });
2273
+ var zGetOrgUsageQuery = z.object({
2274
+ since: z.iso.datetime({ offset: true }).optional(),
2275
+ until: z.iso.datetime({ offset: true }).optional(),
2276
+ include_project_ids: z.array(zProjectId).min(1).max(100).optional(),
2277
+ exclude_project_ids: z.array(zProjectId).min(1).max(100).optional()
2278
+ });
2279
+ var zGetOrgUsageResponse = zUsageReport;
2199
2280
  var zListVisibleProjectsPath = z.object({
2200
2281
  orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
2201
2282
  });
@@ -2217,6 +2298,15 @@ var zDeleteProjectPath = z.object({
2217
2298
  projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
2218
2299
  });
2219
2300
  var zDeleteProjectResponse = z.void();
2301
+ var zGetProjectUsagePath = z.object({
2302
+ orgID: zOrganizationId,
2303
+ projectID: zProjectId
2304
+ });
2305
+ var zGetProjectUsageQuery = z.object({
2306
+ since: z.iso.datetime({ offset: true }).optional(),
2307
+ until: z.iso.datetime({ offset: true }).optional()
2308
+ });
2309
+ var zGetProjectUsageResponse = zUsageReport;
2220
2310
  var zListOrgMembersPath = z.object({
2221
2311
  orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
2222
2312
  });
@@ -2483,6 +2573,11 @@ var zDeleteIntegrationInstallPath = z.object({
2483
2573
  integrationInstallID: z.string().regex(/^iin_[a-z2-7]{26}$/)
2484
2574
  });
2485
2575
  var zDeleteIntegrationInstallResponse = z.void();
2576
+ var zResolveAgentConfigToolsPath = z.object({
2577
+ orgID: zOrganizationId,
2578
+ projectID: zProjectId
2579
+ });
2580
+ var zResolveAgentConfigToolsResponse = zResolvedAgentConfigTools;
2486
2581
  var zCreateAgentConfigPath = z.object({
2487
2582
  orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
2488
2583
  projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
@@ -2545,6 +2640,17 @@ var zRenameAgentProfilePath = z.object({
2545
2640
  agentProfileID: z.string().regex(/^aprf_[a-z2-7]{26}$/)
2546
2641
  });
2547
2642
  var zRenameAgentProfileResponse = zAgentProfile;
2643
+ var zGetAgentProfileUsagePath = z.object({
2644
+ orgID: zOrganizationId,
2645
+ projectID: zProjectId,
2646
+ agentProfileID: zAgentProfileId
2647
+ });
2648
+ var zGetAgentProfileUsageQuery = z.object({
2649
+ since: z.iso.datetime({ offset: true }).optional(),
2650
+ until: z.iso.datetime({ offset: true }).optional(),
2651
+ include_subagents: z.boolean().optional()
2652
+ });
2653
+ var zGetAgentProfileUsageResponse = zUsageReport;
2548
2654
  var zUpdateAgentProfileHeaders = z.object({
2549
2655
  "Idempotency-Key": z.string().min(1).max(255).optional()
2550
2656
  });
@@ -2614,6 +2720,9 @@ var zListAgentsPath = z.object({
2614
2720
  var zListAgentsQuery = z.object({
2615
2721
  name: z.string().min(1).max(200).optional(),
2616
2722
  agent_profile_id: zAgentProfileId.optional(),
2723
+ parent_agent_id: zAgentId.optional(),
2724
+ include_subagents: z.boolean().optional(),
2725
+ include_archived: z.boolean().optional(),
2617
2726
  sort: zResourceListSort.optional(),
2618
2727
  limit: z.int().gte(1).lte(100).optional().default(50),
2619
2728
  cursor: z.string().max(1024).optional()
@@ -2636,6 +2745,17 @@ var zGetAgentPath = z.object({
2636
2745
  agentID: z.string().regex(/^agt_[a-z2-7]{26}$/)
2637
2746
  });
2638
2747
  var zGetAgentResponse2 = zGetAgentResponse;
2748
+ var zGetAgentUsagePath = z.object({
2749
+ orgID: zOrganizationId,
2750
+ projectID: zProjectId,
2751
+ agentID: zAgentId
2752
+ });
2753
+ var zGetAgentUsageQuery = z.object({
2754
+ since: z.iso.datetime({ offset: true }).optional(),
2755
+ until: z.iso.datetime({ offset: true }).optional(),
2756
+ include_subagents: z.boolean().optional()
2757
+ });
2758
+ var zGetAgentUsageResponse = zUsageReport;
2639
2759
  var zArchiveAgentPath = z.object({
2640
2760
  orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
2641
2761
  projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
@@ -2669,6 +2789,7 @@ var zListToolCallsPath = z.object({
2669
2789
  var zListToolCallsQuery = z.object({
2670
2790
  state: zToolCallState.optional(),
2671
2791
  type: zToolCallType.optional(),
2792
+ include_subagents: z.boolean().optional(),
2672
2793
  limit: z.int().gte(1).lte(100).optional().default(50),
2673
2794
  cursor: z.string().max(1024).optional()
2674
2795
  });
@@ -2739,6 +2860,7 @@ var zListAgentInteractionsPath = z.object({
2739
2860
  });
2740
2861
  var zListAgentInteractionsQuery = z.object({
2741
2862
  state: zAgentInteractionState.optional(),
2863
+ include_subagents: z.boolean().optional(),
2742
2864
  limit: z.int().gte(1).lte(100).optional().default(50),
2743
2865
  cursor: z.string().max(1024).optional()
2744
2866
  });
@@ -4588,6 +4710,8 @@ __export(sdk_gen_exports, {
4588
4710
  getAgent: () => getAgent,
4589
4711
  getAgentConfig: () => getAgentConfig,
4590
4712
  getAgentProfile: () => getAgentProfile,
4713
+ getAgentProfileUsage: () => getAgentProfileUsage,
4714
+ getAgentUsage: () => getAgentUsage,
4591
4715
  getArtifact: () => getArtifact,
4592
4716
  getArtifactContent: () => getArtifactContent,
4593
4717
  getCronTrigger: () => getCronTrigger,
@@ -4599,8 +4723,10 @@ __export(sdk_gen_exports, {
4599
4723
  getModelProviderConfig: () => getModelProviderConfig,
4600
4724
  getOrgApiKey: () => getOrgApiKey,
4601
4725
  getOrgOverview: () => getOrgOverview,
4726
+ getOrgUsage: () => getOrgUsage,
4602
4727
  getProjectAvailableSecret: () => getProjectAvailableSecret,
4603
4728
  getProjectMachinePoolGrant: () => getProjectMachinePoolGrant,
4729
+ getProjectUsage: () => getProjectUsage,
4604
4730
  getSecret: () => getSecret,
4605
4731
  getSkill: () => getSkill,
4606
4732
  getToolCatalog: () => getToolCatalog,
@@ -4650,6 +4776,7 @@ __export(sdk_gen_exports, {
4650
4776
  removeOrgApiKeyProjectRole: () => removeOrgApiKeyProjectRole,
4651
4777
  removeOrgMember: () => removeOrgMember,
4652
4778
  renameAgentProfile: () => renameAgentProfile,
4779
+ resolveAgentConfigTools: () => resolveAgentConfigTools,
4653
4780
  resolveAgentInteraction: () => resolveAgentInteraction,
4654
4781
  revokeMachineDaemonToken: () => revokeMachineDaemonToken,
4655
4782
  revokeOrgApiKey: () => revokeOrgApiKey,
@@ -4897,6 +5024,20 @@ var getOrgOverview = (options) => (options.client ?? client).get({
4897
5024
  url: "/orgs/{orgID}/overview",
4898
5025
  ...options
4899
5026
  });
5027
+ var getOrgUsage = (options) => (options.client ?? client).get({
5028
+ responseValidator: relaxedResponseValidator(zGetOrgUsageResponse),
5029
+ security: [{
5030
+ key: "bearerAuth",
5031
+ scheme: "bearer",
5032
+ type: "http"
5033
+ }, {
5034
+ in: "cookie",
5035
+ name: "__Host-omnara_session",
5036
+ type: "apiKey"
5037
+ }],
5038
+ url: "/orgs/{orgID}/usage",
5039
+ ...options
5040
+ });
4900
5041
  var listVisibleProjects = (options) => (options.client ?? client).get({
4901
5042
  responseValidator: relaxedResponseValidator(zListVisibleProjectsResponse),
4902
5043
  security: [{
@@ -4951,6 +5092,20 @@ var deleteProject = (options) => (options.client ?? client).delete({
4951
5092
  url: "/orgs/{orgID}/projects/{projectID}",
4952
5093
  ...options
4953
5094
  });
5095
+ var getProjectUsage = (options) => (options.client ?? client).get({
5096
+ responseValidator: relaxedResponseValidator(zGetProjectUsageResponse),
5097
+ security: [{
5098
+ key: "bearerAuth",
5099
+ scheme: "bearer",
5100
+ type: "http"
5101
+ }, {
5102
+ in: "cookie",
5103
+ name: "__Host-omnara_session",
5104
+ type: "apiKey"
5105
+ }],
5106
+ url: "/orgs/{orgID}/projects/{projectID}/usage",
5107
+ ...options
5108
+ });
4954
5109
  var listOrgMembers = (options) => (options.client ?? client).get({
4955
5110
  responseValidator: relaxedResponseValidator(zListOrgMembersResponse2),
4956
5111
  security: [{
@@ -5597,6 +5752,28 @@ var deleteIntegrationInstall = (options) => (options.client ?? client).delete({
5597
5752
  url: "/orgs/{orgID}/projects/{projectID}/integration-installs/{integrationInstallID}",
5598
5753
  ...options
5599
5754
  });
5755
+ var resolveAgentConfigTools = (options) => (options.client ?? client).post({
5756
+ responseValidator: relaxedResponseValidator(zResolveAgentConfigToolsResponse),
5757
+ security: [
5758
+ {
5759
+ key: "bearerAuth",
5760
+ scheme: "bearer",
5761
+ type: "http"
5762
+ },
5763
+ {
5764
+ in: "cookie",
5765
+ name: "__Host-omnara_session",
5766
+ type: "apiKey"
5767
+ },
5768
+ { name: "X-Omnara-Csrf", type: "apiKey" }
5769
+ ],
5770
+ url: "/orgs/{orgID}/projects/{projectID}/agent-configs/tools",
5771
+ ...options,
5772
+ headers: {
5773
+ "Content-Type": "application/json",
5774
+ ...options.headers
5775
+ }
5776
+ });
5600
5777
  var createAgentConfig = (options) => (options.client ?? client).post({
5601
5778
  responseValidator: relaxedResponseValidator(zCreateAgentConfigResponse),
5602
5779
  security: [
@@ -5773,6 +5950,20 @@ var renameAgentProfile = (options) => (options.client ?? client).patch({
5773
5950
  ...options.headers
5774
5951
  }
5775
5952
  });
5953
+ var getAgentProfileUsage = (options) => (options.client ?? client).get({
5954
+ responseValidator: relaxedResponseValidator(zGetAgentProfileUsageResponse),
5955
+ security: [{
5956
+ key: "bearerAuth",
5957
+ scheme: "bearer",
5958
+ type: "http"
5959
+ }, {
5960
+ in: "cookie",
5961
+ name: "__Host-omnara_session",
5962
+ type: "apiKey"
5963
+ }],
5964
+ url: "/orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID}/usage",
5965
+ ...options
5966
+ });
5776
5967
  var updateAgentProfile = (options) => (options.client ?? client).post({
5777
5968
  responseValidator: relaxedResponseValidator(zUpdateAgentProfileResponse),
5778
5969
  security: [
@@ -5979,6 +6170,20 @@ var getAgent = (options) => (options.client ?? client).get({
5979
6170
  url: "/orgs/{orgID}/projects/{projectID}/agents/{agentID}",
5980
6171
  ...options
5981
6172
  });
6173
+ var getAgentUsage = (options) => (options.client ?? client).get({
6174
+ responseValidator: relaxedResponseValidator(zGetAgentUsageResponse),
6175
+ security: [{
6176
+ key: "bearerAuth",
6177
+ scheme: "bearer",
6178
+ type: "http"
6179
+ }, {
6180
+ in: "cookie",
6181
+ name: "__Host-omnara_session",
6182
+ type: "apiKey"
6183
+ }],
6184
+ url: "/orgs/{orgID}/projects/{projectID}/agents/{agentID}/usage",
6185
+ ...options
6186
+ });
5982
6187
  var archiveAgent = (options) => (options.client ?? client).post({
5983
6188
  responseValidator: relaxedResponseValidator(zArchiveAgentResponse),
5984
6189
  security: [
@@ -7232,9 +7437,6 @@ function truncate(value, width) {
7232
7437
  if (end > 0 && lastUnit >= 55296 && lastUnit <= 56319) end -= 1;
7233
7438
  return `${value.slice(0, end)}\u2026`;
7234
7439
  }
7235
- function abbreviate(text, max) {
7236
- return truncate(text.replaceAll(/\s+/g, " ").trim(), max);
7237
- }
7238
7440
  function printTable(rows, indent, explicitColumns) {
7239
7441
  if (rows.length === 0) {
7240
7442
  console.log(indented(indent, dim("(no results)")));
@@ -8481,6 +8683,9 @@ function parseStreamData(data) {
8481
8683
  function sequenceNumber(value) {
8482
8684
  return value ?? 0;
8483
8685
  }
8686
+ function eventsAfterSequence(events, sequence) {
8687
+ return events.filter((event) => sequenceNumber(event.sequence) > sequence);
8688
+ }
8484
8689
  function eventMetadata(event) {
8485
8690
  return {
8486
8691
  eventId: event.id,
@@ -9098,21 +9303,19 @@ function useAgentInputBacklog(path) {
9098
9303
 
9099
9304
  // ../react/src/domains/agent-interactions.ts
9100
9305
  import { useMutation as useMutation2, useQuery as useQuery2, useQueryClient as useQueryClient2 } from "@tanstack/react-query";
9101
- var openInteractionsQuery = { state: "open", limit: 100 };
9102
- var activeAgentRefetchIntervalMs = 1e3;
9306
+ var openInteractionsQuery = { state: "open", limit: 100, include_subagents: true };
9103
9307
  function openAgentInteractionsQueryKey(client2, path) {
9104
9308
  return listAgentInteractionsQueryKey({ path, query: openInteractionsQuery, client: client2 });
9105
9309
  }
9106
- function useAgentInteractions(orgID, projectID, agentID, agentActive) {
9310
+ function useAgentInteractions(orgID, projectID, agentID) {
9107
9311
  const client2 = useOmnaraClient();
9108
- return useQuery2({
9109
- ...listAgentInteractionsOptions({
9312
+ return useQuery2(
9313
+ listAgentInteractionsOptions({
9110
9314
  path: { orgID, projectID, agentID },
9111
9315
  query: openInteractionsQuery,
9112
9316
  client: client2
9113
- }),
9114
- refetchInterval: agentActive ? activeAgentRefetchIntervalMs : false
9115
- });
9317
+ })
9318
+ );
9116
9319
  }
9117
9320
  function useResolveAgentInteraction(orgID, projectID, agentID) {
9118
9321
  const client2 = useOmnaraClient();
@@ -9121,11 +9324,12 @@ function useResolveAgentInteraction(orgID, projectID, agentID) {
9121
9324
  return useMutation2({
9122
9325
  mutationFn: async ({
9123
9326
  interactionID,
9124
- body
9327
+ body,
9328
+ targetAgentID = agentID
9125
9329
  }) => {
9126
9330
  const { data } = await sdk_gen_exports.resolveAgentInteraction({
9127
9331
  client: client2,
9128
- path: { orgID, projectID, agentID, interactionID },
9332
+ path: { orgID, projectID, agentID: targetAgentID, interactionID },
9129
9333
  body
9130
9334
  });
9131
9335
  return data;
@@ -9148,6 +9352,15 @@ function useResolveAgentInteraction(orgID, projectID, agentID) {
9148
9352
  });
9149
9353
  }
9150
9354
 
9355
+ // ../react/src/domains/usage.ts
9356
+ import { keepPreviousData, useQuery as useQuery3 } from "@tanstack/react-query";
9357
+ function agentUsageQueryPredicate(orgID, projectID) {
9358
+ return (query) => {
9359
+ const key = generatedQueryKey(query);
9360
+ return key?._id === "getAgentUsage" && key.path?.orgID === orgID && key.path.projectID === projectID;
9361
+ };
9362
+ }
9363
+
9151
9364
  // ../react/src/domains/agent-chat.ts
9152
9365
  var emptyBacklogInputs = [];
9153
9366
  var AgentChatSession = class {
@@ -9172,6 +9385,7 @@ var AgentChatSession = class {
9172
9385
  localInputs: [],
9173
9386
  backlogInputs: [],
9174
9387
  error: void 0,
9388
+ streamError: void 0,
9175
9389
  hasOlderEvents: false
9176
9390
  };
9177
9391
  constructor({
@@ -9328,6 +9542,7 @@ var AgentChatSession = class {
9328
9542
  localInputs,
9329
9543
  backlogInputs: [],
9330
9544
  error: this.error,
9545
+ streamError: this.errorSource === "stream" ? this.error : void 0,
9331
9546
  hasOlderEvents: false
9332
9547
  };
9333
9548
  for (const listener of this.listeners) listener();
@@ -9337,10 +9552,7 @@ var AgentChatSession = class {
9337
9552
  if (this.cursor == null || sequence <= this.cursor) return;
9338
9553
  this.cursor = sequence;
9339
9554
  this.events = [...this.events, event];
9340
- if (this.errorSource === "stream") {
9341
- this.error = void 0;
9342
- this.errorSource = void 0;
9343
- }
9555
+ this.clearStreamError();
9344
9556
  const inputIdempotencyKey = event.event_kind === "agent_input" ? event.input_idempotency_key : void 0;
9345
9557
  let localInputEcho = inputIdempotencyKey != null && inputIdempotencyKey === this.lastFailedSend?.id;
9346
9558
  if (localInputEcho) {
@@ -9375,20 +9587,23 @@ var AgentChatSession = class {
9375
9587
  }
9376
9588
  if (isTerminalEvent(event)) {
9377
9589
  this.deltas = this.deltas.filter((delta) => delta.turn_id !== event.turn_id);
9378
- }
9379
- if (hasToolCalls(event) || event.event_kind === "tool_result" || isControlEvent(event)) {
9380
9590
  void this.queryClient.invalidateQueries({
9381
- queryKey: openAgentInteractionsQueryKey(this.client, this.scope)
9591
+ predicate: agentUsageQueryPredicate(this.scope.orgID, this.scope.projectID)
9382
9592
  });
9383
9593
  }
9594
+ if (hasToolCalls(event) || event.event_kind === "tool_result" || isControlEvent(event)) {
9595
+ this.invalidateInteractions();
9596
+ }
9384
9597
  this.notify();
9385
9598
  }
9599
+ invalidateInteractions() {
9600
+ void this.queryClient.invalidateQueries({
9601
+ queryKey: openAgentInteractionsQueryKey(this.client, this.scope)
9602
+ });
9603
+ }
9386
9604
  handleDelta(delta) {
9387
9605
  if (this.completedCalls.has(delta.model_call_context_id)) return;
9388
- if (this.errorSource === "stream") {
9389
- this.error = void 0;
9390
- this.errorSource = void 0;
9391
- }
9606
+ this.clearStreamError();
9392
9607
  if (delta.event.kind === "error") {
9393
9608
  this.completedCalls.add(delta.model_call_context_id);
9394
9609
  this.deltas = this.deltas.filter(
@@ -9411,16 +9626,22 @@ var AgentChatSession = class {
9411
9626
  this.notify();
9412
9627
  return;
9413
9628
  }
9414
- if (state.reconnected) {
9415
- void this.queryClient.invalidateQueries({
9416
- queryKey: openAgentInteractionsQueryKey(this.client, this.scope)
9417
- });
9418
- }
9629
+ if (state.reconnected) this.invalidateInteractions();
9419
9630
  }
9420
9631
  disconnect = () => {
9421
9632
  this.runController?.abort();
9422
9633
  this.runController = null;
9423
9634
  };
9635
+ reconnect = () => {
9636
+ if (this.clearStreamError()) this.notify();
9637
+ this.connect();
9638
+ };
9639
+ clearStreamError() {
9640
+ if (this.errorSource !== "stream") return false;
9641
+ this.error = void 0;
9642
+ this.errorSource = void 0;
9643
+ return true;
9644
+ }
9424
9645
  connect() {
9425
9646
  if (this.cursor == null || this.listeners.length === 0 || this.runController != null) return;
9426
9647
  this.runController = new AbortController();
@@ -9443,6 +9664,7 @@ var AgentChatSession = class {
9443
9664
  const parsed = parseStreamData(data);
9444
9665
  if (parsed.kind === "delta") this.handleDelta(parsed.delta);
9445
9666
  else if (parsed.kind === "event") this.handleEvent(parsed.event);
9667
+ else this.invalidateInteractions();
9446
9668
  }
9447
9669
  } catch (error) {
9448
9670
  if (signal.aborted) return;
@@ -9490,21 +9712,28 @@ function useAgentChat(scope, options) {
9490
9712
  const data = useMemo(
9491
9713
  () => ({
9492
9714
  ...sessionData,
9493
- events: [...history.data?.events ?? [], ...sessionData.events],
9715
+ events: [
9716
+ ...history.data?.events ?? [],
9717
+ ...eventsAfterSequence(sessionData.events, newestLoadedSequence)
9718
+ ],
9494
9719
  backlogInputs: authoritativeBacklogInputs,
9495
9720
  hasOlderEvents
9496
9721
  }),
9497
- [authoritativeBacklogInputs, history.data, hasOlderEvents, sessionData]
9722
+ [authoritativeBacklogInputs, history.data, hasOlderEvents, newestLoadedSequence, sessionData]
9498
9723
  );
9499
9724
  const projected = useMemo(() => projectAgentChat(data), [data]);
9500
9725
  const inputPlacement = projected.isWorking || projected.backlogInputs.length > 0 || sessionData.localInputs.length > 0 ? "backlog" : "conversation";
9501
9726
  return {
9727
+ events: data.events,
9502
9728
  messages: projected.messages,
9503
9729
  status: projected.status,
9504
9730
  isWorking: projected.isWorking,
9505
9731
  error: data.error,
9732
+ streamError: data.streamError,
9506
9733
  historyStatus: history.status,
9507
9734
  historyError: history.error,
9735
+ retryHistory: () => void history.refetch(),
9736
+ reconnect: session.reconnect,
9508
9737
  hasOlderMessages: history.hasNextPage,
9509
9738
  isLoadingOlderMessages: history.isFetchingNextPage,
9510
9739
  loadOlderMessages: () => void history.fetchNextPage(),
@@ -9531,11 +9760,50 @@ function useAgentChat(scope, options) {
9531
9760
  };
9532
9761
  }
9533
9762
 
9763
+ // ../react/src/domains/agent-config-tools.ts
9764
+ import { useQuery as useQuery4 } from "@tanstack/react-query";
9765
+
9766
+ // ../react/src/domains/agent-event-preview.ts
9767
+ function truncate2(value, width) {
9768
+ if (value.length <= width) return value;
9769
+ let end = Math.max(0, width - 1);
9770
+ const lastUnit = value.charCodeAt(end - 1);
9771
+ if (end > 0 && lastUnit >= 55296 && lastUnit <= 56319) end -= 1;
9772
+ return `${value.slice(0, end)}\u2026`;
9773
+ }
9774
+ function abbreviate(text, max) {
9775
+ return truncate2(text.replaceAll(/\s+/g, " ").trim(), max);
9776
+ }
9777
+ function blockText(block) {
9778
+ switch (block.type) {
9779
+ case "text":
9780
+ return block.text ?? "";
9781
+ case "tool_call":
9782
+ return `[tool_call ${block.name ?? ""}]`;
9783
+ case "structured_data":
9784
+ return JSON.stringify(block.value);
9785
+ default:
9786
+ return `[${block.type}]`;
9787
+ }
9788
+ }
9789
+ var agentEventPreviewWidth = 80;
9790
+ function agentEventPreview(event, width = agentEventPreviewWidth) {
9791
+ switch (event.event_kind) {
9792
+ case "agent_input":
9793
+ case "model_output":
9794
+ return abbreviate(event.content_blocks.map(blockText).join(" "), width);
9795
+ case "tool_result":
9796
+ return abbreviate(`${event.outcome}: ${event.content_blocks.map(blockText).join(" ")}`, width);
9797
+ case "context_checkpoint":
9798
+ return abbreviate(`context summarized: ${event.summary}`, width);
9799
+ }
9800
+ }
9801
+
9534
9802
  // ../react/src/domains/agent-profiles.ts
9535
9803
  import {
9536
9804
  useInfiniteQuery as useInfiniteQuery2,
9537
9805
  useMutation as useMutation4,
9538
- useQuery as useQuery3,
9806
+ useQuery as useQuery5,
9539
9807
  useQueryClient as useQueryClient4,
9540
9808
  useSuspenseQuery as useSuspenseQuery2
9541
9809
  } from "@tanstack/react-query";
@@ -9549,9 +9817,10 @@ import { useMutation as useMutation3 } from "@tanstack/react-query";
9549
9817
 
9550
9818
  // ../react/src/domains/agents.ts
9551
9819
  import {
9820
+ keepPreviousData as keepPreviousData2,
9552
9821
  useInfiniteQuery as useInfiniteQuery3,
9553
9822
  useMutation as useMutation5,
9554
- useQuery as useQuery4,
9823
+ useQuery as useQuery6,
9555
9824
  useQueryClient as useQueryClient5,
9556
9825
  useSuspenseQuery as useSuspenseQuery3
9557
9826
  } from "@tanstack/react-query";
@@ -9563,20 +9832,20 @@ import { useInfiniteQuery as useInfiniteQuery4, useMutation as useMutation6, use
9563
9832
  import { useInfiniteQuery as useInfiniteQuery5, useMutation as useMutation7, useQueryClient as useQueryClient7 } from "@tanstack/react-query";
9564
9833
 
9565
9834
  // ../react/src/domains/invitations.ts
9566
- import { useMutation as useMutation8, useQuery as useQuery5, useQueryClient as useQueryClient8, useSuspenseQuery as useSuspenseQuery4 } from "@tanstack/react-query";
9835
+ import { useMutation as useMutation8, useQuery as useQuery7, useQueryClient as useQueryClient8, useSuspenseQuery as useSuspenseQuery4 } from "@tanstack/react-query";
9567
9836
 
9568
9837
  // ../react/src/domains/machine-pools.ts
9569
- import { useInfiniteQuery as useInfiniteQuery6, useMutation as useMutation9, useQuery as useQuery6, useQueryClient as useQueryClient9 } from "@tanstack/react-query";
9838
+ import { useInfiniteQuery as useInfiniteQuery6, useMutation as useMutation9, useQuery as useQuery8, useQueryClient as useQueryClient9 } from "@tanstack/react-query";
9570
9839
 
9571
9840
  // ../react/src/domains/machines.ts
9572
- import { useInfiniteQuery as useInfiniteQuery7, useMutation as useMutation10, useQuery as useQuery7, useQueryClient as useQueryClient10 } from "@tanstack/react-query";
9841
+ import { useInfiniteQuery as useInfiniteQuery7, useMutation as useMutation10, useQuery as useQuery9, useQueryClient as useQueryClient10 } from "@tanstack/react-query";
9573
9842
 
9574
9843
  // ../react/src/domains/mcp-registry.ts
9575
- import { useInfiniteQuery as useInfiniteQuery8, useQuery as useQuery8, useQueryClient as useQueryClient11 } from "@tanstack/react-query";
9844
+ import { useInfiniteQuery as useInfiniteQuery8, useQuery as useQuery10, useQueryClient as useQueryClient11 } from "@tanstack/react-query";
9576
9845
  var serverInfoStaleTime = 5 * 60 * 1e3;
9577
9846
 
9578
9847
  // ../react/src/domains/mcp-server-tools.ts
9579
- import { useQuery as useQuery9 } from "@tanstack/react-query";
9848
+ import { useQuery as useQuery11 } from "@tanstack/react-query";
9580
9849
  var mcpServerToolsStaleTime = 60 * 1e3;
9581
9850
 
9582
9851
  // ../react/src/domains/me.ts
@@ -9586,18 +9855,21 @@ import { useSuspenseQuery as useSuspenseQuery5 } from "@tanstack/react-query";
9586
9855
  import {
9587
9856
  useInfiniteQuery as useInfiniteQuery9,
9588
9857
  useMutation as useMutation11,
9589
- useQuery as useQuery10,
9858
+ useQueries,
9859
+ useQuery as useQuery12,
9590
9860
  useQueryClient as useQueryClient12
9591
9861
  } from "@tanstack/react-query";
9862
+ import { useEffect as useEffect2 } from "react";
9863
+ var modelCatalogPricingStaleTime = 5 * 60 * 1e3;
9592
9864
 
9593
9865
  // ../react/src/domains/org-api-keys.ts
9594
- import { useInfiniteQuery as useInfiniteQuery10, useMutation as useMutation12, useQuery as useQuery11, useQueryClient as useQueryClient13 } from "@tanstack/react-query";
9866
+ import { useInfiniteQuery as useInfiniteQuery10, useMutation as useMutation12, useQuery as useQuery13, useQueryClient as useQueryClient13 } from "@tanstack/react-query";
9595
9867
 
9596
9868
  // ../react/src/domains/org-members.ts
9597
- import { useMutation as useMutation13, useQuery as useQuery12, useQueryClient as useQueryClient14 } from "@tanstack/react-query";
9869
+ import { useMutation as useMutation13, useQuery as useQuery14, useQueryClient as useQueryClient14 } from "@tanstack/react-query";
9598
9870
 
9599
9871
  // ../react/src/domains/orgs.ts
9600
- import { useInfiniteQuery as useInfiniteQuery11, useMutation as useMutation14, useQuery as useQuery13, useQueryClient as useQueryClient15 } from "@tanstack/react-query";
9872
+ import { useInfiniteQuery as useInfiniteQuery11, useMutation as useMutation14, useQuery as useQuery15, useQueryClient as useQueryClient15 } from "@tanstack/react-query";
9601
9873
 
9602
9874
  // ../react/src/domains/personal-access-tokens.ts
9603
9875
  import { useInfiniteQuery as useInfiniteQuery12, useMutation as useMutation15, useQueryClient as useQueryClient16 } from "@tanstack/react-query";
@@ -9617,7 +9889,7 @@ import {
9617
9889
  import {
9618
9890
  useInfiniteQuery as useInfiniteQuery15,
9619
9891
  useMutation as useMutation17,
9620
- useQuery as useQuery14,
9892
+ useQuery as useQuery16,
9621
9893
  useQueryClient as useQueryClient19
9622
9894
  } from "@tanstack/react-query";
9623
9895
 
@@ -9625,12 +9897,12 @@ import {
9625
9897
  import {
9626
9898
  useInfiniteQuery as useInfiniteQuery16,
9627
9899
  useMutation as useMutation18,
9628
- useQuery as useQuery15,
9900
+ useQuery as useQuery17,
9629
9901
  useQueryClient as useQueryClient20
9630
9902
  } from "@tanstack/react-query";
9631
9903
 
9632
9904
  // ../react/src/domains/tool-catalog.ts
9633
- import { useQuery as useQuery16 } from "@tanstack/react-query";
9905
+ import { useQuery as useQuery18 } from "@tanstack/react-query";
9634
9906
 
9635
9907
  // src/chat.tsx
9636
9908
  import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
@@ -9638,45 +9910,18 @@ import { render } from "ink";
9638
9910
 
9639
9911
  // src/chat-ui.tsx
9640
9912
  import { Box as Box2, Static, Text as Text2, useApp } from "ink";
9641
- import { useEffect as useEffect2, useMemo as useMemo2, useReducer, useState as useState2 } from "react";
9913
+ import { useEffect as useEffect3, useMemo as useMemo2, useReducer, useState as useState2 } from "react";
9642
9914
  import * as z15 from "zod";
9643
9915
 
9644
9916
  // src/agent-rendering.ts
9645
9917
  import * as z14 from "zod";
9646
- function blockText(block) {
9647
- switch (block.type) {
9648
- case "text":
9649
- return block.text ?? "";
9650
- case "tool_call":
9651
- return `[tool_call ${block.name ?? ""}]`;
9652
- case "structured_data":
9653
- return JSON.stringify(block.value);
9654
- default:
9655
- return `[${block.type}]`;
9656
- }
9657
- }
9658
- var previewWidth = 80;
9659
- function eventPreview(event) {
9660
- switch (event.event_kind) {
9661
- case "agent_input":
9662
- case "model_output":
9663
- return abbreviate(event.content_blocks.map(blockText).join(" "), previewWidth);
9664
- case "tool_result":
9665
- return abbreviate(
9666
- `${event.outcome}: ${event.content_blocks.map(blockText).join(" ")}`,
9667
- previewWidth
9668
- );
9669
- case "context_checkpoint":
9670
- return abbreviate(`context summarized: ${event.summary}`, previewWidth);
9671
- }
9672
- }
9673
9918
  var formatAgentEventList = (response) => {
9674
9919
  const page = {
9675
9920
  data: response.data.map((event) => ({
9676
9921
  sequence: event.sequence,
9677
9922
  event_kind: event.event_kind,
9678
9923
  turn_sequence: event.turn_sequence,
9679
- preview: eventPreview(event),
9924
+ preview: agentEventPreview(event),
9680
9925
  created_at: event.created_at
9681
9926
  })),
9682
9927
  has_more: response.has_more,
@@ -9808,6 +10053,12 @@ function InteractionPrompt({
9808
10053
  " ",
9809
10054
  form.title
9810
10055
  ] }),
10056
+ interaction.agent_name != null && /* @__PURE__ */ jsxs(Text, { children: [
10057
+ " ",
10058
+ /* @__PURE__ */ jsx2(Text, { dimColor: true, children: "from subagent" }),
10059
+ " ",
10060
+ interaction.agent_name
10061
+ ] }),
9811
10062
  (form.context ?? []).map((item) => /* @__PURE__ */ jsxs(Text, { children: [
9812
10063
  " ",
9813
10064
  /* @__PURE__ */ jsxs(Text, { dimColor: true, children: [
@@ -10015,7 +10266,7 @@ function transitionWorkTimer(snapshot, phase) {
10015
10266
  }
10016
10267
  function useWorkTimer(phase) {
10017
10268
  const [snapshot, transition] = useReducer(transitionWorkTimer, { accumulatedMs: 0 });
10018
- useEffect2(() => {
10269
+ useEffect3(() => {
10019
10270
  transition(phase);
10020
10271
  }, [phase]);
10021
10272
  return snapshot;
@@ -10029,7 +10280,7 @@ function StatusLine({
10029
10280
  now: void 0
10030
10281
  });
10031
10282
  const active = activity != null;
10032
- useEffect2(() => {
10283
+ useEffect3(() => {
10033
10284
  if (!active) return;
10034
10285
  const interval = setInterval(() => {
10035
10286
  setTick((previous) => ({
@@ -10140,12 +10391,7 @@ function Transcript({ items, live }) {
10140
10391
  }
10141
10392
  function Chat({ scope }) {
10142
10393
  const chat = useAgentChat(scope, { source: "cli" });
10143
- const interactions = useAgentInteractions(
10144
- scope.orgID,
10145
- scope.projectID,
10146
- scope.agentID,
10147
- chat.isWorking
10148
- );
10394
+ const interactions = useAgentInteractions(scope.orgID, scope.projectID, scope.agentID);
10149
10395
  const resolveInteraction = useResolveAgentInteraction(scope.orgID, scope.projectID, scope.agentID);
10150
10396
  const { exit } = useApp();
10151
10397
  const [draft, setDraft] = useState2("");
@@ -10186,7 +10432,11 @@ function Chat({ scope }) {
10186
10432
  {
10187
10433
  interaction,
10188
10434
  onAnswer: (answers) => {
10189
- void resolveInteraction.mutateAsync({ interactionID: interaction.id, body: { answers } }).catch(() => void 0);
10435
+ void resolveInteraction.mutateAsync({
10436
+ interactionID: interaction.id,
10437
+ body: { answers },
10438
+ targetAgentID: interaction.agent_id
10439
+ }).catch(() => void 0);
10190
10440
  }
10191
10441
  },
10192
10442
  interaction.id
@@ -11089,8 +11339,12 @@ var commandGroups = [
11089
11339
  verb: "list",
11090
11340
  summary: "List agents in a project",
11091
11341
  fn: sdk_gen_exports.listAgents,
11092
- format: (response) => formatTable(["id", "name", "state", "model", "created_at"])({
11093
- data: response.data.map((agent) => ({ ...agent, model: agent.model?.name })),
11342
+ format: (response) => formatTable(["id", "name", "state", "model", "parent_agent_id", "created_at"])({
11343
+ data: response.data.map((agent) => ({
11344
+ ...agent,
11345
+ model: agent.model?.name,
11346
+ parent_agent_id: agent.parent_agent_id ?? ""
11347
+ })),
11094
11348
  next_cursor: response.next_cursor
11095
11349
  }),
11096
11350
  path: zListAgentsPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnara",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "Command-line interface for Omnara: launch and manage agents, organizations, integrations, and MCP servers",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://omnara.com",