@pouchy_ai/admin-sdk 0.30.0 → 0.31.0
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/CHANGELOG.md +10 -0
- package/dist/index.d.ts +17 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@pouchy_ai/admin-sdk` are documented here.
|
|
4
4
|
|
|
5
|
+
## 0.31.0 — 2026-09-05
|
|
6
|
+
|
|
7
|
+
- **`Agent.spawnSubtasks?`** and **`Agent.replyCues?`** (`ReplyCues`
|
|
8
|
+
exported) — two per-agent knobs the platform already accepts on
|
|
9
|
+
`PATCH /v1/projects/{id}/agents/{agentId}` and reports on the agent, typed
|
|
10
|
+
now instead of falling through the index signature. `spawnSubtasks` offers
|
|
11
|
+
the synthetic `spawn_subtasks` tool (default false, D-10); `replyCues`
|
|
12
|
+
opts the agent's text turns into `companion.audio` / `companion.expression`
|
|
13
|
+
(design #25). Additive.
|
|
14
|
+
|
|
5
15
|
## 0.30.0 — 2026-09-04
|
|
6
16
|
|
|
7
17
|
- **`internal-a2a` leaves `ChannelTransportType`.** It was a placeholder the
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const ADMIN_SDK_VERSION = "0.
|
|
1
|
+
export declare const ADMIN_SDK_VERSION = "0.31.0";
|
|
2
2
|
export declare const DEFAULT_BASE_URL = "https://pouchy.ai/v1/admin";
|
|
3
3
|
/** Deadline for the routes whose server handler declares `maxDuration: 300` —
|
|
4
4
|
* the server's own ceiling plus headroom, so a client abort can only ever mean
|
|
@@ -124,6 +124,16 @@ export interface AgentData {
|
|
|
124
124
|
subscriptions?: string[];
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
|
+
/** Opt the agent's text turns into the two outbound cue events (design #25):
|
|
128
|
+
* `audio` → `companion.audio` (a TTS mp3 of the reply; `voiceId` picks the
|
|
129
|
+
* voice), `expression` → `companion.expression` (a VRM 1.0 preset read from
|
|
130
|
+
* the reply's tone). Neither delays the reply; neither fires on A2A or
|
|
131
|
+
* channel surfaces. */
|
|
132
|
+
export interface ReplyCues {
|
|
133
|
+
audio?: boolean;
|
|
134
|
+
expression?: boolean;
|
|
135
|
+
voiceId?: string;
|
|
136
|
+
}
|
|
127
137
|
export interface Agent {
|
|
128
138
|
agentId: string;
|
|
129
139
|
name: string;
|
|
@@ -133,6 +143,12 @@ export interface Agent {
|
|
|
133
143
|
modelTier?: ModelTier;
|
|
134
144
|
/** Agent Data plane flags (see AgentData). */
|
|
135
145
|
data?: AgentData;
|
|
146
|
+
/** Offer the synthetic `spawn_subtasks` tool on this agent's turns
|
|
147
|
+
* (concurrent headless workers under one persona). Default false since
|
|
148
|
+
* owner decision D-10 (2026-09-05). */
|
|
149
|
+
spawnSubtasks?: boolean;
|
|
150
|
+
/** Reply-cue opt-in (see ReplyCues). */
|
|
151
|
+
replyCues?: ReplyCues;
|
|
136
152
|
templateRev: number;
|
|
137
153
|
createdAt: string;
|
|
138
154
|
[k: string]: unknown;
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// import { createAdminClient } from '@pouchy_ai/admin-sdk';
|
|
9
9
|
// const admin = createAdminClient({ adminKey: process.env.POUCHY_ADMIN_KEY! });
|
|
10
10
|
// const { agents } = await admin.listAgents();
|
|
11
|
-
export const ADMIN_SDK_VERSION = '0.
|
|
11
|
+
export const ADMIN_SDK_VERSION = '0.31.0';
|
|
12
12
|
export const DEFAULT_BASE_URL = 'https://pouchy.ai/v1/admin';
|
|
13
13
|
/** Default per-request timeout (ms). A hung upstream otherwise never rejects. */
|
|
14
14
|
const DEFAULT_TIMEOUT_MS = 30_000;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pouchy_ai/admin-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"description": "Typed TypeScript client for the Pouchy Admin API \u2014 manage agents, keys, end users, knowledge, skills, channels, schedules, webhooks and credentials headlessly, with a project Admin key.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|