@cortexkit/pi-magic-context 0.49.11 → 0.49.13
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/dist/auto-search-worker.js +4 -4
- package/dist/chunk-embedding-write-worker.js +87 -0
- package/dist/{compaction-marker-candidates-n4dphyz4.js → compaction-marker-candidates-k4tqg4jb.js} +2 -2
- package/dist/compaction-marker-candidates-worker.js +1 -1
- package/dist/embedding-backfill-7kj16fh9.js +21 -0
- package/dist/embedding-worker-process.js +1 -1
- package/dist/embedding-worker.js +5 -5
- package/dist/historian-calibration-extension.js +2 -2
- package/dist/{index-ta0ed2nc.js → index-1k729e4f.js} +15 -15
- package/dist/index-1mrvw9en.js +225 -0
- package/dist/{index-g13fb2sj.js → index-3cnarwf8.js} +4 -4
- package/dist/{index-729kkhmf.js → index-46q4e104.js} +1 -1
- package/dist/{index-m8aaepft.js → index-53xdqb3d.js} +7 -7
- package/dist/{index-szh001qb.js → index-6dz2ed1v.js} +2 -2
- package/dist/{index-gqxsds3q.js → index-6ex901g3.js} +187 -27
- package/dist/{index-gycf3sp7.js → index-7bqrfyny.js} +46 -2
- package/dist/{index-drah07tf.js → index-7qc73yk5.js} +64 -7
- package/dist/{index-s9kwv5pp.js → index-7wagp5jp.js} +5 -5
- package/dist/{index-8yjhda46.js → index-9jvktm7k.js} +3 -3
- package/dist/{index-3veejgp8.js → index-apgwdby5.js} +1 -1
- package/dist/{index-0vq6ebae.js → index-aypx5h57.js} +58 -64
- package/dist/{index-43zqh10z.js → index-d4dt19md.js} +1 -1
- package/dist/{index-fdxzpnbj.js → index-djxc8w8c.js} +1 -1
- package/dist/{index-x7426vy4.js → index-ed9d2ded.js} +18 -5
- package/dist/{index-kh3jt7t9.js → index-f18ec69t.js} +1 -1
- package/dist/{index-4pxydwvg.js → index-g4jf772p.js} +1 -1
- package/dist/{index-4vj37yw9.js → index-he9s4qsj.js} +16 -6
- package/dist/{index-ttxsmaj5.js → index-jrap43gc.js} +1 -1
- package/dist/{index-78c864c8.js → index-nwbhe6qv.js} +324 -254
- package/dist/{index-9azmm7cg.js → index-t27xk4r7.js} +10 -10
- package/dist/{index-s3c9dskk.js → index-vv1j5cak.js} +8 -8
- package/dist/{index-2df03yc3.js → index-wp9q91kn.js} +8 -8
- package/dist/{index-xmdkde4v.js → index-y29y2j2w.js} +12 -1
- package/dist/index.js +854 -369
- package/dist/{logger-qg51hmp7.js → logger-dygt96rn.js} +1 -1
- package/dist/{message-index-5zjmsg57.js → message-index-7w179p64.js} +13 -13
- package/dist/{message-index-bounded-chgr6dn3.js → message-index-bounded-80n96ehp.js} +13 -13
- package/dist/{message-time-backfill-q9s88zdv.js → message-time-backfill-r2ar1qvk.js} +2 -2
- package/dist/migration-worker.js +9 -9
- package/dist/{project-embedding-registry-dk5axctd.js → project-embedding-registry-52zwmtbn.js} +11 -10
- package/dist/raw-ordinal-warmup-worker.js +12 -7
- package/dist/{read-session-chunk-3kb7r5pq.js → read-session-chunk-83864b37.js} +8 -8
- package/dist/{read-session-raw-hm7ptnrh.js → read-session-raw-azkqjgzg.js} +6 -2
- package/dist/{safe-notification-target-62ty6rvp.js → safe-notification-target-2rkvkmw8.js} +2 -2
- package/dist/{search-8pczyejh.js → search-hffb8xht.js} +20 -19
- package/dist/{storage-tags-zh23ynsh.js → storage-tags-zmf30zqp.js} +6 -4
- package/dist/subagent-entry.js +23 -22
- package/package.json +2 -2
- package/dist/embedding-backfill-1tknh2jn.js +0 -20
- /package/dist/{index-69vas84q.js → index-e6xnpach.js} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
importPluginModule,
|
|
6
6
|
writeForwardedLogLine2,
|
|
7
7
|
log2
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-7bqrfyny.js";
|
|
9
9
|
import {
|
|
10
10
|
inRootAsyncContext2,
|
|
11
11
|
registerSlowWriteReporter2,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
bootQuietRemainingMs,
|
|
22
22
|
scheduleAfterBootQuiet
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-6ex901g3.js";
|
|
24
24
|
import {
|
|
25
25
|
getHarness2,
|
|
26
26
|
harnessOwnsOpenCodeStore2
|
|
@@ -35,13 +35,13 @@ import {
|
|
|
35
35
|
parseRpcPortFile,
|
|
36
36
|
inspectProcessesAsync,
|
|
37
37
|
inspectWindowsProcessesSync
|
|
38
|
-
} from "./index-
|
|
38
|
+
} from "./index-apgwdby5.js";
|
|
39
39
|
import {
|
|
40
40
|
configureContextDatabasePragmas2
|
|
41
41
|
} from "./index-fapenpch.js";
|
|
42
42
|
import {
|
|
43
43
|
startMessageFtsRowidMapBackfill
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-djxc8w8c.js";
|
|
45
45
|
import {
|
|
46
46
|
LKG_SLOT_CHUNKS_DDL,
|
|
47
47
|
SESSION_REPLAY_DECISIONS_DDL,
|
|
@@ -51,13 +51,13 @@ import {
|
|
|
51
51
|
hasPendingMigrations,
|
|
52
52
|
getMainThreadMigrationBodyCount,
|
|
53
53
|
runMigrations
|
|
54
|
-
} from "./index-
|
|
54
|
+
} from "./index-3cnarwf8.js";
|
|
55
55
|
import {
|
|
56
56
|
closeQuietly,
|
|
57
57
|
ensureColumn,
|
|
58
58
|
installV95PerfSchema,
|
|
59
59
|
installTagIdentityRevisionTrigger
|
|
60
|
-
} from "./index-
|
|
60
|
+
} from "./index-jrap43gc.js";
|
|
61
61
|
import {
|
|
62
62
|
resolveOpenCodeDbPath,
|
|
63
63
|
hasV1MessageTables,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
} from "./index-8976mezv.js";
|
|
67
67
|
import {
|
|
68
68
|
logSlowWriteTransaction
|
|
69
|
-
} from "./index-
|
|
69
|
+
} from "./index-d4dt19md.js";
|
|
70
70
|
import {
|
|
71
71
|
shouldEnforcePrivateStoragePermissions,
|
|
72
72
|
ensureStorageDirectorySync,
|
|
@@ -1298,8 +1298,8 @@ function finishDatabaseOpen(db, dbPath, explicitDbPath, latestSupportedVersion)
|
|
|
1298
1298
|
startMessageFtsRowidMapBackfill(db).then(async () => {
|
|
1299
1299
|
if (!readsOpenCodeStore)
|
|
1300
1300
|
return;
|
|
1301
|
-
const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-
|
|
1302
|
-
const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-
|
|
1301
|
+
const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-83864b37.js"));
|
|
1302
|
+
const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-r2ar1qvk.js"));
|
|
1303
1303
|
await startMessageTimeBackfill(db, Object.assign(readRawSessionMessages, {
|
|
1304
1304
|
readPage: readRawSessionMessagePage
|
|
1305
1305
|
}));
|
|
@@ -2792,4 +2792,4 @@ function closeDatabase() {
|
|
|
2792
2792
|
}
|
|
2793
2793
|
}
|
|
2794
2794
|
|
|
2795
|
-
export { FAIL_CLOSED_DOCTOR_COMMAND, formatFailClosedBlockingMessage, createFailClosedBlockingError, isFailClosedBlockingError, shouldBypassFailClosedBlock, createFailClosedController, getErrorMessage, describeError, startBootDeadline, getSchemaFenceRejection, getMigrationOnOpenRefusal, LATEST_SUPPORTED_VERSION, getDatabasePath, getPersistedSchemaVersion, setSqlitePragmaConfig, applySqliteTuningPragmas, runSqliteOptimize, initializeDatabase, openDatabase, openCurrentDatabase, openDatabaseAsync, closeDatabase };
|
|
2795
|
+
export { FAIL_CLOSED_DOCTOR_COMMAND, formatFailClosedBlockingMessage, createFailClosedBlockingError, isFailClosedBlockingError, shouldBypassFailClosedBlock, createFailClosedController, getErrorMessage, describeError, startBootDeadline, getSchemaFenceRejection, getMigrationOnOpenRefusal, LATEST_SUPPORTED_VERSION, getDatabasePath, getPersistedSchemaVersion, enforceSchemaFence, setSqlitePragmaConfig, applySqliteTuningPragmas, runSqliteOptimize, initializeDatabase, openDatabase, openCurrentDatabase, openDatabaseAsync, closeDatabase };
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./index-0h2mkab2.js";
|
|
4
4
|
import {
|
|
5
5
|
getMagicContextStorageDir
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-7bqrfyny.js";
|
|
7
7
|
import {
|
|
8
8
|
isPidAlive,
|
|
9
9
|
readProcessStartTime
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-apgwdby5.js";
|
|
11
11
|
import {
|
|
12
12
|
removeSystemReminders,
|
|
13
13
|
hasMeaningfulUserText2,
|
|
14
14
|
extractTexts2
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-g4jf772p.js";
|
|
16
16
|
import {
|
|
17
17
|
withSqliteBackgroundWriter2,
|
|
18
18
|
withoutSqliteTransformPass2
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
recordIndexedMessageTime,
|
|
23
23
|
messageFtsOrdinalRangeIsMapped,
|
|
24
24
|
deleteUnmappedMessageFtsRows
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-djxc8w8c.js";
|
|
26
26
|
import {
|
|
27
27
|
deleteChunkEmbedBackoffForSession
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-7qc73yk5.js";
|
|
29
29
|
import {
|
|
30
30
|
closeQuietly,
|
|
31
31
|
TAG_TOMBSTONE_OWNER_PREFIX,
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
tagRevisionKey,
|
|
35
35
|
tagIdentityRevisionKey,
|
|
36
36
|
deleteTagIdentityRevisions
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-jrap43gc.js";
|
|
38
38
|
import {
|
|
39
39
|
cleanUserText2
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-53xdqb3d.js";
|
|
41
41
|
import {
|
|
42
42
|
logSlowWriteTransaction
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-d4dt19md.js";
|
|
44
44
|
import {
|
|
45
45
|
ensurePrivateStorageDirectorySync,
|
|
46
46
|
writeStorageFileSync,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
sanitizeDiagnosticText,
|
|
15
15
|
log2,
|
|
16
16
|
sessionLog2
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-7bqrfyny.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveWorkspaceShareCategories,
|
|
20
20
|
resolveWorkspaceIdentitySet,
|
|
@@ -22,17 +22,17 @@ import {
|
|
|
22
22
|
resolveStoredPathWorkspaceIdentity,
|
|
23
23
|
sourceNameForMemory,
|
|
24
24
|
managedAuthorityNoteRow
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-3cnarwf8.js";
|
|
26
26
|
import {
|
|
27
27
|
isKnownAutocommit
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-jrap43gc.js";
|
|
29
29
|
import {
|
|
30
30
|
SubcClient
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-6dz2ed1v.js";
|
|
32
32
|
import {
|
|
33
33
|
buildCanonicalChunkTextFromFts,
|
|
34
34
|
loadCompartmentChunkEmbeddingsForSearch
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-7qc73yk5.js";
|
|
36
36
|
import {
|
|
37
37
|
recordEmbeddingMeasurement,
|
|
38
38
|
saveCommitEmbedding,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
getProjectEmbeddingSnapshot2,
|
|
51
51
|
embedTextForProject2,
|
|
52
52
|
embedItemsForProject2
|
|
53
|
-
} from "./index-
|
|
53
|
+
} from "./index-nwbhe6qv.js";
|
|
54
54
|
import {
|
|
55
55
|
saveEmbeddingIfHashMatches,
|
|
56
56
|
getProjectEmbeddings2
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
isEmbeddingEnabled,
|
|
61
61
|
embedText,
|
|
62
62
|
ensureMemoryEmbeddings2
|
|
63
|
-
} from "./index-
|
|
63
|
+
} from "./index-7wagp5jp.js";
|
|
64
64
|
import {
|
|
65
65
|
getMemorySelectColumns2,
|
|
66
66
|
isMemoryRow2,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
} from "./index-hy44m6jc.js";
|
|
78
78
|
import {
|
|
79
79
|
getIndexedMessageCorpusSize2
|
|
80
|
-
} from "./index-
|
|
80
|
+
} from "./index-vv1j5cak.js";
|
|
81
81
|
import {
|
|
82
82
|
computeNormalizedHash
|
|
83
83
|
} from "./index-9x1f96r8.js";
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
// ../plugin/src/agents/permissions.ts
|
|
2
|
+
var DREAMER_PRIMER_INVESTIGATOR_ALLOWED_TOOLS = [
|
|
3
|
+
"read",
|
|
4
|
+
"grep",
|
|
5
|
+
"glob",
|
|
6
|
+
"aft_outline",
|
|
7
|
+
"aft_zoom",
|
|
8
|
+
"aft_search",
|
|
9
|
+
"ctx_search"
|
|
10
|
+
];
|
|
11
|
+
|
|
1
12
|
// ../plugin/src/agents/hidden-agent-registrations.ts
|
|
2
13
|
var HIDDEN_AGENT_DESCRIPTION = "Internal Magic Context maintenance agent. Not for general tasks — do not select for user work.";
|
|
3
14
|
function buildHiddenAgentRegistrations(args) {
|
|
@@ -355,4 +366,4 @@ function readHostSystemPrompt(ctx) {
|
|
|
355
366
|
return;
|
|
356
367
|
}
|
|
357
368
|
|
|
358
|
-
export { buildHiddenAgentRegistrations, logTemperatureDecision, subagentTemperature, subagentStepCap, promptFingerprint, SubagentTelemetry, readHostSystemPrompt };
|
|
369
|
+
export { DREAMER_PRIMER_INVESTIGATOR_ALLOWED_TOOLS, buildHiddenAgentRegistrations, logTemperatureDecision, subagentTemperature, subagentStepCap, promptFingerprint, SubagentTelemetry, readHostSystemPrompt };
|