@segmentstream/agent 0.42.1 → 0.44.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 +1033 -0
- package/README.md +25 -24
- package/dist/_chunks/{build-metadata-BPEZ5XVM.mjs → build-metadata-BnufKOxq.mjs} +1 -1
- package/dist/_chunks/{inbound-request-DgQB4g1J.mjs → inbound-request-CK0QqEOP.mjs} +36 -1
- package/dist/_chunks/{principal-BIX7T6Hh.mjs → principal-BXvelsZk.mjs} +5 -5
- package/dist/extension/channels/telegram.mjs +1 -1
- package/dist/extension/channels/whatsapp.mjs +1 -1
- package/dist/extension/config.d.ts +26 -18
- package/dist/extension/config.mjs +65 -12
- package/dist/extension/conventions.d.ts +1 -1
- package/dist/extension/conventions.mjs +22 -19
- package/dist/extension/extension.d.ts +2 -2
- package/dist/extension/extension.mjs +3 -3
- package/dist/extension/hooks/authorization.mjs +1 -1
- package/dist/extension/hooks/{conversations.mjs → chat-recorder.mjs} +4 -4
- package/dist/extension/hooks/sandbox.d.ts +2 -2
- package/dist/extension/instructions/{conversations.mjs → chat-context.mjs} +2 -2
- package/dist/extension/instructions/persona.mjs +1 -1
- package/dist/extension/instructions/sandbox.mjs +2 -2
- package/dist/extension/instructions.md +10 -10
- package/dist/extension/lib/actor.mjs +1 -1
- package/dist/extension/lib/attachment-tools.d.ts +1 -1
- package/dist/extension/lib/attachment-tools.mjs +7 -7
- package/dist/extension/lib/attachments.d.ts +9 -4
- package/dist/extension/lib/attachments.mjs +9 -7
- package/dist/extension/lib/build-metadata.mjs +1 -1
- package/dist/extension/lib/chat-address.d.ts +33 -0
- package/dist/extension/lib/{conversation.mjs → chat-address.mjs} +13 -12
- package/dist/extension/lib/{conversations.d.ts → chat-archive.d.ts} +12 -12
- package/dist/extension/lib/{conversations.mjs → chat-archive.mjs} +9 -9
- package/dist/extension/lib/chat-context.d.ts +5 -5
- package/dist/extension/lib/chat-context.mjs +7 -7
- package/dist/extension/lib/{conversation-runtime.d.ts → chat-recorder.d.ts} +3 -3
- package/dist/extension/lib/{conversation-runtime.mjs → chat-recorder.mjs} +13 -13
- package/dist/extension/lib/confirmations.d.ts +3 -3
- package/dist/extension/lib/confirmations.mjs +8 -8
- package/dist/extension/lib/group-routing/addressing.d.ts +1 -1
- package/dist/extension/lib/group-routing/addressing.mjs +2 -2
- package/dist/extension/lib/group-routing/burst.mjs +2 -2
- package/dist/extension/lib/group-routing/{conversation-prompt.d.ts → chat-prompt.d.ts} +2 -2
- package/dist/extension/lib/group-routing/{conversation-prompt.mjs → chat-prompt.mjs} +3 -3
- package/dist/extension/lib/group-routing/{conversation-router.d.ts → chat-router.d.ts} +6 -6
- package/dist/extension/lib/group-routing/{conversation-router.mjs → chat-router.mjs} +9 -9
- package/dist/extension/lib/group-routing/engagement.mjs +2 -2
- package/dist/extension/lib/group-routing/messages.d.ts +1 -1
- package/dist/extension/lib/group-routing/policy.d.ts +6 -6
- package/dist/extension/lib/group-routing/policy.mjs +16 -16
- package/dist/extension/lib/group-routing/replay.mjs +36 -9
- package/dist/extension/lib/group-routing/router.d.ts +3 -3
- package/dist/extension/lib/group-routing/router.mjs +16 -16
- package/dist/extension/lib/group-routing/routing-context.d.ts +2 -2
- package/dist/extension/lib/group-routing/routing-context.mjs +2 -2
- package/dist/extension/lib/group-routing/signals.d.ts +3 -3
- package/dist/extension/lib/group-routing/signals.mjs +5 -5
- package/dist/extension/lib/model-service-alert.d.ts +2 -2
- package/dist/extension/lib/model-service-alert.mjs +2 -2
- package/dist/extension/lib/ontology-connection.mjs +1 -1
- package/dist/extension/lib/ontology-file-call.mjs +1 -1
- package/dist/extension/lib/ontology-tools.mjs +1 -1
- package/dist/extension/lib/review/hold.d.ts +7 -7
- package/dist/extension/lib/review/hold.mjs +12 -12
- package/dist/extension/lib/review/judge.d.ts +9 -9
- package/dist/extension/lib/review/judge.mjs +12 -12
- package/dist/extension/lib/review/reply.d.ts +13 -13
- package/dist/extension/lib/review/reply.mjs +20 -20
- package/dist/extension/lib/role-skill.mjs +1 -1
- package/dist/extension/lib/runtime-envelope.mjs +1 -1
- package/dist/extension/lib/sent-files.mjs +3 -2
- package/dist/extension/lib/slack/adapter.mjs +2 -2
- package/dist/extension/lib/slack/attachments-send.d.ts +2 -2
- package/dist/extension/lib/slack/attachments-send.mjs +6 -6
- package/dist/extension/lib/slack/files.mjs +4 -4
- package/dist/extension/lib/stored-files.mjs +1 -1
- package/dist/extension/lib/telegram/adapter.d.ts +4 -3
- package/dist/extension/lib/telegram/adapter.mjs +35 -15
- package/dist/extension/lib/telegram/app-links.d.ts +39 -0
- package/dist/extension/lib/telegram/app-links.mjs +53 -0
- package/dist/extension/lib/telegram/attachment-description.mjs +1 -1
- package/dist/extension/lib/telegram/attachments-send.mjs +2 -2
- package/dist/extension/lib/telegram/callbacks.mjs +2 -2
- package/dist/extension/lib/telegram/{conversations.d.ts → chat-archive.d.ts} +7 -7
- package/dist/extension/lib/telegram/{conversations.mjs → chat-archive.mjs} +11 -11
- package/dist/extension/lib/telegram/confirmation-text.mjs +1 -0
- package/dist/extension/lib/telegram/confirmations.d.ts +2 -2
- package/dist/extension/lib/telegram/confirmations.mjs +4 -4
- package/dist/extension/lib/telegram/customer-text.d.ts +2 -1
- package/dist/extension/lib/telegram/customer-text.mjs +1 -1
- package/dist/extension/lib/telegram/delivery-diagnostics.d.ts +3 -3
- package/dist/extension/lib/telegram/delivery-diagnostics.mjs +2 -2
- package/dist/extension/lib/telegram/files.d.ts +1 -1
- package/dist/extension/lib/telegram/files.mjs +9 -9
- package/dist/extension/lib/telegram/health.mjs +1 -1
- package/dist/extension/lib/telegram/images.mjs +1 -1
- package/dist/extension/lib/telegram/inbound-request.d.ts +1 -1
- package/dist/extension/lib/telegram/inbound-request.mjs +1 -1
- package/dist/extension/lib/telegram/inbound.d.ts +3 -3
- package/dist/extension/lib/telegram/inbound.mjs +37 -37
- package/dist/extension/lib/telegram/lifecycle.mjs +4 -4
- package/dist/extension/lib/telegram/media-policy.mjs +1 -1
- package/dist/extension/lib/telegram/principal.d.ts +2 -2
- package/dist/extension/lib/telegram/principal.mjs +1 -1
- package/dist/extension/lib/telegram/router.mjs +2 -2
- package/dist/extension/lib/telegram/session-recovery.mjs +1 -1
- package/dist/extension/lib/telegram/sessions.d.ts +1 -1
- package/dist/extension/lib/telegram/signals.mjs +1 -1
- package/dist/extension/lib/telegram/silent.d.ts +2 -2
- package/dist/extension/lib/telegram/silent.mjs +1 -1
- package/dist/extension/lib/telegram/structured.mjs +1 -1
- package/dist/extension/lib/telegram/turn-errors.d.ts +2 -2
- package/dist/extension/lib/telegram/turn-errors.mjs +3 -3
- package/dist/extension/lib/telegram/voice.d.ts +1 -1
- package/dist/extension/lib/telegram/voice.mjs +1 -1
- package/dist/extension/lib/whatsapp/adapter.d.ts +2 -2
- package/dist/extension/lib/whatsapp/adapter.mjs +4 -2
- package/dist/extension/lib/whatsapp/links.d.ts +12 -0
- package/dist/extension/lib/whatsapp/links.mjs +34 -0
- package/dist/extension/lib/workflow-serializable.d.ts +1 -1
- package/dist/extension/model.mjs +1 -1
- package/dist/extension/personas.d.ts +1 -1
- package/dist/extension/review.d.ts +23 -20
- package/dist/extension/review.mjs +21 -34
- package/dist/extension/tools/attachments_promote.mjs +1 -1
- package/dist/extension/tools/attachments_send.mjs +3 -3
- package/dist/extension/tools/no_reply.d.ts +1 -1
- package/dist/extension/tools/questions_ask.mjs +4 -4
- package/dist/extension/tools/sandbox.mjs +2 -2
- package/package.json +3 -2
- package/dist/extension/lib/conversation.d.ts +0 -33
- /package/dist/extension/hooks/{conversations.d.ts → chat-recorder.d.ts} +0 -0
- /package/dist/extension/instructions/{conversations.d.ts → chat-context.d.ts} +0 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,1033 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.44.0
|
|
4
|
+
|
|
5
|
+
Telegram can open links to the workspace app inside the bot's Main Mini App. Set
|
|
6
|
+
`channels.telegram.appLinks` to `"miniApp"` in `agent/segmentstream.json`: as each message is
|
|
7
|
+
delivered, a link to one of the app's pages on the workspace's own origins (those link previews
|
|
8
|
+
count as its own, and `additionalOwnOrigins`) becomes `https://t.me/<bot>?startapp=p_…`, in replies,
|
|
9
|
+
interim messages, edits and URL buttons. The app SDK's proxy opens that page, where the Telegram
|
|
10
|
+
Mini App sign-in signs the member in. The model and the session keep the app's own address, so
|
|
11
|
+
other channels never receive a Telegram link. Links to sign-in, consent, `/agent/connect`, `/api`,
|
|
12
|
+
`/mcp`, `/.well-known` and `/_next`, links whose page and query exceed Telegram's 512-character
|
|
13
|
+
start parameter, confirmation cards, exact chat posts and the captions of files sent with
|
|
14
|
+
`segmentstream__attachments_send` stay as written, as does every link while the bot's username is
|
|
15
|
+
unknown. A page's `#fragment` is not carried.
|
|
16
|
+
|
|
17
|
+
The default, `"web"`, leaves links unchanged. To use `"miniApp"`, set the bot's Main Mini App in
|
|
18
|
+
BotFather to the app's production URL, enable Telegram in the app
|
|
19
|
+
(`createSegmentStreamApp({ channels: { telegram: true } })`) and update `@segmentstream/app` to the
|
|
20
|
+
release that opens these links. A workspace that builds its own `t.me` links with an agent tool
|
|
21
|
+
does not need it any more; links it already sent keep working only as long as the workspace keeps
|
|
22
|
+
its own decoder in the app.
|
|
23
|
+
|
|
24
|
+
WhatsApp replies write the agent's links as WhatsApp shows them. WhatsApp has no Markdown links,
|
|
25
|
+
so a link written `[label](url)` reached the person as written, and a bare URL arrived in angle
|
|
26
|
+
brackets. A link is now sent as `label: url`, or the URL alone when its label is the URL, with no
|
|
27
|
+
character of the URL escaped. Other formatting and other channels are unchanged.
|
|
28
|
+
|
|
29
|
+
Each package carries its changelog, `CHANGELOG.md`: the notes of every release up to the installed
|
|
30
|
+
one, newest first. An npm package has it beside its `package.json`, such as
|
|
31
|
+
`node_modules/@segmentstream/ontology/CHANGELOG.md`; a Python sdist has it at its root and a
|
|
32
|
+
wheel in `.dist-info/extra_metadata/CHANGELOG.md`. `segmentstream changelog` prints the same notes
|
|
33
|
+
for the releases between a project's pins and the CLI's starter, paragraphs starting with
|
|
34
|
+
`Action required:` first.
|
|
35
|
+
|
|
36
|
+
Pins @segmentstream/ontology 0.99.1.
|
|
37
|
+
|
|
38
|
+
## 0.43.0
|
|
39
|
+
|
|
40
|
+
One word for one thing: the agent's settings, code, logs and docs say chat, session or chat archive,
|
|
41
|
+
never conversation. See the terms in `docs/agent.md`.
|
|
42
|
+
|
|
43
|
+
Configuration, which deploys unchanged and warns to rename:
|
|
44
|
+
|
|
45
|
+
- `review` replaces `conversations` in `agent/segmentstream.json`, one level flatter:
|
|
46
|
+
`"review": { "byRole": { "lead": { "mode": "whenUnsure", "minConfidence": 0.9 } }, "default": { "mode": "never" } }`.
|
|
47
|
+
The criteria stay in `agent/review/<role>.md`. `conversations` is still read as before.
|
|
48
|
+
- Group routing policy `"chat"` replaces `"conversation"`, and `engagement.engagementMinutes`
|
|
49
|
+
replaces `engagement.conversationMinutes`. The earlier names read as the new ones, in the top
|
|
50
|
+
level, every chat and the shadow policy, and in router payloads stored with them.
|
|
51
|
+
|
|
52
|
+
Code: the archive client is `chatArchive()`, its types `ChatArchive`, `ChatEvent` and `ChatPage`,
|
|
53
|
+
and the routing exports `chatKey` and `groupChatAddressing` replace `conversationKey` and
|
|
54
|
+
`groupConversationAddressing`. The agent appends and searches the archive under `agent/chats/`,
|
|
55
|
+
which Cloud serves.
|
|
56
|
+
|
|
57
|
+
Compatibility: the agent sends the chat to the ontology service in `X-SegmentStream-Agent-Chat`
|
|
58
|
+
and, for services built before, `X-SegmentStream-Agent-Conversation`; the ontology service reads
|
|
59
|
+
either. Sessions, Telegram principals and file parts stored before keep working. The attachments
|
|
60
|
+
REST route reads a `conversation` filter and answers it beside `chat`, for CLIs built before; the
|
|
61
|
+
attachments table keeps its column name.
|
|
62
|
+
|
|
63
|
+
Pins @segmentstream/ontology 0.99.0.
|
|
64
|
+
|
|
65
|
+
## 0.42.1
|
|
66
|
+
|
|
67
|
+
Pins @segmentstream/ontology 0.98.1.
|
|
68
|
+
|
|
69
|
+
## 0.42.0
|
|
70
|
+
|
|
71
|
+
The WhatsApp channel answers an unpaired sender with `replies.pairingRequired` and a call-to-action
|
|
72
|
+
button labelled `replies.pairingButton` that opens the app's `/agent/connect` page, as Telegram
|
|
73
|
+
does, instead of a bare link. WhatsApp shows at most 20 characters of the label. A workspace that
|
|
74
|
+
sets no `replies.pairingButton` keeps getting the text followed by the link.
|
|
75
|
+
|
|
76
|
+
## 0.41.0
|
|
77
|
+
|
|
78
|
+
Reply review. `conversations` in `agent/segmentstream.json` says, per role of the person the agent
|
|
79
|
+
replies to (`byRole`, first match in the order written, then `default`), who sends its replies on
|
|
80
|
+
Telegram and WhatsApp: `{ "review": { "mode": "never" } }`, the agent, as before;
|
|
81
|
+
`{ "mode": "always" }`, a member reviews every reply; or
|
|
82
|
+
`{ "mode": "whenUnsure", "minConfidence": 0.9 }`, the decision model (`models.decision`) judges
|
|
83
|
+
each reply in the conversation the person saw, with the criteria in `agent/review/<role>.md` or
|
|
84
|
+
`agent/review/default.md`, and the agent sends the replies it gives at least `minConfidence`. A
|
|
85
|
+
model failure holds the reply. A reviewed conversation gets no interim messages.
|
|
86
|
+
|
|
87
|
+
A held reply becomes a record of the new built-in ontology entity `agent_review`, created through
|
|
88
|
+
the runtime route `POST /api/ontology/agent/reviews`. `agent_review.approve({ review, text? })`
|
|
89
|
+
sends the draft or the member's edit to the person's conversation as the agent, without sender
|
|
90
|
+
attribution and at most once, through the ontology's `chat.<provider>.connection`;
|
|
91
|
+
`agent_review.reject({ review })` discards it. Reading, approving and rejecting need
|
|
92
|
+
`agent_review:read`, `agent_review:approve` and `agent_review:reject`: no wildcard covers them,
|
|
93
|
+
including a pipeline's `*:*`, and agent tasks cannot approve. Every ontology gets the entity and
|
|
94
|
+
its table on its next deploy; a workspace entity named `agent_review`, or `user` inverses named
|
|
95
|
+
`agentReviews` or `decidedAgentReviews`, must be renamed. Chat providers render a post with an
|
|
96
|
+
empty attribution without a footer, and Telegram posts can name a forum topic.
|
|
97
|
+
|
|
98
|
+
The app SDK's permission matcher now treats `agent_review`, `app_feedback`, `app_feedback_file`
|
|
99
|
+
and `user_identity` as the ontology service does: an entity wildcard covers none of them.
|
|
100
|
+
|
|
101
|
+
Pins @segmentstream/ontology 0.98.0.
|
|
102
|
+
|
|
103
|
+
## 0.40.1
|
|
104
|
+
|
|
105
|
+
Pins @segmentstream/ontology 0.97.0.
|
|
106
|
+
|
|
107
|
+
## 0.40.0
|
|
108
|
+
|
|
109
|
+
SegmentStream texts live in files beside `agent/segmentstream.json`, at fixed paths, so the JSON
|
|
110
|
+
holds only choices and numbers. Each persona's text is `agent/personas/<persona>.md`: the SDK
|
|
111
|
+
reads it when the agent is built, and the platform puts it inline when it deploys, so the mount
|
|
112
|
+
stays `segmentstream(config)`. The `files` option, its `?raw` imports and the
|
|
113
|
+
`@segmentstream/agent/raw` types are removed; delete them from `agent/agent.ts`. Guidance for the
|
|
114
|
+
group decision model goes in `agent/groups/instructions.md`, which the platform adds after its
|
|
115
|
+
own rules; a workspace-level `groups.smart.instructions` in the JSON still works but warns, and the
|
|
116
|
+
file wins over it.
|
|
117
|
+
|
|
118
|
+
## 0.39.0
|
|
119
|
+
|
|
120
|
+
Personas and skills by role. `agent/segmentstream.json` may declare `personas` (`byRole` and
|
|
121
|
+
`default`), which choose one persona text, `agent/personas/<name>.md`, for each session from the
|
|
122
|
+
roles of the person who started it. The mount passes the texts as `files`, each imported with
|
|
123
|
+
`?raw`; `/// <reference types="@segmentstream/agent/raw" />` types those imports, and the build
|
|
124
|
+
fails when a named text is missing. The persona follows the workspace's instructions as a system
|
|
125
|
+
instruction. `forRoles(roles, skill)`, exported from `@segmentstream/agent`, makes a module in
|
|
126
|
+
`agent/agent/skills/` an eve dynamic skill that only sessions started by a person holding one of
|
|
127
|
+
the roles list and load. Agents that declare neither are unchanged. The platform instructions now
|
|
128
|
+
name the person talking to the agent whether they were invited or signed up, and say how a
|
|
129
|
+
persona relates to the workspace's instructions.
|
|
130
|
+
|
|
131
|
+
## 0.38.3
|
|
132
|
+
|
|
133
|
+
A Telegram group message from someone who signed up is counted against the turn limits before the
|
|
134
|
+
agent answers it, whatever roles they hold: their unaddressed messages no longer pass on the first
|
|
135
|
+
lookup because they hold a role other than `member`.
|
|
136
|
+
|
|
137
|
+
A WhatsApp message without text or attachments from a stranger gets no pairing link or refusal, as
|
|
138
|
+
in Telegram. A stranger on a WhatsApp number open to sign-up becomes a user with their first
|
|
139
|
+
message and is answered as that user.
|
|
140
|
+
|
|
141
|
+
Pins @segmentstream/ontology 0.96.0.
|
|
142
|
+
|
|
143
|
+
## 0.38.2
|
|
144
|
+
|
|
145
|
+
Pins @segmentstream/ontology 0.95.0.
|
|
146
|
+
|
|
147
|
+
## 0.38.1
|
|
148
|
+
|
|
149
|
+
Pins @segmentstream/ontology 0.94.1.
|
|
150
|
+
|
|
151
|
+
## 0.38.0
|
|
152
|
+
|
|
153
|
+
Files in Slack work as they do in Telegram.
|
|
154
|
+
|
|
155
|
+
- A file a member sends in Slack is stored before the turn as the member's temporary attachment in
|
|
156
|
+
`slack:<channel id>` and named to the model in the `<attachments>` block, so
|
|
157
|
+
`attachments_read`, `attachments_table`, `attachments_promote` and `attachments_discard` work on
|
|
158
|
+
it. A file that cannot be stored is named with the reason and a reference.
|
|
159
|
+
- The attachment tools take the chat from the turn's conversation on any channel. Before, they took
|
|
160
|
+
it from Telegram's attributes only and refused every call in Slack.
|
|
161
|
+
- `attachments_send` in a Slack turn uploads the stored files with `files.getUploadURLExternal`
|
|
162
|
+
and shares them together in the turn's thread with `files.completeUploadExternal`, the caption as
|
|
163
|
+
the comment. The Slack connection needs `files:write`, among its default scopes. Each upload
|
|
164
|
+
carries at most the connection proxy's 2 MiB, as in Telegram.
|
|
165
|
+
|
|
166
|
+
Upgrade the ontology SDK with it: an older ontology refuses `slack` as an attachment source, and the
|
|
167
|
+
file then reaches the model only as eve's file part.
|
|
168
|
+
|
|
169
|
+
Pins @segmentstream/ontology 0.94.0.
|
|
170
|
+
|
|
171
|
+
## 0.37.1
|
|
172
|
+
|
|
173
|
+
Files members send in Slack reach the agent again. Slack answers a file's `url_private` with a
|
|
174
|
+
redirect, which the connection proxy returns as it is, so every Slack attachment failed with HTTP
|
|
175
|
+
302 and the model saw only its name. The Slack channel now follows redirects as `fetch` does: a
|
|
176
|
+
location under Slack's API or files is requested through the connection proxy again, which adds
|
|
177
|
+
the bot token; any other HTTPS location is fetched directly with no credential. Every hop is
|
|
178
|
+
checked the same way, wherever it answered from, and at most five redirects are followed.
|
|
179
|
+
|
|
180
|
+
`questions_ask` outside Telegram now tells the model to ask in its reply, which the conversation
|
|
181
|
+
already continues, instead of failing with "A member in a chat is required."; the instructions say
|
|
182
|
+
the same.
|
|
183
|
+
|
|
184
|
+
## 0.37.0
|
|
185
|
+
|
|
186
|
+
Members can ask the agent to post into a Telegram chat from a Slack or WhatsApp conversation, not only from Telegram.
|
|
187
|
+
|
|
188
|
+
**Agent**
|
|
189
|
+
- Every channel now stamps its principal with the conversation a message came from: provider, chat, thread, whether it is the member's own direct conversation, and there the member's id on the provider.
|
|
190
|
+
- The posting card checks, pins and executes from that conversation.
|
|
191
|
+
- In Slack and WhatsApp, eve's approval card shows the exact message, destination and attribution, as the Telegram card does. A card the channel cannot show whole is refused.
|
|
192
|
+
- Edit stays Telegram-only.
|
|
193
|
+
|
|
194
|
+
**Ontology**
|
|
195
|
+
- `RuntimeSource` is now a union: the Telegram source, unchanged, or `{ provider: "slack" | "whatsapp", chat_id, thread_id, kind, peer?, message_id?, sender? }`. Action code that reads Telegram-only fields such as `attachments` or `callback_query_id` must narrow on `provider === "telegram"` first.
|
|
196
|
+
- Delivery refuses a source on a channel other than the member's verified pairing.
|
|
197
|
+
- Delivery also refuses a post into the conversation it came from, including a private destination naming the same person.
|
|
198
|
+
- Which chats can receive a post is set separately per provider (`chat.telegram`, `chat.slack`, `chat.whatsapp`).
|
|
199
|
+
|
|
200
|
+
Upgrade both SDKs together. An older ontology refuses a Slack or WhatsApp source before sending anything. Posting from Telegram is unchanged with any combination of versions.
|
|
201
|
+
|
|
202
|
+
Members can ask the agent to post into a Slack channel or into a member's Slack direct message, from Telegram, Slack or WhatsApp. The post keeps the same exact preview, requester-only approval, ten-minute expiry, attribution and idempotency as a Telegram post.
|
|
203
|
+
|
|
204
|
+
**Ontology**
|
|
205
|
+
|
|
206
|
+
- Declare `chat.slack: { connection }` beside `chat.telegram` to make Slack chats destinations. The connection must be listed in `connections` and must not be Telegram's. Without it nothing changes: Slack chats are neither listed nor posted to.
|
|
207
|
+
- Slack destinations are:
|
|
208
|
+
- the channels in the `agent_chat` registry with provider `slack`;
|
|
209
|
+
- `slack:private:<member id>` for each member paired on Slack.
|
|
210
|
+
- `chat_list` lists Slack destinations only when Slack is declared. Telegram's chats are listed as before.
|
|
211
|
+
- `chat_history` still reads Telegram chats only. A Slack conversation is archived under its session rather than under the channel a destination names, so its history is not offered.
|
|
212
|
+
- A Slack post is one `chat.postMessage` call through the declared connection:
|
|
213
|
+
- `markdown_text` is the member's exact Markdown, then the separator and the attribution, both escaped, with the attribution in italics.
|
|
214
|
+
- `reply_to` is the `ts` of a thread's message.
|
|
215
|
+
- Slack's own refusal consumes the key. A timeout, a 5xx, or an answer that cannot be parsed or verified is `uncertain` and is never resent.
|
|
216
|
+
- The receipt carries the message's `ts` and no URL.
|
|
217
|
+
- `@segmentstream/ontology/slack` exports `renderSlack`, `escapeSlackMarkdown` and `SLACK_MESSAGE_LIMIT`.
|
|
218
|
+
- Telegram delivery, digests and operation ids are unchanged.
|
|
219
|
+
|
|
220
|
+
**Agent**
|
|
221
|
+
|
|
222
|
+
- The posting card describes Slack destinations with the ontology's own renderer.
|
|
223
|
+
- The Telegram card shows a Slack post's exact Markdown and attribution as literal text.
|
|
224
|
+
- The Slack channel reports these channels to the chat registry, titled by `conversations.info`:
|
|
225
|
+
- a channel where a paired member writes;
|
|
226
|
+
- a channel it joins, leaves or sees renamed.
|
|
227
|
+
- Direct and group direct messages are never reported.
|
|
228
|
+
- Channels are reported only once the Slack connection is authorized for `channels:read` and `groups:read`. These are opt-in: list them in the `SlackConnection`'s `scopes` beside the defaults and authorize it again. A Slack app SegmentStream creates with them also subscribes to `member_joined_channel`, `member_left_channel`, `channel_rename` and `group_rename`. Without them, Slack direct messages to paired members are still destinations, and connections on the default scopes keep working without reauthorization.
|
|
229
|
+
- An agent before this release refuses a Slack destination when it describes the post, so nothing is sent. Upgrade both SDKs together.
|
|
230
|
+
|
|
231
|
+
Members can ask the agent to post into another paired member's WhatsApp chat with the workspace's number, from Telegram, Slack or WhatsApp. The post keeps the same exact preview, requester-only approval, ten-minute expiry, attribution and idempotency as any other post.
|
|
232
|
+
|
|
233
|
+
Meta delivers free-form text only inside the 24-hour customer-service window, which opens when the member last wrote to the number. A post outside it fails with Meta's code, 131047, and is not resent. `sent` means Meta accepted the message: a failure Meta reports only later, in the number's delivery statuses, does not change the receipt.
|
|
234
|
+
|
|
235
|
+
**Ontology**
|
|
236
|
+
|
|
237
|
+
- Declare `chat.whatsapp: { connection }` beside `chat.telegram` and `chat.slack` to make members' WhatsApp chats destinations. The connection must be listed in `connections` and must not be another provider's. Without it nothing changes.
|
|
238
|
+
- A destination is `whatsapp:private:<member id>` for each member with a live WhatsApp pairing; its external id is their WhatsApp id. WhatsApp has no group destinations.
|
|
239
|
+
- A WhatsApp post is one text message from the connected number, `POST /phone/messages` through the declared connection:
|
|
240
|
+
- the body is the member's text as written, then the separator and the attribution in italics; WhatsApp's formatting markers (`*`, `_`, `~`, `` ` ``) in the separator and the attribution are replaced by look-alikes WhatsApp never formats;
|
|
241
|
+
- link previews are off;
|
|
242
|
+
- the body is at most 4096 characters and is refused, never cut, when longer;
|
|
243
|
+
- a post cannot reply to a message: `reply_to` is refused.
|
|
244
|
+
- Meta's refusal with an error code consumes the key, and its code is kept in the operator diagnostic. A timeout, a 5xx, or an answer that cannot be parsed or names no message is `uncertain` and is never resent.
|
|
245
|
+
- The receipt's `message_id` is Meta's `wamid…`; it has no URL.
|
|
246
|
+
- `@segmentstream/ontology/whatsapp` exports `renderWhatsApp`, `literalWhatsAppText` and `WHATSAPP_MESSAGE_LIMIT`.
|
|
247
|
+
- Telegram and Slack delivery are unchanged.
|
|
248
|
+
|
|
249
|
+
**Agent**
|
|
250
|
+
|
|
251
|
+
- The posting card describes WhatsApp destinations with the ontology's own renderer, and shows no card for a reply to one.
|
|
252
|
+
- The Telegram card shows a WhatsApp post's text and attribution as literal text.
|
|
253
|
+
- A post from a member's WhatsApp chat into that same chat is refused.
|
|
254
|
+
- An agent before this release refuses a WhatsApp destination when it describes the post, so nothing is sent. Upgrade both SDKs together.
|
|
255
|
+
|
|
256
|
+
Pins @segmentstream/ontology 0.93.0.
|
|
257
|
+
|
|
258
|
+
## 0.36.3
|
|
259
|
+
|
|
260
|
+
Confirmations now work in Slack and WhatsApp. Before, a click on an approval card's button in either channel was always refused, so no action that needs a confirmation could run there.
|
|
261
|
+
|
|
262
|
+
- A click on a confirmation's own button in Slack or WhatsApp now decides it, as in Telegram. Only the requesting member's click counts, and a typed message still never approves.
|
|
263
|
+
- eve's approval card in these channels shows the same trusted facts as the Telegram card.
|
|
264
|
+
- If the facts are too long for the channel's card (one Slack section, or WhatsApp's 1024-character button message), the call is refused and the agent is asked to narrow it. The card is never cut.
|
|
265
|
+
|
|
266
|
+
No configuration changes.
|
|
267
|
+
|
|
268
|
+
## 0.36.2
|
|
269
|
+
|
|
270
|
+
A Telegram message routed to the agent carries its time: the `<speaker>` block gives `sent_at`, the
|
|
271
|
+
message's time in UTC, and the agent's instructions take today's date from it. The chat context
|
|
272
|
+
dates only earlier messages, so a session that started in the morning took the day of yesterday's
|
|
273
|
+
last message for today.
|
|
274
|
+
|
|
275
|
+
## 0.36.1
|
|
276
|
+
|
|
277
|
+
Update the ontology's coordinated Workflow 5 packages to the 5.5 release and require patched Zod validation. Workspace apps must update their `workflow` dependency to match the ontology SDK's peer requirement.
|
|
278
|
+
|
|
279
|
+
Require patched postal-mime and fast-xml-parser releases in the agent SDK to prevent excessive CPU use when parsing crafted email headers or XML.
|
|
280
|
+
|
|
281
|
+
Require patched filelock in the pipeline SDK, and patched oauthlib and pyasn1 in its BigQuery extra. Rebuild installed environments and images to replace older dependencies.
|
|
282
|
+
|
|
283
|
+
Pins @segmentstream/ontology 0.92.1.
|
|
284
|
+
|
|
285
|
+
## 0.36.0
|
|
286
|
+
|
|
287
|
+
The agent answers in Slack. Bind a `SlackConnection` whose Slack app was created from Console as
|
|
288
|
+
`channels.slack.connection` in `agent/segmentstream.json`; `replies.pairingRequired` is required
|
|
289
|
+
with it. The channel is eve's Slack channel at `/eve/v1/slack`: mentions and direct messages start
|
|
290
|
+
a turn in a thread, later replies in that thread reach the agent to answer or stay quiet, and
|
|
291
|
+
approvals and questions are buttons only the member they were put to can answer. SegmentStream
|
|
292
|
+
relays the app's events signed with the project's agent webhook secret, and every Slack call goes
|
|
293
|
+
through the connection. Members pair their Slack account like Telegram and WhatsApp; unpaired
|
|
294
|
+
senders get the pairing link in a message only they see.
|
|
295
|
+
|
|
296
|
+
## 0.35.0
|
|
297
|
+
|
|
298
|
+
`configWarnings(config)` lists the settings an `agent/segmentstream.json` sets that configure
|
|
299
|
+
nothing, each with its path: retired session and group keys, and `groups.*.thresholds.engaged`,
|
|
300
|
+
`neutral` and `humanThread` where the conversation group policy applies (at the top level, in a
|
|
301
|
+
chat, or in the shadow policy), since that policy reads only `thresholds.reply` and
|
|
302
|
+
`thresholds.defer`. The agent logs these thresholds at startup as it already logs retired keys.
|
|
303
|
+
|
|
304
|
+
Cloud records the list with each deployment's agent manifest, `segmentstream deploy` prints it
|
|
305
|
+
after the deployment together with any settings the SDK refuses, and the agent page in Cloud shows
|
|
306
|
+
it. Nothing changes in routing: remove the listed settings from `agent/segmentstream.json`.
|
|
307
|
+
|
|
308
|
+
## 0.34.1
|
|
309
|
+
|
|
310
|
+
The agent SDK depends on the ontology SDK under its new name, `@segmentstream/ontology`. Agent
|
|
311
|
+
projects change nothing; an ontology still on `@segmentstream-cloud/ontology` keeps working with
|
|
312
|
+
it.
|
|
313
|
+
|
|
314
|
+
Pins @segmentstream/ontology 0.92.0.
|
|
315
|
+
|
|
316
|
+
## 0.34.0
|
|
317
|
+
|
|
318
|
+
The conversation group policy reads two workspace thresholds. `groups.smart.thresholds.reply`
|
|
319
|
+
(0.5 to 1, default 0.5) is the probability the agent needs, both that it is the likeliest
|
|
320
|
+
addressee and that the message needs a response, before it answers; the default keeps today's
|
|
321
|
+
majority rule. `groups.smart.thresholds.defer`, below `reply`, opens a band where the agent
|
|
322
|
+
decides itself: a message whose two probabilities both reach `defer`, without answering, starts a
|
|
323
|
+
turn marked `"routing":"uncertain"` in `<message_audience>`, and the platform instructions tell
|
|
324
|
+
the agent to answer only if the message is meant for it and otherwise call
|
|
325
|
+
`segmentstream__no_reply`. With a band, a message the decision model fails or times out on
|
|
326
|
+
reaches the agent the same way instead of being observed. `defer` defaults to `reply`, so nothing
|
|
327
|
+
changes until a workspace sets it. Each message in the band costs a turn of the main model.
|
|
328
|
+
|
|
329
|
+
Both apply only to the conversation policy, at the top level or per chat under `groups.chats`;
|
|
330
|
+
`defer` may not exceed `reply` after inheritance. Route decisions record
|
|
331
|
+
`decision_model_uncertain`, `decision_model_failed_uncertain` or
|
|
332
|
+
`decision_model_timeout_uncertain`, and router payloads record `defer` in `thresholds_applied`.
|
|
333
|
+
The Cloud console shows both thresholds for agents that report them.
|
|
334
|
+
|
|
335
|
+
Workspace agents get eve's `no_reply` tool as `segmentstream__no_reply`. A turn that calls it ends
|
|
336
|
+
without a message, and the call, with the model's reason, stays in the session history and the
|
|
337
|
+
conversation archive like any tool call. Telegram shows no typing indicator for it. The platform
|
|
338
|
+
instructions now tell the agent to call it where they said to answer exactly `[SILENT]`: when a
|
|
339
|
+
group message is not for it, when a member closes the conversation, and when a reply would add
|
|
340
|
+
nothing. With `channels.telegram.interimMessages` on, text written alongside the call is still
|
|
341
|
+
sent, so the instructions tell the agent to write none.
|
|
342
|
+
|
|
343
|
+
Update `agent/agent/instructions.md`: where it tells the agent to answer exactly `[SILENT]`, tell it
|
|
344
|
+
to call `segmentstream__no_reply` instead. The starter's group rule now reads "For human
|
|
345
|
+
conversations or messages not for you, take no action and call `segmentstream__no_reply`." A final
|
|
346
|
+
reply of exactly `[SILENT]` or `NO_REPLY` is still not delivered until 2027-02-09; after that it is
|
|
347
|
+
sent as text.
|
|
348
|
+
|
|
349
|
+
Pins @segmentstream/ontology 0.91.0.
|
|
350
|
+
|
|
351
|
+
## 0.33.0
|
|
352
|
+
|
|
353
|
+
Add the WhatsApp channel: `channels.whatsapp: { connection: "whatsapp" }` in
|
|
354
|
+
`agent/segmentstream.json` binds the workspace's `WhatsAppConnection`, and the agent answers
|
|
355
|
+
members who paired their WhatsApp account at `/eve/v1/whatsapp`. SegmentStream relays the number's
|
|
356
|
+
messages there, signed with the project's agent webhook secret; replies, read receipts, typing and
|
|
357
|
+
media downloads go through the connection. A sender nobody paired gets `replies.pairingRequired`,
|
|
358
|
+
which the channel requires, followed by the pairing link. Media uploads are not admitted.
|
|
359
|
+
|
|
360
|
+
## 0.32.0
|
|
361
|
+
|
|
362
|
+
Actions can describe their own confirmation card with `action({ confirm })`: a read-only function
|
|
363
|
+
of the input, the principal and the chat's `locale` that returns the card's title, icon, facts to
|
|
364
|
+
check, collapsed details and page link in the workspace's words, or refuses the input with
|
|
365
|
+
`ActionRejected` before anyone is asked. Its MCP tool lists `preview: true` in its card facts, and
|
|
366
|
+
the MCP method `segmentstream/confirmation/preview` answers with that card, running and writing
|
|
367
|
+
nothing; a tool without `confirm` is refused there, and a principal whose permission for the action
|
|
368
|
+
is scoped gets no card from it.
|
|
369
|
+
|
|
370
|
+
The agent asks such an action for its card before showing one: the card needs no `_confirmation`
|
|
371
|
+
from the model, a refusal reaches the member as the action's reason instead of a card, and a
|
|
372
|
+
description that fails, cannot be shown or lacks the input's file falls back to the action's fields. Telegram cards are
|
|
373
|
+
formatted (bold title or question, linked facts, collapsed details), with a green confirm button
|
|
374
|
+
and the action's page as a button. Their status line keeps the card and adds a marker unless the
|
|
375
|
+
workspace's word has one, in a group who decided, and the time in each reader's time zone; a failure the
|
|
376
|
+
action refused shows its reason instead of a diagnostic reference. The agent's instructions no
|
|
377
|
+
longer announce an action before its card or repeat its outcome after it.
|
|
378
|
+
|
|
379
|
+
Pins @segmentstream/ontology 0.90.0.
|
|
380
|
+
|
|
381
|
+
## 0.31.14
|
|
382
|
+
|
|
383
|
+
Pins @segmentstream/ontology 0.89.0.
|
|
384
|
+
|
|
385
|
+
## 0.31.13
|
|
386
|
+
|
|
387
|
+
Pins @segmentstream/ontology 0.88.0.
|
|
388
|
+
|
|
389
|
+
## 0.31.12
|
|
390
|
+
|
|
391
|
+
Pins @segmentstream/ontology 0.87.2.
|
|
392
|
+
|
|
393
|
+
## 0.31.11
|
|
394
|
+
|
|
395
|
+
No behavior change: comments now mark the code kept only for compatibility with earlier names and earlier releases. Upgrade notes will name each removal before it ships.
|
|
396
|
+
|
|
397
|
+
Pins @segmentstream/ontology 0.87.1.
|
|
398
|
+
|
|
399
|
+
## 0.31.10
|
|
400
|
+
|
|
401
|
+
Pins @segmentstream/ontology 0.87.0.
|
|
402
|
+
|
|
403
|
+
## 0.31.9
|
|
404
|
+
|
|
405
|
+
Confirmation cards accept email addresses. A recipient's address in the agent's question or in a
|
|
406
|
+
card fact is plain text, not a link, so a card that names where a document or message goes is no
|
|
407
|
+
longer refused; links, web addresses and file names still are. A refused `_confirmation` now names
|
|
408
|
+
what is wrong with it, so the agent can correct the copy instead of guessing.
|
|
409
|
+
|
|
410
|
+
## 0.31.8
|
|
411
|
+
|
|
412
|
+
Pins @segmentstream/ontology 0.86.0.
|
|
413
|
+
|
|
414
|
+
## 0.31.7
|
|
415
|
+
|
|
416
|
+
A paired member who joins or is added to a Telegram group joins the chat's `members` at once,
|
|
417
|
+
so they can read the chat's history before they write there. The join notice starts no turn.
|
|
418
|
+
|
|
419
|
+
Pins @segmentstream/ontology 0.85.0.
|
|
420
|
+
|
|
421
|
+
## 0.31.6
|
|
422
|
+
|
|
423
|
+
Pins @segmentstream/ontology 0.84.2.
|
|
424
|
+
|
|
425
|
+
## 0.31.5
|
|
426
|
+
|
|
427
|
+
Pins @segmentstream/ontology 0.84.1.
|
|
428
|
+
|
|
429
|
+
## 0.31.4
|
|
430
|
+
|
|
431
|
+
Pins @segmentstream/ontology 0.84.0.
|
|
432
|
+
|
|
433
|
+
## 0.31.3
|
|
434
|
+
|
|
435
|
+
Group routing no longer downloads or reads PDFs. The classifier sees a document's kind and
|
|
436
|
+
filename, as a person in the chat does before opening it; images and voice messages are still
|
|
437
|
+
described for routing. PDF text extraction never worked in deployed agents, because the bundle
|
|
438
|
+
did not include its parser; the `unpdf` dependency is removed. The main model still reads PDFs
|
|
439
|
+
in its turn as before.
|
|
440
|
+
|
|
441
|
+
## 0.31.2
|
|
442
|
+
|
|
443
|
+
Pins @segmentstream/ontology 0.83.0.
|
|
444
|
+
|
|
445
|
+
## 0.31.1
|
|
446
|
+
|
|
447
|
+
The approval policy no longer downloads the ontology's whole tool catalog for each call (#822).
|
|
448
|
+
Eve passes each call's tool annotations to the policy, which now approves a routine call from them
|
|
449
|
+
without another request; the ontology still checks the member's permissions when the call runs. A
|
|
450
|
+
confirmable action's annotations also carry its card facts, so its card reads only the records it
|
|
451
|
+
names. A tool that another tool calls, such as an attachment promotion's action, is read alone from
|
|
452
|
+
the ontology's `ontology://tools/{name}` resource, and runtime-source support comes from the
|
|
453
|
+
ontology's `initialize` capabilities. With an ontology that predates these, the policy answers from
|
|
454
|
+
the catalog listing as before. A select value is now labelled when its schema writes the option as
|
|
455
|
+
a single-value `enum`.
|
|
456
|
+
|
|
457
|
+
The platform instructions and the ontology connection's description name the metric tools,
|
|
458
|
+
`list_metrics`, `get_dimensions`, `get_dimension_values` and `query_metrics`: `list_metrics` lists
|
|
459
|
+
every metric the member may compute, entity metrics and model metrics, and `query_metrics` counts,
|
|
460
|
+
sums and compares them.
|
|
461
|
+
|
|
462
|
+
The ontology connection's description and the platform instructions name
|
|
463
|
+
`segmentstream__ontology__discover`, so the agent calls it through `eve__tool` without searching
|
|
464
|
+
for it, with the member's request and its own restatement of what they want. An ontology that
|
|
465
|
+
ranks entities by meaning answers with the likely entities and the tools the member may call for
|
|
466
|
+
each.
|
|
467
|
+
|
|
468
|
+
The platform instructions and the ontology connection's description no longer send the agent to
|
|
469
|
+
`describe`. They point it to `<entity>_find`, which says what fields and values mean, and to the
|
|
470
|
+
metric tools for numbers, and name `segmentstream__ontology__discover` for ontologies that rank
|
|
471
|
+
entities by meaning. An attachment promotion's input contract is read from the action's own tool.
|
|
472
|
+
|
|
473
|
+
Pins @segmentstream/ontology 0.82.0.
|
|
474
|
+
|
|
475
|
+
## 0.31.0
|
|
476
|
+
|
|
477
|
+
`segmentstream.model(choice)` now takes the chat model choice from `agent.ts`. Under eve 1.0 the
|
|
478
|
+
extension's configuration is bound only inside the extension, so with Agent SDK 0.30.0
|
|
479
|
+
`segmentstream.model()` without a choice found no model and every turn failed. In
|
|
480
|
+
`agent/agent/agent.ts`, import `../segmentstream.json` and pass `models.chat`:
|
|
481
|
+
|
|
482
|
+
```ts
|
|
483
|
+
import config from "../segmentstream.json";
|
|
484
|
+
|
|
485
|
+
export default defineAgent({
|
|
486
|
+
model: segmentstream.model(config.models.chat),
|
|
487
|
+
// ...
|
|
488
|
+
});
|
|
489
|
+
```
|
|
490
|
+
|
|
491
|
+
A missing or invalid choice now fails `eve build`, before a deployment, instead of the first
|
|
492
|
+
message.
|
|
493
|
+
|
|
494
|
+
## 0.30.0
|
|
495
|
+
|
|
496
|
+
The Agent SDK now builds on eve 1.0.0-rc.6. Pin `eve` to `1.0.0-rc.6` with this release in the
|
|
497
|
+
workspace's `agent/package.json`, and in `agent/agent.ts` rename `compaction.thresholdPercent` to
|
|
498
|
+
`compaction.threshold` (same 0–1 value): eve 1.0 refuses the old key at build. Workspace code that
|
|
499
|
+
ends a session calls `end()` instead of `reset()`.
|
|
500
|
+
|
|
501
|
+
The SDK keeps the Telegram questions and sign-in prompts it posts in its own channel state instead
|
|
502
|
+
of eve's internal keys, and leaves typed answers to eve, which answers the oldest open request with
|
|
503
|
+
the person's next message. The sandbox's `bash` waits 60 seconds by default (up to 120 with
|
|
504
|
+
`timeout`) and shows the model its output as plain text.
|
|
505
|
+
|
|
506
|
+
## 0.29.3
|
|
507
|
+
|
|
508
|
+
Pins @segmentstream/ontology 0.81.1.
|
|
509
|
+
|
|
510
|
+
## 0.29.2
|
|
511
|
+
|
|
512
|
+
Pins @segmentstream/ontology 0.81.0.
|
|
513
|
+
|
|
514
|
+
## 0.29.1
|
|
515
|
+
|
|
516
|
+
Pins @segmentstream/ontology 0.80.2.
|
|
517
|
+
|
|
518
|
+
## 0.29.0
|
|
519
|
+
|
|
520
|
+
Conversation-policy group messages no longer wait for the rest of a burst or get dropped as part
|
|
521
|
+
of one. The Telegram webhook used to hold every message for six seconds of quiet, but in practice the
|
|
522
|
+
chat's next update arrived only after the previous one was answered, so the wait never saw the
|
|
523
|
+
next message and delayed each by about thirteen seconds; a series of forwarded files then arrived
|
|
524
|
+
one at a time, each interrupting the agent's work. A durable burst fence and a recheck when a
|
|
525
|
+
queued turn started then cancelled later messages of the series as already answered, losing
|
|
526
|
+
their files. Both are removed: every message is routed when it arrives, and a member's messages
|
|
527
|
+
that reach the agent while their turn runs steer it, eve's default, so a series of files and the
|
|
528
|
+
instruction after them reach the same turn. Other members still queue.
|
|
529
|
+
|
|
530
|
+
`groups.smart.engagement.burst.quietSeconds` and `maxSeconds` are accepted and ignored with a
|
|
531
|
+
warning; `gapSeconds` still groups a member's adjacent messages for classification. The
|
|
532
|
+
`debounceBurst` export is removed, and group turns no longer carry a `groupRouting` auth
|
|
533
|
+
attribute.
|
|
534
|
+
|
|
535
|
+
## 0.28.0
|
|
536
|
+
|
|
537
|
+
The conversation group policy reads the chat instead of tracking conversations with timers. Code
|
|
538
|
+
now decides only explicit cases: a bot mention, command, agent vocative or reply to the agent goes
|
|
539
|
+
to the agent; a reply to, tag of, or leading/trailing name of a person goes to that person. Every
|
|
540
|
+
other message goes to the decision model with the chat's last `groups.smart.context.messages`
|
|
541
|
+
messages (60 by default), however old, and the agent answers when the model names it as the
|
|
542
|
+
likeliest addressee with a probability of at least 0.5 and the message needs a response. A
|
|
543
|
+
question about the agent's last answer is now routed to the agent even hours later, where the
|
|
544
|
+
former 10-minute idle timer and 15-minute transcript window hid that answer from the model.
|
|
545
|
+
|
|
546
|
+
The classifier no longer receives a computed conversation state (`route_context`) and no longer
|
|
547
|
+
asks `ends_conversation`; after an explicit `[SILENT]` the runtime makes no extra classifier call.
|
|
548
|
+
The platform prompt is neutral English; add workspace examples and languages with
|
|
549
|
+
`groups.smart.instructions.append`. `engagement.idleMinutes`, `humanExchangeMinutes`,
|
|
550
|
+
`humanQuestionMinutes`, `inferredMaxMinutes` and `thresholds.continuation`,
|
|
551
|
+
`inferredContinuation`, `contested`, `ambient` and `humanExchange` are still accepted, so existing
|
|
552
|
+
configurations deploy, but ignored with a warning; remove them. The `groupConversationState`
|
|
553
|
+
export and the `ConversationAnalysis` and `ConversationPath` types are removed;
|
|
554
|
+
`groupConversationAddressing` remains.
|
|
555
|
+
|
|
556
|
+
## 0.27.0
|
|
557
|
+
|
|
558
|
+
Telegram chat context is incremental. Each archived message of the chat or forum topic that a
|
|
559
|
+
session has not seen joins its history once, ahead of the next turn, as a data-only
|
|
560
|
+
`<chat_messages>` block: chatter the agent only observed, automated posts and other sessions'
|
|
561
|
+
posts, never the messages delivered to the session or the replies it sent. The session keeps a
|
|
562
|
+
bookmark in eve state, so history stays append-only and is not re-sent on every turn, which
|
|
563
|
+
previously appended a new snapshot of up to 30,000 characters per turn and made eve compact busy
|
|
564
|
+
group sessions every few minutes. A new session starts with the chat's newest 50 messages; a
|
|
565
|
+
session from before this release reads only what arrived since its previous turn. A turn
|
|
566
|
+
cancelled before its first model call shows its messages again on the next turn, and an archive
|
|
567
|
+
read failure no longer fails the turn. The registry's `<chat>` guidance is shown once and again
|
|
568
|
+
when it changes. A forum's General topic reads only messages without a topic.
|
|
569
|
+
|
|
570
|
+
Each answered message's own context keeps only its facts (speaker, audience, attachments). The
|
|
571
|
+
reply-language and after-action rules, the conversation policy's `[SILENT]` rule (now keyed on
|
|
572
|
+
`engagement_policy` in `<message_audience>`) and the description of chat context moved into the
|
|
573
|
+
SDK's system instructions. The message no longer carries the routing evidence or the observed
|
|
574
|
+
backlog.
|
|
575
|
+
|
|
576
|
+
The SDK no longer runs its own session policy. `sessions.compactAt`, `sessions.timezone` and
|
|
577
|
+
`sessions.idleResetHours` are still accepted, so existing configurations deploy, but ignored with
|
|
578
|
+
a warning at configuration load: eve compacts sessions automatically near the context window
|
|
579
|
+
(`compaction` in `agent.ts`) and ends idle sessions after `limits.sessionTimeoutMs`. The resolved
|
|
580
|
+
`sessions` settings, and the deployment manifest, keep only `scope`. The webhook no longer reads a
|
|
581
|
+
session's stream tail on every message for this policy.
|
|
582
|
+
|
|
583
|
+
The in-process observed-message ring is removed, together with the `groupObservedMessages`
|
|
584
|
+
export. Group routing for every engagement policy, the conversation language of short messages,
|
|
585
|
+
and the native images of observed messages that the next answered turn carries all come from the
|
|
586
|
+
conversation archive, which now also records each message's stored attachments by reference.
|
|
587
|
+
Every process therefore routes with the same context. Deploy Cloud's agent console update with or
|
|
588
|
+
before this release: it reads a manifest whose `sessions` holds only `scope`.
|
|
589
|
+
|
|
590
|
+
## 0.26.1
|
|
591
|
+
|
|
592
|
+
Pins @segmentstream/ontology 0.80.1.
|
|
593
|
+
|
|
594
|
+
## 0.26.0
|
|
595
|
+
|
|
596
|
+
The Telegram channel returns to Eve's native typing indicator: one `typing` chat action in the
|
|
597
|
+
message's chat and topic when a message is admitted, when its turn starts and when each tool call
|
|
598
|
+
is requested. Nothing refreshes it on a timer, and a refused action never affects the turn.
|
|
599
|
+
|
|
600
|
+
The webhook no longer keeps its request open to follow the turn's session stream and refresh typing
|
|
601
|
+
every four seconds, so it no longer logs the turn's model and tool phases; those events remain in
|
|
602
|
+
the session's durable stream. Admission, storage and queue-acceptance phase logs are unchanged.
|
|
603
|
+
|
|
604
|
+
Breaking: `telegramTypingBlock`, `recordTelegramTypingStart` and the `TelegramTypingSource`,
|
|
605
|
+
`TypingCursor` and `TypingBlockResult` types are removed from `@segmentstream/agent/extension`.
|
|
606
|
+
Delete any application workflow, step or `turn.started` hook built on them before upgrading; the
|
|
607
|
+
channel's own indicator replaces them, and no `typing_monitor_started` decisions are recorded.
|
|
608
|
+
|
|
609
|
+
## 0.25.7
|
|
610
|
+
|
|
611
|
+
A confirmation card is shown only with the agent's own question: when a tool offers
|
|
612
|
+
`_confirmation`, a call that needs a card but carries no copy, or invalid copy, is refused
|
|
613
|
+
before any card and the agent is asked to write the question and labels in the chat's
|
|
614
|
+
language. The workspace's confirmation copy remains the presentation for older tools that
|
|
615
|
+
offer no `_confirmation`.
|
|
616
|
+
|
|
617
|
+
## 0.25.6
|
|
618
|
+
|
|
619
|
+
A Telegram address whose session owner sits on a deleted deployment now continues at one
|
|
620
|
+
successor that every deployment shares, so the conversation, its confirmation cards and its
|
|
621
|
+
questions survive later deploys instead of starting fresh on each one. The successor is named
|
|
622
|
+
by the unreachable run; if its own deployment is deleted later, the next successor follows the
|
|
623
|
+
same rule. A typing monitor stops after 30 minutes, so a turn that never records its end no
|
|
624
|
+
longer keeps a worker running.
|
|
625
|
+
|
|
626
|
+
## 0.25.5
|
|
627
|
+
|
|
628
|
+
Pins @segmentstream/ontology 0.80.0.
|
|
629
|
+
|
|
630
|
+
## 0.25.4
|
|
631
|
+
|
|
632
|
+
Pins @segmentstream/ontology 0.79.4.
|
|
633
|
+
|
|
634
|
+
## 0.25.3
|
|
635
|
+
|
|
636
|
+
Pins @segmentstream/ontology 0.79.3.
|
|
637
|
+
|
|
638
|
+
## 0.25.2
|
|
639
|
+
|
|
640
|
+
Pins @segmentstream/ontology 0.79.2.
|
|
641
|
+
|
|
642
|
+
## 0.25.1
|
|
643
|
+
|
|
644
|
+
Pins @segmentstream/ontology 0.79.1.
|
|
645
|
+
|
|
646
|
+
## 0.25.0
|
|
647
|
+
|
|
648
|
+
The agent no longer publishes the per-minute confirmation-expiry cron. Since the native Eve MCP migration no call creates a deferred Telegram card, so the schedule only opened every Telegram workspace's ontology database once a minute, which kept its Neon compute awake around the clock. Native approval expiry is checked at button press. The retired ledger is no longer read on inbound messages, and pressing an old deferred card runs nothing.
|
|
649
|
+
|
|
650
|
+
## 0.24.2
|
|
651
|
+
|
|
652
|
+
Pins @segmentstream/ontology 0.79.0.
|
|
653
|
+
|
|
654
|
+
## 0.24.1
|
|
655
|
+
|
|
656
|
+
Confirmation cards now name records whose titles carry legal-form initials, such as
|
|
657
|
+
"Example Groep N.V" or "Example B.V."; file names, domains and links are still refused. When a
|
|
658
|
+
target's title cannot be shown, the denial tells the model which field it was, that another call
|
|
659
|
+
will be refused the same way, and that the member can rename the record or make the change in the
|
|
660
|
+
app. `segmentstream__attachments_stage` still checks the member's access to a stored file on every
|
|
661
|
+
call, but no longer transfers its bytes when the sandbox already holds the same SHA-256 at its
|
|
662
|
+
staged path. The conversation log records each retried model attempt (`model.retried`) with its
|
|
663
|
+
attempt number and redacted error.
|
|
664
|
+
|
|
665
|
+
## 0.24.0
|
|
666
|
+
|
|
667
|
+
A confirmation card no longer holds a shared chat. Eve keeps every other member's message waiting
|
|
668
|
+
while a turn waits on a person, so before the agent answers a message it now cancels the receiving
|
|
669
|
+
session's parked approval turn, including for the requester's own message. The cancelled action
|
|
670
|
+
does not run, its card shows the cancellation, and the new turn carries an `<approval_recovery>`
|
|
671
|
+
note naming it. Messages the router only observes leave the card waiting. The ten-minute expiry is
|
|
672
|
+
unchanged and is still checked when a button is pressed.
|
|
673
|
+
|
|
674
|
+
The agent retires the PostgreSQL confirmation ledger used before the native MCP migration. It no
|
|
675
|
+
longer registers the minute schedule that expired those cards, which called the workspace's
|
|
676
|
+
ontology service every minute in every Telegram workspace and kept its database from suspending,
|
|
677
|
+
and no longer reads that ledger on each inbound message. Those cards expired ten minutes after
|
|
678
|
+
they were posted; a press on one of their buttons now gets the workspace's expired callback text
|
|
679
|
+
and runs nothing. The ledger table remains for audit history.
|
|
680
|
+
|
|
681
|
+
A continuing group session now receives only the conversation evidence that arrived since its last
|
|
682
|
+
member message, with a one-minute overlap and a `recent_messages_since` marker, instead of the
|
|
683
|
+
whole 30- or 60-message window on every turn. Eve keeps earlier evidence in the session history.
|
|
684
|
+
New, compacted and cleared sessions still receive the whole window, and routing decisions are
|
|
685
|
+
unchanged.
|
|
686
|
+
|
|
687
|
+
## 0.23.16
|
|
688
|
+
|
|
689
|
+
Pins @segmentstream/ontology 0.78.0.
|
|
690
|
+
|
|
691
|
+
## 0.23.15
|
|
692
|
+
|
|
693
|
+
Pins @segmentstream/ontology 0.77.3.
|
|
694
|
+
|
|
695
|
+
## 0.23.14
|
|
696
|
+
|
|
697
|
+
Pins @segmentstream/ontology 0.77.2.
|
|
698
|
+
|
|
699
|
+
## 0.23.13
|
|
700
|
+
|
|
701
|
+
Pins @segmentstream/ontology 0.77.1.
|
|
702
|
+
|
|
703
|
+
## 0.23.12
|
|
704
|
+
|
|
705
|
+
Pins @segmentstream/ontology 0.77.0.
|
|
706
|
+
|
|
707
|
+
## 0.23.11
|
|
708
|
+
|
|
709
|
+
Pins @segmentstream/ontology 0.76.1.
|
|
710
|
+
|
|
711
|
+
## 0.23.10
|
|
712
|
+
|
|
713
|
+
Pins @segmentstream/ontology 0.76.0.
|
|
714
|
+
|
|
715
|
+
## 0.23.9
|
|
716
|
+
|
|
717
|
+
Pins @segmentstream/ontology 0.75.0.
|
|
718
|
+
|
|
719
|
+
## 0.23.8
|
|
720
|
+
|
|
721
|
+
Pins @segmentstream/ontology 0.74.3.
|
|
722
|
+
|
|
723
|
+
## 0.23.7
|
|
724
|
+
|
|
725
|
+
Pins @segmentstream/ontology 0.74.2.
|
|
726
|
+
|
|
727
|
+
## 0.23.6
|
|
728
|
+
|
|
729
|
+
Pins @segmentstream/ontology 0.74.1.
|
|
730
|
+
|
|
731
|
+
## 0.23.5
|
|
732
|
+
|
|
733
|
+
Pins @segmentstream/ontology 0.74.0.
|
|
734
|
+
|
|
735
|
+
## 0.23.4
|
|
736
|
+
|
|
737
|
+
Pins @segmentstream/ontology 0.73.0.
|
|
738
|
+
|
|
739
|
+
## 0.23.3
|
|
740
|
+
|
|
741
|
+
Pins @segmentstream/ontology 0.72.0.
|
|
742
|
+
|
|
743
|
+
## 0.23.2
|
|
744
|
+
|
|
745
|
+
Pins @segmentstream/ontology 0.71.0.
|
|
746
|
+
|
|
747
|
+
## 0.23.1
|
|
748
|
+
|
|
749
|
+
Telegram sessions in the default `chat` scope no longer alias the chat's topic or a member's
|
|
750
|
+
question address while they wait for a confirmation or an answer; only `thread` scope needs those
|
|
751
|
+
aliases. In a group, Eve aliases every agent post, so a recovered session's continuation stopped
|
|
752
|
+
naming its recovery address and the session claimed the inbox its unreadable predecessor still
|
|
753
|
+
held. Eve then ended the session as soon as it asked a question or requested approval. Thread scope
|
|
754
|
+
keeps its aliases.
|
|
755
|
+
|
|
756
|
+
## 0.23.0
|
|
757
|
+
|
|
758
|
+
Let a workspace agent work on files already stored in the app, and on office documents.
|
|
759
|
+
|
|
760
|
+
- New `segmentstream__attachments_stage` tool (with `"sandbox": true`, never in task sessions):
|
|
761
|
+
copies a chat attachment, or a record's stored file by `entity`, `id` and optional `property`,
|
|
762
|
+
into `/workspace/.segmentstream/files/`, read as the member through the same grants as
|
|
763
|
+
`attachments_read` and checked against its SHA-256. No URL or credential enters the sandbox;
|
|
764
|
+
`attachments_promote` with `path` remains the way out.
|
|
765
|
+
- `segmentstream__read_file` now keeps eve's model output, so images and PDFs reach the model as
|
|
766
|
+
files and the agent can look at pages it rendered. Before, it saw only their size and type.
|
|
767
|
+
- New opt-in `@segmentstream/agent/sandbox/documents`: the base toolset plus LibreOffice Writer
|
|
768
|
+
without its GUI, python-docx, reportlab, WeasyPrint and metric-compatible fonts. Re-export it
|
|
769
|
+
from `agent/agent/sandbox.ts` instead of `@segmentstream/agent/sandbox`; the first build
|
|
770
|
+
prepares a new snapshot (about 200 MB more). The base sandbox's toolset is unchanged, so
|
|
771
|
+
existing agents keep their snapshot.
|
|
772
|
+
|
|
773
|
+
## 0.22.10
|
|
774
|
+
|
|
775
|
+
Pins @segmentstream/ontology 0.70.0.
|
|
776
|
+
|
|
777
|
+
## 0.22.9
|
|
778
|
+
|
|
779
|
+
Pins @segmentstream/ontology 0.69.0.
|
|
780
|
+
|
|
781
|
+
## 0.22.8
|
|
782
|
+
|
|
783
|
+
Allow the documented recipient, signature and provider placeholders when validating private/group chat preview templates. Preserve rejection of unknown placeholders and technical text in ordinary customer-facing configuration.
|
|
784
|
+
|
|
785
|
+
## 0.22.7
|
|
786
|
+
|
|
787
|
+
Expose the existing mounted Telegram channel as a public reference for Eve cross-channel delivery. Authored channels and schedules can use the normal receive/session path without constructing another adapter or reaching through private package paths. The reference grants no authority; callers still authenticate and authorize the delivery.
|
|
788
|
+
|
|
789
|
+
## 0.22.6
|
|
790
|
+
|
|
791
|
+
Keep recovered Telegram confirmations and pending questions on their recorded continuation instead of claiming a predecessor's inbox. Add optional workspace-authored exact-post preview templates for private and group destinations, including recipient and signature placeholders.
|
|
792
|
+
|
|
793
|
+
## 0.22.5
|
|
794
|
+
|
|
795
|
+
Pins @segmentstream/ontology 0.68.3.
|
|
796
|
+
|
|
797
|
+
## 0.22.4
|
|
798
|
+
|
|
799
|
+
Pins @segmentstream/ontology 0.68.2.
|
|
800
|
+
|
|
801
|
+
## 0.22.3
|
|
802
|
+
|
|
803
|
+
Pins @segmentstream/ontology 0.68.1.
|
|
804
|
+
|
|
805
|
+
## 0.22.2
|
|
806
|
+
|
|
807
|
+
Pins @segmentstream/ontology 0.68.0.
|
|
808
|
+
|
|
809
|
+
## 0.22.1
|
|
810
|
+
|
|
811
|
+
Pins @segmentstream/ontology 0.67.0.
|
|
812
|
+
|
|
813
|
+
## 0.22.0
|
|
814
|
+
|
|
815
|
+
Ontology file calls can save permitted read-only results directly into the session's isolated
|
|
816
|
+
sandbox with `save_result: true`. Scripts receive exact JSON, paging metadata and a digest without
|
|
817
|
+
model transcription. The mode refuses write tools, preserves member/task permissions and query
|
|
818
|
+
bounds, and limits each result file to 8 MiB. Existing file calls keep their response behavior.
|
|
819
|
+
|
|
820
|
+
## 0.21.7
|
|
821
|
+
|
|
822
|
+
Pins @segmentstream/ontology 0.66.3.
|
|
823
|
+
|
|
824
|
+
## 0.21.6
|
|
825
|
+
|
|
826
|
+
Document the opt-in hourly production admission window for existing operator
|
|
827
|
+
release processes. Manual source storage and indexing continue; production create
|
|
828
|
+
and retry are refused outside the configured window before an attempt or desired
|
|
829
|
+
commit write, with a typed next-opening response. Preview lifecycle and default
|
|
830
|
+
per-push deployment remain unchanged.
|
|
831
|
+
|
|
832
|
+
Pins @segmentstream/ontology 0.66.2.
|
|
833
|
+
|
|
834
|
+
## 0.21.5
|
|
835
|
+
|
|
836
|
+
Document replication lifecycle availability separately from delivery freshness.
|
|
837
|
+
The Cloud worker keeps published streams active during later delivery lag, so
|
|
838
|
+
ordinary writes do not restart copy workflows or indefinitely hold release gates.
|
|
839
|
+
Initial baselines, replay, generation changes and freshness watermarks retain
|
|
840
|
+
their existing verification requirements.
|
|
841
|
+
|
|
842
|
+
Pins @segmentstream/ontology 0.66.1.
|
|
843
|
+
|
|
844
|
+
## 0.21.4
|
|
845
|
+
|
|
846
|
+
Pins @segmentstream/ontology 0.66.0.
|
|
847
|
+
|
|
848
|
+
## 0.21.3
|
|
849
|
+
|
|
850
|
+
Document the source-controlled manual deployment trigger available in Cloud. Workspaces can
|
|
851
|
+
accumulate main updates for explicit releases while retaining source indexing, deployment
|
|
852
|
+
authorization, canonical idempotency and retries. The default remains per-push deployment;
|
|
853
|
+
the setting introduces no scheduler, SDK API change or ontology migration.
|
|
854
|
+
|
|
855
|
+
Pins @segmentstream/ontology 0.65.2.
|
|
856
|
+
|
|
857
|
+
## 0.21.2
|
|
858
|
+
|
|
859
|
+
A task session ends without a 15-second wait. The session asks its deployment to end it from its own
|
|
860
|
+
event handler, and the reset waited for that handler, so every task logged
|
|
861
|
+
`agent_task_end_failed` after a timeout. The end route now answers at once and ends the session
|
|
862
|
+
after the response.
|
|
863
|
+
|
|
864
|
+
## 0.21.1
|
|
865
|
+
|
|
866
|
+
Pins @segmentstream/ontology 0.65.1.
|
|
867
|
+
|
|
868
|
+
## 0.21.0
|
|
869
|
+
|
|
870
|
+
Add workflow tasks (`docs/agent-tasks-spec.md`). The new `segmentstream__tasks` channel answers
|
|
871
|
+
`POST /eve/segmentstream/v1/tasks` for the deployment's own functions in production: it reads the
|
|
872
|
+
task with its secret from the ontology, starts a session at `task:<task id>` with the workspace's
|
|
873
|
+
prompt as its first message, acting as the workflow's user, and reports `completed`,
|
|
874
|
+
`needs_input` or `failed` when the turn ends, then ends the session. Task sessions call `/mcp` with
|
|
875
|
+
`X-SegmentStream-Agent-Task` instead of `X-SegmentStream-Act-As`, run permitted ontology actions
|
|
876
|
+
without confirmation cards, and are not offered attachments, member files, chat history or chat
|
|
877
|
+
posting. Nothing calls the route until the workspace's ontology is upgraded to the ontology SDK
|
|
878
|
+
release that adds `agentTask`.
|
|
879
|
+
|
|
880
|
+
The attachment tools and `attachments_send` are now dynamic tools that a task session is not
|
|
881
|
+
offered; members get them unchanged. A workspace that redefines one of them from
|
|
882
|
+
`@segmentstream/agent/tools` evaluates the dynamic definition instead of spreading it.
|
|
883
|
+
|
|
884
|
+
## 0.20.4
|
|
885
|
+
|
|
886
|
+
Pins @segmentstream/ontology 0.65.0.
|
|
887
|
+
|
|
888
|
+
## 0.20.3
|
|
889
|
+
|
|
890
|
+
Pins @segmentstream/ontology 0.64.0.
|
|
891
|
+
|
|
892
|
+
## 0.20.2
|
|
893
|
+
|
|
894
|
+
Pins @segmentstream/ontology 0.63.0.
|
|
895
|
+
|
|
896
|
+
## 0.20.1
|
|
897
|
+
|
|
898
|
+
Pins @segmentstream/ontology 0.62.0.
|
|
899
|
+
|
|
900
|
+
## 0.20.0
|
|
901
|
+
|
|
902
|
+
Recognize model budget exhaustion and temporary model service outages in failed turns.
|
|
903
|
+
Telegram can use optional workspace-owned `texts.notice.modelBudgetExceeded` and
|
|
904
|
+
`texts.notice.modelUnavailable` copy, falling back to the existing failure notice.
|
|
905
|
+
The operator archive records a deduplicated model service alert without business content.
|
|
906
|
+
|
|
907
|
+
## 0.19.2
|
|
908
|
+
|
|
909
|
+
Pins @segmentstream/ontology 0.61.1.
|
|
910
|
+
|
|
911
|
+
## 0.19.1
|
|
912
|
+
|
|
913
|
+
Allow workspaces to preauthorize minimal technical failure reports during requested work with feedback.automaticFailureReports. Keep confirmation for other feedback and preserve existing role scopes and defaults.
|
|
914
|
+
|
|
915
|
+
Pins @segmentstream/ontology 0.61.0.
|
|
916
|
+
|
|
917
|
+
## 0.19.0
|
|
918
|
+
|
|
919
|
+
Upgrade to Eve 0.85.0 and its v27 event protocol. Rebuild the workspace agent with this SDK and Eve 0.85.0 together. Dynamic definitions, native MCP authorization, Telegram confirmations, conversation capture, delivery receipts and durable stream cursors now use Eve's current APIs. Preserve exact-post consent, member permissions, session model selection and attachment lifecycle handling through the upgrade. Idle older sessions use Eve's native deployment handoff; keep previous deployments available for in-flight work.
|
|
920
|
+
|
|
921
|
+
## 0.18.3
|
|
922
|
+
|
|
923
|
+
Pins @segmentstream/ontology 0.60.1.
|
|
924
|
+
|
|
925
|
+
## 0.18.2
|
|
926
|
+
|
|
927
|
+
Actions may opt into enforced read-only provider connections while retaining transactional local writes. Their MCP annotations no longer request external-effect confirmation solely for those connections; local destructive and irreversible effects retain confirmation.
|
|
928
|
+
|
|
929
|
+
MCP file-writing actions expose idempotency options when preparation stages a file, including actions with no client upload input.
|
|
930
|
+
|
|
931
|
+
Telegram failure notices use workspace-authored text without appending internal diagnostic identifiers. Full failures and their correlation identifiers remain in operator diagnostics.
|
|
932
|
+
|
|
933
|
+
Pins @segmentstream/ontology 0.60.0.
|
|
934
|
+
|
|
935
|
+
## 0.18.1
|
|
936
|
+
|
|
937
|
+
Read warehouse-backed records through the ordinary find/get tools and HTTP routes,
|
|
938
|
+
with opaque source-key identities, bounded pagination and permission-checked
|
|
939
|
+
value-matched relationship traversal. The typed app client exposes these reads.
|
|
940
|
+
Observations remain in the warehouse; no ontology tables or actions are added.
|
|
941
|
+
|
|
942
|
+
Pins @segmentstream/ontology 0.59.0.
|
|
943
|
+
|
|
944
|
+
## 0.18.0
|
|
945
|
+
|
|
946
|
+
Replace the ontology gateway with Eve's native MCP connection for every paired member, without
|
|
947
|
+
a mode setting. Remove the four ontology gateway tools and their bespoke search and metadata cache.
|
|
948
|
+
Eve owns discovery and direct calls; the existing member-bound
|
|
949
|
+
approval policy preserves permissions and exact chat-post previews. Approvals now pause the turn.
|
|
950
|
+
|
|
951
|
+
Upgrade the workspace ontology and agent together. Remove workspace-authored instructions for
|
|
952
|
+
the retired gateway. Migrate script-generated JSON payloads to the narrow `ontology_call_file`
|
|
953
|
+
tool: it snapshots the file before native approval and dispatches the original contents once.
|
|
954
|
+
Remove `confirmations.mode`; legacy `deferred` configs are accepted and ignored. Existing
|
|
955
|
+
deferred cards retain their callbacks, durable execution fences and expiry sweep, but no new
|
|
956
|
+
ontology call creates a deferred card.
|
|
957
|
+
|
|
958
|
+
Runtime MCP listings omit optional output schemas unless `mcp.toolListing: "full"` is selected.
|
|
959
|
+
Input schemas, annotations, metadata and all permitted operation names remain available.
|
|
960
|
+
|
|
961
|
+
Pins @segmentstream/ontology 0.58.1.
|
|
962
|
+
|
|
963
|
+
## 0.17.21
|
|
964
|
+
|
|
965
|
+
Pins @segmentstream/ontology 0.58.0.
|
|
966
|
+
|
|
967
|
+
## 0.17.20
|
|
968
|
+
|
|
969
|
+
- Enable text feedback by default on upgrade and deploy. Human members receive a reserved,
|
|
970
|
+
unassignable reporter role with own-item scopes; OAuth consent narrowing remains authoritative.
|
|
971
|
+
Files default on only when another entity has a blob; explicit `feedback: true` retains files.
|
|
972
|
+
Configure `feedback: { builders: [...] }`, `files` or `feedback: false` in workspace code.
|
|
973
|
+
Missing responders produce a warning, including in the starter. Manifest 11 records the resolved
|
|
974
|
+
settings. Historical deployments keep their existing grants.
|
|
975
|
+
- Pipeline workload `*:*` no longer grants feedback or widens named feedback scopes. Explicit
|
|
976
|
+
grants retain their meaning; review services that relied on the former wildcard exception.
|
|
977
|
+
- The agent attaches a member's screenshots and files to feedback only when
|
|
978
|
+
`app_feedback_file_attach` is available.
|
|
979
|
+
|
|
980
|
+
Pins @segmentstream/ontology 0.57.0.
|
|
981
|
+
|
|
982
|
+
## 0.17.19
|
|
983
|
+
|
|
984
|
+
Declare sandbox tool callbacks inline with module-level executor references. A
|
|
985
|
+
higher-order wrapper captured a complete ToolDefinition, including functions,
|
|
986
|
+
which Eve correctly rejected when persisting dynamic tools for a durable turn.
|
|
987
|
+
Keep the existing sandbox provenance gate, schemas, labels and explicit-enable
|
|
988
|
+
behavior while making each callback's closure serializable.
|
|
989
|
+
|
|
990
|
+
## 0.17.18
|
|
991
|
+
|
|
992
|
+
Pins @segmentstream/ontology 0.56.3.
|
|
993
|
+
|
|
994
|
+
## 0.17.17
|
|
995
|
+
|
|
996
|
+
Expose a bounded Telegram typing activity and durable monitor diagnostics for an
|
|
997
|
+
authored application workflow. The activity follows only its source turn, stops
|
|
998
|
+
on completion, failure, cancellation or input wait, and calls the declared
|
|
999
|
+
connection without serializing member or provider tokens. Application workflow
|
|
1000
|
+
wrappers keep their lifecycle independent of the webhook host and can continue
|
|
1001
|
+
with a bounded event cursor for long-running turns.
|
|
1002
|
+
|
|
1003
|
+
Keep the explicitly enabled SDK sandbox tools available with defaultTools false.
|
|
1004
|
+
The guarded wrappers retain the provided schemas and labels but no longer inherit
|
|
1005
|
+
Eve's optional-framework-tool marker.
|
|
1006
|
+
|
|
1007
|
+
## 0.17.16
|
|
1008
|
+
|
|
1009
|
+
Pins @segmentstream/ontology 0.56.2.
|
|
1010
|
+
|
|
1011
|
+
## 0.17.15
|
|
1012
|
+
|
|
1013
|
+
Keep group-routing silence at Telegram delivery. Duplicate and observe cancellations, and silent or
|
|
1014
|
+
unadmitted routed group turns, produce no notice, including when a cancellation callback is
|
|
1015
|
+
replayed. Other cancellation and failure notices keep a symbol before their reference when the
|
|
1016
|
+
workspace supplies no copy (such as `texts.notice.cancelled`), so a notice never consists only of
|
|
1017
|
+
the reference, and the send boundary rejects a message that is only an eight-character hex token
|
|
1018
|
+
containing a letter, so ordinary numeric answers still send. Redacted delivery diagnostics, with
|
|
1019
|
+
their operation and correlation reference, are written to the conversation archive before the
|
|
1020
|
+
channel callback returns, so a notice stays diagnosable after runtime logs expire. Primary turn
|
|
1021
|
+
failures are reported before the routing lookup, and archive-write failures keep their redacted
|
|
1022
|
+
cause in operator logs.
|
|
1023
|
+
|
|
1024
|
+
A mid-sentence human mention in a reply to the agent now goes through classification, so a
|
|
1025
|
+
beneficiary can be told apart from an addressee; leading and terminal human addresses and named
|
|
1026
|
+
Telegram text mentions keep their current behavior. Ordinary text turns start the typing monitor,
|
|
1027
|
+
which keeps a four-second cadence and has no fixed ten-minute cutoff; it remains bounded by the
|
|
1028
|
+
webhook host lifetime. Multipart captions are preserved and source-prefixed pending answers are
|
|
1029
|
+
cleared.
|
|
1030
|
+
|
|
1031
|
+
## 0.17.14
|
|
1032
|
+
|
|
1033
|
+
Pins @segmentstream/ontology 0.56.1.
|