@koda-sl/baker-bridge 0.52.0 → 0.53.0-dev.4de21c2e7

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.
@@ -1,5 +1,13 @@
1
1
  import { describe, expect, it } from "vitest";
2
- import { applyCurrentSenderAttribution, formatSenderLabel } from "./session-continuity.js";
2
+ import { applyCurrentSenderAttribution, formatSenderLabel, prepareSessionAttempt } from "./session-continuity.js";
3
+ const historyWith = (text) => ({
4
+ entries: [{ role: "user", text, createdAt: 0 }],
5
+ omittedEntryCount: 0,
6
+ truncated: false,
7
+ maxEntries: 10,
8
+ maxTextChars: 1000,
9
+ renderedContext: `Earlier conversation:\n${text}`,
10
+ });
3
11
  describe("formatSenderLabel", () => {
4
12
  it("combines name and role when a role is present", () => {
5
13
  expect(formatSenderLabel({ name: "Alice", role: "admin" })).toBe("Alice (admin)");
@@ -32,4 +40,32 @@ describe("applyCurrentSenderAttribution", () => {
32
40
  expect(prompt).toContain("\n\nMake the hero blue");
33
41
  });
34
42
  });
43
+ describe("prepareSessionAttempt", () => {
44
+ it("resumes verbatim from a clean boundary, leaving a command as the leading token", () => {
45
+ const attempt = prepareSessionAttempt({
46
+ requestPrompt: "/compact",
47
+ loaded: { kind: "clean", boundary: { version: 2, sessionId: "s1", updatedAtMs: 1 } },
48
+ });
49
+ expect(attempt.prompt).toBe("/compact");
50
+ expect(attempt.resumeOptions.resume).toBe("s1");
51
+ expect(attempt.contextSource).toBe("local_resume");
52
+ });
53
+ it("rehydrates history for an ordinary prompt when no boundary is present", () => {
54
+ const attempt = prepareSessionAttempt({
55
+ requestPrompt: "Make the hero blue",
56
+ history: historyWith("earlier turn"),
57
+ });
58
+ expect(attempt.attemptedRehydration).toBe(true);
59
+ expect(attempt.prompt).toContain("earlier turn");
60
+ expect(attempt.prompt).not.toBe("Make the hero blue");
61
+ });
62
+ it("never wraps a verbatim command in a history preamble, keeping it the leading token", () => {
63
+ const attempt = prepareSessionAttempt({
64
+ requestPrompt: "/compact",
65
+ history: historyWith("earlier turn"),
66
+ });
67
+ expect(attempt.prompt).toBe("/compact");
68
+ expect(attempt.attemptedRehydration).toBe(false);
69
+ });
70
+ });
35
71
  //# sourceMappingURL=session-continuity.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"session-continuity.test.js","sourceRoot":"","sources":["../../src/hono/session-continuity.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,6BAA6B,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE3F,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,iBAAiB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IACpF,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2CAA2C,EAAE,GAAG,EAAE;QACnD,MAAM,CAAC,iBAAiB,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC3E,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,0DAA0D,EAAE,GAAG,EAAE;QAClE,MAAM,KAAK,GAAG,iBAAiB,CAAC,EAAE,IAAI,EAAE,wCAAwC,EAAE,CAAC,CAAC;QACpF,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;QACjC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;IAC7C,EAAE,CAAC,mEAAmE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CAAC;QAEH,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxC,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAChD,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,uEAAuE,EAAE,GAAG,EAAE;QAC/E,MAAM,OAAO,GAAG,qBAAqB,CAAC;YACpC,aAAa,EAAE,oBAAoB;YACnC,OAAO,EAAE,WAAW,CAAC,cAAc,CAAC;SACrC,CAAC,CAAC;QAEH,MAAM,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAChD,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QACjD,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oFAAoF,EAAE,GAAG,EAAE;QAC5F,MAAM,OAAO,GAAG,qBAAqB,CAAC;YACpC,aAAa,EAAE,UAAU;YACzB,OAAO,EAAE,WAAW,CAAC,cAAc,CAAC;SACrC,CAAC,CAAC;QAEH,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxC,MAAM,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,5 +1,8 @@
1
1
  export declare enum BridgeSlashCommands {
2
- Publish = "/publish"
2
+ Publish = "/publish",
3
+ Compact = "/compact"
3
4
  }
5
+ export declare function verbatimSlashCommand(prompt: string): BridgeSlashCommands | null;
6
+ export declare function isVerbatimSlashCommandPrompt(prompt: string): boolean;
4
7
  export declare function isPublishCommandPrompt(prompt: string): boolean;
5
8
  //# sourceMappingURL=slash-commands.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slash-commands.d.ts","sourceRoot":"","sources":["../../src/hono/slash-commands.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB;IAC7B,OAAO,aAAa;CACrB;AAUD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAE9D"}
1
+ {"version":3,"file":"slash-commands.d.ts","sourceRoot":"","sources":["../../src/hono/slash-commands.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB;IAC7B,OAAO,aAAa;IACpB,OAAO,aAAa;CACrB;AASD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,mBAAmB,GAAG,IAAI,CAG/E;AAED,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAEpE;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAE9D"}
@@ -1,15 +1,22 @@
1
1
  export var BridgeSlashCommands;
2
2
  (function (BridgeSlashCommands) {
3
3
  BridgeSlashCommands["Publish"] = "/publish";
4
+ BridgeSlashCommands["Compact"] = "/compact";
4
5
  })(BridgeSlashCommands || (BridgeSlashCommands = {}));
5
- function normalizeBridgeSlashCommand(prompt) {
6
+ // Commands that must reach the Agent SDK verbatim as the leading token of the
7
+ // prompt. The SDK only recognizes a slash command when it starts the message,
8
+ // so these bypass speaker attribution, reference context, and history
9
+ // rehydration — any of which would push the command off the front and turn it
10
+ // into ordinary message text the model just echoes.
11
+ const VERBATIM_COMMANDS = [BridgeSlashCommands.Publish, BridgeSlashCommands.Compact];
12
+ export function verbatimSlashCommand(prompt) {
6
13
  const trimmedPrompt = prompt.trim();
7
- if (trimmedPrompt === BridgeSlashCommands.Publish) {
8
- return BridgeSlashCommands.Publish;
9
- }
10
- return null;
14
+ return VERBATIM_COMMANDS.find((command) => command === trimmedPrompt) ?? null;
15
+ }
16
+ export function isVerbatimSlashCommandPrompt(prompt) {
17
+ return verbatimSlashCommand(prompt) !== null;
11
18
  }
12
19
  export function isPublishCommandPrompt(prompt) {
13
- return normalizeBridgeSlashCommand(prompt) === BridgeSlashCommands.Publish;
20
+ return verbatimSlashCommand(prompt) === BridgeSlashCommands.Publish;
14
21
  }
15
22
  //# sourceMappingURL=slash-commands.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"slash-commands.js","sourceRoot":"","sources":["../../src/hono/slash-commands.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC7B,2CAAoB,CAAA;AACtB,CAAC,EAFW,mBAAmB,KAAnB,mBAAmB,QAE9B;AAED,SAAS,2BAA2B,CAAC,MAAc;IACjD,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;IACpC,IAAI,aAAa,KAAK,mBAAmB,CAAC,OAAO,EAAE,CAAC;QAClD,OAAO,mBAAmB,CAAC,OAAO,CAAC;IACrC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,MAAc;IACnD,OAAO,2BAA2B,CAAC,MAAM,CAAC,KAAK,mBAAmB,CAAC,OAAO,CAAC;AAC7E,CAAC"}
1
+ {"version":3,"file":"slash-commands.js","sourceRoot":"","sources":["../../src/hono/slash-commands.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,2CAAoB,CAAA;IACpB,2CAAoB,CAAA;AACtB,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B;AAED,8EAA8E;AAC9E,8EAA8E;AAC9E,sEAAsE;AACtE,8EAA8E;AAC9E,oDAAoD;AACpD,MAAM,iBAAiB,GAAmC,CAAC,mBAAmB,CAAC,OAAO,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAErH,MAAM,UAAU,oBAAoB,CAAC,MAAc;IACjD,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;IACpC,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,KAAK,aAAa,CAAC,IAAI,IAAI,CAAC;AAChF,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,MAAc;IACzD,OAAO,oBAAoB,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;AAC/C,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,MAAc;IACnD,OAAO,oBAAoB,CAAC,MAAM,CAAC,KAAK,mBAAmB,CAAC,OAAO,CAAC;AACtE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=slash-commands.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slash-commands.test.d.ts","sourceRoot":"","sources":["../../src/hono/slash-commands.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ import { describe, expect, it } from "vitest";
2
+ import { BridgeSlashCommands, isPublishCommandPrompt, isVerbatimSlashCommandPrompt, verbatimSlashCommand, } from "./slash-commands.js";
3
+ describe("verbatimSlashCommand", () => {
4
+ it("recognizes the compact command", () => {
5
+ expect(verbatimSlashCommand("/compact")).toBe(BridgeSlashCommands.Compact);
6
+ expect(isVerbatimSlashCommandPrompt("/compact")).toBe(true);
7
+ });
8
+ it("recognizes the publish command", () => {
9
+ expect(verbatimSlashCommand("/publish")).toBe(BridgeSlashCommands.Publish);
10
+ expect(isPublishCommandPrompt("/publish")).toBe(true);
11
+ });
12
+ it("tolerates surrounding whitespace", () => {
13
+ expect(verbatimSlashCommand(" /compact\n")).toBe(BridgeSlashCommands.Compact);
14
+ });
15
+ it("does not match when the command is not the whole message", () => {
16
+ expect(verbatimSlashCommand("please /compact the chat")).toBeNull();
17
+ expect(verbatimSlashCommand("/compact now")).toBeNull();
18
+ expect(isVerbatimSlashCommandPrompt("/compact now")).toBe(false);
19
+ });
20
+ it("returns null for ordinary prompts", () => {
21
+ expect(verbatimSlashCommand("Make the hero blue")).toBeNull();
22
+ expect(isPublishCommandPrompt("Make the hero blue")).toBe(false);
23
+ });
24
+ });
25
+ //# sourceMappingURL=slash-commands.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slash-commands.test.js","sourceRoot":"","sources":["../../src/hono/slash-commands.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IACpC,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE;QACxC,MAAM,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;QAC3E,MAAM,CAAC,4BAA4B,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE;QACxC,MAAM,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;QAC3E,MAAM,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kCAAkC,EAAE,GAAG,EAAE;QAC1C,MAAM,CAAC,oBAAoB,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACjF,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,0DAA0D,EAAE,GAAG,EAAE;QAClE,MAAM,CAAC,oBAAoB,CAAC,0BAA0B,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;QACpE,MAAM,CAAC,oBAAoB,CAAC,cAAc,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;QACxD,MAAM,CAAC,4BAA4B,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACnE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mCAAmC,EAAE,GAAG,EAAE;QAC3C,MAAM,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;QAC9D,MAAM,CAAC,sBAAsB,CAAC,oBAAoB,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACnE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koda-sl/baker-bridge",
3
- "version": "0.52.0",
3
+ "version": "0.53.0-dev.4de21c2e7",
4
4
  "description": "HTTP server wrapping the Claude Agent SDK. Persists chat events to Convex; the dashboard subscribes via Convex realtime",
5
5
  "license": "MIT",
6
6
  "type": "module",