@getmagical/cli 0.1.18 → 0.2.1

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
@@ -18,7 +18,7 @@ mgcl org list
18
18
  mgcl automations list --limit 10
19
19
  mgcl automations update --id ... --input-json ...
20
20
  mgcl automation-runs list --automation-id ...
21
- mgcl automations run-draft --draft-automation-id ... --agent-id ... --idempotency-key ... --config-json '{"startInTakeOverMode":true,"approvalMode":"HUMAN_APPROVAL","consistencyCheckCount":3}'
21
+ mgcl automations run-draft --draft-automation-id ... --agent-id ... --idempotency-key ... --config-json '{"startInTakeOverMode":true,"captureActions":true,"approvalMode":"HUMAN_APPROVAL","consistencyCheckCount":3}'
22
22
  ```
23
23
 
24
24
  ## Local Development
package/bin/mgcl.mjs CHANGED
@@ -33,14 +33,14 @@ const ensureBuiltEntrypoint = () => {
33
33
 
34
34
  const shouldUseWorkspaceBuild = existsSync(repoPackageJson);
35
35
  const buildCommand = shouldUseWorkspaceBuild
36
- ? ['run', 'build', '--', '--filter=@getmagical/cli...']
36
+ ? ['run', 'build', '--filter=@getmagical/cli...']
37
37
  : ['run', 'build'];
38
38
  const buildCwd = shouldUseWorkspaceBuild ? repoRoot : packageDir;
39
39
  const manualBuildCommand = shouldUseWorkspaceBuild
40
- ? 'npm run build -- --filter=@getmagical/cli...'
41
- : 'npm run build --workspace=@getmagical/cli';
40
+ ? 'pnpm run build --filter=@getmagical/cli...'
41
+ : 'pnpm run build';
42
42
 
43
- const result = spawnSync('npm', buildCommand, {
43
+ const result = spawnSync('pnpm', buildCommand, {
44
44
  cwd: buildCwd,
45
45
  env: process.env,
46
46
  stdio: 'inherit',