@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.
- package/agent-docs/extensions.md +1 -1
- package/api/plugin-sdk.api.md +2 -1
- package/dist/agents-ctx.d.ts +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/agent-docs/extensions.md
CHANGED
|
@@ -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
|
package/api/plugin-sdk.api.md
CHANGED
|
@@ -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.
|
|
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
|
package/dist/agents-ctx.d.ts
CHANGED
|
@@ -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
package/dist/index.js
CHANGED