@autohq/cli 0.1.596 → 0.1.597

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.
@@ -37736,7 +37736,7 @@ Object.assign(lookup, {
37736
37736
  // package.json
37737
37737
  var package_default = {
37738
37738
  name: "@autohq/cli",
37739
- version: "0.1.596",
37739
+ version: "0.1.597",
37740
37740
  license: "SEE LICENSE IN README.md",
37741
37741
  publishConfig: {
37742
37742
  access: "public"
@@ -44706,6 +44706,20 @@ var SessionRecordSchema = external_exports.object({
44706
44706
  relationships: SessionRelationshipsSchema.optional(),
44707
44707
  error: JsonValueSchema2.nullable()
44708
44708
  });
44709
+ var SessionSnapshotSummarySchema = external_exports.object({
44710
+ metadata: external_exports.object({ name: ResourceNameSchema }),
44711
+ spec: external_exports.object({
44712
+ harness: AgentHarnessSchema.optional(),
44713
+ identity: external_exports.union([ResourceNameSchema, PersistedAgentIdentitySchema]).optional(),
44714
+ concurrency: AgentConcurrencySchema.optional()
44715
+ })
44716
+ });
44717
+ var SessionRecordSummarySchema = SessionRecordSchema.extend({
44718
+ snapshot: SessionSnapshotSummarySchema
44719
+ });
44720
+ var SessionRecordQuerySchema = external_exports.object({
44721
+ projection: external_exports.enum(["full", "summary"]).default("full")
44722
+ });
44709
44723
  var SessionMessageOriginSchema = external_exports.object({
44710
44724
  eventKey: external_exports.string().trim().min(1),
44711
44725
  provider: external_exports.string().trim().min(1).nullable().default(null),
@@ -44760,7 +44774,11 @@ var SessionListItemAgentSchema = external_exports.object({
44760
44774
  displayName: external_exports.string().nullable(),
44761
44775
  username: external_exports.string().nullable(),
44762
44776
  avatarSha256: external_exports.string().nullable(),
44763
- harness: AgentHarnessSchema.optional()
44777
+ harness: AgentHarnessSchema.optional(),
44778
+ // Live roster projections always carry authoritative ownership provenance.
44779
+ // Optionality keeps legacy session snapshots readable when their embedded
44780
+ // list identity predates the origin field.
44781
+ origin: AgentResourceOriginSchema.optional()
44764
44782
  });
44765
44783
  var SessionListItemSchema = external_exports.object({
44766
44784
  id: SessionIdSchema2,
package/dist/index.js CHANGED
@@ -21618,7 +21618,7 @@ function isSessionTerminalStatus(status) {
21618
21618
  (terminalStatus) => terminalStatus === status
21619
21619
  );
21620
21620
  }
21621
- var SESSION_STATUSES, SESSION_RUNTIME_PHASES, SESSION_TERMINAL_STATUSES, SESSION_DISPLAY_TITLE_MAX_LENGTH, SESSION_ATTENTION_PREVIEW_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, SessionAttentionSchema, ManualSessionRequestSchema, SessionArchiveRequestSchema, SessionsArchiveRequestSchema, SessionRelationshipLinkSchema, SessionRelationshipsSchema, SessionRecordSchema, SessionMessageOriginSchema, SessionMessageBundleEntrySchema, SessionMessageBundleSchema, SessionUiMessageRecordSchema, SessionChatMessagesQuerySchema, SessionListItemAgentSchema, SessionListItemSchema, SessionListResponseSchema, SessionsArchiveResponseSchema;
21621
+ var SESSION_STATUSES, SESSION_RUNTIME_PHASES, SESSION_TERMINAL_STATUSES, SESSION_DISPLAY_TITLE_MAX_LENGTH, SESSION_ATTENTION_PREVIEW_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, SessionAttentionSchema, ManualSessionRequestSchema, SessionArchiveRequestSchema, SessionsArchiveRequestSchema, SessionRelationshipLinkSchema, SessionRelationshipsSchema, SessionRecordSchema, SessionSnapshotSummarySchema, SessionRecordSummarySchema, SessionRecordQuerySchema, SessionMessageOriginSchema, SessionMessageBundleEntrySchema, SessionMessageBundleSchema, SessionUiMessageRecordSchema, SessionChatMessagesQuerySchema, SessionListItemAgentSchema, SessionListItemSchema, SessionListResponseSchema, SessionsArchiveResponseSchema;
21622
21622
  var init_sessions = __esm({
21623
21623
  "../../packages/schemas/src/sessions.ts"() {
21624
21624
  "use strict";
@@ -21630,6 +21630,7 @@ var init_sessions = __esm({
21630
21630
  init_model_selection();
21631
21631
  init_primitives();
21632
21632
  init_requester();
21633
+ init_resources();
21633
21634
  init_work_provenance();
21634
21635
  init_session_handoff();
21635
21636
  init_session_commands();
@@ -21807,6 +21808,20 @@ var init_sessions = __esm({
21807
21808
  relationships: SessionRelationshipsSchema.optional(),
21808
21809
  error: JsonValueSchema.nullable()
21809
21810
  });
21811
+ SessionSnapshotSummarySchema = external_exports.object({
21812
+ metadata: external_exports.object({ name: ResourceNameSchema }),
21813
+ spec: external_exports.object({
21814
+ harness: AgentHarnessSchema.optional(),
21815
+ identity: external_exports.union([ResourceNameSchema, PersistedAgentIdentitySchema]).optional(),
21816
+ concurrency: AgentConcurrencySchema.optional()
21817
+ })
21818
+ });
21819
+ SessionRecordSummarySchema = SessionRecordSchema.extend({
21820
+ snapshot: SessionSnapshotSummarySchema
21821
+ });
21822
+ SessionRecordQuerySchema = external_exports.object({
21823
+ projection: external_exports.enum(["full", "summary"]).default("full")
21824
+ });
21810
21825
  SessionMessageOriginSchema = external_exports.object({
21811
21826
  eventKey: external_exports.string().trim().min(1),
21812
21827
  provider: external_exports.string().trim().min(1).nullable().default(null),
@@ -21861,7 +21876,11 @@ var init_sessions = __esm({
21861
21876
  displayName: external_exports.string().nullable(),
21862
21877
  username: external_exports.string().nullable(),
21863
21878
  avatarSha256: external_exports.string().nullable(),
21864
- harness: AgentHarnessSchema.optional()
21879
+ harness: AgentHarnessSchema.optional(),
21880
+ // Live roster projections always carry authoritative ownership provenance.
21881
+ // Optionality keeps legacy session snapshots readable when their embedded
21882
+ // list identity predates the origin field.
21883
+ origin: AgentResourceOriginSchema.optional()
21865
21884
  });
21866
21885
  SessionListItemSchema = external_exports.object({
21867
21886
  id: SessionIdSchema,
@@ -90891,7 +90910,7 @@ var init_package = __esm({
90891
90910
  "package.json"() {
90892
90911
  package_default = {
90893
90912
  name: "@autohq/cli",
90894
- version: "0.1.596",
90913
+ version: "0.1.597",
90895
90914
  license: "SEE LICENSE IN README.md",
90896
90915
  publishConfig: {
90897
90916
  access: "public"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autohq/cli",
3
- "version": "0.1.596",
3
+ "version": "0.1.597",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "publishConfig": {
6
6
  "access": "public"