zidane 1.3.1 → 1.4.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/dist/{agent-DxIUxou4.d.ts → agent-B4wguzkU.d.ts} +26 -80
- package/dist/chunk-PRNQ7DXE.js +430 -0
- package/dist/chunk-QPYZR2QM.js +21 -0
- package/dist/{chunk-SWS5624X.js → chunk-YCH7G7YC.js} +272 -251
- package/dist/harnesses.d.ts +2 -1
- package/dist/harnesses.js +8 -4
- package/dist/index.d.ts +5 -3
- package/dist/index.js +33 -5
- package/dist/mcp.d.ts +2 -1
- package/dist/providers.d.ts +19 -4
- package/dist/providers.js +26 -24
- package/dist/skills.d.ts +124 -0
- package/dist/skills.js +31 -0
- package/dist/{spawn-bEqlGUVT.d.ts → spawn-vZAQfDkd.d.ts} +9 -9
- package/dist/tools.d.ts +3 -2
- package/dist/tools.js +4 -1
- package/dist/types-D8fzooXc.d.ts +141 -0
- package/package.json +5 -1
- package/dist/chunk-N523NBO2.js +0 -45
package/dist/chunk-N523NBO2.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
init_spawn,
|
|
3
|
-
listFiles,
|
|
4
|
-
readFile,
|
|
5
|
-
shell,
|
|
6
|
-
spawn_exports,
|
|
7
|
-
writeFile
|
|
8
|
-
} from "./chunk-SWS5624X.js";
|
|
9
|
-
import {
|
|
10
|
-
__toCommonJS
|
|
11
|
-
} from "./chunk-PNKVD2UK.js";
|
|
12
|
-
|
|
13
|
-
// src/harnesses/basic.ts
|
|
14
|
-
var basicTools = { shell, readFile, writeFile, listFiles };
|
|
15
|
-
var _spawn;
|
|
16
|
-
function getSpawn() {
|
|
17
|
-
if (!_spawn) {
|
|
18
|
-
_spawn = (init_spawn(), __toCommonJS(spawn_exports)).spawn;
|
|
19
|
-
}
|
|
20
|
-
return _spawn;
|
|
21
|
-
}
|
|
22
|
-
var spawnProxy = {
|
|
23
|
-
get spec() {
|
|
24
|
-
return getSpawn().spec;
|
|
25
|
-
},
|
|
26
|
-
execute(input, ctx) {
|
|
27
|
-
return getSpawn().execute(input, ctx);
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
var basic_default = defineHarness({
|
|
31
|
-
name: "basic",
|
|
32
|
-
system: "You are a helpful assistant with access to shell, file reading, file writing, directory listing, and sub-agent spawning tools. Use them to accomplish tasks in the project directory.",
|
|
33
|
-
tools: { ...basicTools, spawn: spawnProxy }
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
// src/harnesses/index.ts
|
|
37
|
-
function defineHarness(config) {
|
|
38
|
-
return config;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export {
|
|
42
|
-
basicTools,
|
|
43
|
-
basic_default,
|
|
44
|
-
defineHarness
|
|
45
|
-
};
|