@theokit/sdk 5.9.0 → 5.9.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 +26 -0
- package/dist/{agent-ZM4FDDL7.cjs → agent-5M7WLUWH.cjs} +7 -7
- package/dist/{agent-ZM4FDDL7.cjs.map → agent-5M7WLUWH.cjs.map} +1 -1
- package/dist/{agent-6STOEBGQ.js → agent-R5RERYFU.js} +6 -6
- package/dist/{agent-6STOEBGQ.js.map → agent-R5RERYFU.js.map} +1 -1
- package/dist/{chunk-BM6PDJW3.cjs → chunk-56BCEM26.cjs} +27 -27
- package/dist/{chunk-BM6PDJW3.cjs.map → chunk-56BCEM26.cjs.map} +1 -1
- package/dist/{chunk-DDRX4LYS.js → chunk-7QJYKVP6.js} +3 -3
- package/dist/{chunk-DDRX4LYS.js.map → chunk-7QJYKVP6.js.map} +1 -1
- package/dist/{chunk-J4SA2ZEJ.cjs → chunk-KIKKTW5O.cjs} +4 -4
- package/dist/{chunk-J4SA2ZEJ.cjs.map → chunk-KIKKTW5O.cjs.map} +1 -1
- package/dist/{chunk-5WR33BHA.cjs → chunk-LL4QA3DI.cjs} +4 -4
- package/dist/{chunk-5WR33BHA.cjs.map → chunk-LL4QA3DI.cjs.map} +1 -1
- package/dist/{chunk-OCEQ6DW2.cjs → chunk-N6OEX5TN.cjs} +2 -2
- package/dist/chunk-N6OEX5TN.cjs.map +1 -0
- package/dist/{chunk-PYFBS6OQ.js → chunk-OOM236Z4.js} +6 -6
- package/dist/{chunk-PYFBS6OQ.js.map → chunk-OOM236Z4.js.map} +1 -1
- package/dist/{chunk-7GDHFV2M.js → chunk-OPAKPEPG.js} +2 -2
- package/dist/chunk-OPAKPEPG.js.map +1 -0
- package/dist/{chunk-UKBBYVNS.js → chunk-QCIARBLS.js} +3 -3
- package/dist/{chunk-UKBBYVNS.js.map → chunk-QCIARBLS.js.map} +1 -1
- package/dist/{chunk-KTA7YTZQ.cjs → chunk-XKZFIP7Z.cjs} +4 -4
- package/dist/{chunk-KTA7YTZQ.cjs.map → chunk-XKZFIP7Z.cjs.map} +1 -1
- package/dist/{chunk-PQCTDMUI.js → chunk-ZHWKT2NI.js} +3 -3
- package/dist/{chunk-PQCTDMUI.js.map → chunk-ZHWKT2NI.js.map} +1 -1
- package/dist/context/index.cjs +6 -6
- package/dist/context/index.js +3 -3
- package/dist/context-3FZRAO5K.js +7 -0
- package/dist/{context-SXR2HLHT.js.map → context-3FZRAO5K.js.map} +1 -1
- package/dist/{context-ZOULM2RB.cjs → context-B5J4GX2F.cjs} +7 -7
- package/dist/{context-ZOULM2RB.cjs.map → context-B5J4GX2F.cjs.map} +1 -1
- package/dist/cron.cjs +6 -6
- package/dist/cron.js +5 -5
- package/dist/eval.cjs +5 -5
- package/dist/eval.js +4 -4
- package/dist/index.cjs +23 -23
- package/dist/index.js +7 -7
- package/dist/internal/runtime/hooks/hooks-source.d.ts +24 -0
- package/docs/error-codes.md +3 -3
- package/package.json +1 -1
- package/dist/chunk-7GDHFV2M.js.map +0 -1
- package/dist/chunk-OCEQ6DW2.cjs.map +0 -1
- package/dist/context-SXR2HLHT.js +0 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { submit, emitRunEvent } from './chunk-XKMVJ443.js';
|
|
2
2
|
import { enqueueSessionWrite, hydrateSession, persistTurnToTranscript, flushSessionWrites, appendSessionMessage, getSessionMessages, discardSession, clearSession } from './chunk-5522X223.js';
|
|
3
3
|
import { IndexManager } from './chunk-R2C3HXR3.js';
|
|
4
|
-
import { currentPersonalityContext, warnPersonalitySwitchInsideFork } from './chunk-
|
|
4
|
+
import { currentPersonalityContext, warnPersonalitySwitchInsideFork } from './chunk-ZHWKT2NI.js';
|
|
5
5
|
import { extractCodePlugins } from './chunk-2SFBB54R.js';
|
|
6
6
|
import { createOpenAiCompatibleRuntime } from './chunk-HOHR75KF.js';
|
|
7
7
|
import { persistActiveMemoryTranscript } from './chunk-OR6XIWLB.js';
|
|
@@ -9,8 +9,8 @@ import { writeSessionSummary, resolveMemoryRoot, MEMORY_KINDS, appendFact, readF
|
|
|
9
9
|
import { FsSessionStore } from './chunk-UNZOJVVC.js';
|
|
10
10
|
import { discoverProviderPlugins, validateApiKeyShape, getConfiguredBaseUrl, httpRequest, isFixtureApiKey, presentProviderCredentialEnvVars, buildDefaultSummarizer, shouldUseRealLocalRuntime, parseSseStream, CircuitBreaker, resolveRunProvider, mergeExplicitApiKey, resolveProviderChain, abortError, tryFirstEvent, relayStream, renderToolResultContentText } from './chunk-NOO6GZTZ.js';
|
|
11
11
|
import { resolveChildEnv } from './chunk-HKCKOAIO.js';
|
|
12
|
-
import { DEFAULT_MAX_BYTES_PER_FILE, runDiscovery, truncateWithMarker } from './chunk-
|
|
13
|
-
import { warnFailureOnce, loadHookConfig, warnOnce } from './chunk-
|
|
12
|
+
import { DEFAULT_MAX_BYTES_PER_FILE, runDiscovery, truncateWithMarker } from './chunk-7QJYKVP6.js';
|
|
13
|
+
import { warnFailureOnce, loadHookConfig, warnOnce } from './chunk-OPAKPEPG.js';
|
|
14
14
|
import { readVersionedJson, writeVersionedJson } from './chunk-SVQIW5RJ.js';
|
|
15
15
|
import { toJsonSchema } from './chunk-7I5Z3UBJ.js';
|
|
16
16
|
import { sanitizeToolInput } from './chunk-FJWQP6EE.js';
|
|
@@ -9353,7 +9353,7 @@ async function* localAgentStreamToCompletion(agent, message, options) {
|
|
|
9353
9353
|
async function localAgentFork(parent, options) {
|
|
9354
9354
|
const { forkAgentImpl } = await import('./fork-agent-S2EPIML7.js');
|
|
9355
9355
|
const { getAgentFacade } = await import('./agent-factory-registry-ZVTABLEY.js');
|
|
9356
|
-
const { withPersonalityContext } = await import('./context-
|
|
9356
|
+
const { withPersonalityContext } = await import('./context-3FZRAO5K.js');
|
|
9357
9357
|
const create = getAgentFacade().create;
|
|
9358
9358
|
return withPersonalityContext(
|
|
9359
9359
|
{ slug: parent.personalitySlugSnapshot, isFork: true },
|
|
@@ -11240,5 +11240,5 @@ async function openLocalStore(reg) {
|
|
|
11240
11240
|
}
|
|
11241
11241
|
|
|
11242
11242
|
export { Agent, AgentBuilder, DEFAULT_AGENTIC_MODEL_ID, MEMORY_EMBEDDING_ADAPTERS, Tool, ToolError, UsageAccumulator, computeCost, generateCronId, getPricingEntry, managedSettingsPathFor, openRouterMemoryEmbeddingProviderAdapter, readManagedSettings, resolveSessionDir };
|
|
11243
|
-
//# sourceMappingURL=chunk-
|
|
11244
|
-
//# sourceMappingURL=chunk-
|
|
11243
|
+
//# sourceMappingURL=chunk-OOM236Z4.js.map
|
|
11244
|
+
//# sourceMappingURL=chunk-OOM236Z4.js.map
|