@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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @funkai/cli@0.2.0 build /home/runner/work/funkai/funkai/packages/cli
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.2.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