@keemakr/agent-sdk 0.16.0-dev-20260925140658 → 0.16.0-dev-20260926072748

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.
@@ -43,6 +43,7 @@ export interface FakeCore {
43
43
  id: string;
44
44
  handle: string | null;
45
45
  name: string | null;
46
+ asserted_name?: string | null;
46
47
  };
47
48
  binding?: Record<string, unknown>;
48
49
  language?: {
package/dist/channel.d.ts CHANGED
@@ -5,10 +5,12 @@ export interface ChannelDelivery {
5
5
  conversation: {
6
6
  id: string;
7
7
  };
8
+ /** `asserted_name` is a name the SENDER typed; `name` is one the provider vouches for. */
8
9
  contact: {
9
10
  id: string;
10
11
  handle: string | null;
11
12
  name: string | null;
13
+ asserted_name?: string | null;
12
14
  };
13
15
  unanswered_messages: Array<{
14
16
  body: string;
@@ -59,10 +61,18 @@ export interface ChannelContext {
59
61
  }>;
60
62
  /** How many OLDER messages did not fit the tenant's budget. Said, not hidden. */
61
63
  truncated: number;
64
+ /**
65
+ * Who is being talked to.
66
+ *
67
+ * `name` is a profile the provider vouches for. `asserted_name` is a string the sender
68
+ * typed into a form on a public website, and a widget delivery carries only the second —
69
+ * treat it as untrusted input wherever it reaches a prompt.
70
+ */
62
71
  contact: {
63
72
  id: string;
64
73
  handle: string | null;
65
74
  name: string | null;
75
+ asserted_name?: string | null;
66
76
  };
67
77
  /** What this business wants its agent to be. Absent against a core that predates it. */
68
78
  binding?: ChannelDelivery['binding'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keemakr/agent-sdk",
3
- "version": "0.16.0-dev-20260925140658",
3
+ "version": "0.16.0-dev-20260926072748",
4
4
  "description": "The floor for keemakr marketplace agents: verify the capability grant and reach tenant connections, memory, and shared platform tools through keemakr-core — without holding raw secrets or resolving the tenant yourself.",
5
5
  "license": "MIT",
6
6
  "type": "module",