@vectorize-io/self-driving-agents 0.0.12 → 0.0.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/cli.js +1 -1
- package/dist/tests/cli.test.js +5 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -819,7 +819,7 @@ async function main() {
|
|
|
819
819
|
}
|
|
820
820
|
// Step 2: Ensure marketplace + plugin installed
|
|
821
821
|
const MARKETPLACE_REPO = "vectorize-io/hindsight";
|
|
822
|
-
const MARKETPLACE_NAME = "
|
|
822
|
+
const MARKETPLACE_NAME = "hindsight";
|
|
823
823
|
const PLUGIN_NAME = "hindsight-memory";
|
|
824
824
|
let hasMarketplace = false;
|
|
825
825
|
try {
|
package/dist/tests/cli.test.js
CHANGED
|
@@ -544,13 +544,13 @@ describe("claude-code plugin install/update logic", () => {
|
|
|
544
544
|
expect(shouldUpdate(out, "hindsight-memory")).toBe(false);
|
|
545
545
|
});
|
|
546
546
|
it("updates when plugin already present", () => {
|
|
547
|
-
const out = "Installed plugins:\n ❯ hindsight-memory@
|
|
547
|
+
const out = "Installed plugins:\n ❯ hindsight-memory@hindsight\n Version: 0.5.0";
|
|
548
548
|
expect(shouldInstall(out, "hindsight-memory")).toBe(false);
|
|
549
549
|
expect(shouldUpdate(out, "hindsight-memory")).toBe(true);
|
|
550
550
|
});
|
|
551
551
|
it("detects plugin regardless of installed scope", () => {
|
|
552
|
-
const userScope = " ❯ hindsight-memory@
|
|
553
|
-
const localScope = " ❯ hindsight-memory@
|
|
552
|
+
const userScope = " ❯ hindsight-memory@hindsight\n Scope: user";
|
|
553
|
+
const localScope = " ❯ hindsight-memory@hindsight\n Scope: local";
|
|
554
554
|
expect(shouldUpdate(userScope, "hindsight-memory")).toBe(true);
|
|
555
555
|
expect(shouldUpdate(localScope, "hindsight-memory")).toBe(true);
|
|
556
556
|
});
|
|
@@ -561,10 +561,10 @@ describe("claude-code marketplace detection", () => {
|
|
|
561
561
|
function hasMarketplace(out, name, repo) {
|
|
562
562
|
return out.includes(name) || out.includes(repo);
|
|
563
563
|
}
|
|
564
|
-
const MARKETPLACE_NAME = "
|
|
564
|
+
const MARKETPLACE_NAME = "hindsight";
|
|
565
565
|
const MARKETPLACE_REPO = "vectorize-io/hindsight";
|
|
566
566
|
it("detects when marketplace already added by name", () => {
|
|
567
|
-
const out = "Configured marketplaces:\n
|
|
567
|
+
const out = "Configured marketplaces:\n hindsight (github: vectorize-io/hindsight)";
|
|
568
568
|
expect(hasMarketplace(out, MARKETPLACE_NAME, MARKETPLACE_REPO)).toBe(true);
|
|
569
569
|
});
|
|
570
570
|
it("detects when marketplace already added by repo", () => {
|