@funkai/cli 0.1.4 → 0.2.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.1.4 build /home/runner/work/funkai/funkai/packages/cli
2
+ > @funkai/cli@0.2.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.1.4
13
+ │ version 0.2.0
14
14
  │ │
15
15
  ├───────────────────────────╯
package/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # @funkai/cli
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5d9fbeb: Enforce TypeScript and FP standards across all packages.
8
+
9
+ **@funkai/agents**
10
+
11
+ - `isAgent()` and `isFlowAgent()` now return proper type predicates (`value is Agent` / `value is FlowAgent`) instead of `boolean`
12
+ - Added `@example` tags to exported `toJsonSchema`, `isZodObject`, `isZodArray`
13
+
14
+ **@funkai/cli**
15
+
16
+ - **Breaking:** `handleGenerate`, `handleLint`, `flattenPartials`, `parseFrontmatter` now accept a single params object instead of positional arguments
17
+ - New exported interfaces: `HandleGenerateParams`, `HandleLintParams`, `FlattenPartialsParams`, `ParseFrontmatterParams`
18
+ - `extractVariables` and `discoverPrompts` return `readonly` arrays
19
+ - `parseSchemaBlock` returns `readonly SchemaVariable[]`
20
+
21
+ ### Patch Changes
22
+
23
+ - b1e1d01: Fix bug and correctness issues across all packages.
24
+
25
+ **@funkai/agents**
26
+
27
+ - Export `createFlowEngine` and related types (`FlowEngineConfig`, `FlowFactory`, `CustomStepFactory`, `CustomStepDefinitions`, `TypedCustomSteps`)
28
+ - Guard `resolvedInput` before passing to `onError` hooks (was `undefined` cast as `TInput`)
29
+ - Fix `onStepStart` hook asymmetry: per-call override now merged with config hook
30
+ - Remove deprecated unused `TraceType` alias
31
+
32
+ **@funkai/prompts**
33
+
34
+ - **Breaking:** `strictFilters` and `ownPropertyOnly` removed from `CreateEngineOptions` (now enforced as non-overridable safety defaults)
35
+
36
+ **@funkai/models**
37
+
38
+ - Add `provider/model` format validation for model IDs
39
+ - Wrap `languageModel()` errors with model ID context
40
+
41
+ **@funkai/cli**
42
+
43
+ - Fix `$`-substitution bug in `flattenPartials` (`String.replace` function-form)
44
+ - Add error context for partial render failures
45
+ - `readJsonFile` now throws on malformed JSON instead of silently returning `{}`
46
+ - Replace naive YAML line parsing with proper `yaml` parser
47
+ - Extract `Liquid` engine to module-level singleton in `extractVariables`
48
+
49
+ - Updated dependencies [b1e1d01]
50
+ - @funkai/prompts@0.3.0
51
+
3
52
  ## 0.1.4
4
53
 
5
54
  ### Patch Changes