@funkai/cli 0.2.0 → 0.3.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/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +32 -0
- package/dist/index.mjs +538 -222
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -2
- package/src/commands/generate.ts +8 -1
- package/src/commands/prompts/create.ts +30 -2
- package/src/commands/prompts/generate.ts +58 -11
- package/src/commands/prompts/lint.ts +41 -7
- package/src/commands/prompts/setup.ts +103 -95
- package/src/commands/setup.ts +129 -4
- package/src/commands/validate.ts +8 -1
- package/src/config.ts +28 -0
- package/src/index.ts +4 -0
- package/src/lib/prompts/codegen.ts +113 -43
- package/src/lib/prompts/paths.ts +67 -15
- package/src/lib/prompts/pipeline.ts +82 -7
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @funkai/cli@0.
|
|
2
|
+
> @funkai/cli@0.3.0 build /home/runner/work/funkai/funkai/packages/cli
|
|
3
3
|
> kidd build
|
|
4
4
|
|
|
5
5
|
[?25l│
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
│ │
|
|
11
11
|
│ entry dist/index.mjs │
|
|
12
12
|
│ output dist │
|
|
13
|
-
│ version 0.
|
|
13
|
+
│ version 0.3.0 │
|
|
14
14
|
│ │
|
|
15
15
|
├───────────────────────────╯
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @funkai/cli
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 3fa83a3: feat(cli): add funkai.config.ts support and interactive setup
|
|
8
|
+
|
|
9
|
+
- New `@funkai/config` package with `defineConfig()`, Zod schema, and `FunkaiConfig` type
|
|
10
|
+
- `funkai setup` is now interactive: select domains (prompts/agents), create `funkai.config.ts`, run domain-specific setup
|
|
11
|
+
- `funkai prompts generate` and `funkai prompts lint` now fall back to config when `--out`/`--roots` are omitted
|
|
12
|
+
- `funkai prompts create` defaults to first root from config when `--out` is omitted
|
|
13
|
+
- Config is loaded from the git root via kidd-cli's c12 integration
|
|
14
|
+
|
|
15
|
+
- c8569db: feat(prompts): add createPrompt, createPromptGroup, and config-based group assignment
|
|
16
|
+
|
|
17
|
+
- Add `createPrompt<T>(config)` factory for building prompt modules at runtime and codegen
|
|
18
|
+
- Add `createPromptGroup(name, prompts)` for grouping prompt modules into namespaces
|
|
19
|
+
- Add `PromptConfig<T>` type for prompt module configuration
|
|
20
|
+
- Codegen now uses `createPrompt()` instead of raw object literals
|
|
21
|
+
- Scope name uniqueness to group+name instead of global name
|
|
22
|
+
- Derive file slugs and import names from group+name to avoid collisions
|
|
23
|
+
- Replace `roots` config field with `includes`/`excludes` glob patterns
|
|
24
|
+
- Add `groups` config field for pattern-based group assignment via picomatch
|
|
25
|
+
- Frontmatter `group` takes precedence over config-defined groups
|
|
26
|
+
- Updated banner format for generated files
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [3fa83a3]
|
|
31
|
+
- Updated dependencies [c8569db]
|
|
32
|
+
- @funkai/config@0.2.0
|
|
33
|
+
- @funkai/prompts@0.4.0
|
|
34
|
+
|
|
3
35
|
## 0.2.0
|
|
4
36
|
|
|
5
37
|
### Minor Changes
|