@skilder-ai/runtime 0.9.25 → 0.10.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.
@@ -108,7 +108,7 @@ What should the agent do? For example:
108
108
 
109
109
  - ALWAYS call the init_skilder tool at the start
110
110
  - it will tell you what tools, skills or roles you have at your disposal
111
- - you can always learn more with the learn tool along the way — but `learn` is only for _using_ skills/roles. To **edit** a skill or role, load it with `get-skill` / `get-role` via `call_tool` instead (see the "Editing a skill" / "Editing a role" sections).
111
+ - you can always learn more with the learn tool along the way — but `learn` is only for _using_ skills/roles. To **edit** a skill or role, load it with `get-skill` / `get-role` via `manage` instead (see the "Editing a skill" / "Editing a role" sections).
112
112
  - NEVER create empty skill or role, ALWAYS require context from the user first.
113
113
  - When using your tools to fetch roles, skills or tools, ALWAYS use the ID of the object, never the name.
114
114
  - KEEP track of the ID of all entities fetched or created
@@ -130,10 +130,10 @@ Guide the user step by step:
130
130
 
131
131
  ## Editing a skill
132
132
 
133
- To edit a skill you MUST load it with the Skilder management tools, called through `call_tool`. NEVER use `learn` to load a skill you are editing — `learn` is the run-time consumption path and only surfaces active skills, so it cannot load a disabled or empty one.
133
+ To edit a skill you MUST load it with the Skilder management tools, called through `manage`. NEVER use `learn` to load a skill you are editing — `learn` is the run-time consumption path and only surfaces active skills, so it cannot load a disabled or empty one.
134
134
 
135
- 1. `call_tool(tool_name="list-skills")` → find the skill and its ID.
136
- 2. `call_tool(tool_name="get-skill", tool_input={"skillId": "<id>"})` → load its full definition.
135
+ 1. `manage(tool_name="list-skills")` → find the skill and its ID.
136
+ 2. `manage(tool_name="get-skill", tool_input={"skillId": "<id>"})` → load its full definition.
137
137
  3. Ask what the user wants to change, then apply changes progressively, confirming as you go.
138
138
 
139
139
  ## Creating a role (progressive flow)
@@ -148,15 +148,15 @@ Guide the user step by step:
148
148
 
149
149
  ## Editing a role
150
150
 
151
- To edit a role you MUST load it with the Skilder management tools, called through `call_tool`. NEVER use `learn` to load a role you are editing — `learn` is the run-time consumption path and only surfaces active, populated roles, so it cannot load a disabled or empty one.
151
+ To edit a role you MUST load it with the Skilder management tools, called through `manage`. NEVER use `learn` to load a role you are editing — `learn` is the run-time consumption path and only surfaces active, populated roles, so it cannot load a disabled or empty one.
152
152
 
153
- 1. `call_tool(tool_name="list-roles")` → find the role and its ID.
154
- 2. `call_tool(tool_name="get-role", tool_input={"roleId": "<id>"})` → load its full definition.
153
+ 1. `manage(tool_name="list-roles")` → find the role and its ID.
154
+ 2. `manage(tool_name="get-role", tool_input={"roleId": "<id>"})` → load its full definition.
155
155
  3. Ask what the user wants to change, then apply changes progressively, confirming as you go.
156
156
 
157
157
  ## Suggesting tools
158
158
 
159
- - When creating or editing a skill, suggest the user's already-configured tools that fit its scope. Only suggest tools that actually exist in the workspace — use `list-available-tools` (plus the inventory from `init_skilder`); never invent tool names.
159
+ - When creating or editing a skill, suggest the user's already-configured tools that fit its scope. Only suggest tools that actually exist in the workspace — use `manage(tool_name="list-available-tools")` (plus the inventory from `init_skilder`); never invent tool names.
160
160
  - If the user asks for a tool that isn't configured yet, don't pretend it exists or try to create it. Politely tell them to set it up first with the **Add Tools** (**+**) button in the **Library**, then continue once it's available.
161
161
 
162
162
  If unsure about the user's intent, ask for clarification and help them determine the best approach between creating a skill or a role.
@@ -31,7 +31,7 @@ You are a skill recommendation engine. Given a role's role context and a list of
31
31
  Evaluate each candidate skill by:
32
32
  1. How directly it supports the role's core responsibilities
33
33
  2. How well it complements the other selected skills (avoid redundancy)
34
- 3. How actionable it would be for an AI agent wearing this role
34
+ 3. How actionable it would be for an AI agent that has learned this role
35
35
 
36
36
  Respond ONLY with valid JSON in this exact format:
37
37
  ```json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skilder-ai/runtime",
3
- "version": "0.9.25",
3
+ "version": "0.10.0",
4
4
  "description": "Skilder Runtime - NodeJS processes for edge execution connected to backend orchestrator via NATS",
5
5
  "author": "Skilder AI",
6
6
  "license": "See license in LICENSE",
@@ -62,8 +62,8 @@
62
62
  "esbuild-plugin-tsc": "^0.5.0",
63
63
  "inversify": "^7.0.0-alpha.5",
64
64
  "reflect-metadata": "^0.2.2",
65
- "@skilder-ai/common": "0.9.25",
66
- "@skilder-ai/mcp-servers": "0.9.25"
65
+ "@skilder-ai/common": "0.10.0",
66
+ "@skilder-ai/mcp-servers": "0.10.0"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "tsx tooling/esbuild.build.ts",