Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/core/execution/src/skills.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ describe("skills registry", () => {
expect(EXECUTE_SKILL.body).toContain(
"Do not use `fetch` — all API calls go through `tools.*`.",
);
expect(EXECUTE_SKILL.body).toContain("read `result.data.connections`");
});

it("finds a skill by exact name and misses unknown names", () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/execution/src/skills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const EXECUTE_SKILL_BODY = [
'2. `const path = matches[0]?.path; if (!path) return "No matching tools found.";`',
"3. `const details = await tools.describe.tool({ path });`",
"4. Use `details.inputTypeScript` / `details.outputTypeScript` and `details.typeScriptDefinitions` for compact shapes.",
"5. Use `tools.executor.coreTools.connections.list({})` when you need live saved-connection inventory.",
"5. For live saved-connection inventory, call `tools.executor.coreTools.connections.list({})`; after checking `result.ok`, read `result.data.connections`.",
"6. Call the tool: `const result = await tools.<path>(input);`",
"",
"## Rules",
Expand Down
Loading