@capybara-hq/plugin-sdk 0.1.0-rc.94 → 0.1.0-rc.95

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.
@@ -117,7 +117,7 @@ ctx.setup.check("bot-token", {
117
117
  an item the extension posted. Errors are `InboxError` (`invalid_item`, `org_disabled`, `not_found`).
118
118
  - `ctx.agents.usableBy`, `ctx.conversations.bySubject` and `ctx.people.get` / `search` read org
119
119
  facts for pages (`permissions.agents`, `conversations`, `people`; each call names an `orgId`, and
120
- the extension must be enabled there). They return ids, names and avatars, never emails or
120
+ the extension must be enabled there). They return ids, names, titles and avatars, never emails or
121
121
  conversation content.
122
122
  - The `run.lifecycle` hook (`permissions.hooks`) tells the extension each phase of a run of a
123
123
  conversation about its subject: `started`, `waiting` (on a person), `resumed` (that wait
@@ -4439,7 +4439,7 @@ export function sanitizeThemeSvg(bytes: Uint8Array): {
4439
4439
  };
4440
4440
 
4441
4441
  // @public
4442
- export const SDK_VERSION = "0.1.0-rc.94";
4442
+ export const SDK_VERSION = "0.1.0-rc.95";
4443
4443
 
4444
4444
  // @public
4445
4445
  export function secret<T extends z.ZodTypeAny>(schema: T): T;
@@ -4838,6 +4838,7 @@ export interface SubjectConversation {
4838
4838
  lastActivityAt: string;
4839
4839
  ownerAccountId: string;
4840
4840
  state: SubjectConversationState;
4841
+ title: string | null;
4841
4842
  }
4842
4843
 
4843
4844
  // @public
@@ -50,6 +50,8 @@ export type SubjectConversationState = "idle" | "running" | "waiting";
50
50
  /** A conversation serving a subject: metadata only, never its content. */
51
51
  export interface SubjectConversation {
52
52
  id: string;
53
+ /** The conversation's current title (generated or user-set), or null when untitled. */
54
+ title: string | null;
53
55
  ownerAccountId: string;
54
56
  agentId: string;
55
57
  /** From the latest run: queued or running is `running`, waiting on something is `waiting`. */
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const SDK_VERSION = "0.1.0-rc.94";
1
+ export declare const SDK_VERSION = "0.1.0-rc.95";
2
2
  export * from "./agent-template.js";
3
3
  export * from "./agents-ctx.js";
4
4
  export * from "./avatar-presets.js";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = "0.1.0-rc.94";
1
+ export const SDK_VERSION = "0.1.0-rc.95";
2
2
  export * from "./agent-template.js";
3
3
  export * from "./agents-ctx.js";
4
4
  export * from "./avatar-presets.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capybara-hq/plugin-sdk",
3
- "version": "0.1.0-rc.94",
3
+ "version": "0.1.0-rc.95",
4
4
  "description": "Capybara plugin SDK: the types and pure functions plugins are written against",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {