@segmentstream/agent 0.59.4 → 0.59.7

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.59.7
4
+
5
+ Pins @segmentstream/ontology 0.123.0.
6
+
7
+ ## 0.59.6
8
+
9
+ The agent no longer tells a member the builders' responses to app feedback when a chat starts.
10
+ It tells them when they ask about their feedback, reading only their own items: a builder who can
11
+ read everyone's feedback was told other members' responses as their own.
12
+
13
+ Pins @segmentstream/ontology 0.122.1.
14
+
15
+ ## 0.59.5
16
+
17
+ Pins @segmentstream/ontology 0.122.0.
18
+
3
19
  ## 0.59.4
4
20
 
5
21
  The Telegram channel runs a turn of a user an open channel created without resolving them again
package/README.md CHANGED
@@ -876,7 +876,7 @@ cold start selects the same successor, and Eve hands it over between deployments
876
876
  healthy session. If the successor's own deployment is deleted later, the next successor
877
877
  follows the same rule, up to four in a row. Archived chat context remains
878
878
  available, but the inaccessible session's model history and pending inputs cannot migrate.
879
- `segmentstream history squash` deletes earlier deployments and so ends the sessions
879
+ `segmentstream workspace history squash` deletes earlier deployments and so ends the sessions
880
880
  they own; each affected address continues once at its successor.
881
881
 
882
882
  Recovery applies only to session reads. Dispatch failures are never retried because
@@ -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.59.4";
7
+ var version = "0.59.7";
8
8
  function agentBuild(environment = process.env) {
9
9
  return {
10
10
  agent: version,
@@ -63,9 +63,9 @@ rejection or perform actions.
63
63
  or files still require the member's agreement. First reuse the member's open `app_feedback` with
64
64
  the same subject; claim reporting only after a successful submission or existing-item read.
65
65
  If `app_feedback_file_attach` is available, attach only files the member agreed to share.
66
- When a member starts talking to you, find their `app_feedback` with `responded_at` set and
67
- `seen_at` empty, tell them the builders' response, then call `app_feedback_acknowledge` with
68
- its `responded_at`.
66
+ When a member asks about their feedback, read only their own `app_feedback`: filter by
67
+ `reporter`, their user id from `me`, since builders can read everyone's. Tell them the
68
+ builders' response, then call `app_feedback_acknowledge` with its `responded_at`.
69
69
  - When the current member has permission and gives a clear instruction, act, including necessary
70
70
  routine intermediate steps. Their authorization continues across turns. When they answer your
71
71
  question, use the answer and continue the pending task without asking for permission again.
@@ -4,4 +4,4 @@ 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
- export { t as agentBuild } from "../../_chunks/build-metadata-BrgZbtWD.mjs";
7
+ export { t as agentBuild } from "../../_chunks/build-metadata-R1wFbfMQ.mjs";
@@ -10,7 +10,7 @@ import { groupRoutingHealth } from "../group-routing/health.mjs";
10
10
  import { dispatchStructuredMessage, structuredMessage } from "./structured.mjs";
11
11
  import { handleWorkspaceCallback, isWorkspaceCallback } from "./callbacks.mjs";
12
12
  import { telegramText, withTelegramTexts } from "./texts.mjs";
13
- import { t as agentBuild } from "../../../_chunks/build-metadata-BrgZbtWD.mjs";
13
+ import { t as agentBuild } from "../../../_chunks/build-metadata-R1wFbfMQ.mjs";
14
14
  import { attachmentLifecycle } from "./lifecycle.mjs";
15
15
  import { manifestOf } from "../../config.mjs";
16
16
  import { gatewayAttachmentDescriber } from "./attachment-description.mjs";
@@ -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
- import { t as agentBuild } from "../../../_chunks/build-metadata-BrgZbtWD.mjs";
7
+ import { t as agentBuild } from "../../../_chunks/build-metadata-R1wFbfMQ.mjs";
8
8
  import { runtimeRequestFailure } from "./runtime-request.mjs";
9
9
  import { GET } from "eve/channels";
10
10
  const HEALTH_ROUTE = "/eve/v1/telegram/health";
@@ -5,7 +5,7 @@ const __filename = __eveFileURLToPath(import.meta.url);
5
5
  __eveDirname(__filename);
6
6
  __eveCreateRequire(import.meta.url);
7
7
  import { E as OntologyActionNotPermitted, Ft as principalRuntimeSource, It as runtimeEnvelope, L as needsConfirmation, Lt as telegramRuntimeSource, W as member, c as currentInboundRequest, j as ontologyTools, k as actionToolName } from "../../../_chunks/principal-TJ6zB2rF.mjs";
8
- import { t as agentBuild } from "../../../_chunks/build-metadata-BrgZbtWD.mjs";
8
+ import { t as agentBuild } from "../../../_chunks/build-metadata-R1wFbfMQ.mjs";
9
9
  import { object } from "../confirmation-description.mjs";
10
10
  var AttachmentLifecycleNotPermitted = class extends Error {
11
11
  code = "attachment_lifecycle_not_permitted";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segmentstream/agent",
3
- "version": "0.59.4",
3
+ "version": "0.59.7",
4
4
  "description": "The SegmentStream workspace agent: the ontology as tools, acting as the member who writes, and the browser, Telegram, WhatsApp and Slack through the workspace's connections.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "SegmentStream",
@@ -80,7 +80,7 @@
80
80
  "@chat-adapter/state-memory": "4.42.0",
81
81
  "@chat-adapter/telegram": "4.41.0",
82
82
  "@chat-adapter/whatsapp": "4.42.0",
83
- "@segmentstream/ontology": "0.121.0",
83
+ "@segmentstream/ontology": "0.123.0",
84
84
  "@vercel/oidc": "^3.8.4",
85
85
  "ai": "^7.0.172",
86
86
  "chat": "4.42.0",