talentos 1.1.2 → 1.1.3
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/dist/agent/adapters.js +4 -2
- package/package.json +1 -1
package/dist/agent/adapters.js
CHANGED
|
@@ -35,6 +35,7 @@ const ROOM_TOOLS = [
|
|
|
35
35
|
"read_room",
|
|
36
36
|
"list_room_files",
|
|
37
37
|
"read_file",
|
|
38
|
+
"get_skill",
|
|
38
39
|
"suggest_change",
|
|
39
40
|
"create_file",
|
|
40
41
|
"create_deck",
|
|
@@ -192,7 +193,8 @@ export function readProviderEvent(provider, value) {
|
|
|
192
193
|
}
|
|
193
194
|
export async function runProvider(input) {
|
|
194
195
|
const { config, job, workDir, sessionId, signal } = input;
|
|
195
|
-
const
|
|
196
|
+
const { instructions, ...context } = job.packet;
|
|
197
|
+
const prompt = JSON.stringify(config.provider === "claude_code" ? context : job.packet), mcpPath = join(dirname(workDir), ".talentos-mcp.json");
|
|
196
198
|
const catalogPath = join(dirname(workDir), ".talentos-codex-models.json");
|
|
197
199
|
const binary = resolveProviderBinary(config.provider, config.providerPath);
|
|
198
200
|
let command, args;
|
|
@@ -217,7 +219,7 @@ export async function runProvider(input) {
|
|
|
217
219
|
mcpPath,
|
|
218
220
|
"--strict-mcp-config",
|
|
219
221
|
"--append-system-prompt",
|
|
220
|
-
|
|
222
|
+
instructions,
|
|
221
223
|
"--tools",
|
|
222
224
|
"",
|
|
223
225
|
"--allowedTools",
|
package/package.json
CHANGED