@theokit/sdk 5.0.0-next.1 → 5.0.0-next.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/CHANGELOG.md +195 -0
- package/dist/{agent-XMKRP27S.js → agent-2KJ3IGRA.js} +10 -10
- package/dist/{agent-XMKRP27S.js.map → agent-2KJ3IGRA.js.map} +1 -1
- package/dist/{agent-CgNzshyV.d.cts → agent-C3KO5LKm.d.cts} +49 -3
- package/dist/{agent-CdYJfKr6.d.ts → agent-CvmTR9uf.d.ts} +49 -3
- package/dist/{agent-2E7DI47Y.cjs → agent-V6YLX3W6.cjs} +11 -11
- package/dist/{agent-2E7DI47Y.cjs.map → agent-V6YLX3W6.cjs.map} +1 -1
- package/dist/{chunk-WFC26L6Y.js → chunk-2XRAWOZZ.js} +25 -2
- package/dist/chunk-2XRAWOZZ.js.map +1 -0
- package/dist/{chunk-XCCGNU3D.js → chunk-4S5TWFIZ.js} +5 -5
- package/dist/chunk-4S5TWFIZ.js.map +1 -0
- package/dist/{chunk-JTZ74HFD.js → chunk-67ADYSTW.js} +29 -9
- package/dist/chunk-67ADYSTW.js.map +1 -0
- package/dist/{chunk-2ZLVT7H3.js → chunk-CYKKYNOT.js} +3 -3
- package/dist/{chunk-2ZLVT7H3.js.map → chunk-CYKKYNOT.js.map} +1 -1
- package/dist/{chunk-WJXOICRC.js → chunk-DX4RUWOK.js} +3 -3
- package/dist/{chunk-WJXOICRC.js.map → chunk-DX4RUWOK.js.map} +1 -1
- package/dist/{chunk-CEILSTWB.cjs → chunk-GGZ5GPE3.cjs} +29 -8
- package/dist/chunk-GGZ5GPE3.cjs.map +1 -0
- package/dist/{chunk-7ZK4DJD7.cjs → chunk-GJKMSGZ7.cjs} +4 -4
- package/dist/{chunk-7ZK4DJD7.cjs.map → chunk-GJKMSGZ7.cjs.map} +1 -1
- package/dist/{chunk-NCGWJ3HS.js → chunk-GO5QW4YL.js} +74 -35
- package/dist/chunk-GO5QW4YL.js.map +1 -0
- package/dist/{chunk-HWSALKOR.cjs → chunk-H6YM3PV6.cjs} +5 -5
- package/dist/chunk-H6YM3PV6.cjs.map +1 -0
- package/dist/{chunk-RHZ6HP23.cjs → chunk-IU5N5224.cjs} +8 -8
- package/dist/{chunk-RHZ6HP23.cjs.map → chunk-IU5N5224.cjs.map} +1 -1
- package/dist/{chunk-UNK4HNJH.js → chunk-J2SH3PNH.js} +3 -3
- package/dist/{chunk-UNK4HNJH.js.map → chunk-J2SH3PNH.js.map} +1 -1
- package/dist/{chunk-WMH2MSOP.cjs → chunk-K6VDRJ6I.cjs} +114 -75
- package/dist/chunk-K6VDRJ6I.cjs.map +1 -0
- package/dist/{chunk-2NE7DTOK.cjs → chunk-KBXADFBJ.cjs} +15 -15
- package/dist/{chunk-2NE7DTOK.cjs.map → chunk-KBXADFBJ.cjs.map} +1 -1
- package/dist/{chunk-6HIACV34.js → chunk-L4RPP6ZC.js} +3 -3
- package/dist/{chunk-6HIACV34.js.map → chunk-L4RPP6ZC.js.map} +1 -1
- package/dist/{chunk-LKFET5A3.cjs → chunk-LOHMT36V.cjs} +25 -2
- package/dist/chunk-LOHMT36V.cjs.map +1 -0
- package/dist/{chunk-ILGZ2ZZV.js → chunk-N6OOOYFZ.js} +3 -3
- package/dist/{chunk-ILGZ2ZZV.js.map → chunk-N6OOOYFZ.js.map} +1 -1
- package/dist/{chunk-LHSWHYF3.cjs → chunk-RXZSVNDG.cjs} +5 -5
- package/dist/{chunk-LHSWHYF3.cjs.map → chunk-RXZSVNDG.cjs.map} +1 -1
- package/dist/{chunk-G4ZGYKJG.cjs → chunk-SYVWE64W.cjs} +6 -6
- package/dist/chunk-SYVWE64W.cjs.map +1 -0
- package/dist/{chunk-V6ZY4AX6.cjs → chunk-VNDJS6I3.cjs} +8 -8
- package/dist/{chunk-V6ZY4AX6.cjs.map → chunk-VNDJS6I3.cjs.map} +1 -1
- package/dist/{chunk-IJM7UGS5.js → chunk-XJZEBGXD.js} +5 -5
- package/dist/chunk-XJZEBGXD.js.map +1 -0
- package/dist/context/index.cjs +7 -7
- package/dist/context/index.js +3 -3
- package/dist/{context-74SBFD27.cjs → context-NI33FS2R.cjs} +7 -7
- package/dist/{context-74SBFD27.cjs.map → context-NI33FS2R.cjs.map} +1 -1
- package/dist/context-Y7B7SI5X.js +6 -0
- package/dist/{context-NZ2AC6S7.js.map → context-Y7B7SI5X.js.map} +1 -1
- package/dist/{cron-Bw6mSgD4.d.cts → cron-C3PhZED0.d.cts} +1 -1
- package/dist/{cron-DJv9oXSZ.d.ts → cron-crfMMdAw.d.ts} +1 -1
- package/dist/cron.cjs +10 -10
- package/dist/cron.d.cts +3 -3
- package/dist/cron.d.ts +3 -3
- package/dist/cron.js +9 -9
- package/dist/eval.cjs +9 -9
- package/dist/eval.js +8 -8
- package/dist/{index-manager-QH6OXEV5.js → index-manager-E56WW5RO.js} +5 -5
- package/dist/{index-manager-QH6OXEV5.js.map → index-manager-E56WW5RO.js.map} +1 -1
- package/dist/{index-manager-DXR2RSFI.cjs → index-manager-OL6HTYAO.cjs} +6 -6
- package/dist/{index-manager-DXR2RSFI.cjs.map → index-manager-OL6HTYAO.cjs.map} +1 -1
- package/dist/index.cjs +31 -31
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +13 -13
- package/dist/internal/memory/storage/index.cjs +31 -31
- package/dist/internal/memory/storage/index.js +3 -3
- package/dist/internal/persistence/index.cjs +4 -4
- package/dist/internal/persistence/index.js +1 -1
- package/dist/internal/persistence/paths.d.cts +25 -12
- package/dist/internal/persistence/paths.d.ts +25 -12
- package/dist/internal/runtime/compat/compat-config-file.d.ts +31 -0
- package/dist/internal/runtime/compat/foreign-config-sources.d.ts +31 -1
- package/dist/internal/runtime/hooks/hooks-executor.d.ts +2 -1
- package/dist/internal/runtime/plugin-loader/plugin-bundles.d.ts +2 -1
- package/dist/project.cjs +3 -3
- package/dist/project.js +1 -1
- package/dist/{sdk-agent-Dxjb0IfM.d.cts → sdk-agent-BOiKqOgL.d.cts} +28 -1
- package/dist/{sdk-agent-ldzpyAaF.d.ts → sdk-agent-D4a_BR_6.d.ts} +28 -1
- package/dist/subagents-loader-TPZLTXYZ.cjs +16 -0
- package/dist/{subagents-loader-YWFE7KYE.cjs.map → subagents-loader-TPZLTXYZ.cjs.map} +1 -1
- package/dist/subagents-loader-Y6JFYXAY.js +7 -0
- package/dist/{subagents-loader-LSKM2UIK.js.map → subagents-loader-Y6JFYXAY.js.map} +1 -1
- package/dist/subagents-loader.cjs +3 -3
- package/dist/subagents-loader.d.cts +2 -2
- package/dist/subagents-loader.d.ts +2 -2
- package/dist/subagents-loader.js +2 -2
- package/dist/types/agent.d.ts +47 -1
- package/dist/types/sdk-agent.d.ts +28 -1
- package/dist/workflow.d.cts +1 -1
- package/dist/workflow.d.ts +1 -1
- package/docs/error-codes.md +21 -21
- package/docs/harness-capability-map.md +3 -1
- package/package.json +1 -1
- package/dist/chunk-CEILSTWB.cjs.map +0 -1
- package/dist/chunk-G4ZGYKJG.cjs.map +0 -1
- package/dist/chunk-HWSALKOR.cjs.map +0 -1
- package/dist/chunk-IJM7UGS5.js.map +0 -1
- package/dist/chunk-JTZ74HFD.js.map +0 -1
- package/dist/chunk-LKFET5A3.cjs.map +0 -1
- package/dist/chunk-NCGWJ3HS.js.map +0 -1
- package/dist/chunk-WFC26L6Y.js.map +0 -1
- package/dist/chunk-WMH2MSOP.cjs.map +0 -1
- package/dist/chunk-XCCGNU3D.js.map +0 -1
- package/dist/context-NZ2AC6S7.js +0 -6
- package/dist/subagents-loader-LSKM2UIK.js +0 -7
- package/dist/subagents-loader-YWFE7KYE.cjs +0 -16
package/dist/eval.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkUADQJBHR_cjs = require('./chunk-UADQJBHR.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkK6VDRJ6I_cjs = require('./chunk-K6VDRJ6I.cjs');
|
|
5
5
|
require('./chunk-KVSAY6NZ.cjs');
|
|
6
6
|
require('./chunk-Y2KYR2ED.cjs');
|
|
7
7
|
var chunkBUUUWQMB_cjs = require('./chunk-BUUUWQMB.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-KBXADFBJ.cjs');
|
|
9
|
+
require('./chunk-H6YM3PV6.cjs');
|
|
10
10
|
require('./chunk-BV2MWEMV.cjs');
|
|
11
11
|
require('./chunk-D6POWE7E.cjs');
|
|
12
12
|
require('./chunk-GHX4P3V2.cjs');
|
|
13
13
|
require('./chunk-TMKTSYDS.cjs');
|
|
14
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-RXZSVNDG.cjs');
|
|
15
15
|
require('./chunk-7FDKWDA2.cjs');
|
|
16
16
|
require('./chunk-2HPNT6HH.cjs');
|
|
17
17
|
require('./chunk-FUSDYC2B.cjs');
|
|
@@ -20,7 +20,7 @@ require('./chunk-24SYBZPL.cjs');
|
|
|
20
20
|
require('./chunk-QOGNZMHD.cjs');
|
|
21
21
|
require('./chunk-YIFFF23U.cjs');
|
|
22
22
|
require('./chunk-2ZPEDVLM.cjs');
|
|
23
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-IU5N5224.cjs');
|
|
24
24
|
require('./chunk-KRD3GQAA.cjs');
|
|
25
25
|
require('./chunk-RQMCOFAI.cjs');
|
|
26
26
|
require('./chunk-MUUQ2WFJ.cjs');
|
|
@@ -30,7 +30,7 @@ require('./chunk-FRITRLZQ.cjs');
|
|
|
30
30
|
require('./chunk-QME6FDFG.cjs');
|
|
31
31
|
var chunkNINIJCHU_cjs = require('./chunk-NINIJCHU.cjs');
|
|
32
32
|
require('./chunk-UGRS7ZA7.cjs');
|
|
33
|
-
require('./chunk-
|
|
33
|
+
require('./chunk-LOHMT36V.cjs');
|
|
34
34
|
require('./chunk-IJ7M6GOG.cjs');
|
|
35
35
|
require('./chunk-7A6535RA.cjs');
|
|
36
36
|
require('./chunk-SA6K24NB.cjs');
|
|
@@ -44,8 +44,8 @@ var chunkBJUJT5ED_cjs = require('./chunk-BJUJT5ED.cjs');
|
|
|
44
44
|
require('./chunk-ZF2LDKQQ.cjs');
|
|
45
45
|
require('./chunk-HCT4HPCL.cjs');
|
|
46
46
|
require('./chunk-JLRLCBJ4.cjs');
|
|
47
|
-
require('./chunk-
|
|
48
|
-
require('./chunk-
|
|
47
|
+
require('./chunk-SYVWE64W.cjs');
|
|
48
|
+
require('./chunk-GGZ5GPE3.cjs');
|
|
49
49
|
require('./chunk-HW7SEELD.cjs');
|
|
50
50
|
require('./chunk-ATT276RD.cjs');
|
|
51
51
|
require('./chunk-3EE6LVWT.cjs');
|
|
@@ -780,7 +780,7 @@ function makeDefaultEmbedder(opts) {
|
|
|
780
780
|
let runtime;
|
|
781
781
|
return (texts) => {
|
|
782
782
|
if (runtime === void 0) {
|
|
783
|
-
runtime =
|
|
783
|
+
runtime = chunkK6VDRJ6I_cjs.openRouterMemoryEmbeddingProviderAdapter.create(embedderCreateOptions(opts));
|
|
784
784
|
}
|
|
785
785
|
return runtime.then((rt) => rt.embed(texts));
|
|
786
786
|
};
|
package/dist/eval.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { shellEscapePosix, LocalSandbox } from './chunk-O6USDERH.js';
|
|
2
|
-
import { openRouterMemoryEmbeddingProviderAdapter } from './chunk-
|
|
2
|
+
import { openRouterMemoryEmbeddingProviderAdapter } from './chunk-GO5QW4YL.js';
|
|
3
3
|
import './chunk-K2VMFZQ5.js';
|
|
4
4
|
import './chunk-AWINL3ZC.js';
|
|
5
5
|
import { getTracer } from './chunk-K2BQQ445.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-CYKKYNOT.js';
|
|
7
|
+
import './chunk-XJZEBGXD.js';
|
|
8
8
|
import './chunk-2SFBB54R.js';
|
|
9
9
|
import './chunk-55GB6JYQ.js';
|
|
10
10
|
import './chunk-H73MEMQB.js';
|
|
11
11
|
import './chunk-OR6XIWLB.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-J2SH3PNH.js';
|
|
13
13
|
import './chunk-AAEZSPTC.js';
|
|
14
14
|
import './chunk-K3NH62DG.js';
|
|
15
15
|
import './chunk-UBR5PWD7.js';
|
|
@@ -18,7 +18,7 @@ import './chunk-XB4GI5RZ.js';
|
|
|
18
18
|
import './chunk-24MGQDK3.js';
|
|
19
19
|
import './chunk-2WXHA33T.js';
|
|
20
20
|
import './chunk-HKCKOAIO.js';
|
|
21
|
-
import './chunk-
|
|
21
|
+
import './chunk-N6OOOYFZ.js';
|
|
22
22
|
import './chunk-KVNWIAO4.js';
|
|
23
23
|
import './chunk-SVQIW5RJ.js';
|
|
24
24
|
import './chunk-FD2UT76F.js';
|
|
@@ -28,7 +28,7 @@ import './chunk-NAF4L3T6.js';
|
|
|
28
28
|
import './chunk-6WAKKTBO.js';
|
|
29
29
|
import { getAgentFacade } from './chunk-6X6ID4MO.js';
|
|
30
30
|
import './chunk-XDANGA2C.js';
|
|
31
|
-
import './chunk-
|
|
31
|
+
import './chunk-2XRAWOZZ.js';
|
|
32
32
|
import './chunk-SAGRF4IB.js';
|
|
33
33
|
import './chunk-EH6XD3FY.js';
|
|
34
34
|
import './chunk-UKMBRMGT.js';
|
|
@@ -43,8 +43,8 @@ export { JsonlParseError, loadJsonl } from './chunk-TA3K7SBK.js';
|
|
|
43
43
|
import './chunk-Q5EWJPRY.js';
|
|
44
44
|
import './chunk-EIQFAOFD.js';
|
|
45
45
|
import './chunk-3JHIFQ4I.js';
|
|
46
|
-
import './chunk-
|
|
47
|
-
import './chunk-
|
|
46
|
+
import './chunk-4S5TWFIZ.js';
|
|
47
|
+
import './chunk-67ADYSTW.js';
|
|
48
48
|
import './chunk-JNAA4G4H.js';
|
|
49
49
|
import './chunk-6M2OIS4Y.js';
|
|
50
50
|
import './chunk-R7WIIPUR.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { IndexManager } from './chunk-
|
|
1
|
+
export { IndexManager } from './chunk-CYKKYNOT.js';
|
|
2
2
|
import './chunk-H73MEMQB.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-J2SH3PNH.js';
|
|
4
4
|
import './chunk-KVNWIAO4.js';
|
|
5
5
|
import './chunk-FD2UT76F.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-2XRAWOZZ.js';
|
|
7
7
|
import './chunk-EH6XD3FY.js';
|
|
8
8
|
import './chunk-UKMBRMGT.js';
|
|
9
9
|
import './chunk-JOFVLOFY.js';
|
|
@@ -13,5 +13,5 @@ import './chunk-Q5EWJPRY.js';
|
|
|
13
13
|
import './chunk-3JHIFQ4I.js';
|
|
14
14
|
import './chunk-ALUN2B4W.js';
|
|
15
15
|
import './chunk-CZJ6Q7CW.js';
|
|
16
|
-
//# sourceMappingURL=index-manager-
|
|
17
|
-
//# sourceMappingURL=index-manager-
|
|
16
|
+
//# sourceMappingURL=index-manager-E56WW5RO.js.map
|
|
17
|
+
//# sourceMappingURL=index-manager-E56WW5RO.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index-manager-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index-manager-E56WW5RO.js"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKBXADFBJ_cjs = require('./chunk-KBXADFBJ.cjs');
|
|
4
4
|
require('./chunk-GHX4P3V2.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-RXZSVNDG.cjs');
|
|
6
6
|
require('./chunk-KRD3GQAA.cjs');
|
|
7
7
|
require('./chunk-MUUQ2WFJ.cjs');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-LOHMT36V.cjs');
|
|
9
9
|
require('./chunk-7A6535RA.cjs');
|
|
10
10
|
require('./chunk-SA6K24NB.cjs');
|
|
11
11
|
require('./chunk-GZV6AVRL.cjs');
|
|
@@ -20,7 +20,7 @@ require('./chunk-6LHQPOMI.cjs');
|
|
|
20
20
|
|
|
21
21
|
Object.defineProperty(exports, "IndexManager", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkKBXADFBJ_cjs.IndexManager; }
|
|
24
24
|
});
|
|
25
|
-
//# sourceMappingURL=index-manager-
|
|
26
|
-
//# sourceMappingURL=index-manager-
|
|
25
|
+
//# sourceMappingURL=index-manager-OL6HTYAO.cjs.map
|
|
26
|
+
//# sourceMappingURL=index-manager-OL6HTYAO.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index-manager-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index-manager-OL6HTYAO.cjs"}
|
package/dist/index.cjs
CHANGED
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
var chunkTFG5IBZS_cjs = require('./chunk-TFG5IBZS.cjs');
|
|
4
4
|
var chunkOBA6YK2R_cjs = require('./chunk-OBA6YK2R.cjs');
|
|
5
5
|
var chunkDRL7URI4_cjs = require('./chunk-DRL7URI4.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkVNDJS6I3_cjs = require('./chunk-VNDJS6I3.cjs');
|
|
7
7
|
var chunkQWD4RDZ3_cjs = require('./chunk-QWD4RDZ3.cjs');
|
|
8
8
|
require('./chunk-7JJ3A6AT.cjs');
|
|
9
9
|
var chunk4HS6FFGL_cjs = require('./chunk-4HS6FFGL.cjs');
|
|
10
10
|
require('./chunk-4A3SKJ53.cjs');
|
|
11
11
|
require('./chunk-VTYY7XL5.cjs');
|
|
12
|
-
var
|
|
13
|
-
var
|
|
12
|
+
var chunkGJKMSGZ7_cjs = require('./chunk-GJKMSGZ7.cjs');
|
|
13
|
+
var chunkK6VDRJ6I_cjs = require('./chunk-K6VDRJ6I.cjs');
|
|
14
14
|
var chunkKVSAY6NZ_cjs = require('./chunk-KVSAY6NZ.cjs');
|
|
15
15
|
require('./chunk-Y2KYR2ED.cjs');
|
|
16
16
|
require('./chunk-BUUUWQMB.cjs');
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-KBXADFBJ.cjs');
|
|
18
|
+
require('./chunk-H6YM3PV6.cjs');
|
|
19
19
|
require('./chunk-BV2MWEMV.cjs');
|
|
20
20
|
require('./chunk-D6POWE7E.cjs');
|
|
21
21
|
require('./chunk-GHX4P3V2.cjs');
|
|
22
22
|
require('./chunk-TMKTSYDS.cjs');
|
|
23
|
-
var
|
|
23
|
+
var chunkRXZSVNDG_cjs = require('./chunk-RXZSVNDG.cjs');
|
|
24
24
|
require('./chunk-7FDKWDA2.cjs');
|
|
25
25
|
var chunk2HPNT6HH_cjs = require('./chunk-2HPNT6HH.cjs');
|
|
26
26
|
require('./chunk-FUSDYC2B.cjs');
|
|
@@ -29,7 +29,7 @@ require('./chunk-24SYBZPL.cjs');
|
|
|
29
29
|
require('./chunk-QOGNZMHD.cjs');
|
|
30
30
|
require('./chunk-YIFFF23U.cjs');
|
|
31
31
|
require('./chunk-2ZPEDVLM.cjs');
|
|
32
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-IU5N5224.cjs');
|
|
33
33
|
require('./chunk-KRD3GQAA.cjs');
|
|
34
34
|
require('./chunk-RQMCOFAI.cjs');
|
|
35
35
|
require('./chunk-MUUQ2WFJ.cjs');
|
|
@@ -39,7 +39,7 @@ require('./chunk-FRITRLZQ.cjs');
|
|
|
39
39
|
require('./chunk-QME6FDFG.cjs');
|
|
40
40
|
require('./chunk-NINIJCHU.cjs');
|
|
41
41
|
require('./chunk-UGRS7ZA7.cjs');
|
|
42
|
-
require('./chunk-
|
|
42
|
+
require('./chunk-LOHMT36V.cjs');
|
|
43
43
|
require('./chunk-IJ7M6GOG.cjs');
|
|
44
44
|
require('./chunk-7A6535RA.cjs');
|
|
45
45
|
require('./chunk-SA6K24NB.cjs');
|
|
@@ -53,8 +53,8 @@ require('./chunk-BJUJT5ED.cjs');
|
|
|
53
53
|
var chunkZF2LDKQQ_cjs = require('./chunk-ZF2LDKQQ.cjs');
|
|
54
54
|
var chunkHCT4HPCL_cjs = require('./chunk-HCT4HPCL.cjs');
|
|
55
55
|
var chunkJLRLCBJ4_cjs = require('./chunk-JLRLCBJ4.cjs');
|
|
56
|
-
require('./chunk-
|
|
57
|
-
require('./chunk-
|
|
56
|
+
require('./chunk-SYVWE64W.cjs');
|
|
57
|
+
require('./chunk-GGZ5GPE3.cjs');
|
|
58
58
|
require('./chunk-HW7SEELD.cjs');
|
|
59
59
|
var chunkATT276RD_cjs = require('./chunk-ATT276RD.cjs');
|
|
60
60
|
var chunk3EE6LVWT_cjs = require('./chunk-3EE6LVWT.cjs');
|
|
@@ -74,8 +74,8 @@ var path = require('path');
|
|
|
74
74
|
// src/agent-factory.ts
|
|
75
75
|
function createAgentFactory(common) {
|
|
76
76
|
return {
|
|
77
|
-
forSession: (agentId, overrides) =>
|
|
78
|
-
getOrCreate: (agentId, overrides) =>
|
|
77
|
+
forSession: (agentId, overrides) => chunkK6VDRJ6I_cjs.Agent.create(mergeAgentOptions(common, overrides, agentId)),
|
|
78
|
+
getOrCreate: (agentId, overrides) => chunkK6VDRJ6I_cjs.Agent.getOrCreate(agentId, mergeAgentOptions(common, overrides, agentId))
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
function mergeAgentOptions(common, overrides, agentId) {
|
|
@@ -1178,8 +1178,8 @@ async function runInner(options) {
|
|
|
1178
1178
|
const now = options.now ?? Date.now;
|
|
1179
1179
|
const timestampMs = now();
|
|
1180
1180
|
try {
|
|
1181
|
-
const root = options.memoryRoot ??
|
|
1182
|
-
const facts = await
|
|
1181
|
+
const root = options.memoryRoot ?? chunkRXZSVNDG_cjs.resolveMemoryRoot(options.cwd);
|
|
1182
|
+
const facts = await chunkRXZSVNDG_cjs.readFactsFromMarkdown(
|
|
1183
1183
|
options.cwd,
|
|
1184
1184
|
options.memoryRoot ? { directory: options.memoryRoot } : void 0
|
|
1185
1185
|
);
|
|
@@ -1198,7 +1198,7 @@ async function runInner(options) {
|
|
|
1198
1198
|
notesWritten,
|
|
1199
1199
|
diaryEntryHash: void 0
|
|
1200
1200
|
};
|
|
1201
|
-
await
|
|
1201
|
+
await chunkVNDJS6I3_cjs.appendDiaryEntry(root, {
|
|
1202
1202
|
timestampMs,
|
|
1203
1203
|
factsBefore: result.factsBefore,
|
|
1204
1204
|
factsAfter: result.factsAfter,
|
|
@@ -1292,8 +1292,8 @@ var Memory = {
|
|
|
1292
1292
|
openArgs.embedding = await resolveEmbedding(opts.embedding, peer.MEMORY_EMBEDDING_ADAPTERS);
|
|
1293
1293
|
return await peer.IndexManager.open(openArgs);
|
|
1294
1294
|
}
|
|
1295
|
-
const { IndexManager } = await import('./index-manager-
|
|
1296
|
-
openArgs.embedding = await resolveEmbedding(opts.embedding,
|
|
1295
|
+
const { IndexManager } = await import('./index-manager-OL6HTYAO.cjs');
|
|
1296
|
+
openArgs.embedding = await resolveEmbedding(opts.embedding, chunkK6VDRJ6I_cjs.MEMORY_EMBEDDING_ADAPTERS);
|
|
1297
1297
|
return await IndexManager.open(openArgs);
|
|
1298
1298
|
},
|
|
1299
1299
|
/**
|
|
@@ -1304,7 +1304,7 @@ var Memory = {
|
|
|
1304
1304
|
*/
|
|
1305
1305
|
async runDreamingSweep(opts) {
|
|
1306
1306
|
const peer = await tryLoadSdkMemoryPeer();
|
|
1307
|
-
const catalog = peer !== null ? peer.MEMORY_EMBEDDING_ADAPTERS :
|
|
1307
|
+
const catalog = peer !== null ? peer.MEMORY_EMBEDDING_ADAPTERS : chunkK6VDRJ6I_cjs.MEMORY_EMBEDDING_ADAPTERS;
|
|
1308
1308
|
const sweepArgs = await buildDreamingSweepArgs(opts, catalog);
|
|
1309
1309
|
const result = peer !== null ? (
|
|
1310
1310
|
// biome-ignore lint/suspicious/noExplicitAny: peer is dynamically loaded — structural compat ensured by sdk-memory
|
|
@@ -1338,7 +1338,7 @@ async function buildDreamingSweepArgs(opts, catalog) {
|
|
|
1338
1338
|
const runtime = await resolveEmbedding(opts.embedding, catalog);
|
|
1339
1339
|
return {
|
|
1340
1340
|
cwd: opts.cwd,
|
|
1341
|
-
memoryRoot:
|
|
1341
|
+
memoryRoot: chunkRXZSVNDG_cjs.resolveMemoryRoot(opts.cwd, { directory: opts.directory }),
|
|
1342
1342
|
embedding: runtime,
|
|
1343
1343
|
...opts.dedupThreshold !== void 0 ? { dedupThreshold: opts.dedupThreshold } : {},
|
|
1344
1344
|
...opts.clusterThreshold !== void 0 ? { clusterThreshold: opts.clusterThreshold } : {}
|
|
@@ -1377,7 +1377,7 @@ async function migrateSqliteToLance2(options) {
|
|
|
1377
1377
|
if (peer !== null) {
|
|
1378
1378
|
return peer.migrateSqliteToLance(options);
|
|
1379
1379
|
}
|
|
1380
|
-
return
|
|
1380
|
+
return chunkVNDJS6I3_cjs.migrateSqliteToLance(options);
|
|
1381
1381
|
}
|
|
1382
1382
|
|
|
1383
1383
|
// src/permission-engine.ts
|
|
@@ -1738,7 +1738,7 @@ function isBuiltAgent(m) {
|
|
|
1738
1738
|
return typeof m.send === "function";
|
|
1739
1739
|
}
|
|
1740
1740
|
async function materialize(def, index) {
|
|
1741
|
-
const { Agent: Agent2 } = await import('./agent-
|
|
1741
|
+
const { Agent: Agent2 } = await import('./agent-V6YLX3W6.cjs');
|
|
1742
1742
|
return Agent2.create({
|
|
1743
1743
|
// `AgentDefinition.model` admits the sentinel `'inherit'`, which is not a model id. Inheriting
|
|
1744
1744
|
// here means "declare nothing and let the default apply" — forwarding the literal would create
|
|
@@ -1880,7 +1880,7 @@ var FIXTURE_USER = {
|
|
|
1880
1880
|
};
|
|
1881
1881
|
var FIXTURE_MODELS = [
|
|
1882
1882
|
{
|
|
1883
|
-
id:
|
|
1883
|
+
id: chunkK6VDRJ6I_cjs.DEFAULT_AGENTIC_MODEL_ID,
|
|
1884
1884
|
name: "Gemini 2.0 Flash",
|
|
1885
1885
|
displayName: "Gemini 2.0 Flash",
|
|
1886
1886
|
parameters: [
|
|
@@ -2083,7 +2083,7 @@ var Theokit = class {
|
|
|
2083
2083
|
envVars: p.envVars
|
|
2084
2084
|
}));
|
|
2085
2085
|
},
|
|
2086
|
-
embeddingAdapters: () => Object.entries(
|
|
2086
|
+
embeddingAdapters: () => Object.entries(chunkK6VDRJ6I_cjs.MEMORY_EMBEDDING_ADAPTERS).map(([id, adapter]) => ({
|
|
2087
2087
|
id,
|
|
2088
2088
|
transport: adapter.transport,
|
|
2089
2089
|
defaultModel: adapter.defaultModel
|
|
@@ -2302,35 +2302,35 @@ Object.defineProperty(exports, "fn", {
|
|
|
2302
2302
|
});
|
|
2303
2303
|
Object.defineProperty(exports, "Cron", {
|
|
2304
2304
|
enumerable: true,
|
|
2305
|
-
get: function () { return
|
|
2305
|
+
get: function () { return chunkGJKMSGZ7_cjs.Cron; }
|
|
2306
2306
|
});
|
|
2307
2307
|
Object.defineProperty(exports, "Agent", {
|
|
2308
2308
|
enumerable: true,
|
|
2309
|
-
get: function () { return
|
|
2309
|
+
get: function () { return chunkK6VDRJ6I_cjs.Agent; }
|
|
2310
2310
|
});
|
|
2311
2311
|
Object.defineProperty(exports, "AgentBuilder", {
|
|
2312
2312
|
enumerable: true,
|
|
2313
|
-
get: function () { return
|
|
2313
|
+
get: function () { return chunkK6VDRJ6I_cjs.AgentBuilder; }
|
|
2314
2314
|
});
|
|
2315
2315
|
Object.defineProperty(exports, "Tool", {
|
|
2316
2316
|
enumerable: true,
|
|
2317
|
-
get: function () { return
|
|
2317
|
+
get: function () { return chunkK6VDRJ6I_cjs.Tool; }
|
|
2318
2318
|
});
|
|
2319
2319
|
Object.defineProperty(exports, "ToolError", {
|
|
2320
2320
|
enumerable: true,
|
|
2321
|
-
get: function () { return
|
|
2321
|
+
get: function () { return chunkK6VDRJ6I_cjs.ToolError; }
|
|
2322
2322
|
});
|
|
2323
2323
|
Object.defineProperty(exports, "UsageAccumulator", {
|
|
2324
2324
|
enumerable: true,
|
|
2325
|
-
get: function () { return
|
|
2325
|
+
get: function () { return chunkK6VDRJ6I_cjs.UsageAccumulator; }
|
|
2326
2326
|
});
|
|
2327
2327
|
Object.defineProperty(exports, "computeCost", {
|
|
2328
2328
|
enumerable: true,
|
|
2329
|
-
get: function () { return
|
|
2329
|
+
get: function () { return chunkK6VDRJ6I_cjs.computeCost; }
|
|
2330
2330
|
});
|
|
2331
2331
|
Object.defineProperty(exports, "getPricingEntry", {
|
|
2332
2332
|
enumerable: true,
|
|
2333
|
-
get: function () { return
|
|
2333
|
+
get: function () { return chunkK6VDRJ6I_cjs.getPricingEntry; }
|
|
2334
2334
|
});
|
|
2335
2335
|
Object.defineProperty(exports, "emitRunEvent", {
|
|
2336
2336
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -2,15 +2,15 @@ import { T as TheokitAgentError, E as ErrorMetadata } from './errors-base-B5g01n
|
|
|
2
2
|
export { a as ErrorCode } from './errors-base-B5g01neU.cjs';
|
|
3
3
|
import { F as RunEvent, j as CostBreakdown, at as TokenUsage, R as RunResult, M as ModelSelection, C as CustomTool, a as McpServerConfig, T as ToolResultContentBlock, b as Run, P as Processor, c as PermissionMode, d as RunEventSink$1, S as SDKMessage } from './run-CTAdRU3U.cjs';
|
|
4
4
|
export { A as AgentConversationTurn, e as AssistantMessage, f as CompletionCheck, g as CompletionCheckResult, h as ConversationStep, i as ConversationTurn, j as CostBreakdown, k as CostSource, l as CostStatus, D as DoomLoopThresholds, G as GenerateOptions, m as GenerateRunResult, I as ImageBlock, n as InputProcessorContext, o as InteractionUpdate, p as McpAuthConfig, q as McpHttpServerConfig, r as McpOAuthConfig, s as McpStdioServerConfig, t as MessageOrigin, u as ModelParameterValue, O as OutputProcessorContext, v as PartialToolCallUpdate, w as ProcessorControls, x as ProcessorTripwire, y as ProcessorViolation, z as RunCompactBoundaryEvent, B as RunCompletionCheckEvent, E as RunErrorDetail, F as RunEvent, H as RunGitInfo, J as RunMemoryDegradedEvent, K as RunOperation, L as RunPermissionDeniedEvent, N as RunRateLimitEvent, Q as RunStatus, U as RunTaskCompletedEvent, V as RunTaskStartedEvent, W as RunTaskUpdatedEvent, X as RunTimelineEvent, Y as RunToCompletionOptions, Z as RunToCompletionResult, _ as RunToolProgressEvent, $ as RunTripwireEvent, a0 as SDKAssistantMessage, a1 as SDKImage, a2 as SDKImageDimension, a3 as SDKObjectDelta, a4 as SDKRequestMessage, a5 as SDKStatusMessage, a6 as SDKSystemMessage, a7 as SDKTaskMessage, a8 as SDKThinkingMessage, a9 as SDKToolUseMessage, aa as SDKUserMessage, ab as SDKUserMessageEvent, ac as SendOptions, ad as ShellCommand, ae as ShellConversationTurn, af as ShellOutput, ag as ShellOutputDeltaUpdate, ah as StepCompletedUpdate, ai as StepStartedUpdate, aj as StreamToCompletionResult, ak as SummaryCompletedUpdate, al as SummaryStartedUpdate, am as SummaryUpdate, an as TextBlock, ao as TextDeltaUpdate, ap as ThinkingCompletedUpdate, aq as ThinkingDeltaUpdate, ar as ThinkingMessage, as as TokenDeltaUpdate, at as TokenUsage, au as ToolCall, av as ToolCallCompletedUpdate, aw as ToolCallStartedUpdate, ax as ToolContextMessage, ay as ToolResult, az as ToolResultGuardOptions, aA as ToolUseBlock, aB as TurnEndedUpdate, aC as UserMessage, aD as UserMessageAppendedUpdate } from './run-CTAdRU3U.cjs';
|
|
5
|
-
import { A as AgentOptions, L as LocalOptions, S as SystemPromptResolver, C as CloudOptions, M as MemorySettings, a as AgentDefinition, b as SkillsSettings, c as ListAgentsOptions, d as ListResult, e as SDKAgentInfo, G as GetAgentOptions, f as ListRunsOptions, g as GetRunOptions, h as AgentOperationOptions, i as AgentDescription, P as Plugin$1, j as ProviderProfile, I as InlineSkill, B as BudgetTracker, k as MemoryProvider, l as PreToolCallDecision } from './agent-
|
|
6
|
-
export { m as ActiveMemoryPassArgs, n as ActiveMemoryPassResult, o as AgentSubagentDescription, p as AgentToolDescription, q as BudgetCheck, r as BudgetTotal, s as BudgetUsageEvent, t as BuiltinToolName, u as CloudEnv, v as CloudRepo, w as CompatSource, x as CreateSkillSpec, H as HookName,
|
|
5
|
+
import { A as AgentOptions, L as LocalOptions, S as SystemPromptResolver, C as CloudOptions, M as MemorySettings, a as AgentDefinition, b as SkillsSettings, c as ListAgentsOptions, d as ListResult, e as SDKAgentInfo, G as GetAgentOptions, f as ListRunsOptions, g as GetRunOptions, h as AgentOperationOptions, i as AgentDescription, P as Plugin$1, j as ProviderProfile, I as InlineSkill, B as BudgetTracker, k as MemoryProvider, l as PreToolCallDecision } from './agent-C3KO5LKm.cjs';
|
|
6
|
+
export { m as ActiveMemoryPassArgs, n as ActiveMemoryPassResult, o as AgentSubagentDescription, p as AgentToolDescription, q as BudgetCheck, r as BudgetTotal, s as BudgetUsageEvent, t as BuiltinToolName, u as CloudEnv, v as CloudRepo, w as CompatSource, x as CompatSourceAdapter, y as CompatSurface, z as CreateSkillSpec, H as HookName, D as MemoryProviderAgentRef, E as MemoryProviderFactory, F as MemoryProviderHandle, J as MemoryProviderInitOptions, K as PluginContext, N as PluginHookDisposer, O as PostAssistantReplyContext, Q as PostToolCallContext, R as PreToolCallContext, T as PreUserSendContext, U as PreUserSendResult, V as ProviderTransform, W as ProviderTransformContext, X as RecordSessionSummaryArgs, Y as SessionLifecycleContext, Z as SessionRecord, _ as SessionStore, $ as SettingSource, a0 as Skill, a1 as SkillsResolver, a2 as SkillsResolverContext, a3 as SystemPromptContext, a4 as SystemPromptMemoryFact, a5 as TelemetrySettings, a6 as ToolCallSummary, a7 as ToolResultTransformContext, a8 as TransformContext } from './agent-C3KO5LKm.cjs';
|
|
7
7
|
import * as zod from 'zod';
|
|
8
8
|
import { ZodType, z } from 'zod';
|
|
9
9
|
import { S as StructuredOutputError, B as BudgetOptions, a as BudgetHandle, b as BudgetSnapshot } from './errors-DrDEgyz1.cjs';
|
|
10
10
|
export { A as AgentDisposedError, c as AgentRunError, d as AgentRunErrorCode, e as AuthenticationError, f as BudgetExceedEvent, g as BudgetExceededError, h as BudgetLimit, i as BudgetMode, j as BudgetScope, k as BudgetThresholdEvent, l as BudgetWindow, C as ConfigurationError, I as IntegrationNotConnectedError, m as InvalidTaskIdError, M as MemoryAdapterError, n as MemoryAdapterErrorCode, N as NetworkError, R as RateLimitError, T as TaskNotFoundError, U as UnknownAgentError, o as UnsupportedBudgetOperationError, p as UnsupportedRunOperationError, q as UnsupportedTaskOperationError, r as isTransientError } from './errors-DrDEgyz1.cjs';
|
|
11
|
-
import { P as ProviderRoutingSettings, S as SDKAgent, C as ContextSettings, a as PluginsSettings, J as JudgeResult, G as GoalOptions, b as GoalEvent, c as GoalResult, M as MemoryId, d as SDKProvider } from './sdk-agent-
|
|
12
|
-
export { A as AgentMemory, e as AgentOperation, f as ContextBudget, g as ContextManagerKind, h as ContextSnapshot, i as ContextSource, j as ContextSourceStatus, I as InvalidateCacheOptions, k as MemoryAdapter, l as MemoryAdapterCapabilities, m as MemoryContext, n as MemoryFact, o as MemoryRevision, p as MemoryToolSchema, q as MemoryTurnMessage, r as PersonalityPreset, s as ProviderCapability, t as ProviderRoute, R as ResolvedProviderRoute, u as RunUntilIterator, v as SDKAgentPlugins, w as SDKAgentSkillDetail, x as SDKAgentSkills, y as SDKArtifact, z as SDKContextManager, B as SDKPluginMetadata, D as SDKProvidersManager, E as SystemPromptSkillRef, V as Verdict } from './sdk-agent-
|
|
13
|
-
export { C as Cron, a as CronCreateOptions, b as CronGetOptions, c as CronJob, d as CronJobStatus, e as CronListOptions, f as CronOperationOptions, g as CronRunOptions, h as CronRuntime, i as CronSchedulerStatus, j as CronStartOptions } from './cron-
|
|
11
|
+
import { P as ProviderRoutingSettings, S as SDKAgent, C as ContextSettings, a as PluginsSettings, J as JudgeResult, G as GoalOptions, b as GoalEvent, c as GoalResult, M as MemoryId, d as SDKProvider } from './sdk-agent-BOiKqOgL.cjs';
|
|
12
|
+
export { A as AgentMemory, e as AgentOperation, f as ContextBudget, g as ContextManagerKind, h as ContextSnapshot, i as ContextSource, j as ContextSourceStatus, I as InvalidateCacheOptions, k as MemoryAdapter, l as MemoryAdapterCapabilities, m as MemoryContext, n as MemoryFact, o as MemoryRevision, p as MemoryToolSchema, q as MemoryTurnMessage, r as PersonalityPreset, s as ProviderCapability, t as ProviderRoute, R as ResolvedProviderRoute, u as RunUntilIterator, v as SDKAgentPlugins, w as SDKAgentSkillDetail, x as SDKAgentSkills, y as SDKArtifact, z as SDKContextManager, B as SDKPluginMetadata, D as SDKProvidersManager, E as SystemPromptSkillRef, V as Verdict } from './sdk-agent-BOiKqOgL.cjs';
|
|
13
|
+
export { C as Cron, a as CronCreateOptions, b as CronGetOptions, c as CronJob, d as CronJobStatus, e as CronListOptions, f as CronOperationOptions, g as CronRunOptions, h as CronRuntime, i as CronSchedulerStatus, j as CronStartOptions } from './cron-C3PhZED0.cjs';
|
|
14
14
|
import { StepResult } from './workflow.cjs';
|
|
15
15
|
export { Workflow, agentStep, fn } from './workflow.cjs';
|
|
16
16
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2,15 +2,15 @@ import { T as TheokitAgentError, E as ErrorMetadata } from './errors-base-B5g01n
|
|
|
2
2
|
export { a as ErrorCode } from './errors-base-B5g01neU.js';
|
|
3
3
|
import { F as RunEvent, j as CostBreakdown, at as TokenUsage, R as RunResult, M as ModelSelection, C as CustomTool, a as McpServerConfig, T as ToolResultContentBlock, b as Run, P as Processor, c as PermissionMode, d as RunEventSink$1, S as SDKMessage } from './run-CTAdRU3U.js';
|
|
4
4
|
export { A as AgentConversationTurn, e as AssistantMessage, f as CompletionCheck, g as CompletionCheckResult, h as ConversationStep, i as ConversationTurn, j as CostBreakdown, k as CostSource, l as CostStatus, D as DoomLoopThresholds, G as GenerateOptions, m as GenerateRunResult, I as ImageBlock, n as InputProcessorContext, o as InteractionUpdate, p as McpAuthConfig, q as McpHttpServerConfig, r as McpOAuthConfig, s as McpStdioServerConfig, t as MessageOrigin, u as ModelParameterValue, O as OutputProcessorContext, v as PartialToolCallUpdate, w as ProcessorControls, x as ProcessorTripwire, y as ProcessorViolation, z as RunCompactBoundaryEvent, B as RunCompletionCheckEvent, E as RunErrorDetail, F as RunEvent, H as RunGitInfo, J as RunMemoryDegradedEvent, K as RunOperation, L as RunPermissionDeniedEvent, N as RunRateLimitEvent, Q as RunStatus, U as RunTaskCompletedEvent, V as RunTaskStartedEvent, W as RunTaskUpdatedEvent, X as RunTimelineEvent, Y as RunToCompletionOptions, Z as RunToCompletionResult, _ as RunToolProgressEvent, $ as RunTripwireEvent, a0 as SDKAssistantMessage, a1 as SDKImage, a2 as SDKImageDimension, a3 as SDKObjectDelta, a4 as SDKRequestMessage, a5 as SDKStatusMessage, a6 as SDKSystemMessage, a7 as SDKTaskMessage, a8 as SDKThinkingMessage, a9 as SDKToolUseMessage, aa as SDKUserMessage, ab as SDKUserMessageEvent, ac as SendOptions, ad as ShellCommand, ae as ShellConversationTurn, af as ShellOutput, ag as ShellOutputDeltaUpdate, ah as StepCompletedUpdate, ai as StepStartedUpdate, aj as StreamToCompletionResult, ak as SummaryCompletedUpdate, al as SummaryStartedUpdate, am as SummaryUpdate, an as TextBlock, ao as TextDeltaUpdate, ap as ThinkingCompletedUpdate, aq as ThinkingDeltaUpdate, ar as ThinkingMessage, as as TokenDeltaUpdate, at as TokenUsage, au as ToolCall, av as ToolCallCompletedUpdate, aw as ToolCallStartedUpdate, ax as ToolContextMessage, ay as ToolResult, az as ToolResultGuardOptions, aA as ToolUseBlock, aB as TurnEndedUpdate, aC as UserMessage, aD as UserMessageAppendedUpdate } from './run-CTAdRU3U.js';
|
|
5
|
-
import { A as AgentOptions, L as LocalOptions, S as SystemPromptResolver, C as CloudOptions, M as MemorySettings, a as AgentDefinition, b as SkillsSettings, c as ListAgentsOptions, d as ListResult, e as SDKAgentInfo, G as GetAgentOptions, f as ListRunsOptions, g as GetRunOptions, h as AgentOperationOptions, i as AgentDescription, P as Plugin$1, j as ProviderProfile, I as InlineSkill, B as BudgetTracker, k as MemoryProvider, l as PreToolCallDecision } from './agent-
|
|
6
|
-
export { m as ActiveMemoryPassArgs, n as ActiveMemoryPassResult, o as AgentSubagentDescription, p as AgentToolDescription, q as BudgetCheck, r as BudgetTotal, s as BudgetUsageEvent, t as BuiltinToolName, u as CloudEnv, v as CloudRepo, w as CompatSource, x as CreateSkillSpec, H as HookName,
|
|
5
|
+
import { A as AgentOptions, L as LocalOptions, S as SystemPromptResolver, C as CloudOptions, M as MemorySettings, a as AgentDefinition, b as SkillsSettings, c as ListAgentsOptions, d as ListResult, e as SDKAgentInfo, G as GetAgentOptions, f as ListRunsOptions, g as GetRunOptions, h as AgentOperationOptions, i as AgentDescription, P as Plugin$1, j as ProviderProfile, I as InlineSkill, B as BudgetTracker, k as MemoryProvider, l as PreToolCallDecision } from './agent-CvmTR9uf.js';
|
|
6
|
+
export { m as ActiveMemoryPassArgs, n as ActiveMemoryPassResult, o as AgentSubagentDescription, p as AgentToolDescription, q as BudgetCheck, r as BudgetTotal, s as BudgetUsageEvent, t as BuiltinToolName, u as CloudEnv, v as CloudRepo, w as CompatSource, x as CompatSourceAdapter, y as CompatSurface, z as CreateSkillSpec, H as HookName, D as MemoryProviderAgentRef, E as MemoryProviderFactory, F as MemoryProviderHandle, J as MemoryProviderInitOptions, K as PluginContext, N as PluginHookDisposer, O as PostAssistantReplyContext, Q as PostToolCallContext, R as PreToolCallContext, T as PreUserSendContext, U as PreUserSendResult, V as ProviderTransform, W as ProviderTransformContext, X as RecordSessionSummaryArgs, Y as SessionLifecycleContext, Z as SessionRecord, _ as SessionStore, $ as SettingSource, a0 as Skill, a1 as SkillsResolver, a2 as SkillsResolverContext, a3 as SystemPromptContext, a4 as SystemPromptMemoryFact, a5 as TelemetrySettings, a6 as ToolCallSummary, a7 as ToolResultTransformContext, a8 as TransformContext } from './agent-CvmTR9uf.js';
|
|
7
7
|
import * as zod from 'zod';
|
|
8
8
|
import { ZodType, z } from 'zod';
|
|
9
9
|
import { S as StructuredOutputError, B as BudgetOptions, a as BudgetHandle, b as BudgetSnapshot } from './errors-CLOAyuiv.js';
|
|
10
10
|
export { A as AgentDisposedError, c as AgentRunError, d as AgentRunErrorCode, e as AuthenticationError, f as BudgetExceedEvent, g as BudgetExceededError, h as BudgetLimit, i as BudgetMode, j as BudgetScope, k as BudgetThresholdEvent, l as BudgetWindow, C as ConfigurationError, I as IntegrationNotConnectedError, m as InvalidTaskIdError, M as MemoryAdapterError, n as MemoryAdapterErrorCode, N as NetworkError, R as RateLimitError, T as TaskNotFoundError, U as UnknownAgentError, o as UnsupportedBudgetOperationError, p as UnsupportedRunOperationError, q as UnsupportedTaskOperationError, r as isTransientError } from './errors-CLOAyuiv.js';
|
|
11
|
-
import { P as ProviderRoutingSettings, S as SDKAgent, C as ContextSettings, a as PluginsSettings, J as JudgeResult, G as GoalOptions, b as GoalEvent, c as GoalResult, M as MemoryId, d as SDKProvider } from './sdk-agent-
|
|
12
|
-
export { A as AgentMemory, e as AgentOperation, f as ContextBudget, g as ContextManagerKind, h as ContextSnapshot, i as ContextSource, j as ContextSourceStatus, I as InvalidateCacheOptions, k as MemoryAdapter, l as MemoryAdapterCapabilities, m as MemoryContext, n as MemoryFact, o as MemoryRevision, p as MemoryToolSchema, q as MemoryTurnMessage, r as PersonalityPreset, s as ProviderCapability, t as ProviderRoute, R as ResolvedProviderRoute, u as RunUntilIterator, v as SDKAgentPlugins, w as SDKAgentSkillDetail, x as SDKAgentSkills, y as SDKArtifact, z as SDKContextManager, B as SDKPluginMetadata, D as SDKProvidersManager, E as SystemPromptSkillRef, V as Verdict } from './sdk-agent-
|
|
13
|
-
export { C as Cron, a as CronCreateOptions, b as CronGetOptions, c as CronJob, d as CronJobStatus, e as CronListOptions, f as CronOperationOptions, g as CronRunOptions, h as CronRuntime, i as CronSchedulerStatus, j as CronStartOptions } from './cron-
|
|
11
|
+
import { P as ProviderRoutingSettings, S as SDKAgent, C as ContextSettings, a as PluginsSettings, J as JudgeResult, G as GoalOptions, b as GoalEvent, c as GoalResult, M as MemoryId, d as SDKProvider } from './sdk-agent-D4a_BR_6.js';
|
|
12
|
+
export { A as AgentMemory, e as AgentOperation, f as ContextBudget, g as ContextManagerKind, h as ContextSnapshot, i as ContextSource, j as ContextSourceStatus, I as InvalidateCacheOptions, k as MemoryAdapter, l as MemoryAdapterCapabilities, m as MemoryContext, n as MemoryFact, o as MemoryRevision, p as MemoryToolSchema, q as MemoryTurnMessage, r as PersonalityPreset, s as ProviderCapability, t as ProviderRoute, R as ResolvedProviderRoute, u as RunUntilIterator, v as SDKAgentPlugins, w as SDKAgentSkillDetail, x as SDKAgentSkills, y as SDKArtifact, z as SDKContextManager, B as SDKPluginMetadata, D as SDKProvidersManager, E as SystemPromptSkillRef, V as Verdict } from './sdk-agent-D4a_BR_6.js';
|
|
13
|
+
export { C as Cron, a as CronCreateOptions, b as CronGetOptions, c as CronJob, d as CronJobStatus, e as CronListOptions, f as CronOperationOptions, g as CronRunOptions, h as CronRuntime, i as CronSchedulerStatus, j as CronStartOptions } from './cron-crfMMdAw.js';
|
|
14
14
|
import { StepResult } from './workflow.js';
|
|
15
15
|
export { Workflow, agentStep, fn } from './workflow.js';
|
|
16
16
|
|
package/dist/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
export { StreamObjectError } from './chunk-5WKQDIGO.js';
|
|
2
2
|
export { GOAL_CONTINUATION_MARKER } from './chunk-PY2RQOA7.js';
|
|
3
3
|
export { JudgeCredentialError } from './chunk-UFPUHJWS.js';
|
|
4
|
-
import { migrateSqliteToLance, appendDiaryEntry } from './chunk-
|
|
4
|
+
import { migrateSqliteToLance, appendDiaryEntry } from './chunk-DX4RUWOK.js';
|
|
5
5
|
export { GenerateObjectError } from './chunk-44I6UYVH.js';
|
|
6
6
|
import './chunk-47TF32NQ.js';
|
|
7
7
|
import { Workflow, agentStep } from './chunk-HFEJE7AC.js';
|
|
8
8
|
export { Workflow, agentStep, fn } from './chunk-HFEJE7AC.js';
|
|
9
9
|
import './chunk-GBCVPKHE.js';
|
|
10
10
|
import './chunk-HY66GLM6.js';
|
|
11
|
-
export { Cron } from './chunk-
|
|
12
|
-
import { MEMORY_EMBEDDING_ADAPTERS, DEFAULT_AGENTIC_MODEL_ID, Agent } from './chunk-
|
|
13
|
-
export { Agent, AgentBuilder, Tool, ToolError, UsageAccumulator, computeCost, getPricingEntry } from './chunk-
|
|
11
|
+
export { Cron } from './chunk-L4RPP6ZC.js';
|
|
12
|
+
import { MEMORY_EMBEDDING_ADAPTERS, DEFAULT_AGENTIC_MODEL_ID, Agent } from './chunk-GO5QW4YL.js';
|
|
13
|
+
export { Agent, AgentBuilder, Tool, ToolError, UsageAccumulator, computeCost, getPricingEntry } from './chunk-GO5QW4YL.js';
|
|
14
14
|
import { configure, submit, list, get, cancel, subscribe } from './chunk-K2VMFZQ5.js';
|
|
15
15
|
export { emitRunEvent } from './chunk-K2VMFZQ5.js';
|
|
16
16
|
import './chunk-AWINL3ZC.js';
|
|
17
17
|
import './chunk-K2BQQ445.js';
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
18
|
+
import './chunk-CYKKYNOT.js';
|
|
19
|
+
import './chunk-XJZEBGXD.js';
|
|
20
20
|
import './chunk-2SFBB54R.js';
|
|
21
21
|
import './chunk-55GB6JYQ.js';
|
|
22
22
|
import './chunk-H73MEMQB.js';
|
|
23
23
|
import './chunk-OR6XIWLB.js';
|
|
24
|
-
import { resolveMemoryRoot, readFactsFromMarkdown } from './chunk-
|
|
24
|
+
import { resolveMemoryRoot, readFactsFromMarkdown } from './chunk-J2SH3PNH.js';
|
|
25
25
|
import './chunk-AAEZSPTC.js';
|
|
26
26
|
import { discoverProviderPlugins, shouldUseFixtureMode, isFixtureApiKey, httpRequest, mapOllamaTransportError, readErrorResponseBody, mapOllamaHttpError } from './chunk-K3NH62DG.js';
|
|
27
27
|
import './chunk-UBR5PWD7.js';
|
|
@@ -30,7 +30,7 @@ import './chunk-XB4GI5RZ.js';
|
|
|
30
30
|
import './chunk-24MGQDK3.js';
|
|
31
31
|
import './chunk-2WXHA33T.js';
|
|
32
32
|
import './chunk-HKCKOAIO.js';
|
|
33
|
-
import './chunk-
|
|
33
|
+
import './chunk-N6OOOYFZ.js';
|
|
34
34
|
import './chunk-KVNWIAO4.js';
|
|
35
35
|
import './chunk-SVQIW5RJ.js';
|
|
36
36
|
import './chunk-FD2UT76F.js';
|
|
@@ -40,7 +40,7 @@ import './chunk-NAF4L3T6.js';
|
|
|
40
40
|
import './chunk-6WAKKTBO.js';
|
|
41
41
|
import './chunk-6X6ID4MO.js';
|
|
42
42
|
import './chunk-XDANGA2C.js';
|
|
43
|
-
import './chunk-
|
|
43
|
+
import './chunk-2XRAWOZZ.js';
|
|
44
44
|
import './chunk-SAGRF4IB.js';
|
|
45
45
|
import './chunk-EH6XD3FY.js';
|
|
46
46
|
import './chunk-UKMBRMGT.js';
|
|
@@ -55,8 +55,8 @@ import { withCwdMutex } from './chunk-Q5EWJPRY.js';
|
|
|
55
55
|
export { withCwdMutex } from './chunk-Q5EWJPRY.js';
|
|
56
56
|
export { TASK_RESERVED_PREFIXES, isValidTaskId } from './chunk-EIQFAOFD.js';
|
|
57
57
|
import { replaceFileAtomic } from './chunk-3JHIFQ4I.js';
|
|
58
|
-
import './chunk-
|
|
59
|
-
import './chunk-
|
|
58
|
+
import './chunk-4S5TWFIZ.js';
|
|
59
|
+
import './chunk-67ADYSTW.js';
|
|
60
60
|
import './chunk-JNAA4G4H.js';
|
|
61
61
|
import { estimateTokens, CHARS_PER_TOKEN } from './chunk-6M2OIS4Y.js';
|
|
62
62
|
export { estimateTokens } from './chunk-6M2OIS4Y.js';
|
|
@@ -1297,7 +1297,7 @@ var Memory = {
|
|
|
1297
1297
|
openArgs.embedding = await resolveEmbedding(opts.embedding, peer.MEMORY_EMBEDDING_ADAPTERS);
|
|
1298
1298
|
return await peer.IndexManager.open(openArgs);
|
|
1299
1299
|
}
|
|
1300
|
-
const { IndexManager } = await import('./index-manager-
|
|
1300
|
+
const { IndexManager } = await import('./index-manager-E56WW5RO.js');
|
|
1301
1301
|
openArgs.embedding = await resolveEmbedding(opts.embedding, MEMORY_EMBEDDING_ADAPTERS);
|
|
1302
1302
|
return await IndexManager.open(openArgs);
|
|
1303
1303
|
},
|
|
@@ -1743,7 +1743,7 @@ function isBuiltAgent(m) {
|
|
|
1743
1743
|
return typeof m.send === "function";
|
|
1744
1744
|
}
|
|
1745
1745
|
async function materialize(def, index) {
|
|
1746
|
-
const { Agent: Agent2 } = await import('./agent-
|
|
1746
|
+
const { Agent: Agent2 } = await import('./agent-2KJ3IGRA.js');
|
|
1747
1747
|
return Agent2.create({
|
|
1748
1748
|
// `AgentDefinition.model` admits the sentinel `'inherit'`, which is not a model id. Inheriting
|
|
1749
1749
|
// here means "declare nothing and let the default apply" — forwarding the literal would create
|