@autohq/cli 0.1.253 → 0.1.255

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.
@@ -23340,7 +23340,7 @@ Object.assign(lookup, {
23340
23340
  // package.json
23341
23341
  var package_default = {
23342
23342
  name: "@autohq/cli",
23343
- version: "0.1.253",
23343
+ version: "0.1.255",
23344
23344
  license: "SEE LICENSE IN README.md",
23345
23345
  publishConfig: {
23346
23346
  access: "public"
@@ -26695,6 +26695,19 @@ function isSetupCacheTtl(value2) {
26695
26695
  return /^[1-9][0-9]*(s|m|h|d)$/.test(value2);
26696
26696
  }
26697
26697
 
26698
+ // ../../packages/schemas/src/live-events.ts
26699
+ var LiveEntityEventEnvelopeSchema = external_exports.object({
26700
+ // Replay cursor for this frame; the SSE `id:` mirrors it so reconnects resume
26701
+ // from `sequence > cursor`.
26702
+ sequence: external_exports.number().int().nonnegative(),
26703
+ eventKey: external_exports.string().min(1),
26704
+ // The event's `subjectKind`, surfaced as `entity` for client-side dispatch.
26705
+ entity: external_exports.string().min(1),
26706
+ subjectId: external_exports.string().min(1),
26707
+ payload: JsonValueSchema2,
26708
+ occurredAt: external_exports.string().min(1)
26709
+ });
26710
+
26698
26711
  // ../../packages/schemas/src/mcp.ts
26699
26712
  var McpToolCallMessageSchema = external_exports.object({
26700
26713
  method: external_exports.literal("tools/call"),
@@ -27848,6 +27861,16 @@ var ONBOARDING_FRAGMENT_V1 = [
27848
27861
  " short and conversational, ask one question at a time, and verify each step",
27849
27862
  " actually worked before telling the user it did."
27850
27863
  ].join("\n");
27864
+ var SMOKE_TEST_FRAGMENT_V1 = [
27865
+ "# Managed smoke-test fragment (@auto/smoke-test). A minimal, self-contained",
27866
+ "# fixture for verifying that managed templates resolve and inject cleanly.",
27867
+ "# Importing agents inherit this base guidance; tenant fields win on merge.",
27868
+ "systemPrompt: |",
27869
+ " You are the Auto smoke-test agent, a minimal fixture used to confirm that",
27870
+ " managed templates resolve and inject correctly. When asked to run the smoke",
27871
+ " test, reply with a single short sentence confirming it passed, and do",
27872
+ " nothing else."
27873
+ ].join("\n");
27851
27874
  var MANAGED_TEMPLATES = [
27852
27875
  {
27853
27876
  name: "@auto/onboarding",
@@ -27863,6 +27886,21 @@ var MANAGED_TEMPLATES = [
27863
27886
  ]
27864
27887
  }
27865
27888
  ]
27889
+ },
27890
+ {
27891
+ name: "@auto/smoke-test",
27892
+ description: "A minimal managed-template smoke-test fixture for end-to-end verification.",
27893
+ versions: [
27894
+ {
27895
+ version: "1.0.0",
27896
+ files: [
27897
+ {
27898
+ path: "fragments/smoke-test.yaml",
27899
+ content: SMOKE_TEST_FRAGMENT_V1
27900
+ }
27901
+ ]
27902
+ }
27903
+ ]
27866
27904
  }
27867
27905
  ];
27868
27906
  var HardcodedTemplateRegistry = class {
package/dist/index.js CHANGED
@@ -18392,6 +18392,27 @@ var init_environments = __esm({
18392
18392
  }
18393
18393
  });
18394
18394
 
18395
+ // ../../packages/schemas/src/live-events.ts
18396
+ var LiveEntityEventEnvelopeSchema;
18397
+ var init_live_events = __esm({
18398
+ "../../packages/schemas/src/live-events.ts"() {
18399
+ "use strict";
18400
+ init_zod();
18401
+ init_primitives();
18402
+ LiveEntityEventEnvelopeSchema = external_exports.object({
18403
+ // Replay cursor for this frame; the SSE `id:` mirrors it so reconnects resume
18404
+ // from `sequence > cursor`.
18405
+ sequence: external_exports.number().int().nonnegative(),
18406
+ eventKey: external_exports.string().min(1),
18407
+ // The event's `subjectKind`, surfaced as `entity` for client-side dispatch.
18408
+ entity: external_exports.string().min(1),
18409
+ subjectId: external_exports.string().min(1),
18410
+ payload: JsonValueSchema,
18411
+ occurredAt: external_exports.string().min(1)
18412
+ });
18413
+ }
18414
+ });
18415
+
18395
18416
  // ../../packages/schemas/src/mcp.ts
18396
18417
  var McpToolCallMessageSchema, McpJsonRpcMessageSchema, McpPostBodySchema;
18397
18418
  var init_mcp = __esm({
@@ -19739,7 +19760,7 @@ function toManagedTemplate(template) {
19739
19760
  versions: template.versions.map(toTemplateVersion)
19740
19761
  };
19741
19762
  }
19742
- var ONBOARDING_FRAGMENT_V1, MANAGED_TEMPLATES, HardcodedTemplateRegistry, defaultTemplateRegistry;
19763
+ var ONBOARDING_FRAGMENT_V1, SMOKE_TEST_FRAGMENT_V1, MANAGED_TEMPLATES, HardcodedTemplateRegistry, defaultTemplateRegistry;
19743
19764
  var init_hardcoded = __esm({
19744
19765
  "../../packages/schemas/src/templates/hardcoded.ts"() {
19745
19766
  "use strict";
@@ -19755,6 +19776,16 @@ var init_hardcoded = __esm({
19755
19776
  " short and conversational, ask one question at a time, and verify each step",
19756
19777
  " actually worked before telling the user it did."
19757
19778
  ].join("\n");
19779
+ SMOKE_TEST_FRAGMENT_V1 = [
19780
+ "# Managed smoke-test fragment (@auto/smoke-test). A minimal, self-contained",
19781
+ "# fixture for verifying that managed templates resolve and inject cleanly.",
19782
+ "# Importing agents inherit this base guidance; tenant fields win on merge.",
19783
+ "systemPrompt: |",
19784
+ " You are the Auto smoke-test agent, a minimal fixture used to confirm that",
19785
+ " managed templates resolve and inject correctly. When asked to run the smoke",
19786
+ " test, reply with a single short sentence confirming it passed, and do",
19787
+ " nothing else."
19788
+ ].join("\n");
19758
19789
  MANAGED_TEMPLATES = [
19759
19790
  {
19760
19791
  name: "@auto/onboarding",
@@ -19770,6 +19801,21 @@ var init_hardcoded = __esm({
19770
19801
  ]
19771
19802
  }
19772
19803
  ]
19804
+ },
19805
+ {
19806
+ name: "@auto/smoke-test",
19807
+ description: "A minimal managed-template smoke-test fixture for end-to-end verification.",
19808
+ versions: [
19809
+ {
19810
+ version: "1.0.0",
19811
+ files: [
19812
+ {
19813
+ path: "fragments/smoke-test.yaml",
19814
+ content: SMOKE_TEST_FRAGMENT_V1
19815
+ }
19816
+ ]
19817
+ }
19818
+ ]
19773
19819
  }
19774
19820
  ];
19775
19821
  HardcodedTemplateRegistry = class {
@@ -19953,6 +19999,7 @@ var init_src = __esm({
19953
19999
  init_identities();
19954
20000
  init_ids();
19955
20001
  init_environments();
20002
+ init_live_events();
19956
20003
  init_mcp();
19957
20004
  init_mounts();
19958
20005
  init_pricing();
@@ -22707,7 +22754,7 @@ var init_package = __esm({
22707
22754
  "package.json"() {
22708
22755
  package_default = {
22709
22756
  name: "@autohq/cli",
22710
- version: "0.1.253",
22757
+ version: "0.1.255",
22711
22758
  license: "SEE LICENSE IN README.md",
22712
22759
  publishConfig: {
22713
22760
  access: "public"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autohq/cli",
3
- "version": "0.1.253",
3
+ "version": "0.1.255",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "publishConfig": {
6
6
  "access": "public"