@pouchy_ai/admin-sdk 0.33.0 → 0.34.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 +22 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@pouchy_ai/admin-sdk` are documented here.
|
|
4
4
|
|
|
5
|
+
## 0.34.0 — 2026-09-08
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **`instructions`, `knowledgeDocIds` and `agentCardExtras` were dropped by the
|
|
10
|
+
agent create/update surface, so setting any of them answered `200` and did
|
|
11
|
+
nothing.** `agent-input.ts` maps a request body onto `createAgent`/
|
|
12
|
+
`updateAgent` with an object literal that enumerates its fields, and three
|
|
13
|
+
fields the store accepts had fallen out of it — on BOTH management surfaces
|
|
14
|
+
(`/v1/admin/agents` and `/v1/projects/{id}/agents`) and therefore the
|
|
15
|
+
Dashboard too, which PATCHes the latter. `instructions` was dead the day it
|
|
16
|
+
shipped; the Dashboard's knowledge-scope picker has been a silent no-op for
|
|
17
|
+
as long as it has existed; `agentCardExtras` is documented for the DeJoy
|
|
18
|
+
integration and was unreachable over HTTP. Server-side fix — no SDK change
|
|
19
|
+
was needed to make them work.
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- `Agent.knowledgeDocIds?: string[]` — typed alongside `instructions`, so the
|
|
24
|
+
two fields this release un-drops are both discoverable from the SDK rather
|
|
25
|
+
than only from the API reference.
|
|
26
|
+
|
|
5
27
|
## 0.33.0 — 2026-09-08
|
|
6
28
|
|
|
7
29
|
### Added
|
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.34.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
|
|
@@ -165,6 +165,9 @@ export interface Agent {
|
|
|
165
165
|
* (concurrent headless workers under one persona). Default false since
|
|
166
166
|
* owner decision D-10 (2026-09-05). */
|
|
167
167
|
spawnSubtasks?: boolean;
|
|
168
|
+
/** Restrict this agent's project-knowledge recall to the named documents
|
|
169
|
+
* (`[]` clears). Read live off the agent row every turn — no rev bump. */
|
|
170
|
+
knowledgeDocIds?: string[];
|
|
168
171
|
/** Grant `chat.instructions` on this agent's session mints, so a turn may
|
|
169
172
|
* carry an `instructions` field — developer-authored rules for THAT turn,
|
|
170
173
|
* joined to the prompt and never scored as user speech by inbound
|
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.34.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.34.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",
|