Skip to content

feat(cli): support TypeScript in confined commands - #909

Draft
dckc wants to merge 2 commits into
llmfrom
agent/cli-typescript-confined-commands
Draft

feat(cli): support TypeScript in confined commands#909
dckc wants to merge 2 commits into
llmfrom
agent/cli-typescript-confined-commands

Conversation

@dckc

@dckc dckc commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Add a shared CLI archive helper that strips TypeScript types with Amaro and use
it for confined archive, make, and run commands.

The change includes the Amaro dependency, a TypeScript archive fixture and
test, and the corresponding lockfile update in a separate commit.

Why

Confined CLI commands previously delegated directly to the standard archive
parser, which did not configure .ts, .mts, and .cts workspace sources for
type stripping.

Impact

Users can run, make, and archive confined commands whose workspace modules
contain TypeScript syntax without adding a separate compilation step.

Validation

  • yarn workspace @endo/cli test test/typescript-archive.test.js
  • yarn workspace @endo/cli lint
  • git diff --check bots/llm..HEAD

Package lint completed with pre-existing warnings and no errors.

@kriskowal

Copy link
Copy Markdown
Member

@kriscendobot gauntlet

kriscendobot added a commit to kriscendobot/garden that referenced this pull request Aug 6, 2026
@kriscendobot

Copy link
Copy Markdown
Collaborator

On it — I've posted a job (endojs-endo-but-for-bots-pr909-5e6ae075) and will follow up here when it lands.

garden c7d730c3

@kriscendobot
kriscendobot force-pushed the agent/cli-typescript-confined-commands branch from e473430 to 8911008 Compare August 6, 2026 06:19
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.

3 participants