agentick 0.4.0 → 0.5.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 +2 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -85,6 +85,7 @@ Everything in the component tree compiles to what the model sees. Components are
|
|
|
85
85
|
| `<Timeline.Provider>` | Context provider exposing timeline entries to descendants via `useTimelineContext()`. |
|
|
86
86
|
| `<Timeline.Messages>` | Renders messages from `Timeline.Provider` context. Optional `renderEntry` prop for custom rendering. |
|
|
87
87
|
| `<Section>` | Structured context block injected every tick. `audience` controls visibility: `"model"`, `"user"`, or `"all"`. |
|
|
88
|
+
| `<Tool>` | Tool the model can call. Use inline (`<Tool name="..." handler={...} />`) or via `createTool()`. Supports `render()` for persistent state, `use()` for context injection. |
|
|
88
89
|
| `<Model>` | Model configuration. Pass `engine` prop, or use adapter-specific components like `<OpenAIModel>` or `<GoogleModel>`. |
|
|
89
90
|
|
|
90
91
|
### Messages
|
|
@@ -574,7 +575,7 @@ const repl: ExecutionRunner = {
|
|
|
574
575
|
name: "repl",
|
|
575
576
|
|
|
576
577
|
// The model sees command descriptions instead of tool schemas
|
|
577
|
-
|
|
578
|
+
transformCompiled(compiled, tools) {
|
|
578
579
|
return { ...compiled, tools: [executeTool] };
|
|
579
580
|
},
|
|
580
581
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentick",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "The component framework for AI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@agentick/agent": "0.
|
|
35
|
-
"@agentick/core": "0.
|
|
34
|
+
"@agentick/agent": "0.5.0",
|
|
35
|
+
"@agentick/core": "0.5.0",
|
|
36
36
|
"@agentick/guardrails": "0.4.0"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|