@remnic/core 9.3.668 → 9.3.669
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/access-schema.d.ts +36 -36
- package/dist/{chunk-7V36WCUW.js → chunk-BTLNC5YM.js} +28 -2
- package/dist/chunk-BTLNC5YM.js.map +1 -0
- package/dist/{chunk-G56P5RLD.js → chunk-UG274TNV.js} +2 -1
- package/dist/chunk-UG274TNV.js.map +1 -0
- package/dist/connectors/index.js +2 -2
- package/dist/index.js +2 -2
- package/dist/schemas.d.ts +64 -64
- package/dist/shared-context/manager.d.ts +2 -2
- package/dist/tokens.js +1 -1
- package/dist/transfer/types.d.ts +12 -12
- package/package.json +1 -1
- package/src/connectors/index.test.ts +20 -0
- package/src/connectors/index.ts +27 -0
- package/src/tokens.test.ts +14 -0
- package/src/tokens.ts +1 -0
- package/dist/chunk-7V36WCUW.js.map +0 -1
- package/dist/chunk-G56P5RLD.js.map +0 -1
package/dist/access-schema.d.ts
CHANGED
|
@@ -104,9 +104,9 @@ declare const recallRequestSchema: z.ZodObject<{
|
|
|
104
104
|
includeLowConfidence: z.ZodOptional<z.ZodBoolean>;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
106
|
query: string;
|
|
107
|
-
namespace?: string | undefined;
|
|
108
107
|
sessionKey?: string | undefined;
|
|
109
108
|
tags?: string[] | undefined;
|
|
109
|
+
namespace?: string | undefined;
|
|
110
110
|
topK?: number | undefined;
|
|
111
111
|
mode?: "auto" | "no_recall" | "minimal" | "full" | "graph_mode" | undefined;
|
|
112
112
|
cwd?: string | undefined;
|
|
@@ -125,9 +125,9 @@ declare const recallRequestSchema: z.ZodObject<{
|
|
|
125
125
|
tagMatch?: "all" | "any" | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
query: string;
|
|
128
|
-
namespace?: string | undefined;
|
|
129
128
|
sessionKey?: string | undefined;
|
|
130
129
|
tags?: string[] | undefined;
|
|
130
|
+
namespace?: string | undefined;
|
|
131
131
|
topK?: number | undefined;
|
|
132
132
|
mode?: "auto" | "no_recall" | "minimal" | "full" | "graph_mode" | undefined;
|
|
133
133
|
cwd?: string | undefined;
|
|
@@ -149,11 +149,11 @@ declare const recallExplainRequestSchema: z.ZodObject<{
|
|
|
149
149
|
sessionKey: z.ZodOptional<z.ZodString>;
|
|
150
150
|
namespace: z.ZodOptional<z.ZodString>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
namespace?: string | undefined;
|
|
153
152
|
sessionKey?: string | undefined;
|
|
154
|
-
}, {
|
|
155
153
|
namespace?: string | undefined;
|
|
154
|
+
}, {
|
|
156
155
|
sessionKey?: string | undefined;
|
|
156
|
+
namespace?: string | undefined;
|
|
157
157
|
}>;
|
|
158
158
|
/**
|
|
159
159
|
* Standalone "set coding context" request. Used by the HTTP endpoint
|
|
@@ -365,30 +365,30 @@ declare const memoryStoreRequestSchema: z.ZodObject<{
|
|
|
365
365
|
projectTag: z.ZodOptional<z.ZodString>;
|
|
366
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
367
|
content: string;
|
|
368
|
-
namespace?: string | undefined;
|
|
369
|
-
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
370
|
-
confidence?: number | undefined;
|
|
371
|
-
ttl?: string | undefined;
|
|
372
368
|
schemaVersion?: number | undefined;
|
|
373
369
|
sessionKey?: string | undefined;
|
|
374
370
|
tags?: string[] | undefined;
|
|
375
371
|
dryRun?: boolean | undefined;
|
|
372
|
+
namespace?: string | undefined;
|
|
373
|
+
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
374
|
+
confidence?: number | undefined;
|
|
376
375
|
entityRef?: string | undefined;
|
|
376
|
+
ttl?: string | undefined;
|
|
377
377
|
sourceReason?: string | undefined;
|
|
378
378
|
cwd?: string | undefined;
|
|
379
379
|
idempotencyKey?: string | undefined;
|
|
380
380
|
projectTag?: string | undefined;
|
|
381
381
|
}, {
|
|
382
382
|
content: string;
|
|
383
|
-
namespace?: string | undefined;
|
|
384
|
-
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
385
|
-
confidence?: number | undefined;
|
|
386
|
-
ttl?: string | undefined;
|
|
387
383
|
schemaVersion?: number | undefined;
|
|
388
384
|
sessionKey?: string | undefined;
|
|
389
385
|
tags?: string[] | undefined;
|
|
390
386
|
dryRun?: boolean | undefined;
|
|
387
|
+
namespace?: string | undefined;
|
|
388
|
+
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
389
|
+
confidence?: number | undefined;
|
|
391
390
|
entityRef?: string | undefined;
|
|
391
|
+
ttl?: string | undefined;
|
|
392
392
|
sourceReason?: string | undefined;
|
|
393
393
|
cwd?: string | undefined;
|
|
394
394
|
idempotencyKey?: string | undefined;
|
|
@@ -411,30 +411,30 @@ declare const suggestionSubmitRequestSchema: z.ZodObject<{
|
|
|
411
411
|
projectTag: z.ZodOptional<z.ZodString>;
|
|
412
412
|
}, "strip", z.ZodTypeAny, {
|
|
413
413
|
content: string;
|
|
414
|
-
namespace?: string | undefined;
|
|
415
|
-
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
416
|
-
confidence?: number | undefined;
|
|
417
|
-
ttl?: string | undefined;
|
|
418
414
|
schemaVersion?: number | undefined;
|
|
419
415
|
sessionKey?: string | undefined;
|
|
420
416
|
tags?: string[] | undefined;
|
|
421
417
|
dryRun?: boolean | undefined;
|
|
418
|
+
namespace?: string | undefined;
|
|
419
|
+
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
420
|
+
confidence?: number | undefined;
|
|
422
421
|
entityRef?: string | undefined;
|
|
422
|
+
ttl?: string | undefined;
|
|
423
423
|
sourceReason?: string | undefined;
|
|
424
424
|
cwd?: string | undefined;
|
|
425
425
|
idempotencyKey?: string | undefined;
|
|
426
426
|
projectTag?: string | undefined;
|
|
427
427
|
}, {
|
|
428
428
|
content: string;
|
|
429
|
-
namespace?: string | undefined;
|
|
430
|
-
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
431
|
-
confidence?: number | undefined;
|
|
432
|
-
ttl?: string | undefined;
|
|
433
429
|
schemaVersion?: number | undefined;
|
|
434
430
|
sessionKey?: string | undefined;
|
|
435
431
|
tags?: string[] | undefined;
|
|
436
432
|
dryRun?: boolean | undefined;
|
|
433
|
+
namespace?: string | undefined;
|
|
434
|
+
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
435
|
+
confidence?: number | undefined;
|
|
437
436
|
entityRef?: string | undefined;
|
|
437
|
+
ttl?: string | undefined;
|
|
438
438
|
sourceReason?: string | undefined;
|
|
439
439
|
cwd?: string | undefined;
|
|
440
440
|
idempotencyKey?: string | undefined;
|
|
@@ -468,18 +468,18 @@ declare const trustZonePromoteRequestSchema: z.ZodObject<{
|
|
|
468
468
|
recordId: string;
|
|
469
469
|
targetZone: "working" | "trusted";
|
|
470
470
|
promotionReason: string;
|
|
471
|
-
namespace?: string | undefined;
|
|
472
471
|
recordedAt?: string | undefined;
|
|
473
472
|
summary?: string | undefined;
|
|
474
473
|
dryRun?: boolean | undefined;
|
|
474
|
+
namespace?: string | undefined;
|
|
475
475
|
}, {
|
|
476
476
|
recordId: string;
|
|
477
477
|
targetZone: "working" | "trusted";
|
|
478
478
|
promotionReason: string;
|
|
479
|
-
namespace?: string | undefined;
|
|
480
479
|
recordedAt?: string | undefined;
|
|
481
480
|
summary?: string | undefined;
|
|
482
481
|
dryRun?: boolean | undefined;
|
|
482
|
+
namespace?: string | undefined;
|
|
483
483
|
}>;
|
|
484
484
|
declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
|
|
485
485
|
scenario: z.ZodOptional<z.ZodString>;
|
|
@@ -487,14 +487,14 @@ declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
|
|
|
487
487
|
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
488
488
|
namespace: z.ZodOptional<z.ZodString>;
|
|
489
489
|
}, "strip", z.ZodTypeAny, {
|
|
490
|
-
namespace?: string | undefined;
|
|
491
490
|
recordedAt?: string | undefined;
|
|
492
491
|
dryRun?: boolean | undefined;
|
|
492
|
+
namespace?: string | undefined;
|
|
493
493
|
scenario?: string | undefined;
|
|
494
494
|
}, {
|
|
495
|
-
namespace?: string | undefined;
|
|
496
495
|
recordedAt?: string | undefined;
|
|
497
496
|
dryRun?: boolean | undefined;
|
|
497
|
+
namespace?: string | undefined;
|
|
498
498
|
scenario?: string | undefined;
|
|
499
499
|
}>;
|
|
500
500
|
declare const lcmSearchRequestSchema: z.ZodObject<{
|
|
@@ -505,15 +505,15 @@ declare const lcmSearchRequestSchema: z.ZodObject<{
|
|
|
505
505
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
506
506
|
}, "strip", z.ZodTypeAny, {
|
|
507
507
|
query: string;
|
|
508
|
+
sessionKey?: string | undefined;
|
|
508
509
|
namespace?: string | undefined;
|
|
509
510
|
limit?: number | undefined;
|
|
510
|
-
sessionKey?: string | undefined;
|
|
511
511
|
sessionPrefix?: string | undefined;
|
|
512
512
|
}, {
|
|
513
513
|
query: string;
|
|
514
|
+
sessionKey?: string | undefined;
|
|
514
515
|
namespace?: string | undefined;
|
|
515
516
|
limit?: number | undefined;
|
|
516
|
-
sessionKey?: string | undefined;
|
|
517
517
|
sessionPrefix?: string | undefined;
|
|
518
518
|
}>;
|
|
519
519
|
declare const lcmCompactionFlushRequestSchema: z.ZodObject<{
|
|
@@ -548,14 +548,14 @@ declare const daySummaryRequestSchema: z.ZodObject<{
|
|
|
548
548
|
namespace: z.ZodOptional<z.ZodString>;
|
|
549
549
|
timeZone: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
550
550
|
}, "strip", z.ZodTypeAny, {
|
|
551
|
-
namespace?: string | undefined;
|
|
552
551
|
sessionKey?: string | undefined;
|
|
553
552
|
timeZone?: string | undefined;
|
|
553
|
+
namespace?: string | undefined;
|
|
554
554
|
memories?: string | undefined;
|
|
555
555
|
}, {
|
|
556
|
-
namespace?: string | undefined;
|
|
557
556
|
sessionKey?: string | undefined;
|
|
558
557
|
timeZone?: string | undefined;
|
|
558
|
+
namespace?: string | undefined;
|
|
559
559
|
memories?: string | undefined;
|
|
560
560
|
}>;
|
|
561
561
|
declare const capsuleExportRequestSchema: z.ZodObject<{
|
|
@@ -603,11 +603,11 @@ declare const capsuleListRequestSchema: z.ZodObject<{
|
|
|
603
603
|
namespace: z.ZodOptional<z.ZodString>;
|
|
604
604
|
sessionKey: z.ZodOptional<z.ZodString>;
|
|
605
605
|
}, "strip", z.ZodTypeAny, {
|
|
606
|
-
namespace?: string | undefined;
|
|
607
606
|
sessionKey?: string | undefined;
|
|
608
|
-
}, {
|
|
609
607
|
namespace?: string | undefined;
|
|
608
|
+
}, {
|
|
610
609
|
sessionKey?: string | undefined;
|
|
610
|
+
namespace?: string | undefined;
|
|
611
611
|
}>;
|
|
612
612
|
declare const offlineSyncSnapshotRequestSchema: z.ZodObject<{
|
|
613
613
|
namespace: z.ZodOptional<z.ZodString>;
|
|
@@ -748,11 +748,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
748
748
|
safety: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["safe", "requires-review", "blocked"]>>>, NonNullable<"blocked" | "safe" | "requires-review"> | undefined, "blocked" | "safe" | "requires-review" | null | undefined>;
|
|
749
749
|
safetyReasons: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>;
|
|
750
750
|
}, "strict", z.ZodTypeAny, {
|
|
751
|
-
confidence?: number | undefined;
|
|
752
751
|
source?: string | undefined;
|
|
753
752
|
stale?: boolean | undefined;
|
|
754
753
|
created?: string | undefined;
|
|
755
754
|
updated?: string | undefined;
|
|
755
|
+
confidence?: number | undefined;
|
|
756
756
|
scope?: string | undefined;
|
|
757
757
|
retrievalReason?: string | undefined;
|
|
758
758
|
safety?: NonNullable<"blocked" | "safe" | "requires-review"> | undefined;
|
|
@@ -762,11 +762,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
762
762
|
safetyReasons?: string[] | undefined;
|
|
763
763
|
userContextScopes?: string[] | undefined;
|
|
764
764
|
}, {
|
|
765
|
-
confidence?: number | null | undefined;
|
|
766
765
|
source?: string | null | undefined;
|
|
767
766
|
stale?: boolean | null | undefined;
|
|
768
767
|
created?: string | null | undefined;
|
|
769
768
|
updated?: string | null | undefined;
|
|
769
|
+
confidence?: number | null | undefined;
|
|
770
770
|
scope?: string | null | undefined;
|
|
771
771
|
retrievalReason?: string | null | undefined;
|
|
772
772
|
safety?: "blocked" | "safe" | "requires-review" | null | undefined;
|
|
@@ -776,11 +776,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
776
776
|
safetyReasons?: string[] | null | undefined;
|
|
777
777
|
userContextScopes?: string[] | null | undefined;
|
|
778
778
|
}>, "many">>>, {
|
|
779
|
-
confidence?: number | undefined;
|
|
780
779
|
source?: string | undefined;
|
|
781
780
|
stale?: boolean | undefined;
|
|
782
781
|
created?: string | undefined;
|
|
783
782
|
updated?: string | undefined;
|
|
783
|
+
confidence?: number | undefined;
|
|
784
784
|
scope?: string | undefined;
|
|
785
785
|
retrievalReason?: string | undefined;
|
|
786
786
|
safety?: NonNullable<"blocked" | "safe" | "requires-review"> | undefined;
|
|
@@ -790,11 +790,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
790
790
|
safetyReasons?: string[] | undefined;
|
|
791
791
|
userContextScopes?: string[] | undefined;
|
|
792
792
|
}[] | undefined, {
|
|
793
|
-
confidence?: number | null | undefined;
|
|
794
793
|
source?: string | null | undefined;
|
|
795
794
|
stale?: boolean | null | undefined;
|
|
796
795
|
created?: string | null | undefined;
|
|
797
796
|
updated?: string | null | undefined;
|
|
797
|
+
confidence?: number | null | undefined;
|
|
798
798
|
scope?: string | null | undefined;
|
|
799
799
|
retrievalReason?: string | null | undefined;
|
|
800
800
|
safety?: "blocked" | "safe" | "requires-review" | null | undefined;
|
|
@@ -816,11 +816,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
816
816
|
matched?: boolean | undefined;
|
|
817
817
|
}[] | undefined;
|
|
818
818
|
retrievedMemories?: {
|
|
819
|
-
confidence?: number | undefined;
|
|
820
819
|
source?: string | undefined;
|
|
821
820
|
stale?: boolean | undefined;
|
|
822
821
|
created?: string | undefined;
|
|
823
822
|
updated?: string | undefined;
|
|
823
|
+
confidence?: number | undefined;
|
|
824
824
|
scope?: string | undefined;
|
|
825
825
|
retrievalReason?: string | undefined;
|
|
826
826
|
safety?: NonNullable<"blocked" | "safe" | "requires-review"> | undefined;
|
|
@@ -842,11 +842,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
842
842
|
matched?: boolean | null | undefined;
|
|
843
843
|
}[] | null | undefined;
|
|
844
844
|
retrievedMemories?: {
|
|
845
|
-
confidence?: number | null | undefined;
|
|
846
845
|
source?: string | null | undefined;
|
|
847
846
|
stale?: boolean | null | undefined;
|
|
848
847
|
created?: string | null | undefined;
|
|
849
848
|
updated?: string | null | undefined;
|
|
849
|
+
confidence?: number | null | undefined;
|
|
850
850
|
scope?: string | null | undefined;
|
|
851
851
|
retrievalReason?: string | null | undefined;
|
|
852
852
|
safety?: "blocked" | "safe" | "requires-review" | null | undefined;
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
loadTokenStore,
|
|
6
6
|
revokeToken,
|
|
7
7
|
saveTokenStore
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UG274TNV.js";
|
|
9
9
|
import {
|
|
10
10
|
coerceInstallExtension
|
|
11
11
|
} from "./chunk-PHK3HARR.js";
|
|
@@ -494,6 +494,32 @@ var BUILTIN_CONNECTORS = [
|
|
|
494
494
|
tags: ["official", "ai", "pi", "coding-agent"],
|
|
495
495
|
requiresToken: true
|
|
496
496
|
},
|
|
497
|
+
{
|
|
498
|
+
id: "omp",
|
|
499
|
+
name: "Oh My Pi (omp)",
|
|
500
|
+
version: "1.0.0",
|
|
501
|
+
description: "Oh My Pi (omp) \u2014 Pi-fork coding agent; native extension for recall, observe, MCP tools, and compaction coordination",
|
|
502
|
+
capabilities: {
|
|
503
|
+
observe: true,
|
|
504
|
+
recall: true,
|
|
505
|
+
store: true,
|
|
506
|
+
search: true,
|
|
507
|
+
entities: true,
|
|
508
|
+
realtimeSync: true,
|
|
509
|
+
batch: true,
|
|
510
|
+
maxBudgetChars: 32e3,
|
|
511
|
+
connectionType: "http"
|
|
512
|
+
},
|
|
513
|
+
configSchema: {
|
|
514
|
+
remnicDaemonUrl: "URL of the Remnic daemon (default: http://127.0.0.1:4318)",
|
|
515
|
+
namespace: "Optional namespace",
|
|
516
|
+
installExtension: "Install the omp extension into ~/.omp/agent/extensions/remnic (default: true)"
|
|
517
|
+
},
|
|
518
|
+
homepage: "https://omp.sh",
|
|
519
|
+
author: "Remnic",
|
|
520
|
+
tags: ["official", "ai", "omp", "pi", "coding-agent"],
|
|
521
|
+
requiresToken: true
|
|
522
|
+
},
|
|
497
523
|
{
|
|
498
524
|
id: "replit",
|
|
499
525
|
name: "Replit Agent",
|
|
@@ -2236,4 +2262,4 @@ export {
|
|
|
2236
2262
|
resolveWeCloneProxyConfigPath,
|
|
2237
2263
|
buildWeCloneProxyConfig
|
|
2238
2264
|
};
|
|
2239
|
-
//# sourceMappingURL=chunk-
|
|
2265
|
+
//# sourceMappingURL=chunk-BTLNC5YM.js.map
|