@segmentstream/agent 0.44.1 → 0.45.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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.45.0
4
+
5
+ The Agent SDK now builds on eve 1.0.1, eve's first stable release, and requires `ai` 7.0.172 or
6
+ later. eve 1.0 also makes sessions claim their address as they start, so racing first messages reach
7
+ one session.
8
+
9
+ Action required: pin `eve` to `1.0.1` in the workspace's `agent/package.json`, install, and rebuild
10
+ the agent. An agent that keeps `defaultTools: false`, as the starter does, needs nothing else. With
11
+ eve's default tools on, the agent also gets `edit_file` beside `write_file`: limit or gate it as you
12
+ do `write_file`. A dynamic tool can no longer take the name of a static tool, so rename one of them,
13
+ and replace `agentWithModel` from `eve/tools/agent` with `agent({ models })`. eve's own upgrade guide
14
+ covers the rest: https://eve.dev/docs/guides/upgrade.
15
+
3
16
  ## 0.44.1
4
17
 
5
18
  Pins @segmentstream/ontology 0.99.2.
package/README.md CHANGED
@@ -7,13 +7,13 @@ calls go through the workspace's connection, unknown senders pair with a member
7
7
  messages become text, and group chats are answered only when the agent is addressed or asked for
8
8
  something it does.
9
9
 
10
- The package is built against one eve version, `1.0.0-rc.6`, and the workspace's `agent/` pins the
10
+ The package is built against one eve version, `1.0.1`, and the workspace's `agent/` pins the
11
11
  same one. eve and the package move together.
12
12
 
13
13
  ## Install
14
14
 
15
15
  ```sh
16
- npm install @segmentstream/agent eve@1.0.0-rc.6
16
+ npm install @segmentstream/agent eve@1.0.1
17
17
  ```
18
18
 
19
19
  ## Deploying workspace source
@@ -767,7 +767,7 @@ Eve resolution, so member/topic routing survives a cold start. No second provide
767
767
 
768
768
  ## Release and migration
769
769
 
770
- The original exact-post release used Agent SDK 0.17.13, Eve 0.76.3, Ontology SDK 0.56.0 and App SDK 0.25.2. Current builds require eve 1.0.0-rc.6 and a rebuilt Agent SDK extension.
770
+ The original exact-post release used Agent SDK 0.17.13, Eve 0.76.3, Ontology SDK 0.56.0 and App SDK 0.25.2. Current builds require eve 1.0.1 and a rebuilt Agent SDK extension.
771
771
  In the next release, feedback file guidance follows the visible tools.
772
772
  The compatible Cloud archive/API must be deployed first; migrations run only through its CI/CD gate.
773
773
  Publish the ontology SDK before the agent SDK. Upgrade the workspace ontology before its agent,
@@ -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.44.1";
7
+ var version = "0.45.0";
8
8
  function agentBuild(environment = process.env) {
9
9
  return {
10
10
  agent: version,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "kind": "eve-extension",
3
3
  "formatVersion": 3,
4
- "builtWithEve": "1.0.0-rc.6",
4
+ "builtWithEve": "1.0.1",
5
5
  "contractMajor": 0
6
6
  }
@@ -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-CVgWc844.mjs";
7
+ export { t as agentBuild } from "../../_chunks/build-metadata-s0t4FPPK.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-CVgWc844.mjs";
13
+ import { t as agentBuild } from "../../../_chunks/build-metadata-s0t4FPPK.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-CVgWc844.mjs";
7
+ import { t as agentBuild } from "../../../_chunks/build-metadata-s0t4FPPK.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 { d as telegramRuntimeSource, l as principalRuntimeSource, u as runtimeEnvelope } from "../../../_chunks/principal-BXvelsZk.mjs";
8
- import { t as agentBuild } from "../../../_chunks/build-metadata-CVgWc844.mjs";
8
+ import { t as agentBuild } from "../../../_chunks/build-metadata-s0t4FPPK.mjs";
9
9
  import { n as currentInboundRequest } from "../../../_chunks/inbound-request-CK0QqEOP.mjs";
10
10
  import { object } from "../confirmation-description.mjs";
11
11
  import { needsConfirmation } from "../confirmations.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segmentstream/agent",
3
- "version": "0.44.1",
3
+ "version": "0.45.0",
4
4
  "description": "Mount a SegmentStream workspace's agent on eve: the ontology as tools, acting as the member who writes, and Telegram, WhatsApp and Slack through the workspace's connections.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "SegmentStream",
@@ -79,7 +79,7 @@
79
79
  "@chat-adapter/whatsapp": "4.42.0",
80
80
  "@segmentstream/ontology": "0.99.2",
81
81
  "@vercel/oidc": "^3.8.4",
82
- "ai": "^7.0.137",
82
+ "ai": "^7.0.172",
83
83
  "chat": "4.42.0",
84
84
  "csv-parse": "^7.0.3",
85
85
  "decimal.js": "^10.6.0",
@@ -92,11 +92,11 @@
92
92
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
93
93
  },
94
94
  "peerDependencies": {
95
- "eve": "1.0.0-rc.6"
95
+ "eve": "1.0.1"
96
96
  },
97
97
  "devDependencies": {
98
98
  "@types/node": "^24",
99
- "eve": "1.0.0-rc.6",
99
+ "eve": "1.0.1",
100
100
  "tsx": "^4",
101
101
  "typescript": "^5.9",
102
102
  "vitest": "^4.1.12"