@segmentstream/agent 0.15.1 → 0.16.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/README.md CHANGED
@@ -549,7 +549,7 @@ Eve resolution, so member/topic routing survives a cold start. No second provide
549
549
 
550
550
  ## Release and migration
551
551
 
552
- The coordinated release uses Agent SDK 0.15.1, Eve 0.76.3, Ontology SDK 0.51.0 and App SDK 0.24.1.
552
+ The coordinated release uses Agent SDK 0.16.0, Eve 0.76.3, Ontology SDK 0.52.0 and App SDK 0.25.0.
553
553
  The compatible Cloud archive/API must be deployed first; migrations run only through its CI/CD gate.
554
554
  Publish the ontology SDK before the agent SDK. Upgrade the workspace ontology before its agent,
555
555
  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.15.1";
7
+ var version = "0.16.0";
8
8
  function agentBuild(environment = process.env) {
9
9
  return {
10
10
  agent: version,
@@ -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-DKb_DN2g.mjs";
7
+ import { t as agentBuild } from "../../_chunks/build-metadata-CIFPiRho.mjs";
8
8
  export { agentBuild };
@@ -110,7 +110,7 @@ function groupPolicy(input = {}, aliases) {
110
110
  mode: input.mode ?? aliases?.mode ?? "smart",
111
111
  smart,
112
112
  chats: input.chats ?? {},
113
- participants: {},
113
+ participants: input.participants ?? {},
114
114
  observability: {
115
115
  storeRouterPayload: true,
116
116
  ...input.observability
@@ -20,7 +20,7 @@ import { archivedRoutingMessages } from "../group-routing/routing-context.mjs";
20
20
  import { dispatchStructuredMessage, structuredMessage } from "./structured.mjs";
21
21
  import { scopedAddress, sessionPolicy } from "./sessions.mjs";
22
22
  import { handleWorkspaceCallback, isWorkspaceCallback } from "./callbacks.mjs";
23
- import { t as agentBuild } from "../../../_chunks/build-metadata-DKb_DN2g.mjs";
23
+ import { t as agentBuild } from "../../../_chunks/build-metadata-CIFPiRho.mjs";
24
24
  import { attachmentLifecycle } from "./lifecycle.mjs";
25
25
  import { observedMessages } from "./observed.mjs";
26
26
  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-DKb_DN2g.mjs";
7
+ import { t as agentBuild } from "../../../_chunks/build-metadata-CIFPiRho.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-RIRNBxUC.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-DKb_DN2g.mjs";
12
+ import { t as agentBuild } from "../../../_chunks/build-metadata-CIFPiRho.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.15.1",
3
+ "version": "0.16.0",
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",
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@chat-adapter/telegram": "4.41.0",
65
- "@segmentstream-cloud/ontology": "0.51.0",
65
+ "@segmentstream-cloud/ontology": "0.52.0",
66
66
  "@vercel/oidc": "^3.8.4",
67
67
  "ai": "^7.0.128",
68
68
  "csv-parse": "^7.0.3",