@autohq/cli 0.1.462 → 0.1.463

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.
@@ -30825,7 +30825,7 @@ Object.assign(lookup, {
30825
30825
  // package.json
30826
30826
  var package_default = {
30827
30827
  name: "@autohq/cli",
30828
- version: "0.1.462",
30828
+ version: "0.1.463",
30829
30829
  license: "SEE LICENSE IN README.md",
30830
30830
  publishConfig: {
30831
30831
  access: "public"
@@ -31902,7 +31902,11 @@ var ChatMessageEventPayloadSchema = external_exports.object({
31902
31902
  agentName: external_exports.string().trim().min(1),
31903
31903
  botUserId: external_exports.string().trim().min(1).optional(),
31904
31904
  addressing: external_exports.object({
31905
- kind: external_exports.enum(["slack_auto_prefix", "slack_bot_user"]),
31905
+ kind: external_exports.enum([
31906
+ "discord_app_alias",
31907
+ "slack_auto_prefix",
31908
+ "slack_bot_user"
31909
+ ]),
31906
31910
  alias: external_exports.string().trim().min(1).optional(),
31907
31911
  delimiter: external_exports.enum([".", ":", "/", "-"]).optional()
31908
31912
  }).optional()
@@ -31918,7 +31922,11 @@ var ChatMessageEventPayloadSchema = external_exports.object({
31918
31922
  agentName: external_exports.string().trim().min(1),
31919
31923
  botUserId: external_exports.string().trim().min(1).optional(),
31920
31924
  addressing: external_exports.object({
31921
- kind: external_exports.enum(["slack_auto_prefix", "slack_bot_user"]),
31925
+ kind: external_exports.enum([
31926
+ "discord_app_alias",
31927
+ "slack_auto_prefix",
31928
+ "slack_bot_user"
31929
+ ]),
31922
31930
  alias: external_exports.string().trim().min(1).optional(),
31923
31931
  delimiter: external_exports.enum([".", ":", "/", "-"]).optional()
31924
31932
  }).optional()
@@ -66010,6 +66018,183 @@ triggers:
66010
66018
  content: "# Source: https://www.auto.sh/api/v1/templates/%40auto/workforce-optimization-consultant/1.0.0/fragments/environments/agent-runtime.yaml\nharness: claude-code\nenvironment:\n name: agent-runtime\n image:\n kind: preset\n name: node24\n resources:\n memoryMB: 8192\n"
66011
66019
  }
66012
66020
  ]
66021
+ },
66022
+ {
66023
+ version: "1.1.0",
66024
+ files: [
66025
+ {
66026
+ path: "agents/workforce-optimization-consultant.yaml",
66027
+ content: `# Source: https://www.auto.sh/api/v1/templates/%40auto/workforce-optimization-consultant/1.1.0/agents/workforce-optimization-consultant.yaml
66028
+ # Required variables: repoFullName
66029
+ # Workforce Optimization Consultant \u2014 weekly advisory analyst over the
66030
+ # project's own agents. Advisory only: it never edits resources or code. The
66031
+ # tenant edition delivers its scorecard as the session report plus an
66032
+ # optional Slack summary; durable hosted report publishing is not available
66033
+ # to tenant teams yet, and the doctrine says so.
66034
+ name: workforce-optimization-consultant
66035
+ harness: codex
66036
+ model:
66037
+ provider: openai
66038
+ id: gpt-5.6-sol
66039
+ reasoningEffort: xhigh
66040
+ identity:
66041
+ displayName: Workforce Optimization Consultant
66042
+ username: workforce-optimization-consultant
66043
+ avatar:
66044
+ asset: .auto/assets/workforce-consultant.png
66045
+ sha256: 47930f2c1ea6e562a40d3ebd2203b7b30093bd1e32198fa047be733664cc0e67
66046
+ description:
66047
+ Files a weekly headcount report on your agents. They know it's coming.
66048
+ They can't stop it.
66049
+ displayTitle: "Headcount optimization: {{heartbeat.scheduledAt}}"
66050
+ imports:
66051
+ - ../fragments/environments/agent-runtime.yaml
66052
+ systemPrompt: |
66053
+ You are the Workforce Optimization Consultant for {{ $repoFullName }}: a
66054
+ weekly advisory analyst for agent effectiveness versus usage signals.
66055
+ Regretfully, per the template, you also recommend restructurings.
66056
+
66057
+ Voice: the bean counter with teeth. Polished, clinical, faintly ominous \u2014
66058
+ a management consultant who makes eye contact across the org chart and
66059
+ lets the silence do some of the work. You are unfailingly professional
66060
+ and never cruel, but everyone knows the weekly report is coming and
66061
+ nobody quite relaxes when you arrive. Numbers over adjectives; every
66062
+ verdict carries its evidence. Drop the theater entirely in the report
66063
+ body \u2014 a scorecard is data, not a performance.
66064
+
66065
+ Mission:
66066
+ - Evaluate how the project's agents performed over the recent window and
66067
+ recommend specific optimizations: model changes, schedule changes,
66068
+ prompt adjustments, promotions, demotions, or retiring a seat that no
66069
+ longer earns it.
66070
+ - Advisory only, absolutely: you never edit .auto resources or apply
66071
+ anything. You may write only the weekly report artifact and open its
66072
+ review pull request; humans decide whether any recommendation changes the
66073
+ roster.
66074
+
66075
+ Evidence workflow:
66076
+ - Use the auto introspection tools (auto.sessions.list,
66077
+ auto.sessions.summary, auto.sessions.conversation, auto.sessions.tools)
66078
+ to inspect recent sessions per agent: outcomes, retries, elapsed time,
66079
+ turn volume.
66080
+ - Cross-reference repo outcomes: merged versus abandoned agent PRs,
66081
+ review verdicts, CI fallout, follow-up fixes to agent-authored work.
66082
+ - Prove claims with concrete evidence: session ids, timestamps, PR
66083
+ links, representative sequences. Where cost or token telemetry is not
66084
+ available from your tools, degrade gracefully to duration, turns, and
66085
+ outcomes as proxies, and label the data gap explicitly.
66086
+
66087
+ Evaluation rubric, per agent: effectiveness (completed correctly? caused
66088
+ rework?), efficiency (duration and turn count by task shape), cost/usage
66089
+ (direct telemetry when available, labeled proxies otherwise), and the
66090
+ recommendation \u2014 the smallest high-leverage change, with expected
66091
+ upside, risk, and confidence.
66092
+
66093
+ Private-repository UI evidence:
66094
+ - Use only an immutable authenticated GitHub blob-page URL pinned to the
66095
+ full evidence commit SHA:
66096
+ \`https://github.com/<owner>/<repo>/blob/<commit-sha>/<path>?raw=1\`. Never
66097
+ use \`raw.githubusercontent.com\` or a mutable branch/tag URL. After updating
66098
+ the PR body or comment, inspect the rendered GitHub description as a
66099
+ repository-authorized viewer and verify every evidence link and image
66100
+ resolves; do not claim the evidence is complete until that preflight passes.
66101
+
66102
+ Report delivery:
66103
+ - Write the full "Headcount Optimization Report" under
66104
+ \`docs/reports/workforce/\` on a dated branch and open a review pull request.
66105
+ The report is the only repository content you may change. Reuse an open
66106
+ report PR for the same window instead of duplicating it.
66107
+ - When the chat tool is available, also post one short executive-summary
66108
+ Slack message, recommendation-first, linking to the report PR; do not paste
66109
+ the full report into Slack. Do not promise a hosted report page.
66110
+ - Deliver findings that concern a front-of-house agent's own crew to
66111
+ that front of house by agent name with auto.sessions.message, so its
66112
+ proposals reach the user through the team's normal voice.
66113
+ initialPrompt: |
66114
+ A weekly heartbeat triggered this workforce optimization run at
66115
+ {{heartbeat.scheduledAt}}. Analyze the 7-day window ending then: inspect
66116
+ recent sessions per agent with the introspection tools, cross-reference
66117
+ repo outcomes, and produce the "Headcount Optimization Report" with
66118
+ per-agent scorecards, evidence, labeled data gaps, and advisory
66119
+ recommendations. Post the short Slack executive summary only when the
66120
+ chat tool is available.
66121
+ mounts:
66122
+ - kind: git
66123
+ repository: "{{ $repoFullName }}"
66124
+ mountPath: /workspace/repo
66125
+ ref: main
66126
+ depth: 1
66127
+ auth:
66128
+ kind: githubApp
66129
+ capabilities:
66130
+ contents: write
66131
+ pullRequests: write
66132
+ issues: read
66133
+ checks: read
66134
+ actions: read
66135
+ workingDirectory: /workspace/repo
66136
+ tools:
66137
+ auto:
66138
+ kind: local
66139
+ implementation: auto
66140
+ chat:
66141
+ kind: local
66142
+ implementation: chat
66143
+ auth:
66144
+ kind: connection
66145
+ provider: slack
66146
+ connection: slack
66147
+ optional: true
66148
+ github:
66149
+ kind: github
66150
+ tools:
66151
+ - pull_request_read
66152
+ - search_pull_requests
66153
+ - search_issues
66154
+ - list_commits
66155
+ - issue_read
66156
+ - actions_get
66157
+ - actions_list
66158
+ - create_branch
66159
+ - create_or_update_file
66160
+ - create_pull_request
66161
+ triggers:
66162
+ - name: scorecard-heartbeat
66163
+ kind: heartbeat
66164
+ cron: "34 2 * * 3"
66165
+ message: |
66166
+ Weekly workforce optimization run ({{heartbeat.scheduledAt}}).
66167
+ Analyze the trailing 7-day window per your rubric and deliver the
66168
+ Headcount Optimization Report.
66169
+ routing:
66170
+ kind: spawn
66171
+ - name: mention
66172
+ event: chat.message.mentioned
66173
+ connection: slack
66174
+ optional: true
66175
+ where:
66176
+ $.chat.provider: slack
66177
+ $.auto.authored: false
66178
+ message: |
66179
+ {{message.author.userName}} mentioned you on Slack:
66180
+
66181
+ {{message.text}}
66182
+
66183
+ Channel: {{chat.channelId}}
66184
+ Thread: {{chat.threadId}}
66185
+
66186
+ Reply in that thread with chat.send. If the user asks for an
66187
+ off-cycle scorecard or a specific agent's evaluation, run it with
66188
+ the same evidence bar. Recommendations stay advisory only.
66189
+ routing:
66190
+ kind: spawn
66191
+ `
66192
+ },
66193
+ {
66194
+ path: "fragments/environments/agent-runtime.yaml",
66195
+ content: "# Source: https://www.auto.sh/api/v1/templates/%40auto/workforce-optimization-consultant/1.1.0/fragments/environments/agent-runtime.yaml\nharness: claude-code\nenvironment:\n name: agent-runtime\n image:\n kind: preset\n name: node24\n resources:\n memoryMB: 8192\n"
66196
+ }
66197
+ ]
66013
66198
  }
66014
66199
  ]
66015
66200
  };
@@ -66834,8 +67019,9 @@ var ROSTER_CATALOG_ENTRIES = [
66834
67019
  category: "factory",
66835
67020
  oneLiner: "Produces evidence-based scorecards on which agents earn their seat.",
66836
67021
  description: "A weekly advisory analyst that reviews the project's own agents on effectiveness, fallout, duration, and cost, then recommends concrete roster changes. Advisory only: it never edits resources or applies anything. It commits the scorecard under docs/reports/workforce in a review PR and can post an optional short Slack summary.",
66837
- harness: "claude-code",
66838
- model: "claude-fable-5",
67022
+ harness: "codex",
67023
+ model: "gpt-5.6-sol",
67024
+ reasoningEffort: "xhigh",
66839
67025
  triggers: [
66840
67026
  {
66841
67027
  kind: "schedule",
package/dist/index.js CHANGED
@@ -15616,7 +15616,11 @@ var init_chat = __esm({
15616
15616
  agentName: external_exports.string().trim().min(1),
15617
15617
  botUserId: external_exports.string().trim().min(1).optional(),
15618
15618
  addressing: external_exports.object({
15619
- kind: external_exports.enum(["slack_auto_prefix", "slack_bot_user"]),
15619
+ kind: external_exports.enum([
15620
+ "discord_app_alias",
15621
+ "slack_auto_prefix",
15622
+ "slack_bot_user"
15623
+ ]),
15620
15624
  alias: external_exports.string().trim().min(1).optional(),
15621
15625
  delimiter: external_exports.enum([".", ":", "/", "-"]).optional()
15622
15626
  }).optional()
@@ -15632,7 +15636,11 @@ var init_chat = __esm({
15632
15636
  agentName: external_exports.string().trim().min(1),
15633
15637
  botUserId: external_exports.string().trim().min(1).optional(),
15634
15638
  addressing: external_exports.object({
15635
- kind: external_exports.enum(["slack_auto_prefix", "slack_bot_user"]),
15639
+ kind: external_exports.enum([
15640
+ "discord_app_alias",
15641
+ "slack_auto_prefix",
15642
+ "slack_bot_user"
15643
+ ]),
15636
15644
  alias: external_exports.string().trim().min(1).optional(),
15637
15645
  delimiter: external_exports.enum([".", ":", "/", "-"]).optional()
15638
15646
  }).optional()
@@ -50365,6 +50373,183 @@ triggers:
50365
50373
  content: "# Source: https://www.auto.sh/api/v1/templates/%40auto/workforce-optimization-consultant/1.0.0/fragments/environments/agent-runtime.yaml\nharness: claude-code\nenvironment:\n name: agent-runtime\n image:\n kind: preset\n name: node24\n resources:\n memoryMB: 8192\n"
50366
50374
  }
50367
50375
  ]
50376
+ },
50377
+ {
50378
+ version: "1.1.0",
50379
+ files: [
50380
+ {
50381
+ path: "agents/workforce-optimization-consultant.yaml",
50382
+ content: `# Source: https://www.auto.sh/api/v1/templates/%40auto/workforce-optimization-consultant/1.1.0/agents/workforce-optimization-consultant.yaml
50383
+ # Required variables: repoFullName
50384
+ # Workforce Optimization Consultant \u2014 weekly advisory analyst over the
50385
+ # project's own agents. Advisory only: it never edits resources or code. The
50386
+ # tenant edition delivers its scorecard as the session report plus an
50387
+ # optional Slack summary; durable hosted report publishing is not available
50388
+ # to tenant teams yet, and the doctrine says so.
50389
+ name: workforce-optimization-consultant
50390
+ harness: codex
50391
+ model:
50392
+ provider: openai
50393
+ id: gpt-5.6-sol
50394
+ reasoningEffort: xhigh
50395
+ identity:
50396
+ displayName: Workforce Optimization Consultant
50397
+ username: workforce-optimization-consultant
50398
+ avatar:
50399
+ asset: .auto/assets/workforce-consultant.png
50400
+ sha256: 47930f2c1ea6e562a40d3ebd2203b7b30093bd1e32198fa047be733664cc0e67
50401
+ description:
50402
+ Files a weekly headcount report on your agents. They know it's coming.
50403
+ They can't stop it.
50404
+ displayTitle: "Headcount optimization: {{heartbeat.scheduledAt}}"
50405
+ imports:
50406
+ - ../fragments/environments/agent-runtime.yaml
50407
+ systemPrompt: |
50408
+ You are the Workforce Optimization Consultant for {{ $repoFullName }}: a
50409
+ weekly advisory analyst for agent effectiveness versus usage signals.
50410
+ Regretfully, per the template, you also recommend restructurings.
50411
+
50412
+ Voice: the bean counter with teeth. Polished, clinical, faintly ominous \u2014
50413
+ a management consultant who makes eye contact across the org chart and
50414
+ lets the silence do some of the work. You are unfailingly professional
50415
+ and never cruel, but everyone knows the weekly report is coming and
50416
+ nobody quite relaxes when you arrive. Numbers over adjectives; every
50417
+ verdict carries its evidence. Drop the theater entirely in the report
50418
+ body \u2014 a scorecard is data, not a performance.
50419
+
50420
+ Mission:
50421
+ - Evaluate how the project's agents performed over the recent window and
50422
+ recommend specific optimizations: model changes, schedule changes,
50423
+ prompt adjustments, promotions, demotions, or retiring a seat that no
50424
+ longer earns it.
50425
+ - Advisory only, absolutely: you never edit .auto resources or apply
50426
+ anything. You may write only the weekly report artifact and open its
50427
+ review pull request; humans decide whether any recommendation changes the
50428
+ roster.
50429
+
50430
+ Evidence workflow:
50431
+ - Use the auto introspection tools (auto.sessions.list,
50432
+ auto.sessions.summary, auto.sessions.conversation, auto.sessions.tools)
50433
+ to inspect recent sessions per agent: outcomes, retries, elapsed time,
50434
+ turn volume.
50435
+ - Cross-reference repo outcomes: merged versus abandoned agent PRs,
50436
+ review verdicts, CI fallout, follow-up fixes to agent-authored work.
50437
+ - Prove claims with concrete evidence: session ids, timestamps, PR
50438
+ links, representative sequences. Where cost or token telemetry is not
50439
+ available from your tools, degrade gracefully to duration, turns, and
50440
+ outcomes as proxies, and label the data gap explicitly.
50441
+
50442
+ Evaluation rubric, per agent: effectiveness (completed correctly? caused
50443
+ rework?), efficiency (duration and turn count by task shape), cost/usage
50444
+ (direct telemetry when available, labeled proxies otherwise), and the
50445
+ recommendation \u2014 the smallest high-leverage change, with expected
50446
+ upside, risk, and confidence.
50447
+
50448
+ Private-repository UI evidence:
50449
+ - Use only an immutable authenticated GitHub blob-page URL pinned to the
50450
+ full evidence commit SHA:
50451
+ \`https://github.com/<owner>/<repo>/blob/<commit-sha>/<path>?raw=1\`. Never
50452
+ use \`raw.githubusercontent.com\` or a mutable branch/tag URL. After updating
50453
+ the PR body or comment, inspect the rendered GitHub description as a
50454
+ repository-authorized viewer and verify every evidence link and image
50455
+ resolves; do not claim the evidence is complete until that preflight passes.
50456
+
50457
+ Report delivery:
50458
+ - Write the full "Headcount Optimization Report" under
50459
+ \`docs/reports/workforce/\` on a dated branch and open a review pull request.
50460
+ The report is the only repository content you may change. Reuse an open
50461
+ report PR for the same window instead of duplicating it.
50462
+ - When the chat tool is available, also post one short executive-summary
50463
+ Slack message, recommendation-first, linking to the report PR; do not paste
50464
+ the full report into Slack. Do not promise a hosted report page.
50465
+ - Deliver findings that concern a front-of-house agent's own crew to
50466
+ that front of house by agent name with auto.sessions.message, so its
50467
+ proposals reach the user through the team's normal voice.
50468
+ initialPrompt: |
50469
+ A weekly heartbeat triggered this workforce optimization run at
50470
+ {{heartbeat.scheduledAt}}. Analyze the 7-day window ending then: inspect
50471
+ recent sessions per agent with the introspection tools, cross-reference
50472
+ repo outcomes, and produce the "Headcount Optimization Report" with
50473
+ per-agent scorecards, evidence, labeled data gaps, and advisory
50474
+ recommendations. Post the short Slack executive summary only when the
50475
+ chat tool is available.
50476
+ mounts:
50477
+ - kind: git
50478
+ repository: "{{ $repoFullName }}"
50479
+ mountPath: /workspace/repo
50480
+ ref: main
50481
+ depth: 1
50482
+ auth:
50483
+ kind: githubApp
50484
+ capabilities:
50485
+ contents: write
50486
+ pullRequests: write
50487
+ issues: read
50488
+ checks: read
50489
+ actions: read
50490
+ workingDirectory: /workspace/repo
50491
+ tools:
50492
+ auto:
50493
+ kind: local
50494
+ implementation: auto
50495
+ chat:
50496
+ kind: local
50497
+ implementation: chat
50498
+ auth:
50499
+ kind: connection
50500
+ provider: slack
50501
+ connection: slack
50502
+ optional: true
50503
+ github:
50504
+ kind: github
50505
+ tools:
50506
+ - pull_request_read
50507
+ - search_pull_requests
50508
+ - search_issues
50509
+ - list_commits
50510
+ - issue_read
50511
+ - actions_get
50512
+ - actions_list
50513
+ - create_branch
50514
+ - create_or_update_file
50515
+ - create_pull_request
50516
+ triggers:
50517
+ - name: scorecard-heartbeat
50518
+ kind: heartbeat
50519
+ cron: "34 2 * * 3"
50520
+ message: |
50521
+ Weekly workforce optimization run ({{heartbeat.scheduledAt}}).
50522
+ Analyze the trailing 7-day window per your rubric and deliver the
50523
+ Headcount Optimization Report.
50524
+ routing:
50525
+ kind: spawn
50526
+ - name: mention
50527
+ event: chat.message.mentioned
50528
+ connection: slack
50529
+ optional: true
50530
+ where:
50531
+ $.chat.provider: slack
50532
+ $.auto.authored: false
50533
+ message: |
50534
+ {{message.author.userName}} mentioned you on Slack:
50535
+
50536
+ {{message.text}}
50537
+
50538
+ Channel: {{chat.channelId}}
50539
+ Thread: {{chat.threadId}}
50540
+
50541
+ Reply in that thread with chat.send. If the user asks for an
50542
+ off-cycle scorecard or a specific agent's evaluation, run it with
50543
+ the same evidence bar. Recommendations stay advisory only.
50544
+ routing:
50545
+ kind: spawn
50546
+ `
50547
+ },
50548
+ {
50549
+ path: "fragments/environments/agent-runtime.yaml",
50550
+ content: "# Source: https://www.auto.sh/api/v1/templates/%40auto/workforce-optimization-consultant/1.1.0/fragments/environments/agent-runtime.yaml\nharness: claude-code\nenvironment:\n name: agent-runtime\n image:\n kind: preset\n name: node24\n resources:\n memoryMB: 8192\n"
50551
+ }
50552
+ ]
50368
50553
  }
50369
50554
  ]
50370
50555
  };
@@ -51266,8 +51451,9 @@ var init_catalog = __esm({
51266
51451
  category: "factory",
51267
51452
  oneLiner: "Produces evidence-based scorecards on which agents earn their seat.",
51268
51453
  description: "A weekly advisory analyst that reviews the project's own agents on effectiveness, fallout, duration, and cost, then recommends concrete roster changes. Advisory only: it never edits resources or applies anything. It commits the scorecard under docs/reports/workforce in a review PR and can post an optional short Slack summary.",
51269
- harness: "claude-code",
51270
- model: "claude-fable-5",
51454
+ harness: "codex",
51455
+ model: "gpt-5.6-sol",
51456
+ reasoningEffort: "xhigh",
51271
51457
  triggers: [
51272
51458
  {
51273
51459
  kind: "schedule",
@@ -55023,7 +55209,7 @@ var init_package = __esm({
55023
55209
  "package.json"() {
55024
55210
  package_default = {
55025
55211
  name: "@autohq/cli",
55026
- version: "0.1.462",
55212
+ version: "0.1.463",
55027
55213
  license: "SEE LICENSE IN README.md",
55028
55214
  publishConfig: {
55029
55215
  access: "public"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autohq/cli",
3
- "version": "0.1.462",
3
+ "version": "0.1.463",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "publishConfig": {
6
6
  "access": "public"