@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/transfer/types.d.ts
CHANGED
|
@@ -313,13 +313,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
313
313
|
peerProfiles: boolean;
|
|
314
314
|
}>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
+
schemaVersion: string;
|
|
316
317
|
includes: {
|
|
317
318
|
procedural: boolean;
|
|
318
319
|
taxonomy: boolean;
|
|
319
320
|
identityAnchors: boolean;
|
|
320
321
|
peerProfiles: boolean;
|
|
321
322
|
};
|
|
322
|
-
schemaVersion: string;
|
|
323
323
|
id: string;
|
|
324
324
|
description: string;
|
|
325
325
|
version: string;
|
|
@@ -334,13 +334,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
334
334
|
directAnswerEnabled: boolean;
|
|
335
335
|
};
|
|
336
336
|
}, {
|
|
337
|
+
schemaVersion: string;
|
|
337
338
|
includes: {
|
|
338
339
|
procedural: boolean;
|
|
339
340
|
taxonomy: boolean;
|
|
340
341
|
identityAnchors: boolean;
|
|
341
342
|
peerProfiles: boolean;
|
|
342
343
|
};
|
|
343
|
-
schemaVersion: string;
|
|
344
344
|
id: string;
|
|
345
345
|
description: string;
|
|
346
346
|
version: string;
|
|
@@ -464,13 +464,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
464
464
|
peerProfiles: boolean;
|
|
465
465
|
}>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
|
+
schemaVersion: string;
|
|
467
468
|
includes: {
|
|
468
469
|
procedural: boolean;
|
|
469
470
|
taxonomy: boolean;
|
|
470
471
|
identityAnchors: boolean;
|
|
471
472
|
peerProfiles: boolean;
|
|
472
473
|
};
|
|
473
|
-
schemaVersion: string;
|
|
474
474
|
id: string;
|
|
475
475
|
description: string;
|
|
476
476
|
version: string;
|
|
@@ -485,13 +485,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
485
485
|
directAnswerEnabled: boolean;
|
|
486
486
|
};
|
|
487
487
|
}, {
|
|
488
|
+
schemaVersion: string;
|
|
488
489
|
includes: {
|
|
489
490
|
procedural: boolean;
|
|
490
491
|
taxonomy: boolean;
|
|
491
492
|
identityAnchors: boolean;
|
|
492
493
|
peerProfiles: boolean;
|
|
493
494
|
};
|
|
494
|
-
schemaVersion: string;
|
|
495
495
|
id: string;
|
|
496
496
|
description: string;
|
|
497
497
|
version: string;
|
|
@@ -518,13 +518,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
518
518
|
pluginVersion: string;
|
|
519
519
|
includesTranscripts: boolean;
|
|
520
520
|
capsule: {
|
|
521
|
+
schemaVersion: string;
|
|
521
522
|
includes: {
|
|
522
523
|
procedural: boolean;
|
|
523
524
|
taxonomy: boolean;
|
|
524
525
|
identityAnchors: boolean;
|
|
525
526
|
peerProfiles: boolean;
|
|
526
527
|
};
|
|
527
|
-
schemaVersion: string;
|
|
528
528
|
id: string;
|
|
529
529
|
description: string;
|
|
530
530
|
version: string;
|
|
@@ -551,13 +551,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
551
551
|
pluginVersion: string;
|
|
552
552
|
includesTranscripts: boolean;
|
|
553
553
|
capsule: {
|
|
554
|
+
schemaVersion: string;
|
|
554
555
|
includes: {
|
|
555
556
|
procedural: boolean;
|
|
556
557
|
taxonomy: boolean;
|
|
557
558
|
identityAnchors: boolean;
|
|
558
559
|
peerProfiles: boolean;
|
|
559
560
|
};
|
|
560
|
-
schemaVersion: string;
|
|
561
561
|
id: string;
|
|
562
562
|
description: string;
|
|
563
563
|
version: string;
|
|
@@ -683,13 +683,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
683
683
|
peerProfiles: boolean;
|
|
684
684
|
}>;
|
|
685
685
|
}, "strip", z.ZodTypeAny, {
|
|
686
|
+
schemaVersion: string;
|
|
686
687
|
includes: {
|
|
687
688
|
procedural: boolean;
|
|
688
689
|
taxonomy: boolean;
|
|
689
690
|
identityAnchors: boolean;
|
|
690
691
|
peerProfiles: boolean;
|
|
691
692
|
};
|
|
692
|
-
schemaVersion: string;
|
|
693
693
|
id: string;
|
|
694
694
|
description: string;
|
|
695
695
|
version: string;
|
|
@@ -704,13 +704,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
704
704
|
directAnswerEnabled: boolean;
|
|
705
705
|
};
|
|
706
706
|
}, {
|
|
707
|
+
schemaVersion: string;
|
|
707
708
|
includes: {
|
|
708
709
|
procedural: boolean;
|
|
709
710
|
taxonomy: boolean;
|
|
710
711
|
identityAnchors: boolean;
|
|
711
712
|
peerProfiles: boolean;
|
|
712
713
|
};
|
|
713
|
-
schemaVersion: string;
|
|
714
714
|
id: string;
|
|
715
715
|
description: string;
|
|
716
716
|
version: string;
|
|
@@ -737,13 +737,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
737
737
|
pluginVersion: string;
|
|
738
738
|
includesTranscripts: boolean;
|
|
739
739
|
capsule: {
|
|
740
|
+
schemaVersion: string;
|
|
740
741
|
includes: {
|
|
741
742
|
procedural: boolean;
|
|
742
743
|
taxonomy: boolean;
|
|
743
744
|
identityAnchors: boolean;
|
|
744
745
|
peerProfiles: boolean;
|
|
745
746
|
};
|
|
746
|
-
schemaVersion: string;
|
|
747
747
|
id: string;
|
|
748
748
|
description: string;
|
|
749
749
|
version: string;
|
|
@@ -770,13 +770,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
770
770
|
pluginVersion: string;
|
|
771
771
|
includesTranscripts: boolean;
|
|
772
772
|
capsule: {
|
|
773
|
+
schemaVersion: string;
|
|
773
774
|
includes: {
|
|
774
775
|
procedural: boolean;
|
|
775
776
|
taxonomy: boolean;
|
|
776
777
|
identityAnchors: boolean;
|
|
777
778
|
peerProfiles: boolean;
|
|
778
779
|
};
|
|
779
|
-
schemaVersion: string;
|
|
780
780
|
id: string;
|
|
781
781
|
description: string;
|
|
782
782
|
version: string;
|
|
@@ -815,13 +815,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
815
815
|
pluginVersion: string;
|
|
816
816
|
includesTranscripts: boolean;
|
|
817
817
|
capsule: {
|
|
818
|
+
schemaVersion: string;
|
|
818
819
|
includes: {
|
|
819
820
|
procedural: boolean;
|
|
820
821
|
taxonomy: boolean;
|
|
821
822
|
identityAnchors: boolean;
|
|
822
823
|
peerProfiles: boolean;
|
|
823
824
|
};
|
|
824
|
-
schemaVersion: string;
|
|
825
825
|
id: string;
|
|
826
826
|
description: string;
|
|
827
827
|
version: string;
|
|
@@ -854,13 +854,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
854
854
|
pluginVersion: string;
|
|
855
855
|
includesTranscripts: boolean;
|
|
856
856
|
capsule: {
|
|
857
|
+
schemaVersion: string;
|
|
857
858
|
includes: {
|
|
858
859
|
procedural: boolean;
|
|
859
860
|
taxonomy: boolean;
|
|
860
861
|
identityAnchors: boolean;
|
|
861
862
|
peerProfiles: boolean;
|
|
862
863
|
};
|
|
863
|
-
schemaVersion: string;
|
|
864
864
|
id: string;
|
|
865
865
|
description: string;
|
|
866
866
|
version: string;
|
package/package.json
CHANGED
|
@@ -154,6 +154,26 @@ test("loadRegistry does not overwrite malformed registry.json", async (t) => {
|
|
|
154
154
|
);
|
|
155
155
|
});
|
|
156
156
|
|
|
157
|
+
test("BUILTIN catalog includes the omp (oh-my-pi) connector", async (t) => {
|
|
158
|
+
const sandbox = makeSandbox(t);
|
|
159
|
+
|
|
160
|
+
await withEnv(
|
|
161
|
+
{
|
|
162
|
+
HOME: sandbox.home,
|
|
163
|
+
USERPROFILE: sandbox.home,
|
|
164
|
+
XDG_CONFIG_HOME: sandbox.xdgConfigHome,
|
|
165
|
+
},
|
|
166
|
+
() => {
|
|
167
|
+
const registry = loadRegistry();
|
|
168
|
+
const omp = registry.connectors.find((connector) => connector.id === "omp");
|
|
169
|
+
|
|
170
|
+
assert.ok(omp, "omp connector should be present in the built-in catalog");
|
|
171
|
+
assert.equal(omp?.requiresToken, true);
|
|
172
|
+
assert.match(omp?.homepage ?? "", /omp\.sh/);
|
|
173
|
+
},
|
|
174
|
+
);
|
|
175
|
+
});
|
|
176
|
+
|
|
157
177
|
test("loadRegistry filters custom connectors with invalid IDs", async (t) => {
|
|
158
178
|
const sandbox = makeSandbox(t);
|
|
159
179
|
|
package/src/connectors/index.ts
CHANGED
|
@@ -415,6 +415,33 @@ const BUILTIN_CONNECTORS: ConnectorManifest[] = [
|
|
|
415
415
|
tags: ["official", "ai", "pi", "coding-agent"],
|
|
416
416
|
requiresToken: true,
|
|
417
417
|
},
|
|
418
|
+
{
|
|
419
|
+
id: "omp",
|
|
420
|
+
name: "Oh My Pi (omp)",
|
|
421
|
+
version: "1.0.0",
|
|
422
|
+
description:
|
|
423
|
+
"Oh My Pi (omp) — Pi-fork coding agent; native extension for recall, observe, MCP tools, and compaction coordination",
|
|
424
|
+
capabilities: {
|
|
425
|
+
observe: true,
|
|
426
|
+
recall: true,
|
|
427
|
+
store: true,
|
|
428
|
+
search: true,
|
|
429
|
+
entities: true,
|
|
430
|
+
realtimeSync: true,
|
|
431
|
+
batch: true,
|
|
432
|
+
maxBudgetChars: 32000,
|
|
433
|
+
connectionType: "http",
|
|
434
|
+
},
|
|
435
|
+
configSchema: {
|
|
436
|
+
remnicDaemonUrl: "URL of the Remnic daemon (default: http://127.0.0.1:4318)",
|
|
437
|
+
namespace: "Optional namespace",
|
|
438
|
+
installExtension: "Install the omp extension into ~/.omp/agent/extensions/remnic (default: true)",
|
|
439
|
+
},
|
|
440
|
+
homepage: "https://omp.sh",
|
|
441
|
+
author: "Remnic",
|
|
442
|
+
tags: ["official", "ai", "omp", "pi", "coding-agent"],
|
|
443
|
+
requiresToken: true,
|
|
444
|
+
},
|
|
418
445
|
{
|
|
419
446
|
id: "replit",
|
|
420
447
|
name: "Replit Agent",
|
package/src/tokens.test.ts
CHANGED
|
@@ -194,3 +194,17 @@ test("token writes invalidate the cached valid-token list", async () => {
|
|
|
194
194
|
await rm(dir, { recursive: true, force: true });
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
|
+
|
|
198
|
+
test("generateToken uses a recognizable prefix for the omp connector", async () => {
|
|
199
|
+
const { dir, tokensPath } = await makeTempTokenPath();
|
|
200
|
+
try {
|
|
201
|
+
const entry = generateToken("omp", tokensPath);
|
|
202
|
+
assert.equal(entry.connector, "omp");
|
|
203
|
+
assert.ok(
|
|
204
|
+
entry.token.startsWith("remnic_op_"),
|
|
205
|
+
`expected remnic_op_ prefix, got ${entry.token}`,
|
|
206
|
+
);
|
|
207
|
+
} finally {
|
|
208
|
+
await rm(dir, { recursive: true, force: true });
|
|
209
|
+
}
|
|
210
|
+
});
|