@palettelab/cli 0.3.70 → 0.3.72

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/lib/cli.js CHANGED
@@ -19,6 +19,8 @@ const capabilities = require("./commands/capabilities")
19
19
  const connections = require("./commands/connections")
20
20
  const platform = require("./commands/platform")
21
21
  const models = require("./commands/models")
22
+ const agent = require("./commands/agent")
23
+ const check = require("./commands/check")
22
24
 
23
25
  const COMMANDS = {
24
26
  init: { run: init, help: "Scaffold a new plugin directory from the template" },
@@ -41,6 +43,7 @@ const COMMANDS = {
41
43
  },
42
44
  build: { run: build, help: "Validate palette-plugin.json and check entry points exist" },
43
45
  test: { run: test, help: "Run local plugin contract checks before publishing" },
46
+ check: { run: check, help: "The checks of pltt test as diagnostics (id, file, line, fix) for agents and editors" },
44
47
  package: { run: pkg, help: "Bundle the plugin into a tar.gz under dist/ (no upload)" },
45
48
  publish: {
46
49
  run: publish,
@@ -86,6 +89,10 @@ const COMMANDS = {
86
89
  run: capabilities,
87
90
  help: "Add, list, or inspect agent-callable app capabilities",
88
91
  },
92
+ agent: {
93
+ run: agent,
94
+ help: "Drive the hosted Build Agent: run a change to its end, attach, steer, diff, fork, export, ACP server (pltt agent help)",
95
+ },
89
96
  version: { run: version, help: "Show the installed pltt CLI version" },
90
97
  update: { run: update, help: "Update the globally installed pltt CLI" },
91
98
  }
@@ -98,7 +105,7 @@ function printHelp() {
98
105
  console.log(` ${name.padEnd(12)} ${help}`)
99
106
  }
100
107
  console.log("\nGlobal flags:")
101
- console.log(" --json Emit machine-readable JSON output (status, logs, package, publish, test, update, version, login, dev --sandbox, platform, models, services, capabilities)")
108
+ console.log(" --json Emit machine-readable JSON output (status, logs, package, publish, test, check, update, version, login, dev --sandbox, platform, models, services, capabilities)")
102
109
  console.log(" -v, --version Show the installed pltt CLI version")
103
110
  console.log("\nPublish flags:")
104
111
  console.log(" --env <name> Target environment from ~/.palette/config.json (default: local)")