@theokit/sdk 4.52.0 → 4.53.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/CHANGELOG.md +75 -17
- package/dist/{agent-C66BEJGO.cjs → agent-JX5SBYDE.cjs} +14 -13
- package/dist/{agent-C66BEJGO.cjs.map → agent-JX5SBYDE.cjs.map} +1 -1
- package/dist/{agent-HYQGJTIN.js → agent-ZAGG6ZBS.js} +13 -12
- package/dist/{agent-HYQGJTIN.js.map → agent-ZAGG6ZBS.js.map} +1 -1
- package/dist/auth/index.cjs +28 -27
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.cts +15 -0
- package/dist/auth/index.d.ts +15 -0
- package/dist/auth/index.js +4 -3
- package/dist/auth/index.js.map +1 -1
- package/dist/chunk-23VZBRDQ.js +147 -0
- package/dist/chunk-23VZBRDQ.js.map +1 -0
- package/dist/{chunk-YARJG3GV.cjs → chunk-2QMK627M.cjs} +3 -3
- package/dist/{chunk-YARJG3GV.cjs.map → chunk-2QMK627M.cjs.map} +1 -1
- package/dist/{chunk-LLK2RS6I.cjs → chunk-2VFZQEDW.cjs} +56 -56
- package/dist/{chunk-LLK2RS6I.cjs.map → chunk-2VFZQEDW.cjs.map} +1 -1
- package/dist/{chunk-YBB66SZZ.js → chunk-2Y5NO2SY.js} +5 -5
- package/dist/{chunk-YBB66SZZ.js.map → chunk-2Y5NO2SY.js.map} +1 -1
- package/dist/{chunk-V2EJLKGA.js → chunk-2YWWPCGX.js} +4 -3
- package/dist/chunk-2YWWPCGX.js.map +1 -0
- package/dist/chunk-33L2NVTJ.cjs +177 -0
- package/dist/chunk-33L2NVTJ.cjs.map +1 -0
- package/dist/{chunk-DU7PBCAM.js → chunk-3SHW7XKK.js} +3 -3
- package/dist/{chunk-DU7PBCAM.js.map → chunk-3SHW7XKK.js.map} +1 -1
- package/dist/{chunk-J4RY5DTI.js → chunk-634YVZLU.js} +3 -3
- package/dist/{chunk-J4RY5DTI.js.map → chunk-634YVZLU.js.map} +1 -1
- package/dist/{chunk-T6ZCG5AP.cjs → chunk-BC5EUG7R.cjs} +7 -6
- package/dist/chunk-BC5EUG7R.cjs.map +1 -0
- package/dist/{chunk-ZNEYQ56O.cjs → chunk-DM6Y5B2G.cjs} +23 -23
- package/dist/{chunk-ZNEYQ56O.cjs.map → chunk-DM6Y5B2G.cjs.map} +1 -1
- package/dist/{chunk-WVDH34LK.cjs → chunk-FRITRLZQ.cjs} +2 -2
- package/dist/chunk-FRITRLZQ.cjs.map +1 -0
- package/dist/{chunk-NACDF3PK.js → chunk-HTK54K2J.js} +3 -3
- package/dist/{chunk-SDJYLCJK.cjs.map → chunk-HTK54K2J.js.map} +1 -1
- package/dist/{chunk-SPZZSAHV.js → chunk-I5OTK2RP.js} +3 -3
- package/dist/{chunk-SPZZSAHV.js.map → chunk-I5OTK2RP.js.map} +1 -1
- package/dist/{chunk-U3PAW4PL.js → chunk-NAF4L3T6.js} +2 -2
- package/dist/chunk-NAF4L3T6.js.map +1 -0
- package/dist/chunk-NUEL6RCZ.cjs +155 -0
- package/dist/chunk-NUEL6RCZ.cjs.map +1 -0
- package/dist/{chunk-ZFARZBOX.js → chunk-NZOR3N4E.js} +11 -11
- package/dist/{chunk-ZFARZBOX.js.map → chunk-NZOR3N4E.js.map} +1 -1
- package/dist/{chunk-2CD5XUAG.cjs → chunk-QN5N3ZVT.cjs} +5 -5
- package/dist/{chunk-2CD5XUAG.cjs.map → chunk-QN5N3ZVT.cjs.map} +1 -1
- package/dist/{chunk-OI6RHLGC.cjs → chunk-T5ZWI3MC.cjs} +5 -5
- package/dist/{chunk-OI6RHLGC.cjs.map → chunk-T5ZWI3MC.cjs.map} +1 -1
- package/dist/{chunk-SDJYLCJK.cjs → chunk-TR4V2LHV.cjs} +3 -3
- package/dist/chunk-TR4V2LHV.cjs.map +1 -0
- package/dist/chunk-XRI6DXPZ.js +171 -0
- package/dist/chunk-XRI6DXPZ.js.map +1 -0
- package/dist/{compact-session-AXKDB6FC.cjs → compact-session-6GKIS4SD.cjs} +16 -15
- package/dist/{compact-session-AXKDB6FC.cjs.map → compact-session-6GKIS4SD.cjs.map} +1 -1
- package/dist/{compact-session-DUAUEFRR.js → compact-session-EJ36VH5I.js} +8 -7
- package/dist/{compact-session-DUAUEFRR.js.map → compact-session-EJ36VH5I.js.map} +1 -1
- package/dist/cron.cjs +13 -12
- package/dist/cron.js +12 -11
- package/dist/eval.cjs +16 -15
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.js +12 -11
- package/dist/eval.js.map +1 -1
- package/dist/fs-session-store-LIKYT24K.js +10 -0
- package/dist/{fs-session-store-2TF3ZWMT.js.map → fs-session-store-LIKYT24K.js.map} +1 -1
- package/dist/{fs-session-store-TL4RJTXZ.cjs → fs-session-store-VXXDIBGM.cjs} +5 -5
- package/dist/{fs-session-store-TL4RJTXZ.cjs.map → fs-session-store-VXXDIBGM.cjs.map} +1 -1
- package/dist/index.cjs +43 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -13
- package/dist/index.js.map +1 -1
- package/dist/{inject-session-TASLP5FA.cjs → inject-session-67SF65FC.cjs} +4 -4
- package/dist/{inject-session-TASLP5FA.cjs.map → inject-session-67SF65FC.cjs.map} +1 -1
- package/dist/{inject-session-RBGOGACE.js → inject-session-HO7FYVCX.js} +3 -3
- package/dist/{inject-session-RBGOGACE.js.map → inject-session-HO7FYVCX.js.map} +1 -1
- package/dist/internal/auth/api-key-prefix.d.ts +7 -1
- package/dist/internal/mcp/oauth.d.ts +1 -0
- package/dist/internal/mcp/token-storage.d.ts +1 -0
- package/dist/internal/persistence/index.cjs +6 -6
- package/dist/internal/persistence/index.js +1 -1
- package/dist/internal/persistence/transcript-ops.d.cts +6 -7
- package/dist/internal/persistence/transcript-ops.d.ts +6 -7
- package/dist/mcp-auth.cjs +299 -0
- package/dist/mcp-auth.cjs.map +1 -0
- package/dist/mcp-auth.d.cts +17 -0
- package/dist/mcp-auth.d.ts +17 -0
- package/dist/mcp-auth.js +292 -0
- package/dist/mcp-auth.js.map +1 -0
- package/dist/models.cjs +11 -10
- package/dist/models.cjs.map +1 -1
- package/dist/models.js +3 -2
- package/dist/models.js.map +1 -1
- package/dist/persistence.cjs +16 -7
- package/dist/persistence.cjs.map +1 -1
- package/dist/persistence.js +11 -2
- package/dist/persistence.js.map +1 -1
- package/package.json +11 -1
- package/dist/chunk-BKRTYDVN.js +0 -312
- package/dist/chunk-BKRTYDVN.js.map +0 -1
- package/dist/chunk-NACDF3PK.js.map +0 -1
- package/dist/chunk-T6ZCG5AP.cjs.map +0 -1
- package/dist/chunk-U3PAW4PL.js.map +0 -1
- package/dist/chunk-V2EJLKGA.js.map +0 -1
- package/dist/chunk-WVDH34LK.cjs.map +0 -1
- package/dist/chunk-XK54DTRF.cjs +0 -325
- package/dist/chunk-XK54DTRF.cjs.map +0 -1
- package/dist/fs-session-store-2TF3ZWMT.js +0 -10
package/dist/index.js
CHANGED
|
@@ -6,21 +6,21 @@ import './chunk-I732VEDW.js';
|
|
|
6
6
|
import { Workflow, agentStep } from './chunk-6PTCKXD3.js';
|
|
7
7
|
import './chunk-KZBB4YKU.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-
|
|
12
|
-
import './chunk-
|
|
9
|
+
export { Cron } from './chunk-3SHW7XKK.js';
|
|
10
|
+
import { MEMORY_EMBEDDING_ADAPTERS, resolveApiKey, DEFAULT_AGENTIC_MODEL_ID, Agent } from './chunk-NZOR3N4E.js';
|
|
11
|
+
export { Agent, AgentBuilder, Tool, ToolError, UsageAccumulator, computeCost, getPricingEntry } from './chunk-NZOR3N4E.js';
|
|
12
|
+
import './chunk-I5OTK2RP.js';
|
|
13
|
+
import './chunk-OIBHY6JQ.js';
|
|
13
14
|
import './chunk-2SFBB54R.js';
|
|
14
15
|
import { configure, submit, list, get, cancel, subscribe } from './chunk-7TB5U7RK.js';
|
|
15
16
|
export { emitRunEvent } from './chunk-7TB5U7RK.js';
|
|
16
17
|
import './chunk-K2BQQ445.js';
|
|
17
|
-
import './chunk-
|
|
18
|
-
import { discoverProviderPlugins, shouldUseFixtureMode, isFixtureApiKey, httpRequest, mapOllamaTransportError, readErrorResponseBody, mapOllamaHttpError } from './chunk-
|
|
19
|
-
import './chunk-4QEC4CCS.js';
|
|
18
|
+
import './chunk-634YVZLU.js';
|
|
19
|
+
import { discoverProviderPlugins, shouldUseFixtureMode, isFixtureApiKey, httpRequest, mapOllamaTransportError, readErrorResponseBody, mapOllamaHttpError } from './chunk-2Y5NO2SY.js';
|
|
20
20
|
import './chunk-DHVNJYTO.js';
|
|
21
|
+
import './chunk-4QEC4CCS.js';
|
|
21
22
|
import './chunk-UJ3SXRZZ.js';
|
|
22
23
|
import { lanceStoragePath, LanceIndex, readFactsFromMarkdown, defaultIndexPath, openMemoryDb, memoryDir } from './chunk-NOS7PTKP.js';
|
|
23
|
-
import './chunk-OIBHY6JQ.js';
|
|
24
24
|
import './chunk-AM2CNBKE.js';
|
|
25
25
|
import './chunk-34XOCZJO.js';
|
|
26
26
|
import './chunk-L7EGRCKJ.js';
|
|
@@ -29,7 +29,7 @@ import './chunk-OZXPA3ME.js';
|
|
|
29
29
|
import './chunk-OXNYIMZZ.js';
|
|
30
30
|
import './chunk-FD2UT76F.js';
|
|
31
31
|
import './chunk-U54XCYG3.js';
|
|
32
|
-
import './chunk-
|
|
32
|
+
import './chunk-NAF4L3T6.js';
|
|
33
33
|
import './chunk-RP5HQVLD.js';
|
|
34
34
|
import './chunk-6X6ID4MO.js';
|
|
35
35
|
import './chunk-4NAKHID5.js';
|
|
@@ -38,7 +38,7 @@ import './chunk-ITQ4NO4P.js';
|
|
|
38
38
|
import './chunk-ZSJPRPN7.js';
|
|
39
39
|
import './chunk-R7TKOQMJ.js';
|
|
40
40
|
import './chunk-C4EU627W.js';
|
|
41
|
-
import './chunk-
|
|
41
|
+
import './chunk-HTK54K2J.js';
|
|
42
42
|
import './chunk-W4FV7JBH.js';
|
|
43
43
|
import { withCwdMutex } from './chunk-2XLKLVVR.js';
|
|
44
44
|
export { withCwdMutex } from './chunk-2XLKLVVR.js';
|
|
@@ -48,8 +48,9 @@ import { replaceFileAtomic } from './chunk-CHVSMEKM.js';
|
|
|
48
48
|
import './chunk-XGYI2KQH.js';
|
|
49
49
|
import './chunk-KIX45IKP.js';
|
|
50
50
|
import { parseModelId } from './chunk-X2FR4OIT.js';
|
|
51
|
-
import { registerBuiltins, listProviders, getCatalogCapabilities, getProviderProfile } from './chunk-
|
|
52
|
-
import './chunk-
|
|
51
|
+
import { registerBuiltins, listProviders, getCatalogCapabilities, getProviderProfile } from './chunk-2YWWPCGX.js';
|
|
52
|
+
import './chunk-XRI6DXPZ.js';
|
|
53
|
+
import './chunk-23VZBRDQ.js';
|
|
53
54
|
import './chunk-5NBUH3NO.js';
|
|
54
55
|
import './chunk-BXVSBYGW.js';
|
|
55
56
|
import './chunk-XWCTBGYK.js';
|
|
@@ -1840,7 +1841,7 @@ function isBuiltAgent(m) {
|
|
|
1840
1841
|
return typeof m.send === "function";
|
|
1841
1842
|
}
|
|
1842
1843
|
async function materialize(def, index) {
|
|
1843
|
-
const { Agent: Agent2 } = await import('./agent-
|
|
1844
|
+
const { Agent: Agent2 } = await import('./agent-ZAGG6ZBS.js');
|
|
1844
1845
|
return Agent2.create({
|
|
1845
1846
|
// `AgentDefinition.model` admits the sentinel `'inherit'`, which is not a model id. Inheriting
|
|
1846
1847
|
// here means "declare nothing and let the default apply" — forwarding the literal would create
|