@astralos/cli 0.1.3 → 0.1.4

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.
package/README.md CHANGED
@@ -56,8 +56,6 @@ The server loads your catalog at startup. Catalog names such as
56
56
  names get a stable hash suffix. Tool descriptions and JSON input schemas
57
57
  come from the catalog.
58
58
 
59
- Approval-required calls return an error with an approval link. After a person
60
- approves it, retry the same tool with identical arguments to replay the approval.
61
- Alternatively, run `astral --wait mcp` to wait and replay automatically. Set
62
- `--wait-timeout <seconds>` to change the 900-second deadline. Diagnostics go to
63
- stderr; stdout carries only MCP messages.
59
+ Calls do not ask for approval cards. A workspace rule that says "ask" stops the
60
+ call with an `approval_required` error; a rule that says "deny" denies it.
61
+ Diagnostics go to stderr; stdout carries only MCP messages.
package/dist/astral.js CHANGED
@@ -10267,7 +10267,7 @@ var ASTRAL_APPROVAL_HEADER = "Astral-Approval";
10267
10267
  // package.json
10268
10268
  var package_default = {
10269
10269
  name: "@astralos/cli",
10270
- version: "0.1.3",
10270
+ version: "0.1.4",
10271
10271
  license: "MIT",
10272
10272
  description: "The Astral command line. Every Astral tool, from a terminal or an agent.",
10273
10273
  publishConfig: {
@@ -10745,9 +10745,8 @@ Keep tokens private. Add \`--json\` to read the API success or error envelope.
10745
10745
  | 7 | Upstream error |
10746
10746
  | 10 | Approval required |
10747
10747
 
10748
- An approval-required call exits 10 and prints an approval link. Ask a person
10749
- to approve it. Use \`--wait\` to wait and replay the call after approval;
10750
- \`--wait-timeout <seconds>\` sets the deadline (default: 900 seconds).
10748
+ Calls do not ask for approval cards. A call exits 10 when a workspace
10749
+ rule says "ask" for it; a rule that says "deny" exits 4.
10751
10750
 
10752
10751
  - Discover tools: \`astral tools list\` and \`astral tools describe <app.tool>\`.
10753
10752
  - Call a tool: \`astral call <app.tool> --input '{"key":"value"}'\`.
@@ -10757,8 +10756,7 @@ to approve it. Use \`--wait\` to wait and replay the call after approval;
10757
10756
  - Work with code: \`astral code clone\` and \`astral code push\`; check their \`--help\`.
10758
10757
  - Deploy a preview from the linked folder: \`astral deploy\`.
10759
10758
  - Serve the catalog as MCP tools over stdio: \`astral mcp\`. Only MCP messages
10760
- go to stdout. Use \`--wait\` to wait for approvals, or retry identical tool
10761
- arguments after a person approves the returned link.
10759
+ go to stdout.
10762
10760
  ${END}`;
10763
10761
  var registerAgentSetup = (program, runtime) => {
10764
10762
  program.command("agent-setup").description("print CLI instructions for an outside agent").option("--write [file]", "write or replace the marked snippet (default: AGENTS.md)").action(async (options, command) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astralos/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "license": "MIT",
5
5
  "description": "The Astral command line. Every Astral tool, from a terminal or an agent.",
6
6
  "publishConfig": {