@getmagical/cli 0.1.17 → 0.2.0
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 +1 -1
- package/bin/mgcl.mjs +4 -4
- package/dist/index.js +5855 -1684
- package/dist/index.js.map +7 -1
- package/package.json +16 -17
- package/dist/index.d.ts +0 -1
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', '--
|
|
36
|
+
? ['run', 'build', '--filter=@getmagical/cli...']
|
|
37
37
|
: ['run', 'build'];
|
|
38
38
|
const buildCwd = shouldUseWorkspaceBuild ? repoRoot : packageDir;
|
|
39
39
|
const manualBuildCommand = shouldUseWorkspaceBuild
|
|
40
|
-
? '
|
|
41
|
-
: '
|
|
40
|
+
? 'pnpm run build --filter=@getmagical/cli...'
|
|
41
|
+
: 'pnpm run build';
|
|
42
42
|
|
|
43
|
-
const result = spawnSync('
|
|
43
|
+
const result = spawnSync('pnpm', buildCommand, {
|
|
44
44
|
cwd: buildCwd,
|
|
45
45
|
env: process.env,
|
|
46
46
|
stdio: 'inherit',
|