@autohq/cli 0.1.383 → 0.1.384

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.
@@ -23492,7 +23492,7 @@ Object.assign(lookup, {
23492
23492
  // package.json
23493
23493
  var package_default = {
23494
23494
  name: "@autohq/cli",
23495
- version: "0.1.383",
23495
+ version: "0.1.384",
23496
23496
  license: "SEE LICENSE IN README.md",
23497
23497
  publishConfig: {
23498
23498
  access: "public"
@@ -27952,6 +27952,18 @@ var SessionsArchiveRequestSchema = external_exports.object({
27952
27952
  session_ids: external_exports.array(SessionIdSchema2).min(1).max(100),
27953
27953
  archived: external_exports.boolean()
27954
27954
  });
27955
+ var SessionRelationshipLinkSchema = external_exports.object({
27956
+ id: SessionIdSchema2,
27957
+ displayTitle: RunDisplayTitleSchema.nullable().default(null),
27958
+ agentName: external_exports.string().trim().min(1).nullable().default(null)
27959
+ });
27960
+ var SessionRelationshipsSchema = external_exports.object({
27961
+ parent: SessionRelationshipLinkSchema.nullable().default(null),
27962
+ children: external_exports.object({
27963
+ total: external_exports.number().int().nonnegative(),
27964
+ items: external_exports.array(SessionRelationshipLinkSchema)
27965
+ }).default({ total: 0, items: [] })
27966
+ });
27955
27967
  var SessionRecordSchema = external_exports.object({
27956
27968
  id: SessionIdSchema2,
27957
27969
  organizationId: external_exports.string().trim().min(1),
@@ -27993,6 +28005,7 @@ var SessionRecordSchema = external_exports.object({
27993
28005
  archivedAt: external_exports.string().datetime().nullable(),
27994
28006
  archiveHandoff: external_exports.string().nullable().default(null),
27995
28007
  archiveHandoffWrittenAt: external_exports.string().datetime().nullable().default(null),
28008
+ relationships: SessionRelationshipsSchema.optional(),
27996
28009
  error: JsonValueSchema2.nullable()
27997
28010
  });
27998
28011
  var SessionMessageOriginSchema = external_exports.object({
@@ -28050,6 +28063,7 @@ var SessionListItemSchema = external_exports.object({
28050
28063
  model: ResolvedAgentModelSelectionSchema.nullable().optional(),
28051
28064
  reasoningEffort: external_exports.string().trim().min(1).nullable().optional(),
28052
28065
  agent: SessionListItemAgentSchema,
28066
+ relationships: SessionRelationshipsSchema.optional(),
28053
28067
  createdAt: external_exports.string().datetime(),
28054
28068
  updatedAt: external_exports.string().datetime(),
28055
28069
  archivedAt: external_exports.string().datetime().nullable(),
@@ -28193,6 +28207,9 @@ var OrganizationCreditsResponseSchema = external_exports.object({
28193
28207
  balanceUsd: UsdAmountSchema,
28194
28208
  totalCreditsUsd: UsdAmountSchema,
28195
28209
  totalBilledUsageUsd: NonNegativeUsdSchema,
28210
+ // Billed spend over the trailing 24h, so the low-credits banner can compare
28211
+ // the current balance against recent burn without a second request.
28212
+ spendLastDayUsd: NonNegativeUsdSchema,
28196
28213
  events: external_exports.array(CreditEventRecordSchema)
28197
28214
  });
28198
28215
  var AddOrganizationCreditsRequestSchema = external_exports.object({
package/dist/index.js CHANGED
@@ -19472,7 +19472,7 @@ function isSessionTerminalStatus(status) {
19472
19472
  (terminalStatus) => terminalStatus === status
19473
19473
  );
19474
19474
  }
19475
- var SESSION_STATUSES, SESSION_RUNTIME_PHASES, SESSION_TERMINAL_STATUSES, SESSION_DISPLAY_TITLE_MAX_LENGTH, SESSION_ARCHIVE_HANDOFF_MAX_LENGTH, SESSION_MESSAGE_ROLES, SESSION_MESSAGE_STATUSES, SessionStatusSchema, SessionRuntimePhaseSchema, SessionMessageRoleSchema, SessionMessageStatusSchema, RunDisplayTitleSchema, AmbientStatusSchema, SESSION_CHECK_STATUSES, SESSION_CHECK_CONCLUSIONS, SESSION_CHECK_TIMEOUT_PHASES, SessionCheckStatusSchema, SessionCheckConclusionSchema, SessionCheckTimeoutPhaseSchema, ManualSessionRequestSchema, SessionArchiveRequestSchema, SessionArchiveHandoffSchema, SessionsArchiveRequestSchema, SessionRecordSchema, SessionMessageOriginSchema, SessionUiMessageRecordSchema, SessionListItemAgentSchema, SessionListItemSchema, SessionListResponseSchema, SessionsArchiveResponseSchema;
19475
+ var SESSION_STATUSES, SESSION_RUNTIME_PHASES, SESSION_TERMINAL_STATUSES, SESSION_DISPLAY_TITLE_MAX_LENGTH, SESSION_ARCHIVE_HANDOFF_MAX_LENGTH, SESSION_MESSAGE_ROLES, SESSION_MESSAGE_STATUSES, SessionStatusSchema, SessionRuntimePhaseSchema, SessionMessageRoleSchema, SessionMessageStatusSchema, RunDisplayTitleSchema, AmbientStatusSchema, SESSION_CHECK_STATUSES, SESSION_CHECK_CONCLUSIONS, SESSION_CHECK_TIMEOUT_PHASES, SessionCheckStatusSchema, SessionCheckConclusionSchema, SessionCheckTimeoutPhaseSchema, ManualSessionRequestSchema, SessionArchiveRequestSchema, SessionArchiveHandoffSchema, SessionsArchiveRequestSchema, SessionRelationshipLinkSchema, SessionRelationshipsSchema, SessionRecordSchema, SessionMessageOriginSchema, SessionUiMessageRecordSchema, SessionListItemAgentSchema, SessionListItemSchema, SessionListResponseSchema, SessionsArchiveResponseSchema;
19476
19476
  var init_sessions = __esm({
19477
19477
  "../../packages/schemas/src/sessions.ts"() {
19478
19478
  "use strict";
@@ -19552,6 +19552,18 @@ var init_sessions = __esm({
19552
19552
  session_ids: external_exports.array(SessionIdSchema).min(1).max(100),
19553
19553
  archived: external_exports.boolean()
19554
19554
  });
19555
+ SessionRelationshipLinkSchema = external_exports.object({
19556
+ id: SessionIdSchema,
19557
+ displayTitle: RunDisplayTitleSchema.nullable().default(null),
19558
+ agentName: external_exports.string().trim().min(1).nullable().default(null)
19559
+ });
19560
+ SessionRelationshipsSchema = external_exports.object({
19561
+ parent: SessionRelationshipLinkSchema.nullable().default(null),
19562
+ children: external_exports.object({
19563
+ total: external_exports.number().int().nonnegative(),
19564
+ items: external_exports.array(SessionRelationshipLinkSchema)
19565
+ }).default({ total: 0, items: [] })
19566
+ });
19555
19567
  SessionRecordSchema = external_exports.object({
19556
19568
  id: SessionIdSchema,
19557
19569
  organizationId: external_exports.string().trim().min(1),
@@ -19593,6 +19605,7 @@ var init_sessions = __esm({
19593
19605
  archivedAt: external_exports.string().datetime().nullable(),
19594
19606
  archiveHandoff: external_exports.string().nullable().default(null),
19595
19607
  archiveHandoffWrittenAt: external_exports.string().datetime().nullable().default(null),
19608
+ relationships: SessionRelationshipsSchema.optional(),
19596
19609
  error: JsonValueSchema.nullable()
19597
19610
  });
19598
19611
  SessionMessageOriginSchema = external_exports.object({
@@ -19650,6 +19663,7 @@ var init_sessions = __esm({
19650
19663
  model: ResolvedAgentModelSelectionSchema.nullable().optional(),
19651
19664
  reasoningEffort: external_exports.string().trim().min(1).nullable().optional(),
19652
19665
  agent: SessionListItemAgentSchema,
19666
+ relationships: SessionRelationshipsSchema.optional(),
19653
19667
  createdAt: external_exports.string().datetime(),
19654
19668
  updatedAt: external_exports.string().datetime(),
19655
19669
  archivedAt: external_exports.string().datetime().nullable(),
@@ -19824,6 +19838,9 @@ var init_billing = __esm({
19824
19838
  balanceUsd: UsdAmountSchema,
19825
19839
  totalCreditsUsd: UsdAmountSchema,
19826
19840
  totalBilledUsageUsd: NonNegativeUsdSchema,
19841
+ // Billed spend over the trailing 24h, so the low-credits banner can compare
19842
+ // the current balance against recent burn without a second request.
19843
+ spendLastDayUsd: NonNegativeUsdSchema,
19827
19844
  events: external_exports.array(CreditEventRecordSchema)
19828
19845
  });
19829
19846
  AddOrganizationCreditsRequestSchema = external_exports.object({
@@ -33908,7 +33925,7 @@ var init_package = __esm({
33908
33925
  "package.json"() {
33909
33926
  package_default = {
33910
33927
  name: "@autohq/cli",
33911
- version: "0.1.383",
33928
+ version: "0.1.384",
33912
33929
  license: "SEE LICENSE IN README.md",
33913
33930
  publishConfig: {
33914
33931
  access: "public"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autohq/cli",
3
- "version": "0.1.383",
3
+ "version": "0.1.384",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "publishConfig": {
6
6
  "access": "public"