Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-workbench
- run: bun test apps packages workflows scripts
- run: bun run test
2 changes: 1 addition & 1 deletion packages/agent-directory/test/routes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@ test("a create request indexes its pinned skills into the stored system prompt",
expect(prompt).toContain("skills_load");
// The prompt tells the model to call `skills_load`, so the bundle that
// provides it must be pinned on the same push.
expect(pinsFrom(workflowJson)).toEqual([{ name: "@corbits/tools-skills", version: "0.0.3" }]);
expect(pinsFrom(workflowJson)).toEqual([{ name: "@corbits/tools-skills", version: "0.0.4" }]);
});

test("pinning a skill the registry cannot resolve is a 400, not a 500", async () => {
Expand Down
5 changes: 3 additions & 2 deletions packages/context-menu/src/dialog-guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
// here: Dialog and the context menu's own Menu are both Radix primitives
// sharing Radix's dismissable-layer stack, which already closes only the
// topmost one.
export function isBlockingOverlayOpen(doc: Pick<Document, "querySelector"> = document): boolean {
return doc.querySelector('[role="dialog"]') !== null;
export function isBlockingOverlayOpen(doc?: Pick<Document, "querySelector">): boolean {
const target = doc ?? globalThis.document;
return target.querySelector('[role="dialog"]') !== null;
}

export function isInsideInteractiveInput(target: EventTarget | null): boolean {
Expand Down
1 change: 1 addition & 0 deletions packages/inbox/src/thread-client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ describe("readMailboxThreadClient", () => {
read: true,
archived: false,
parentId: null,
body: "hello",
},
],
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/scout-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@corbits/scout-agent",
"version": "0.0.5",
"version": "0.0.6",
"private": true,
"description": "Scout, the research/due-diligence agent: a ported system prompt plus its firm-memory, web-research, and Library-artifact tool declarations for a workbench chat agent",
"license": "LGPL-2.1-or-later",
Expand Down
2 changes: 1 addition & 1 deletion packages/scout-agent/src/definition.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe("SCOUT_AGENT_DEFINITION", () => {

test("pins the tool packages Scout's prompt actually depends on", () => {
const names = SCOUT_TOOL_PACKAGE_PINS.map((pin) => pin.name);
expect(names).toContain("@corbits/memory-tools");
expect(names).toContain("@corbits/memory");
expect(names).toContain("@corbits/web-search-tools");
expect(names).toContain("@corbits/scout-agent");
});
Expand Down
2 changes: 1 addition & 1 deletion packages/scout-agent/src/definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const SCOUT_AGENT_DESCRIPTION =
export const SCOUT_TOOL_PACKAGE_PINS: readonly ToolPackagePin[] = [
{ name: "@corbits/memory", version: "0.1.2" },
{ name: "@corbits/web-search-tools", version: "0.0.4" },
{ name: "@corbits/scout-agent", version: "0.0.5" },
{ name: "@corbits/scout-agent", version: "0.0.6" },
];

/** The plain-data shape the agent-directory create path takes. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe("Scout's web-research path (@corbits/web-search-tools)", () => {
test("SCOUT_TOOL_PACKAGE_PINS pins the package this test exercises", () => {
expect(SCOUT_TOOL_PACKAGE_PINS).toContainEqual({
name: "@corbits/web-search-tools",
version: "0.0.3",
version: "0.0.4",
});
});

Expand Down
2 changes: 1 addition & 1 deletion scripts/ci-jobs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ test("lint runs oxlint and oxfmt --check; the unit job has a hard timeout", asyn

const unit = jobs.get("unit") ?? "";
expect(unit).toContain("timeout-minutes: 10");
expect(unit).toContain("bun test apps packages workflows scripts");
expect(unit).toContain("bun run test");
});

test("the structural job runs the same list as local check:structural", async () => {
Expand Down
6 changes: 3 additions & 3 deletions scripts/publish-tools.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ function args(
},
pack: () =>
Promise.resolve({
name: "@corbits/memory-tools",
name: "@corbits/capability-tools",
version: "0.0.1",
filename: "corbits-memory-tools-0.0.1.tgz",
filename: "corbits-capability-tools-0.0.1.tgz",
bytes: new TextEncoder().encode("tarball-bytes"),
}),
api: api as never,
Expand Down Expand Up @@ -135,7 +135,7 @@ describe("runPublishTools", () => {
(call) =>
call.method === "PUT" &&
call.path ===
"/api/tenants/tenant_genesis/assets/asset_registry/tarballs/corbits-memory-tools-0.0.1.tgz",
"/api/tenants/tenant_genesis/assets/asset_registry/tarballs/corbits-capability-tools-0.0.1.tgz",
),
).toBe(true);
});
Expand Down
2 changes: 1 addition & 1 deletion workflows/diligence-brief/test/definition.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test("the step pins web-search and memory tool packages and sets an explicit tur
expect(primitive.agent.toolPackagePins).toEqual(DILIGENCE_BRIEF_TOOL_PACKAGE_PINS);
expect(DILIGENCE_BRIEF_TOOL_PACKAGE_PINS).toEqual([
{ name: "@corbits/web-search-tools", version: "0.0.4" },
{ name: "@corbits/memory-tools", version: "0.0.4" },
{ name: "@corbits/memory", version: "0.1.2" },
]);
expect(primitive.agent.toolFactories).toEqual([]);
});
Expand Down
Loading