@segmentstream/agent 0.8.4 → 0.8.6
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/README.md +19 -0
- package/dist/_chunks/{build-metadata-ByEgTqDs.mjs → build-metadata-BIjXU_y3.mjs} +1 -1
- package/dist/_chunks/workflow-serializable-BwttWNmY.mjs +715 -0
- package/dist/extension/lib/attachment-tables.mjs +3 -2
- package/dist/extension/lib/build-metadata.mjs +1 -1
- package/dist/extension/lib/conversations.mjs +10 -4
- package/dist/extension/lib/telegram/adapter.mjs +9 -4
- package/dist/extension/lib/telegram/confirmation-text.d.ts +2 -0
- package/dist/extension/lib/telegram/confirmation-text.mjs +6 -1
- package/dist/extension/lib/telegram/confirmations.mjs +3 -3
- package/dist/extension/lib/telegram/health.d.ts +4 -0
- package/dist/extension/lib/telegram/health.mjs +3 -2
- package/dist/extension/lib/telegram/held-approvals.d.ts +27 -0
- package/dist/extension/lib/telegram/held-approvals.mjs +51 -0
- package/dist/extension/lib/telegram/inbound-request.d.ts +1 -1
- package/dist/extension/lib/telegram/inbound.d.ts +2 -0
- package/dist/extension/lib/telegram/inbound.mjs +33 -0
- package/dist/extension/lib/telegram/lifecycle.mjs +1 -1
- package/dist/extension/lib/telegram/observed.d.ts +1 -1
- package/dist/extension/lib/telegram/sessions.d.ts +4 -0
- package/dist/extension/lib/workflow-serializable.d.ts +29 -0
- package/dist/extension/lib/workflow-serializable.mjs +8 -0
- package/dist/extension/tools/attachments_discard.d.ts +2 -24
- package/dist/extension/tools/attachments_discard.mjs +2 -1
- package/dist/extension/tools/attachments_list.d.ts +2 -24
- package/dist/extension/tools/attachments_list.mjs +3 -1
- package/dist/extension/tools/attachments_promote.d.ts +2 -28
- package/dist/extension/tools/attachments_promote.mjs +3 -2
- package/dist/extension/tools/attachments_read.mjs +3 -2
- package/dist/extension/tools/attachments_send.d.ts +1 -7
- package/dist/extension/tools/attachments_send.mjs +4 -3
- package/dist/extension/tools/attachments_table.d.ts +2 -62
- package/dist/extension/tools/attachments_table.mjs +3 -2
- package/dist/extension/tools/questions_ask.d.ts +3 -13
- package/dist/extension/tools/questions_ask.mjs +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -447,6 +447,14 @@ Building the package needs Node.js 24, as eve does: `npm run build` runs `eve ex
|
|
|
447
447
|
which writes the agent-shaped `dist/extension` tree, its declarations and eve's compatibility
|
|
448
448
|
manifest.
|
|
449
449
|
|
|
450
|
+
SDK-authored tool results and conversation archive events normalize runtime values to JSON
|
|
451
|
+
before returning or encoding them. Exact decimal/bigint strings and binary byte views are
|
|
452
|
+
preserved; conversion diagnostics identify the boundary and value path without logging payloads.
|
|
453
|
+
Maps use entry arrays so distinct key types and object keys retain every entry. Native brand and
|
|
454
|
+
binary getters avoid provider accessors; projection failures retain their redacted cause graph
|
|
455
|
+
through the shared operator diagnostics reporter.
|
|
456
|
+
This guard does not intercept Eve's own workflow streams or third-party tools.
|
|
457
|
+
|
|
450
458
|
## Environment
|
|
451
459
|
|
|
452
460
|
The platform sets every variable on the workspace's Vercel project. None of them is a model key or
|
|
@@ -598,3 +606,14 @@ HTTP 503 with a correlation reference before durable queue admission. Telegram
|
|
|
598
606
|
can redeliver the same source; the hook and attachment reservation must preserve
|
|
599
607
|
idempotent source membership, storage results and the single acknowledgement.
|
|
600
608
|
Such a failure must not become an HTTP success with no queued work.
|
|
609
|
+
|
|
610
|
+
### Legacy held approvals
|
|
611
|
+
|
|
612
|
+
Explicit `confirmations.mode: "held"` overrides the deferred default. Switching a package version
|
|
613
|
+
does not migrate already-running held turns. In deferred mode the Telegram adapter reads the owning session's
|
|
614
|
+
recorded approval inputs and requests cancellation of that exact turn before admitting a new
|
|
615
|
+
addressed message. It never approves the old call or reuses the old member's authorization.
|
|
616
|
+
Cancellation failure requests webhook replay; terminal/resolved approvals are left alone.
|
|
617
|
+
Deferred mode retains its ten-minute database deadline and minute expiry sweep. Runtime health
|
|
618
|
+
reports the effective confirmation mode and attachment-lifecycle presence behind its existing
|
|
619
|
+
runtime authentication; source pins and public health alone are not settings-adoption proof.
|
|
@@ -4,7 +4,7 @@ import { createRequire as __eveCreateRequire } from "node:module";
|
|
|
4
4
|
const __filename = __eveFileURLToPath(import.meta.url);
|
|
5
5
|
__eveDirname(__filename);
|
|
6
6
|
__eveCreateRequire(import.meta.url);
|
|
7
|
-
var version = "0.8.
|
|
7
|
+
var version = "0.8.6";
|
|
8
8
|
function agentBuild(environment = process.env) {
|
|
9
9
|
return {
|
|
10
10
|
agent: version,
|