@delfini/cli 0.1.0-rc.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 +110 -0
- package/bin/delfini.mjs +23 -0
- package/dist/__engine-probe__.cjs +4495 -0
- package/dist/__engine-probe__.js +10 -0
- package/dist/chunk-MUW24ZC4.js +6933 -0
- package/dist/chunk-UGNHP6L5.js +1277 -0
- package/dist/cli.cjs +8104 -0
- package/dist/cli.d.cts +19 -0
- package/dist/cli.d.ts +19 -0
- package/dist/cli.js +7 -0
- package/dist/index.cjs +8199 -0
- package/dist/index.d.cts +201 -0
- package/dist/index.d.ts +201 -0
- package/dist/index.js +56 -0
- package/dist/prompt.md +360 -0
- package/package.json +43 -0
- package/templates/SKILL.md +222 -0
- package/templates/claude-md-append-block.txt +27 -0
package/dist/cli.d.cts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Entry point invoked by `bin/delfini.mjs` and by tests.
|
|
3
|
+
*
|
|
4
|
+
* Accepts a process.argv-shape input ([nodePath, scriptPath, ...userArgs]).
|
|
5
|
+
*
|
|
6
|
+
* Subcommand handlers set `process.exitCode` rather than calling
|
|
7
|
+
* `process.exit()` — that lets pending stdout/stderr writes flush and keeps
|
|
8
|
+
* test isolation clean. The bin entry is the only place a hard exit is
|
|
9
|
+
* acceptable, and even there `process.exitCode = N` + a natural return is
|
|
10
|
+
* preferred.
|
|
11
|
+
*
|
|
12
|
+
* On unknown flags, commander's `.exitOverride()` makes it throw
|
|
13
|
+
* `CommanderError` rather than calling `process.exit()`. The bin entry's
|
|
14
|
+
* `.catch()` converts that into a non-zero exit; tests assert on the thrown
|
|
15
|
+
* error directly.
|
|
16
|
+
*/
|
|
17
|
+
declare function main(argv: string[]): Promise<void>;
|
|
18
|
+
|
|
19
|
+
export { main };
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Entry point invoked by `bin/delfini.mjs` and by tests.
|
|
3
|
+
*
|
|
4
|
+
* Accepts a process.argv-shape input ([nodePath, scriptPath, ...userArgs]).
|
|
5
|
+
*
|
|
6
|
+
* Subcommand handlers set `process.exitCode` rather than calling
|
|
7
|
+
* `process.exit()` — that lets pending stdout/stderr writes flush and keeps
|
|
8
|
+
* test isolation clean. The bin entry is the only place a hard exit is
|
|
9
|
+
* acceptable, and even there `process.exitCode = N` + a natural return is
|
|
10
|
+
* preferred.
|
|
11
|
+
*
|
|
12
|
+
* On unknown flags, commander's `.exitOverride()` makes it throw
|
|
13
|
+
* `CommanderError` rather than calling `process.exit()`. The bin entry's
|
|
14
|
+
* `.catch()` converts that into a non-zero exit; tests assert on the thrown
|
|
15
|
+
* error directly.
|
|
16
|
+
*/
|
|
17
|
+
declare function main(argv: string[]): Promise<void>;
|
|
18
|
+
|
|
19
|
+
export { main };
|