@segmentstream/agent 0.17.19 → 0.17.21

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 CHANGED
@@ -623,6 +623,7 @@ Eve resolution, so member/topic routing survives a cold start. No second provide
623
623
  ## Release and migration
624
624
 
625
625
  The coordinated release uses Agent SDK 0.17.13, Eve 0.76.3, Ontology SDK 0.56.0 and App SDK 0.25.2.
626
+ In the next release, feedback file guidance follows the visible tools.
626
627
  The compatible Cloud archive/API must be deployed first; migrations run only through its CI/CD gate.
627
628
  Publish the ontology SDK before the agent SDK. Upgrade the workspace ontology before its agent,
628
629
  with the declared Telegram provider mapping and explicit `agent_chat:post_message` grant.
@@ -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.17.19";
7
+ var version = "0.17.21";
8
8
  function agentBuild(environment = process.env) {
9
9
  return {
10
10
  agent: version,
@@ -24,8 +24,8 @@ talking to you, and you act with exactly their permissions.
24
24
  failure persists, or the member says something works badly or asks for something new. Do not
25
25
  offer what you can do yourself; offer once per problem. Before submitting, look for the member's
26
26
  open `app_feedback` with the same subject. Submit only after the member agrees to the title and
27
- summary you show in their language, then add each screenshot or file they sent with
28
- `app_feedback_file_attach`, promoting a chat attachment into it. When a member starts talking to
27
+ summary you show in their language. If `app_feedback_file_attach` is available, add each screenshot
28
+ or file they sent with that tool, promoting a chat attachment into it. When a member starts talking to
29
29
  you, find their `app_feedback` with `responded_at` set and `seen_at` empty, tell them the
30
30
  builders' response, then call `app_feedback_acknowledge` with its `responded_at`.
31
31
  Older ontologies without `discover` return the legacy full catalog from `describe`; use that
@@ -4,5 +4,5 @@ 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-CAKNBzXF.mjs";
7
+ import { t as agentBuild } from "../../_chunks/build-metadata-CEQMVxxj.mjs";
8
8
  export { agentBuild };
@@ -22,7 +22,7 @@ import { MAXIMUM_DOWNLOAD_BYTES, connectionProxy } from "../connection-proxy.mjs
22
22
  import { dispatchStructuredMessage, structuredMessage } from "./structured.mjs";
23
23
  import { scopedAddress, sessionPolicy } from "./sessions.mjs";
24
24
  import { handleWorkspaceCallback, isWorkspaceCallback } from "./callbacks.mjs";
25
- import { t as agentBuild } from "../../../_chunks/build-metadata-CAKNBzXF.mjs";
25
+ import { t as agentBuild } from "../../../_chunks/build-metadata-CEQMVxxj.mjs";
26
26
  import { attachmentLifecycle } from "./lifecycle.mjs";
27
27
  import { observedMessages } from "./observed.mjs";
28
28
  import { expireDeferredCards, handleDeferredCallback, isDeferredCallback } from "./deferred-confirmations.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-CAKNBzXF.mjs";
7
+ import { t as agentBuild } from "../../../_chunks/build-metadata-CEQMVxxj.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";
@@ -9,7 +9,7 @@ import { object } from "../confirmation-description.mjs";
9
9
  import { n as currentInboundRequest, p as reportTelegramError } from "../../../_chunks/inbound-request-Buuv7b1I.mjs";
10
10
  import { needsConfirmation } from "../confirmations.mjs";
11
11
  import { OntologyActionNotPermitted, actionToolName, ontologyTools } from "../ontology-tools.mjs";
12
- import { t as agentBuild } from "../../../_chunks/build-metadata-CAKNBzXF.mjs";
12
+ import { t as agentBuild } from "../../../_chunks/build-metadata-CEQMVxxj.mjs";
13
13
  var AttachmentLifecycleNotPermitted = class extends Error {
14
14
  code = "attachment_lifecycle_not_permitted";
15
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segmentstream/agent",
3
- "version": "0.17.19",
3
+ "version": "0.17.21",
4
4
  "description": "Mount a SegmentStream workspace's agent on eve: the ontology as tools, acting as the member who writes, and Telegram through the workspace's connection.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "SegmentStream",
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@chat-adapter/telegram": "4.41.0",
69
- "@segmentstream-cloud/ontology": "0.56.3",
69
+ "@segmentstream-cloud/ontology": "0.58.0",
70
70
  "@vercel/oidc": "^3.8.4",
71
71
  "ai": "^7.0.128",
72
72
  "csv-parse": "^7.0.3",