@autohq/cli 0.1.481 → 0.1.482

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.
@@ -30866,7 +30866,7 @@ Object.assign(lookup, {
30866
30866
  // package.json
30867
30867
  var package_default = {
30868
30868
  name: "@autohq/cli",
30869
- version: "0.1.481",
30869
+ version: "0.1.482",
30870
30870
  license: "SEE LICENSE IN README.md",
30871
30871
  publishConfig: {
30872
30872
  access: "public"
@@ -37893,6 +37893,7 @@ var SessionTurnRecordSchema = external_exports.object({
37893
37893
  // ../../packages/schemas/src/setup.ts
37894
37894
  var SetupAutomationDescriptionSchema = external_exports.string().max(2e3).refine((value2) => value2.trim().length > 0);
37895
37895
  var SetupOnboardingPullRequestCreateRequestSchema = external_exports.object({
37896
+ operationId: external_exports.string().uuid().optional(),
37896
37897
  githubConnection: external_exports.string().trim().min(1).optional(),
37897
37898
  slackConnection: external_exports.string().trim().min(1).optional(),
37898
37899
  repo: GithubSyncRepositoryFullNameSchema,
@@ -37932,11 +37933,13 @@ var SetupOnboardingSyncSchema = external_exports.object({
37932
37933
  var SetupOnboardingPullRequestCreateResponseSchema = external_exports.discriminatedUnion("mode", [
37933
37934
  external_exports.object({
37934
37935
  mode: external_exports.literal("pull_request"),
37936
+ operationId: external_exports.string().uuid(),
37935
37937
  pullRequest: SetupOnboardingPullRequestSchema,
37936
37938
  onboardingRun: SetupOnboardingRunReferenceSchema.optional()
37937
37939
  }),
37938
37940
  external_exports.object({
37939
37941
  mode: external_exports.literal("sync"),
37942
+ operationId: external_exports.string().uuid(),
37940
37943
  sync: SetupOnboardingSyncSchema,
37941
37944
  onboardingRun: SetupOnboardingRunReferenceSchema.optional()
37942
37945
  })
@@ -71947,6 +71950,7 @@ triggers:
71947
71950
  };
71948
71951
 
71949
71952
  // ../../packages/schemas/src/templates/hardcoded.ts
71953
+ var RETIRED_TEMPLATE_NAMES = /* @__PURE__ */ new Set(["@auto/onboarding"]);
71950
71954
  var TEMPLATE_DESCRIPTIONS = {
71951
71955
  "@auto/agent-fleet": "An engineering fleet: a direct-session chief-of-staff orchestrator that dispatches and shepherds staff-engineer coding agents, with optional Slack intake and reporting.",
71952
71956
  "@auto/blank-canvas": "The Blank Canvas workshop: a Patron front of house that turns a plain-language commission into the smallest useful team, authoring every hire as a reviewable setup PR.",
@@ -71965,8 +71969,8 @@ var TEMPLATE_DESCRIPTIONS = {
71965
71969
  "@auto/issue-triage": "Issue triage plus an implementation coder on a GitHub Issues or Linear substrate, with optional Slack reporting; deprecated -slack entrypoints keep the required-Slack behavior.",
71966
71970
  "@auto/lead-engine": "A sourced lead researcher for webhook payloads, direct-session criteria, public web signals, and authorized provider-backed sources; -slack entrypoint for a sales-channel flow.",
71967
71971
  "@auto/janitor": "A scheduled repository hygiene specialist that sweeps stale branches, labels, TODOs, and artifact bloat through reviewable cleanup pull requests.",
71968
- "@auto/onboarding": "Auto's house onboarding guidance, importable as a managed template.",
71969
- "@auto/onboarding-quickstart": "The quickstart template repo's onboarding overlay: composes onto @auto/onboarding with the fork-flow walkthrough beats (site request bar, handoff loop, self-improvement demo).",
71972
+ "@auto/onboarding": "Retired standalone onboarding guidance retained for exact-version compatibility.",
71973
+ "@auto/onboarding-quickstart": "The quickstart template repo's onboarding overlay: composes onto the final pinned standalone onboarding version with the fork-flow walkthrough beats (site request bar, handoff loop, self-improvement demo).",
71970
71974
  "@auto/pr-review": "Auto's full pull-request reviewer agent, with optional Slack verdict reporting.",
71971
71975
  "@auto/principal-at-large": "A summons-only principal for exceptional diagnosis, design, and resisted implementation work that advises first, acts only when needed, and retains no standing ownership.",
71972
71976
  "@auto/reaper": "A warn-first cleanup specialist for stale pull requests, stuck sessions, and zombie branches.",
@@ -71996,13 +72000,15 @@ var MANAGED_TEMPLATES = Object.entries(
71996
72000
  }));
71997
72001
  var HardcodedTemplateRegistry = class {
71998
72002
  templates;
71999
- constructor(templates = MANAGED_TEMPLATES) {
72003
+ retiredTemplateNames;
72004
+ constructor(templates = MANAGED_TEMPLATES, retiredTemplateNames = RETIRED_TEMPLATE_NAMES) {
72000
72005
  this.templates = new Map(
72001
72006
  templates.map((template) => [template.name, template])
72002
72007
  );
72008
+ this.retiredTemplateNames = retiredTemplateNames;
72003
72009
  }
72004
72010
  listTemplates() {
72005
- return [...this.templates.values()].map(toManagedTemplate);
72011
+ return [...this.templates.values()].filter((template) => !this.retiredTemplateNames.has(template.name)).map(toManagedTemplate);
72006
72012
  }
72007
72013
  getTemplate(name23) {
72008
72014
  const template = this.templates.get(name23);
@@ -72013,6 +72019,11 @@ var HardcodedTemplateRegistry = class {
72013
72019
  if (track.kind === "pinned") {
72014
72020
  return toTemplateVersion(this.requireVersion(template, track.version));
72015
72021
  }
72022
+ if (this.retiredTemplateNames.has(name23)) {
72023
+ throw new Error(
72024
+ `Managed template ${name23} is retired; pin an exact version`
72025
+ );
72026
+ }
72016
72027
  return deriveLatestVersion(toManagedTemplate(template));
72017
72028
  }
72018
72029
  getFiles(name23, version2) {
package/dist/index.js CHANGED
@@ -22227,6 +22227,7 @@ var init_setup = __esm({
22227
22227
  init_github_sync();
22228
22228
  SetupAutomationDescriptionSchema = external_exports.string().max(2e3).refine((value) => value.trim().length > 0);
22229
22229
  SetupOnboardingPullRequestCreateRequestSchema = external_exports.object({
22230
+ operationId: external_exports.string().uuid().optional(),
22230
22231
  githubConnection: external_exports.string().trim().min(1).optional(),
22231
22232
  slackConnection: external_exports.string().trim().min(1).optional(),
22232
22233
  repo: GithubSyncRepositoryFullNameSchema,
@@ -22266,11 +22267,13 @@ var init_setup = __esm({
22266
22267
  SetupOnboardingPullRequestCreateResponseSchema = external_exports.discriminatedUnion("mode", [
22267
22268
  external_exports.object({
22268
22269
  mode: external_exports.literal("pull_request"),
22270
+ operationId: external_exports.string().uuid(),
22269
22271
  pullRequest: SetupOnboardingPullRequestSchema,
22270
22272
  onboardingRun: SetupOnboardingRunReferenceSchema.optional()
22271
22273
  }),
22272
22274
  external_exports.object({
22273
22275
  mode: external_exports.literal("sync"),
22276
+ operationId: external_exports.string().uuid(),
22274
22277
  sync: SetupOnboardingSyncSchema,
22275
22278
  onboardingRun: SetupOnboardingRunReferenceSchema.optional()
22276
22279
  })
@@ -56464,12 +56467,13 @@ function toManagedTemplate(template) {
56464
56467
  versions: template.versions.map(toTemplateVersion)
56465
56468
  };
56466
56469
  }
56467
- var TEMPLATE_DESCRIPTIONS, MANAGED_TEMPLATES, HardcodedTemplateRegistry, defaultTemplateRegistry;
56470
+ var RETIRED_TEMPLATE_NAMES, TEMPLATE_DESCRIPTIONS, MANAGED_TEMPLATES, HardcodedTemplateRegistry, defaultTemplateRegistry;
56468
56471
  var init_hardcoded = __esm({
56469
56472
  "../../packages/schemas/src/templates/hardcoded.ts"() {
56470
56473
  "use strict";
56471
56474
  init_content_generated();
56472
56475
  init_registry();
56476
+ RETIRED_TEMPLATE_NAMES = /* @__PURE__ */ new Set(["@auto/onboarding"]);
56473
56477
  TEMPLATE_DESCRIPTIONS = {
56474
56478
  "@auto/agent-fleet": "An engineering fleet: a direct-session chief-of-staff orchestrator that dispatches and shepherds staff-engineer coding agents, with optional Slack intake and reporting.",
56475
56479
  "@auto/blank-canvas": "The Blank Canvas workshop: a Patron front of house that turns a plain-language commission into the smallest useful team, authoring every hire as a reviewable setup PR.",
@@ -56488,8 +56492,8 @@ var init_hardcoded = __esm({
56488
56492
  "@auto/issue-triage": "Issue triage plus an implementation coder on a GitHub Issues or Linear substrate, with optional Slack reporting; deprecated -slack entrypoints keep the required-Slack behavior.",
56489
56493
  "@auto/lead-engine": "A sourced lead researcher for webhook payloads, direct-session criteria, public web signals, and authorized provider-backed sources; -slack entrypoint for a sales-channel flow.",
56490
56494
  "@auto/janitor": "A scheduled repository hygiene specialist that sweeps stale branches, labels, TODOs, and artifact bloat through reviewable cleanup pull requests.",
56491
- "@auto/onboarding": "Auto's house onboarding guidance, importable as a managed template.",
56492
- "@auto/onboarding-quickstart": "The quickstart template repo's onboarding overlay: composes onto @auto/onboarding with the fork-flow walkthrough beats (site request bar, handoff loop, self-improvement demo).",
56495
+ "@auto/onboarding": "Retired standalone onboarding guidance retained for exact-version compatibility.",
56496
+ "@auto/onboarding-quickstart": "The quickstart template repo's onboarding overlay: composes onto the final pinned standalone onboarding version with the fork-flow walkthrough beats (site request bar, handoff loop, self-improvement demo).",
56493
56497
  "@auto/pr-review": "Auto's full pull-request reviewer agent, with optional Slack verdict reporting.",
56494
56498
  "@auto/principal-at-large": "A summons-only principal for exceptional diagnosis, design, and resisted implementation work that advises first, acts only when needed, and retains no standing ownership.",
56495
56499
  "@auto/reaper": "A warn-first cleanup specialist for stale pull requests, stuck sessions, and zombie branches.",
@@ -56519,13 +56523,15 @@ var init_hardcoded = __esm({
56519
56523
  }));
56520
56524
  HardcodedTemplateRegistry = class {
56521
56525
  templates;
56522
- constructor(templates = MANAGED_TEMPLATES) {
56526
+ retiredTemplateNames;
56527
+ constructor(templates = MANAGED_TEMPLATES, retiredTemplateNames = RETIRED_TEMPLATE_NAMES) {
56523
56528
  this.templates = new Map(
56524
56529
  templates.map((template) => [template.name, template])
56525
56530
  );
56531
+ this.retiredTemplateNames = retiredTemplateNames;
56526
56532
  }
56527
56533
  listTemplates() {
56528
- return [...this.templates.values()].map(toManagedTemplate);
56534
+ return [...this.templates.values()].filter((template) => !this.retiredTemplateNames.has(template.name)).map(toManagedTemplate);
56529
56535
  }
56530
56536
  getTemplate(name) {
56531
56537
  const template = this.templates.get(name);
@@ -56536,6 +56542,11 @@ var init_hardcoded = __esm({
56536
56542
  if (track.kind === "pinned") {
56537
56543
  return toTemplateVersion(this.requireVersion(template, track.version));
56538
56544
  }
56545
+ if (this.retiredTemplateNames.has(name)) {
56546
+ throw new Error(
56547
+ `Managed template ${name} is retired; pin an exact version`
56548
+ );
56549
+ }
56539
56550
  return deriveLatestVersion(toManagedTemplate(template));
56540
56551
  }
56541
56552
  getFiles(name, version2) {
@@ -61142,7 +61153,7 @@ var init_package = __esm({
61142
61153
  "package.json"() {
61143
61154
  package_default = {
61144
61155
  name: "@autohq/cli",
61145
- version: "0.1.481",
61156
+ version: "0.1.482",
61146
61157
  license: "SEE LICENSE IN README.md",
61147
61158
  publishConfig: {
61148
61159
  access: "public"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autohq/cli",
3
- "version": "0.1.481",
3
+ "version": "0.1.482",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "publishConfig": {
6
6
  "access": "public"