pi-vault-mind 0.16.13 → 0.16.16
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.
|
@@ -332,8 +332,8 @@ describe("probeEmbeddingEndpoint", () => {
|
|
|
332
332
|
});
|
|
333
333
|
assert.deepEqual(calls.map(({ headers }) => headers.get("authorization")), [
|
|
334
334
|
"Bearer LOCAL_STORED_SENTINEL",
|
|
335
|
-
"Bearer
|
|
336
|
-
"Bearer
|
|
335
|
+
"Bearer REMOTE_STORED_SENTINEL",
|
|
336
|
+
"Bearer REMOTE_TRANSIENT_SENTINEL",
|
|
337
337
|
]);
|
|
338
338
|
assert.equal(fs.readFileSync(storePath, "utf-8"), storedBytes);
|
|
339
339
|
assert.deepEqual(fs.readdirSync(storeDir), ["vault-mind.env"]);
|
|
@@ -77,6 +77,7 @@ const makePi = (assistantText) => {
|
|
|
77
77
|
],
|
|
78
78
|
});
|
|
79
79
|
},
|
|
80
|
+
getAllTools: () => [],
|
|
80
81
|
};
|
|
81
82
|
};
|
|
82
83
|
const makePiResponse = (assistantText, stopReason = "stop", errorMessage) => {
|
|
@@ -115,6 +116,7 @@ const makePiResponse = (assistantText, stopReason = "stop", errorMessage) => {
|
|
|
115
116
|
],
|
|
116
117
|
});
|
|
117
118
|
},
|
|
119
|
+
getAllTools: () => [],
|
|
118
120
|
};
|
|
119
121
|
};
|
|
120
122
|
const emptyProfile = (vaultPath) => ({
|
|
@@ -333,6 +335,7 @@ describe("personalize", () => {
|
|
|
333
335
|
assistantInvoked = true;
|
|
334
336
|
throw new Error("assistant must not be invoked when marker exists");
|
|
335
337
|
},
|
|
338
|
+
getAllTools: () => [],
|
|
336
339
|
};
|
|
337
340
|
const ctx = makeCtx(testDir, []);
|
|
338
341
|
ctx.ui.confirm = async () => {
|
|
@@ -477,6 +480,7 @@ describe("personalize", () => {
|
|
|
477
480
|
if (promptCount === 2)
|
|
478
481
|
secondPromptResolve();
|
|
479
482
|
},
|
|
483
|
+
getAllTools: () => [],
|
|
480
484
|
};
|
|
481
485
|
const emitStart = () => {
|
|
482
486
|
const event = { type: "agent_start" };
|
|
@@ -718,7 +718,7 @@ describe("POST /vm/embedding/probe", () => {
|
|
|
718
718
|
{
|
|
719
719
|
url: "https://provider.example.test/models",
|
|
720
720
|
method: "GET",
|
|
721
|
-
authorization: `Bearer ${
|
|
721
|
+
authorization: `Bearer ${transientApiKey}`,
|
|
722
722
|
},
|
|
723
723
|
]);
|
|
724
724
|
assert.deepEqual(body, {
|
|
@@ -772,7 +772,7 @@ describe("POST /vm/embedding/probe", () => {
|
|
|
772
772
|
{
|
|
773
773
|
url: "https://provider.example.test/models",
|
|
774
774
|
method: "GET",
|
|
775
|
-
authorization: `Bearer ${
|
|
775
|
+
authorization: `Bearer ${transientApiKey}`,
|
|
776
776
|
},
|
|
777
777
|
]);
|
|
778
778
|
assert.equal(fs.existsSync(secretEnvPath(vaultPath)), false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-vault-mind",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.16",
|
|
4
4
|
"description": "Passive Obsidian vault extension for pi. Watches @agent markers, dispatches forked subagents (Miner, Broadcaster, Heavy-Lifter), stores in LanceDB with vector + FTS + graph. Multi-agent 'Drop & Forget' workflow for the pi agent ecosystem.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|