@theokit/sdk 4.63.2 → 4.63.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 +27 -0
- package/dist/{agent-2COLCVOJ.js → agent-3JK7VXNN.js} +5 -5
- package/dist/{agent-2COLCVOJ.js.map → agent-3JK7VXNN.js.map} +1 -1
- package/dist/{agent-EXAN5EYJ.cjs → agent-PVINJTUR.cjs} +6 -6
- package/dist/{agent-EXAN5EYJ.cjs.map → agent-PVINJTUR.cjs.map} +1 -1
- package/dist/{chunk-WHFUZMIC.js → chunk-25BD2R5G.js} +4 -4
- package/dist/{chunk-WHFUZMIC.js.map → chunk-25BD2R5G.js.map} +1 -1
- package/dist/{chunk-DKD3MH6A.js → chunk-ACDLHN3W.js} +3 -3
- package/dist/{chunk-DKD3MH6A.js.map → chunk-ACDLHN3W.js.map} +1 -1
- package/dist/{chunk-RMIWHYC7.js → chunk-GPKAF7SG.js} +3 -3
- package/dist/{chunk-RMIWHYC7.js.map → chunk-GPKAF7SG.js.map} +1 -1
- package/dist/{chunk-6RKUO7AW.cjs → chunk-IAHZCGBE.cjs} +5 -4
- package/dist/chunk-IAHZCGBE.cjs.map +1 -0
- package/dist/{chunk-DKK5QY4C.cjs → chunk-JJ3OVRUM.cjs} +19 -19
- package/dist/{chunk-DKK5QY4C.cjs.map → chunk-JJ3OVRUM.cjs.map} +1 -1
- package/dist/{chunk-UEXIJTLC.js → chunk-L3MTL4NA.js} +3 -3
- package/dist/{chunk-UEXIJTLC.js.map → chunk-L3MTL4NA.js.map} +1 -1
- package/dist/{chunk-GEEXBYFL.js → chunk-L4BDVXIM.js} +4 -3
- package/dist/chunk-L4BDVXIM.js.map +1 -0
- package/dist/{chunk-HOXVQ5FR.cjs → chunk-OFRFZRQ4.cjs} +8 -8
- package/dist/{chunk-HOXVQ5FR.cjs.map → chunk-OFRFZRQ4.cjs.map} +1 -1
- package/dist/{chunk-ITYQ6VBP.cjs → chunk-VLVVJLDH.cjs} +14 -14
- package/dist/{chunk-ITYQ6VBP.cjs.map → chunk-VLVVJLDH.cjs.map} +1 -1
- package/dist/{chunk-VX4SQ2LY.cjs → chunk-ZWRG4NWT.cjs} +4 -4
- package/dist/{chunk-VX4SQ2LY.cjs.map → chunk-ZWRG4NWT.cjs.map} +1 -1
- package/dist/cron.cjs +5 -5
- package/dist/cron.js +4 -4
- package/dist/eval.cjs +4 -4
- package/dist/eval.js +3 -3
- package/dist/{index-manager-UZBF22BJ.cjs → index-manager-2SRX45WJ.cjs} +6 -5
- package/dist/{index-manager-UZBF22BJ.cjs.map → index-manager-2SRX45WJ.cjs.map} +1 -1
- package/dist/{index-manager-RBDHP3PM.js → index-manager-SP4ISSDX.js} +5 -4
- package/dist/{index-manager-RBDHP3PM.js.map → index-manager-SP4ISSDX.js.map} +1 -1
- package/dist/index.cjs +26 -26
- package/dist/index.js +8 -8
- package/dist/internal/memory/storage/index.cjs +31 -30
- package/dist/internal/memory/storage/index.js +3 -2
- package/dist/internal/memory/storage/memory-root.d.cts +10 -0
- package/dist/internal/memory/storage/memory-root.d.ts +10 -0
- package/docs/error-codes.md +1 -1
- package/package.json +1 -1
- package/dist/chunk-6RKUO7AW.cjs.map +0 -1
- package/dist/chunk-GEEXBYFL.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 4.63.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 076e1b3: The Claude Code interop memory read is keyed by the git repository root, matching the CLI.
|
|
8
|
+
|
|
9
|
+
`claudeProjectMemoryDir` keyed the auto-memory store by `cwd`. The CLI keys it by the repository:
|
|
10
|
+
_"the `<project>` path is derived from the git repository, so all worktrees and subdirectories within
|
|
11
|
+
the same repo share one auto memory directory. Outside a git repo, the project root is used
|
|
12
|
+
instead."_
|
|
13
|
+
|
|
14
|
+
So an agent running from any directory below the root — a monorepo package, a script in `tools/`, a
|
|
15
|
+
test in a subfolder, which is the ordinary case — read a directory the CLI never writes to. It found
|
|
16
|
+
nothing and reported nothing, and that observation is identical to an empty store, which is why it
|
|
17
|
+
survived the interop change that introduced it.
|
|
18
|
+
|
|
19
|
+
Confirmed from disk before the fix: of the CLI project directories that resolve to a SUBDIRECTORY of
|
|
20
|
+
a git repository, none had a `memory/` at all, while their repository root held three fact files.
|
|
21
|
+
The subdirectory directories contained only session transcripts.
|
|
22
|
+
|
|
23
|
+
**Transcripts are the trap and stay as they were.** The CLI keys those by `cwd`, correctly, and
|
|
24
|
+
`encodeProjectDir` is right for them. One encoder serving two axes is what made the two
|
|
25
|
+
indistinguishable in the code; the encoder is still shared, the path it is given is not.
|
|
26
|
+
|
|
27
|
+
`.git` as a FILE — a worktree or a submodule — counts as a repository, so the read does not miss
|
|
28
|
+
again in the layout that most needs it.
|
|
29
|
+
|
|
3
30
|
## 4.63.2
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { Agent } from './chunk-
|
|
1
|
+
export { Agent } from './chunk-25BD2R5G.js';
|
|
2
2
|
import './chunk-A46SWMIF.js';
|
|
3
3
|
import './chunk-4FFBAUFS.js';
|
|
4
4
|
import './chunk-K2BQQ445.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-L3MTL4NA.js';
|
|
6
6
|
import './chunk-K5OJUYSZ.js';
|
|
7
7
|
import './chunk-2SFBB54R.js';
|
|
8
8
|
import './chunk-UBDMVMBZ.js';
|
|
9
9
|
import './chunk-H73MEMQB.js';
|
|
10
10
|
import './chunk-XO4SOZN6.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-L4BDVXIM.js';
|
|
12
12
|
import './chunk-BP46RJ5X.js';
|
|
13
13
|
import './chunk-DN2PACRI.js';
|
|
14
14
|
import './chunk-TAZVKYWJ.js';
|
|
@@ -53,5 +53,5 @@ import './chunk-3OR54XG4.js';
|
|
|
53
53
|
import './chunk-ZZMZWBR6.js';
|
|
54
54
|
import './chunk-D4CUGAKZ.js';
|
|
55
55
|
import './chunk-XEQ3TM66.js';
|
|
56
|
-
//# sourceMappingURL=agent-
|
|
57
|
-
//# sourceMappingURL=agent-
|
|
56
|
+
//# sourceMappingURL=agent-3JK7VXNN.js.map
|
|
57
|
+
//# sourceMappingURL=agent-3JK7VXNN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"agent-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"agent-3JK7VXNN.js"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJJ3OVRUM_cjs = require('./chunk-JJ3OVRUM.cjs');
|
|
4
4
|
require('./chunk-3FFAEAUJ.cjs');
|
|
5
5
|
require('./chunk-RMWTPV3M.cjs');
|
|
6
6
|
require('./chunk-BUUUWQMB.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-VLVVJLDH.cjs');
|
|
8
8
|
require('./chunk-ZCIRZE37.cjs');
|
|
9
9
|
require('./chunk-BV2MWEMV.cjs');
|
|
10
10
|
require('./chunk-KQ7TS7WW.cjs');
|
|
11
11
|
require('./chunk-GHX4P3V2.cjs');
|
|
12
12
|
require('./chunk-GKEFRLU7.cjs');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-IAHZCGBE.cjs');
|
|
14
14
|
require('./chunk-ZLQSWSJ2.cjs');
|
|
15
15
|
require('./chunk-KYAJINUI.cjs');
|
|
16
16
|
require('./chunk-O7DK5PBJ.cjs');
|
|
@@ -60,7 +60,7 @@ require('./chunk-EG4QM7ZJ.cjs');
|
|
|
60
60
|
|
|
61
61
|
Object.defineProperty(exports, "Agent", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkJJ3OVRUM_cjs.Agent; }
|
|
64
64
|
});
|
|
65
|
-
//# sourceMappingURL=agent-
|
|
66
|
-
//# sourceMappingURL=agent-
|
|
65
|
+
//# sourceMappingURL=agent-PVINJTUR.cjs.map
|
|
66
|
+
//# sourceMappingURL=agent-PVINJTUR.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"agent-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"agent-PVINJTUR.cjs"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { submit, emitRunEvent } from './chunk-A46SWMIF.js';
|
|
2
2
|
import { enqueueSessionWrite, hydrateSession, persistTurnToTranscript, flushSessionWrites, appendSessionMessage, getSessionMessages, discardSession, clearSession } from './chunk-4FFBAUFS.js';
|
|
3
|
-
import { IndexManager } from './chunk-
|
|
3
|
+
import { IndexManager } from './chunk-L3MTL4NA.js';
|
|
4
4
|
import { loadHookConfig, warnOnce, currentPersonalityContext, warnPersonalitySwitchInsideFork } from './chunk-K5OJUYSZ.js';
|
|
5
5
|
import { extractCodePlugins } from './chunk-2SFBB54R.js';
|
|
6
6
|
import { createOpenAiCompatibleRuntime } from './chunk-UBDMVMBZ.js';
|
|
7
7
|
import { persistActiveMemoryTranscript } from './chunk-XO4SOZN6.js';
|
|
8
|
-
import { resolveMemoryRoot, writeSessionSummary, MEMORY_KINDS, appendFact, readFacts, legacyMemoryJsonPath, memoryMdPath, appendFactToMarkdown } from './chunk-
|
|
8
|
+
import { resolveMemoryRoot, writeSessionSummary, MEMORY_KINDS, appendFact, readFacts, legacyMemoryJsonPath, memoryMdPath, appendFactToMarkdown } from './chunk-L4BDVXIM.js';
|
|
9
9
|
import { FsSessionStore } from './chunk-BP46RJ5X.js';
|
|
10
10
|
import { discoverProviderPlugins, getConfiguredBaseUrl, httpRequest, isFixtureApiKey, presentProviderCredentialEnvVars, CircuitBreaker, buildDefaultSummarizer, shouldUseRealLocalRuntime, parseSseStream, resolveProviderChain, inferProviderFromApiKey, detectPrimaryProvider, warnProviderPrecedenceOnce, tryFirstEvent, relayStream, renderToolResultContentText } from './chunk-DN2PACRI.js';
|
|
11
11
|
import { resolveChildEnv } from './chunk-HKCKOAIO.js';
|
|
@@ -10794,5 +10794,5 @@ async function openLocalStore(reg) {
|
|
|
10794
10794
|
}
|
|
10795
10795
|
|
|
10796
10796
|
export { Agent, AgentBuilder, DEFAULT_AGENTIC_MODEL_ID, MEMORY_EMBEDDING_ADAPTERS, Tool, ToolError, UsageAccumulator, computeCost, generateCronId, getPricingEntry, openRouterMemoryEmbeddingProviderAdapter };
|
|
10797
|
-
//# sourceMappingURL=chunk-
|
|
10798
|
-
//# sourceMappingURL=chunk-
|
|
10797
|
+
//# sourceMappingURL=chunk-25BD2R5G.js.map
|
|
10798
|
+
//# sourceMappingURL=chunk-25BD2R5G.js.map
|