@pouchy_ai/companion-sdk 0.26.0 → 0.26.1
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 +13 -0
- package/dist/client.d.ts +2 -1
- package/dist/client.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,19 @@ a protocol bump is always called out explicitly here.
|
|
|
12
12
|
|
|
13
13
|
## [Unreleased]
|
|
14
14
|
|
|
15
|
+
## [0.26.1] - 2026-07-12
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **Docs: `/api/stt` now requires auth.** The audio-transcription relay the
|
|
20
|
+
`ingestKnowledge` guidance points at is no longer an open endpoint — send
|
|
21
|
+
your `pchy_…` access token as the bearer (any valid token works; the call
|
|
22
|
+
is metered like other companion ops). No SDK code paths changed; this
|
|
23
|
+
release updates the inline JSDoc guidance only.
|
|
24
|
+
- Server-side hardening (no client change needed): concurrent `input` posts
|
|
25
|
+
on one session now lose cleanly with the existing 409 `turn_pending` code
|
|
26
|
+
instead of double-running a turn — retry after the in-flight reply lands.
|
|
27
|
+
|
|
15
28
|
## [0.26.0] - 2026-07-11
|
|
16
29
|
|
|
17
30
|
### Fixed
|
package/dist/client.d.ts
CHANGED
|
@@ -432,7 +432,8 @@ export declare class CompanionClient {
|
|
|
432
432
|
* materials" list with source attribution, exactly like a first-party upload.
|
|
433
433
|
* So the materials entry point can live in YOUR app, not just Pouchy's.
|
|
434
434
|
*
|
|
435
|
-
* Extract the text yourself (your own parser, or Pouchy's /api/stt for audio
|
|
435
|
+
* Extract the text yourself (your own parser, or Pouchy's /api/stt for audio —
|
|
436
|
+
* send your pchy_ token as the bearer; the relay is auth-gated and metered)
|
|
436
437
|
* and pass it here. Writes the user's SHARED knowledge, so the token must
|
|
437
438
|
* hold `memory.write:core` (the user's consent) — otherwise 403. Embeddings
|
|
438
439
|
* are computed on the user's next first-party open (eventually-consistent
|
package/dist/client.js
CHANGED
|
@@ -642,7 +642,8 @@ export class CompanionClient {
|
|
|
642
642
|
* materials" list with source attribution, exactly like a first-party upload.
|
|
643
643
|
* So the materials entry point can live in YOUR app, not just Pouchy's.
|
|
644
644
|
*
|
|
645
|
-
* Extract the text yourself (your own parser, or Pouchy's /api/stt for audio
|
|
645
|
+
* Extract the text yourself (your own parser, or Pouchy's /api/stt for audio —
|
|
646
|
+
* send your pchy_ token as the bearer; the relay is auth-gated and metered)
|
|
646
647
|
* and pass it here. Writes the user's SHARED knowledge, so the token must
|
|
647
648
|
* hold `memory.write:core` (the user's consent) — otherwise 403. Embeddings
|
|
648
649
|
* are computed on the user's next first-party open (eventually-consistent
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pouchy_ai/companion-sdk",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"description": "Embed the Pouchy companion — chat, voice, tools, memory, live world-state, instant UI, and agent-to-agent messaging — in any app, game, or site.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|