@theokit/sdk 4.41.1 → 4.42.1
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 +60 -0
- package/dist/{agent-JDJEBJHU.cjs → agent-DRUORJTU.cjs} +8 -7
- package/dist/{agent-JDJEBJHU.cjs.map → agent-DRUORJTU.cjs.map} +1 -1
- package/dist/{agent-LVKAYADR.js → agent-MVYGMWPM.js} +7 -6
- package/dist/{agent-LVKAYADR.js.map → agent-MVYGMWPM.js.map} +1 -1
- package/dist/{chunk-RPL3POFZ.cjs → chunk-4OQXDCMN.cjs} +50 -380
- package/dist/chunk-4OQXDCMN.cjs.map +1 -0
- package/dist/{chunk-ZO2L5U6F.cjs → chunk-FAUKVJCC.cjs} +3 -3
- package/dist/{chunk-ZO2L5U6F.cjs.map → chunk-FAUKVJCC.cjs.map} +1 -1
- package/dist/chunk-GAXYZXYY.cjs +352 -0
- package/dist/chunk-GAXYZXYY.cjs.map +1 -0
- package/dist/{chunk-GTLH2NI2.cjs → chunk-HLGEXZZP.cjs} +5 -5
- package/dist/{chunk-GTLH2NI2.cjs.map → chunk-HLGEXZZP.cjs.map} +1 -1
- package/dist/{chunk-AUMSEL33.js → chunk-O67XODD5.js} +3 -3
- package/dist/{chunk-AUMSEL33.js.map → chunk-O67XODD5.js.map} +1 -1
- package/dist/{chunk-FMIKUGF2.cjs → chunk-QFFNMJAS.cjs} +5 -5
- package/dist/{chunk-FMIKUGF2.cjs.map → chunk-QFFNMJAS.cjs.map} +1 -1
- package/dist/{chunk-UTYCG4RB.js → chunk-TDDRPFO3.js} +3 -3
- package/dist/{chunk-UTYCG4RB.js.map → chunk-TDDRPFO3.js.map} +1 -1
- package/dist/{chunk-IMX5YODO.js → chunk-UJ7HK7BX.js} +3 -3
- package/dist/{chunk-IMX5YODO.js.map → chunk-UJ7HK7BX.js.map} +1 -1
- package/dist/{chunk-DHLVOLUX.js → chunk-V5V5A6B7.js} +12 -342
- package/dist/chunk-V5V5A6B7.js.map +1 -0
- package/dist/chunk-ZZAAQOAZ.js +344 -0
- package/dist/chunk-ZZAAQOAZ.js.map +1 -0
- package/dist/{compact-session-65XCKO6H.js → compact-session-GF2CBKXB.js} +4 -4
- package/dist/{compact-session-65XCKO6H.js.map → compact-session-GF2CBKXB.js.map} +1 -1
- package/dist/{compact-session-OU6SRPVJ.cjs → compact-session-UUCBTBCZ.cjs} +12 -12
- package/dist/{compact-session-OU6SRPVJ.cjs.map → compact-session-UUCBTBCZ.cjs.map} +1 -1
- package/dist/context/index.cjs +35 -0
- package/dist/context/index.cjs.map +1 -0
- package/dist/context/index.d.cts +78 -0
- package/dist/context/index.d.ts +78 -0
- package/dist/context/index.js +18 -0
- package/dist/context/index.js.map +1 -0
- package/dist/cron.cjs +7 -6
- package/dist/cron.js +6 -5
- package/dist/eval.cjs +6 -5
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.js +5 -4
- package/dist/eval.js.map +1 -1
- package/dist/index.cjs +34 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/dist/{inject-session-DDC36KKP.cjs → inject-session-I3HK3AHB.cjs} +4 -4
- package/dist/{inject-session-DDC36KKP.cjs.map → inject-session-I3HK3AHB.cjs.map} +1 -1
- package/dist/{inject-session-UBM4KVSV.js → inject-session-NR64GB3T.js} +3 -3
- package/dist/{inject-session-UBM4KVSV.js.map → inject-session-NR64GB3T.js.map} +1 -1
- package/dist/internal/runtime/context/path-containment.d.ts +24 -0
- package/package.json +23 -12
- package/dist/chunk-DHLVOLUX.js.map +0 -1
- package/dist/chunk-RPL3POFZ.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
|
+
export { GOAL_CONTINUATION_MARKER } from './chunk-PY2RQOA7.js';
|
|
1
2
|
export { JudgeCredentialError } from './chunk-PAV4ZPSW.js';
|
|
2
3
|
export { StreamObjectError } from './chunk-3KY7MHR4.js';
|
|
3
|
-
export { GOAL_CONTINUATION_MARKER } from './chunk-PY2RQOA7.js';
|
|
4
4
|
export { GenerateObjectError } from './chunk-35NFZ7QB.js';
|
|
5
5
|
import './chunk-O3IZ7JEL.js';
|
|
6
6
|
import { Workflow, agentStep } from './chunk-EON4YTR6.js';
|
|
7
7
|
import './chunk-HK4HRLWE.js';
|
|
8
8
|
import './chunk-CAH3G4IS.js';
|
|
9
|
-
export { Cron } from './chunk-
|
|
10
|
-
import { MEMORY_EMBEDDING_ADAPTERS, resolveApiKey, DEFAULT_AGENTIC_MODEL_ID, Agent } from './chunk-
|
|
11
|
-
export { Agent, AgentBuilder, Tool, ToolError, UsageAccumulator, computeCost, getPricingEntry } from './chunk-
|
|
9
|
+
export { Cron } from './chunk-O67XODD5.js';
|
|
10
|
+
import { MEMORY_EMBEDDING_ADAPTERS, resolveApiKey, DEFAULT_AGENTIC_MODEL_ID, Agent } from './chunk-V5V5A6B7.js';
|
|
11
|
+
export { Agent, AgentBuilder, Tool, ToolError, UsageAccumulator, computeCost, getPricingEntry } from './chunk-V5V5A6B7.js';
|
|
12
|
+
import './chunk-UJ7HK7BX.js';
|
|
12
13
|
import './chunk-2SFBB54R.js';
|
|
13
14
|
import { configure, submit, list, get, cancel, subscribe } from './chunk-GNMPCZNN.js';
|
|
14
15
|
export { emitRunEvent } from './chunk-GNMPCZNN.js';
|
|
15
16
|
import './chunk-K2BQQ445.js';
|
|
16
|
-
import './chunk-IMX5YODO.js';
|
|
17
17
|
import './chunk-PYM5OUL4.js';
|
|
18
|
-
import { discoverProviderPlugins, shouldUseFixtureMode, isFixtureApiKey, httpRequest, mapOllamaTransportError, readErrorResponseBody, mapOllamaHttpError } from './chunk-
|
|
19
|
-
import './chunk-F4RUADRC.js';
|
|
18
|
+
import { discoverProviderPlugins, shouldUseFixtureMode, isFixtureApiKey, httpRequest, mapOllamaTransportError, readErrorResponseBody, mapOllamaHttpError } from './chunk-TDDRPFO3.js';
|
|
20
19
|
import './chunk-4QEC4CCS.js';
|
|
20
|
+
import './chunk-F4RUADRC.js';
|
|
21
21
|
import './chunk-ZTEAJAE6.js';
|
|
22
22
|
import { lanceStoragePath, LanceIndex, readFactsFromMarkdown, defaultIndexPath, openMemoryDb, memoryDir } from './chunk-RJBHWM6D.js';
|
|
23
23
|
import './chunk-J5RW43IR.js';
|
|
24
24
|
import './chunk-AM2CNBKE.js';
|
|
25
|
+
import './chunk-ZZAAQOAZ.js';
|
|
25
26
|
import './chunk-ZS6SLELQ.js';
|
|
26
27
|
import './chunk-LLE7HPRI.js';
|
|
27
28
|
import './chunk-SNKY3C2L.js';
|
|
@@ -1603,7 +1604,7 @@ function isBuiltAgent(m) {
|
|
|
1603
1604
|
return typeof m.send === "function";
|
|
1604
1605
|
}
|
|
1605
1606
|
async function materialize(def, index) {
|
|
1606
|
-
const { Agent: Agent2 } = await import('./agent-
|
|
1607
|
+
const { Agent: Agent2 } = await import('./agent-MVYGMWPM.js');
|
|
1607
1608
|
return Agent2.create({
|
|
1608
1609
|
// `AgentDefinition.model` admits the sentinel `'inherit'`, which is not a model id. Inheriting
|
|
1609
1610
|
// here means "declare nothing and let the default apply" — forwarding the literal would create
|