Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

Commit 2a8fc68

Browse files
chore(repo): version packages (#41)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent eef0bad commit 2a8fc68

11 files changed

Lines changed: 89 additions & 43 deletions

File tree

.changeset/cli-config-setup.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/evolve-model-generic.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/prompt-groups-builder.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

packages/agents/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @funkai/agents
22

3+
## 0.9.0
4+
5+
### Minor Changes
6+
7+
- eef0bad: Add `TModel` generic to `AgentConfig` and `Agent` for discriminated model types in `evolve()`.
8+
9+
Previously, `evolve(base, (config) => ...)` always typed `config.model` as the full `Resolver<TInput, Model>` union, even when the base agent was created with a static `LanguageModel`. This required unnecessary narrowing with `isFunction()` before accessing `.modelId`.
10+
11+
Now the 5th generic `TModel` is inferred from `agent()` and threaded through `evolve()`, so `config.model` is correctly typed as `Model` (with `.modelId`) when the base agent uses a static model.
12+
313
## 0.8.0
414

515
### Minor Changes

packages/agents/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@funkai/agents",
3-
"version": "0.8.0",
3+
"version": "0.9.0",
44
"private": false,
55
"description": "Lightweight workflow and agent orchestration framework",
66
"keywords": [

packages/cli/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# @funkai/cli
22

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+
335
## 0.2.0
436

537
### Minor Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@funkai/cli",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"private": false,
55
"description": "CLI for the funkai AI SDK framework",
66
"keywords": [

packages/config/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# @funkai/config
2+
3+
## 0.2.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

packages/config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@funkai/config",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"private": false,
55
"description": "Configuration schema and defineConfig helper for funkai projects",
66
"keywords": [

packages/prompts/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# @funkai/prompts
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- c8569db: feat(prompts): add createPrompt, createPromptGroup, and config-based group assignment
8+
9+
- Add `createPrompt<T>(config)` factory for building prompt modules at runtime and codegen
10+
- Add `createPromptGroup(name, prompts)` for grouping prompt modules into namespaces
11+
- Add `PromptConfig<T>` type for prompt module configuration
12+
- Codegen now uses `createPrompt()` instead of raw object literals
13+
- Scope name uniqueness to group+name instead of global name
14+
- Derive file slugs and import names from group+name to avoid collisions
15+
- Replace `roots` config field with `includes`/`excludes` glob patterns
16+
- Add `groups` config field for pattern-based group assignment via picomatch
17+
- Frontmatter `group` takes precedence over config-defined groups
18+
- Updated banner format for generated files
19+
320
## 0.3.0
421

522
### Minor Changes

0 commit comments

Comments
 (0)