Skip to content

chore!: @celados/argc 10.0 (from 8.0), release 0.3.0-rc.1 - #10

Merged
ethan-huo merged 2 commits into
mainfrom
chore/argc-10
Nov 12, 2026
Merged

ethan-huo merged 2 commits into
mainfrom
chore/argc-10

Conversation

@ethan-huo

Copy link
Copy Markdown
Contributor

Upgrades the CLI framework from @celados/argc 8.0 to 10.0 (celados/argc#28, #30, #31).

  • 9.0 removed the agent pipe guard: ARGC_ALLOW_CAPTURE dropped from verify-package-artifact.ts. wbot never used meta.output or the test preload.
  • 10.0: whole input as YAML/JSON5 via - (stdin) or @file; BAD_INPUT_JSON → BAD_INPUT; @schema input-side types, call: as a list; the hidden auth group is no longer listed in @schema (@schema .auth still works). wbot had no field-level -/@path handling and no defineValueSource, so nothing else to remove.
  • Credentials are not changed: WBOT_API_KEY → wbot auth set store stays as is. feat: platform API key via argc 8.1 value source, release 0.2.9 #9 (value source) was closed as out of scope for wbot; this PR keeps that decision.
  • README: YAML heredoc for multi-line messages.send text. CHANGELOG entry.
  • Version 0.2.8 → 0.3.0-rc.1 (package + plugin manifests): @schema text and the input error code are Public Contract, so a breaking minor ships as an rc first (docs/releasing.md). Merging triggers the release workflow (prerelease) — hold for the batch review.

Local: bun run check, typecheck, test (117), bun test packages/wbot/scripts (6), verify:package (0.3.0-rc.1 artifact) all pass. Smoke on the bundle: YAML heredoc messages.send with a | multi-line text validates and reaches the Platform (closed port → ECONNREFUSED); duplicate YAML key → BAD_INPUT format: yaml line: 2.

argc 9.0 removes the agent pipe guard (drop ARGC_ALLOW_CAPTURE from the
package verifier); 10.0 accepts the whole input as YAML/JSON5 on stdin or
from a file, renames BAD_INPUT_JSON to BAD_INPUT, renders @Schema input-side
with call: as a list, and hides the hidden auth group. Breaking for the
Public Contract (@Schema output, input error code), so a 0.3.0 release
candidate per docs/releasing.md. README shows the YAML heredoc for
multi-line send text.
@ethan-huo
ethan-huo merged commit 86622e9 into main Nov 12, 2026
1 check passed
@ethan-huo
ethan-huo deleted the chore/argc-10 branch November 12, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant