@segmentstream/agent 0.21.4 → 0.21.6

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
@@ -25,6 +25,11 @@ and `segmentstream deploy` explicitly deploys current main with the existing aut
25
25
  and idempotency checks. This changes no agent schedules or tool permissions and adds no
26
26
  scheduler. Removing the file or selecting `"push"` restores automatic deployment.
27
27
 
28
+ For an existing hourly release process, the optional `productionWindow` setting
29
+ in the same file restricts explicit production admission to configured UTC minutes.
30
+ Outside that window, create and retry return `deployment_window_closed` with the
31
+ next opening time; no attempt starts. This adds no scheduler or preview restriction.
32
+
28
33
  ## Set up
29
34
 
30
35
  The workspace's `agent/` directory is an eve app in eve's documented layout, a package of its own
@@ -853,3 +858,11 @@ retire the previous monitor. `recordTelegramTypingStart(source, workflowRunId)`
853
858
  records the monitor reference in the conversation archive. Source arguments
854
859
  contain transport coordinates and a member ID, never credentials or message
855
860
  contents. Repeated typing actions are idempotent; the activity never posts text.
861
+
862
+ ### Replication lifecycle and freshness
863
+
864
+ After verified initial publication, Cloud keeps a replication stream active while
865
+ later changes are delivered. Active means its published generation is usable; it
866
+ does not prove that the warehouse has every recent write. Use the reported source
867
+ freshness watermark when reading aggregates. Initial copies and replay remain
868
+ unavailable until their required verification and publication finish.
@@ -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.21.4";
7
+ var version = "0.21.6";
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-fvSIxesc.mjs";
7
+ import { t as agentBuild } from "../../_chunks/build-metadata-CZ_6B81e.mjs";
8
8
  export { agentBuild };
@@ -24,7 +24,7 @@ import { MAXIMUM_DOWNLOAD_BYTES, connectionProxy } from "../connection-proxy.mjs
24
24
  import { dispatchStructuredMessage, structuredMessage } from "./structured.mjs";
25
25
  import { scopedAddress, sessionPolicy } from "./sessions.mjs";
26
26
  import { handleWorkspaceCallback, isWorkspaceCallback } from "./callbacks.mjs";
27
- import { t as agentBuild } from "../../../_chunks/build-metadata-fvSIxesc.mjs";
27
+ import { t as agentBuild } from "../../../_chunks/build-metadata-CZ_6B81e.mjs";
28
28
  import { attachmentLifecycle } from "./lifecycle.mjs";
29
29
  import { observedMessages } from "./observed.mjs";
30
30
  import { expireDeferredCards, handleDeferredCallback, isDeferredCallback } from "./deferred-confirmations.mjs";
@@ -5,7 +5,7 @@ const __filename = __eveFileURLToPath(import.meta.url);
5
5
  __eveDirname(__filename);
6
6
  __eveCreateRequire(import.meta.url);
7
7
  import { runtimeRequestFailure } from "./runtime-request.mjs";
8
- import { t as agentBuild } from "../../../_chunks/build-metadata-fvSIxesc.mjs";
8
+ import { t as agentBuild } from "../../../_chunks/build-metadata-CZ_6B81e.mjs";
9
9
  import { GET } from "eve/channels";
10
10
  const HEALTH_ROUTE = "/eve/v1/telegram/health";
11
11
  function healthRoute(input) {
@@ -10,7 +10,7 @@ import { n as currentInboundRequest, p as reportTelegramError } from "../../../_
10
10
  import { member } from "../actor.mjs";
11
11
  import { needsConfirmation } from "../confirmations.mjs";
12
12
  import { OntologyActionNotPermitted, actionToolName, ontologyTools } from "../ontology-tools.mjs";
13
- import { t as agentBuild } from "../../../_chunks/build-metadata-fvSIxesc.mjs";
13
+ import { t as agentBuild } from "../../../_chunks/build-metadata-CZ_6B81e.mjs";
14
14
  var AttachmentLifecycleNotPermitted = class extends Error {
15
15
  code = "attachment_lifecycle_not_permitted";
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segmentstream/agent",
3
- "version": "0.21.4",
3
+ "version": "0.21.6",
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.66.0",
69
+ "@segmentstream-cloud/ontology": "0.66.2",
70
70
  "@vercel/oidc": "^3.8.4",
71
71
  "ai": "^7.0.137",
72
72
  "csv-parse": "^7.0.3",