@doubledigit/cli 0.8.1 → 0.9.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 CHANGED
@@ -117,7 +117,7 @@ Use `dd actions` to discover or call enabled micro-app actions through the runni
117
117
 
118
118
  ```bash
119
119
  npx @doubledigit/cli@latest actions remotion-hub
120
- npx @doubledigit/cli@latest actions remotion-hub init temp-project
120
+ npx @doubledigit/cli@latest actions remotion-hub init temp-project --yes
121
121
  npx @doubledigit/cli@latest actions remotion-hub list-components --limit 5
122
122
  npx @doubledigit/cli@latest actions remotion-hub search-components --query "animated chart" --limit 5
123
123
  npx @doubledigit/cli@latest actions remotion-hub register-component --json-file component.json
@@ -131,10 +131,10 @@ After init, the CLI attempts to install both Remotion's project skills and the D
131
131
 
132
132
  ```bash
133
133
  npx skills add remotion-dev/skills --all
134
- npx skills add crystalphantom/double-digit --skill dd-remotion-hub
134
+ npx skills add crystalphantom/double-digit --skill dd-remotion-hub --agent '*' --yes
135
135
  ```
136
136
 
137
- Pass `--skip-skills` to skip skill installation. If skill installation fails, init still completes the project scaffold and prints exact retry commands. `--non-interactive` is accepted for automation scripts; the command is already prompt-free.
137
+ Pass `--skip-skills` to skip skill installation. If skill installation fails, init still completes the project scaffold and prints exact retry commands. Use `--yes` for agent-run or scripted init flows; `-y` and `--non-interactive` are accepted compatibility aliases.
138
138
 
139
139
  Register a component with simple JSON:
140
140
 
@@ -52,7 +52,7 @@ Options:
52
52
 
53
53
  Examples:
54
54
  npx @doubledigit/cli@latest actions remotion-hub
55
- npx @doubledigit/cli@latest actions remotion-hub init my-video --non-interactive
55
+ npx @doubledigit/cli@latest actions remotion-hub init my-video --yes
56
56
  npx @doubledigit/cli@latest actions remotion-hub init my-video --skip-skills
57
57
  npx @doubledigit/cli@latest actions remotion-hub list-components --limit 5
58
58
  npx @doubledigit/cli@latest actions remotion-hub add terminal-scene --dir my-video
@@ -111,7 +111,7 @@ export function getActionPositionals(args) {
111
111
  }
112
112
  continue;
113
113
  }
114
- if (arg === '-h')
114
+ if (arg === '-h' || arg === '-y')
115
115
  continue;
116
116
  positionals.push({ value: arg, index: i });
117
117
  }
@@ -1 +1 @@
1
- {"version":3,"file":"remotion-hub-init.d.ts","sourceRoot":"","sources":["../../src/commands/remotion-hub-init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAgFhG,wBAAgB,wBAAwB,WA4BvC;AAgCD,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,wBAAwB,GAAG,SAAS,CA2B9F"}
1
+ {"version":3,"file":"remotion-hub-init.d.ts","sourceRoot":"","sources":["../../src/commands/remotion-hub-init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAqFhG,wBAAgB,wBAAwB,WA6BvC;AAgCD,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,wBAAwB,GAAG,SAAS,CA4B9F"}
@@ -17,6 +17,10 @@ function parseArgs(args) {
17
17
  flags.h = true;
18
18
  continue;
19
19
  }
20
+ if (arg === '-y') {
21
+ flags.y = true;
22
+ continue;
23
+ }
20
24
  if (!arg.startsWith('--')) {
21
25
  positional.push(arg);
22
26
  continue;
@@ -43,7 +47,8 @@ function parseArgs(args) {
43
47
  || rawKey === 'json'
44
48
  || rawKey === 'non-interactive'
45
49
  || rawKey === 'skip-skills'
46
- || rawKey === 'skip-remotion-create') {
50
+ || rawKey === 'skip-remotion-create'
51
+ || rawKey === 'yes') {
47
52
  flags[rawKey] = true;
48
53
  continue;
49
54
  }
@@ -79,14 +84,15 @@ Options:
79
84
  --skip-remotion-create Only add Remotion Hub files; do not run create-video
80
85
  --hub-only Alias for --skip-remotion-create
81
86
  --skip-skills Do not install agent skills
82
- --non-interactive Compatibility flag; init is already prompt-free
87
+ --yes, -y Skip prompts in nested tools and use defaults
88
+ --non-interactive Alias for --yes
83
89
  --force Overwrite existing generated files
84
90
  --json Print machine-readable JSON
85
91
 
86
92
  Examples:
87
93
  npx @doubledigit/cli@latest actions remotion-hub init
88
94
  npx @doubledigit/cli@latest actions remotion-hub init my-video
89
- npx @doubledigit/cli@latest actions remotion-hub init my-video --non-interactive
95
+ npx @doubledigit/cli@latest actions remotion-hub init my-video --yes
90
96
  npx @doubledigit/cli@latest actions remotion-hub init my-video --skip-skills
91
97
  npx @doubledigit/cli@latest actions remotion-hub init my-video --registry https://double-digit.example
92
98
  `;
@@ -137,6 +143,7 @@ export function runRemotionHubInitCommand(args) {
137
143
  force: booleanFlag(parsed.flags, 'force'),
138
144
  skipRemotionCreate: booleanFlag(parsed.flags, 'skip-remotion-create', 'hub-only'),
139
145
  skipSkills: booleanFlag(parsed.flags, 'skip-skills'),
146
+ nonInteractive: booleanFlag(parsed.flags, 'yes', 'y', 'non-interactive'),
140
147
  quiet: json,
141
148
  });
142
149
  if (json)
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  * without importing the full extension-management dependency graph first.
7
7
  */
8
8
  declare const command: string, args: string[];
9
- declare const HELP = "\n@doubledigit/cli \u2014 Manage extensions and local setup\n\nCommands:\n doctor Check local prerequisites and project health\n onboard Prepare local development and start the app\n run Start the local app with automatic DB bootstrap\n dev Start DB + app without migrations or seed data\n db <subcommand> Database helpers (status, migrate, create)\n actions <app> [action] Discover and invoke micro-app actions\n create <name> Scaffold a new micro-app from the template\n init <project-name> Scaffold a new Double Digit project\n add|install <source> Install an extension from GitHub or a marketplace\n sync Regenerate micro-apps.ts from dd-apps.config.json\n enable <name> Enable a micro-app (updates config + runs sync)\n disable <name> Disable a micro-app (updates config + runs sync)\n uninstall|remove <name> Completely remove a micro-app\n list List all discovered micro-apps with enabled/disabled status\n info <name> Show detailed info about an installed extension\n outdated Check for outdated marketplace extensions\n reconcile Detect drift between lock file, marketplace, and local files\n marketplace <sub> Manage marketplace registrations (add/list/update/remove)\n browse [marketplace] Browse available extensions in registered marketplaces\n\nOptions:\n --help, -h Show this help message\n\nExamples:\n dd doctor\n dd onboard --yes\n dd onboard # setup + start the dev server\n dd onboard --no-run # setup only\n dd init my-project # scaffold and bootstrap a fresh project\n dd init my-project --run # scaffold + bootstrap + start\n dd init my-project --skip-install --no-git\n dd run\n dd dev\n dd db status\n npx @doubledigit/cli@latest actions remotion-hub init my-video --non-interactive\n npx @doubledigit/cli@latest actions remotion-hub init my-video --skip-skills\n npx @doubledigit/cli@latest actions remotion-hub search-components --query \"animated chart\"\n dd create invoice-tracker\n dd add gh:owner/repo/extensions/micro-apps/habit-tracker\n dd add habit-tracker@community\n dd info habit-tracker\n dd reconcile\n dd marketplace add digitaldouble/dd-marketplace\n dd browse community\n DD_APPS=tasks,agent-v2 dd sync\n";
9
+ declare const HELP = "\n@doubledigit/cli \u2014 Manage extensions and local setup\n\nCommands:\n doctor Check local prerequisites and project health\n onboard Prepare local development and start the app\n run Start the local app with automatic DB bootstrap\n dev Start DB + app without migrations or seed data\n db <subcommand> Database helpers (status, migrate, create)\n actions <app> [action] Discover and invoke micro-app actions\n create <name> Scaffold a new micro-app from the template\n init <project-name> Scaffold a new Double Digit project\n add|install <source> Install an extension from GitHub or a marketplace\n sync Regenerate micro-apps.ts from dd-apps.config.json\n enable <name> Enable a micro-app (updates config + runs sync)\n disable <name> Disable a micro-app (updates config + runs sync)\n uninstall|remove <name> Completely remove a micro-app\n list List all discovered micro-apps with enabled/disabled status\n info <name> Show detailed info about an installed extension\n outdated Check for outdated marketplace extensions\n reconcile Detect drift between lock file, marketplace, and local files\n marketplace <sub> Manage marketplace registrations (add/list/update/remove)\n browse [marketplace] Browse available extensions in registered marketplaces\n\nOptions:\n --help, -h Show this help message\n\nExamples:\n dd doctor\n dd onboard --yes\n dd onboard # setup + start the dev server\n dd onboard --no-run # setup only\n dd init my-project # scaffold and bootstrap a fresh project\n dd init my-project --run # scaffold + bootstrap + start\n dd init my-project --skip-install --no-git\n dd run\n dd dev\n dd db status\n npx @doubledigit/cli@latest actions remotion-hub init my-video --yes\n npx @doubledigit/cli@latest actions remotion-hub init my-video --skip-skills\n npx @doubledigit/cli@latest actions remotion-hub search-components --query \"animated chart\"\n dd create invoice-tracker\n dd add gh:owner/repo/extensions/micro-apps/habit-tracker\n dd add habit-tracker@community\n dd info habit-tracker\n dd reconcile\n dd marketplace add digitaldouble/dd-marketplace\n dd browse community\n DD_APPS=tasks,agent-v2 dd sync\n";
10
10
  declare function requireArg(value: string | undefined, usage: string): string;
11
11
  declare function runAddCommand(rawArgs: string[]): Promise<void>;
12
12
  declare function main(): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;;;GAKG;AAEH,QAAA,MAAW,OAAO,UAAK,IAAI,UAAgB,CAAC;AAE5C,QAAA,MAAM,IAAI,s4EAiDT,CAAC;AAEF,iBAAS,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAOpE;AAED,iBAAe,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuB7D;AAED,iBAAe,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAsInC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;;;GAKG;AAEH,QAAA,MAAW,OAAO,UAAK,IAAI,UAAgB,CAAC;AAE5C,QAAA,MAAM,IAAI,03EAiDT,CAAC;AAEF,iBAAS,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAOpE;AAED,iBAAe,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuB7D;AAED,iBAAe,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAsInC"}
package/dist/index.js CHANGED
@@ -45,7 +45,7 @@ Examples:
45
45
  dd run
46
46
  dd dev
47
47
  dd db status
48
- npx @doubledigit/cli@latest actions remotion-hub init my-video --non-interactive
48
+ npx @doubledigit/cli@latest actions remotion-hub init my-video --yes
49
49
  npx @doubledigit/cli@latest actions remotion-hub init my-video --skip-skills
50
50
  npx @doubledigit/cli@latest actions remotion-hub search-components --query "animated chart"
51
51
  dd create invoice-tracker
@@ -52,6 +52,8 @@ export interface RunRemotionHubInitOptions {
52
52
  force?: boolean;
53
53
  skipRemotionCreate?: boolean;
54
54
  skipSkills?: boolean;
55
+ nonInteractive?: boolean;
56
+ yes?: boolean;
55
57
  quiet?: boolean;
56
58
  spawnImpl?: typeof spawnSync;
57
59
  }
@@ -100,10 +102,10 @@ export interface ResolveRemotionHubRegistryOptions {
100
102
  localDefaultRegistry?: string;
101
103
  }
102
104
  export declare function resolveRemotionHubRegistry({ registry, env, generatedDefaultRegistry, localDefaultRegistry, }?: ResolveRemotionHubRegistryOptions): string;
103
- export declare function buildRemotionSkillsCommands(): {
105
+ export declare function buildRemotionSkillsCommands(options?: Pick<RunRemotionHubInitOptions, 'nonInteractive' | 'yes'>): {
104
106
  args: string[];
105
- command: "npx";
106
107
  display: string;
108
+ command: "npx";
107
109
  }[];
108
110
  export declare function runRemotionHubInit(options?: RunRemotionHubInitOptions): RunRemotionHubInitResult;
109
111
  export declare function runRemotionHubAdd(options: RunRemotionHubAddOptions): Promise<RunRemotionHubAddResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"remotion-hub-init.d.ts","sourceRoot":"","sources":["../../src/lib/remotion-hub-init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAyB,MAAM,oBAAoB,CAAC;AAkBtE,KAAK,qBAAqB,GAAG;IAC3B,OAAO,EAAE,KAAK,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAA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,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,GAAiB,EACjB,wBAA4D,EAC5D,oBAAuC,GACxC,GAAE,iCAAsC,UAQxC;AAsGD,wBAAgB,2BAA2B,CACzC,OAAO,GAAE,IAAI,CAAC,yBAAyB,EAAE,gBAAgB,GAAG,KAAK,CAAM;;;aAlV9D,KAAK;IA8Vf;AA0QD,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,yBAA8B,GAAG,wBAAwB,CAoDpG;AAED,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAuFlC"}
@@ -186,14 +186,23 @@ function buildRemotionCreateCommand(projectDir) {
186
186
  args: ['create-video@latest', '--yes', '--hello-world', projectDir],
187
187
  };
188
188
  }
189
- export function buildRemotionSkillsCommands() {
189
+ export function buildRemotionSkillsCommands(options = {}) {
190
+ const nonInteractive = options.yes === true || options.nonInteractive === true;
190
191
  return REMOTION_SKILLS_COMMANDS.map((command) => ({
191
192
  ...command,
192
- args: [...command.args],
193
+ args: nonInteractive && command.args.includes('--skill')
194
+ ? [...command.args, '--agent', '*', '--yes']
195
+ : [...command.args],
196
+ display: nonInteractive && command.args.includes('--skill')
197
+ ? `${command.display} --agent '*' --yes`
198
+ : command.display,
193
199
  }));
194
200
  }
195
201
  function runRemotionSkillsInstall(projectDir, options) {
196
- const commands = buildRemotionSkillsCommands();
202
+ const commands = buildRemotionSkillsCommands({
203
+ nonInteractive: options.nonInteractive,
204
+ yes: options.yes,
205
+ });
197
206
  if (options.skipSkills) {
198
207
  return commands.map((command) => ({
199
208
  ...command,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doubledigit/cli",
3
- "version": "0.8.1",
3
+ "version": "0.9.0",
4
4
  "private": false,
5
5
  "description": "CLI for Double Digit local setup and extension management.",
6
6
  "license": "MIT",