@tangle-network/agent-app 0.63.18 → 0.63.19
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/dist/agent-profiles/d1.js +2 -2
- package/dist/agent-profiles/index.js +2 -2
- package/dist/agent-profiles/switch.d.ts +1 -1
- package/dist/agent-profiles/switch.js +1 -1
- package/dist/app-auth/index.js.map +1 -1
- package/dist/chat-routes/hybrid-producer.d.ts +1 -1
- package/dist/chat-routes/index.js +11 -11
- package/dist/chat-routes/model-failover-stream.d.ts +1 -1
- package/dist/chat-routes/turn-prefetch.d.ts +1 -1
- package/dist/{chunk-Z4RD5UF7.js → chunk-2PCNHHN2.js} +2 -2
- package/dist/{chunk-I6BZVIRH.js → chunk-3CI35I4X.js} +1 -1
- package/dist/chunk-3CI35I4X.js.map +1 -0
- package/dist/{chunk-ISP6ZH3G.js → chunk-3Q3UEWKK.js} +1 -1
- package/dist/chunk-3Q3UEWKK.js.map +1 -0
- package/dist/{chunk-VDYEVCQQ.js → chunk-5WSSH3X5.js} +2 -2
- package/dist/chunk-5WSSH3X5.js.map +1 -0
- package/dist/{chunk-NUWSPR5O.js → chunk-G3LZITCA.js} +2 -2
- package/dist/{chunk-IX6UVHXY.js → chunk-JKECSYDB.js} +2 -2
- package/dist/{chunk-6GX3UHQW.js → chunk-K3A2YAIX.js} +6 -6
- package/dist/chunk-K3A2YAIX.js.map +1 -0
- package/dist/{chunk-5GSZGTPJ.js → chunk-KA6LD4OI.js} +3 -3
- package/dist/{chunk-A3BJDXPX.js → chunk-LMIP4OVR.js} +5 -5
- package/dist/chunk-LMIP4OVR.js.map +1 -0
- package/dist/{chunk-MT6ZTQGD.js → chunk-N5RWYR5N.js} +1 -1
- package/dist/chunk-N5RWYR5N.js.map +1 -0
- package/dist/{chunk-7VTGB4DM.js → chunk-OSMMEMDH.js} +1 -1
- package/dist/chunk-OSMMEMDH.js.map +1 -0
- package/dist/{chunk-5FAKBTCK.js → chunk-OYFA7BAK.js} +1 -1
- package/dist/chunk-OYFA7BAK.js.map +1 -0
- package/dist/{chunk-7EDNPQHW.js → chunk-OZDMIYES.js} +1 -1
- package/dist/chunk-OZDMIYES.js.map +1 -0
- package/dist/{chunk-ZLX4BA27.js → chunk-QUT3T2IN.js} +1 -1
- package/dist/chunk-QUT3T2IN.js.map +1 -0
- package/dist/{chunk-PK65B6HP.js → chunk-UJYEBQMS.js} +1 -1
- package/dist/{chunk-PK65B6HP.js.map → chunk-UJYEBQMS.js.map} +1 -1
- package/dist/{chunk-5UQJ7F3P.js → chunk-UULUBF5J.js} +1 -1
- package/dist/chunk-UULUBF5J.js.map +1 -0
- package/dist/{chunk-LRYY3OX7.js → chunk-VEPII3YP.js} +4 -4
- package/dist/chunk-VEPII3YP.js.map +1 -0
- package/dist/{chunk-AVBNS64P.js → chunk-W6G2HF6M.js} +1 -1
- package/dist/chunk-W6G2HF6M.js.map +1 -0
- package/dist/{chunk-4GINUJPF.js → chunk-WRCMVBUJ.js} +1 -1
- package/dist/{chunk-4GINUJPF.js.map → chunk-WRCMVBUJ.js.map} +1 -1
- package/dist/{chunk-E3AOUTIR.js → chunk-XGFGSZS5.js} +2 -2
- package/dist/chunk-XGFGSZS5.js.map +1 -0
- package/dist/{chunk-EKXG4JSN.js → chunk-YRWUJKW5.js} +2 -2
- package/dist/chunk-YRWUJKW5.js.map +1 -0
- package/dist/journeys/cli.js +1 -1
- package/dist/journeys/index.js +1 -1
- package/dist/journeys/index.js.map +1 -1
- package/dist/journeys/score.d.ts +1 -1
- package/dist/journeys/scoreboard.d.ts +1 -2
- package/dist/journeys/send.d.ts +1 -2
- package/dist/launch-invariants/auth-lookup-cache.d.ts +1 -1
- package/dist/launch-invariants/catalog.d.ts +3 -3
- package/dist/launch-invariants/cli.js +3 -3
- package/dist/launch-invariants/index.d.ts +1 -1
- package/dist/launch-invariants/index.js +3 -3
- package/dist/launch-invariants/index.js.map +1 -1
- package/dist/launch-invariants/limit-alarms.d.ts +1 -1
- package/dist/launch-invariants/pasted-code.d.ts +1 -1
- package/dist/launch-invariants/schedule.d.ts +1 -1
- package/dist/launch-invariants/settlement.d.ts +2 -2
- package/dist/launch-invariants/sized-reads.d.ts +1 -1
- package/dist/launch-invariants/testing.js +3 -3
- package/dist/model-resolution/index.js +1 -1
- package/dist/platform/billable-turn-admission.d.ts +1 -1
- package/dist/platform/delegated-keys.d.ts +2 -2
- package/dist/platform/delegated-turn-keys.d.ts +1 -1
- package/dist/platform/index.js.map +1 -1
- package/dist/preflight/cli.js +1 -1
- package/dist/preflight/index.d.ts +1 -1
- package/dist/preflight/index.js +1 -1
- package/dist/preset-cloudflare/index.js +6 -6
- package/dist/public-consultation/index.js +9 -9
- package/dist/rollout/cli.js +1 -1
- package/dist/rollout/d1.js +1 -1
- package/dist/rollout/index.d.ts +1 -1
- package/dist/rollout/index.js +1 -1
- package/dist/runtime/index.js +3 -3
- package/dist/runtime/router-turn.d.ts +3 -3
- package/dist/runtime/router-turn.js +2 -2
- package/dist/runtime/turn-knowledge.d.ts +1 -1
- package/dist/sandbox/index.js +5 -5
- package/dist/sandbox/model.d.ts +1 -1
- package/dist/sandbox/prewarm-claim-d1.d.ts +1 -1
- package/dist/sandbox/prewarm.d.ts +2 -2
- package/dist/sandbox/reuse-state.d.ts +1 -1
- package/dist/sandbox/terminal-connection.d.ts +4 -4
- package/dist/sandbox/warm-lease.d.ts +2 -2
- package/dist/sandbox/warm-receipts.d.ts +1 -1
- package/dist/signoff/app-defaults.d.ts +1 -1
- package/dist/signoff/cli.js +2 -2
- package/dist/signoff/index.js +2 -2
- package/dist/signoff/surface-ladder.d.ts +2 -2
- package/dist/signoff/workspace-surface.d.ts +1 -1
- package/dist/stream/index.js +2 -2
- package/dist/stream/turn-buffer.d.ts +1 -1
- package/dist/turn-health/index.js +1 -1
- package/dist/turn-health/index.js.map +1 -1
- package/dist/turn-stream/adapters.d.ts +1 -1
- package/dist/turn-stream/core.d.ts +1 -1
- package/dist/turn-stream/index.js +2 -2
- package/dist/turn-trace/index.js +1 -1
- package/dist/turn-trace/otel.d.ts +1 -1
- package/dist/workspace-export/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-5FAKBTCK.js.map +0 -1
- package/dist/chunk-5UQJ7F3P.js.map +0 -1
- package/dist/chunk-6GX3UHQW.js.map +0 -1
- package/dist/chunk-7EDNPQHW.js.map +0 -1
- package/dist/chunk-7VTGB4DM.js.map +0 -1
- package/dist/chunk-A3BJDXPX.js.map +0 -1
- package/dist/chunk-AVBNS64P.js.map +0 -1
- package/dist/chunk-E3AOUTIR.js.map +0 -1
- package/dist/chunk-EKXG4JSN.js.map +0 -1
- package/dist/chunk-I6BZVIRH.js.map +0 -1
- package/dist/chunk-ISP6ZH3G.js.map +0 -1
- package/dist/chunk-LRYY3OX7.js.map +0 -1
- package/dist/chunk-MT6ZTQGD.js.map +0 -1
- package/dist/chunk-VDYEVCQQ.js.map +0 -1
- package/dist/chunk-ZLX4BA27.js.map +0 -1
- /package/dist/{chunk-Z4RD5UF7.js.map → chunk-2PCNHHN2.js.map} +0 -0
- /package/dist/{chunk-NUWSPR5O.js.map → chunk-G3LZITCA.js.map} +0 -0
- /package/dist/{chunk-IX6UVHXY.js.map → chunk-JKECSYDB.js.map} +0 -0
- /package/dist/{chunk-5GSZGTPJ.js.map → chunk-KA6LD4OI.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Reads of a large column a bounded batch at a time.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* GTM's scheduled jobs exceeded the Worker's 128 MB by reading a
|
|
5
5
|
* day of stored turns at once: the outcome sweep held about 93 MB of turn
|
|
6
6
|
* events, the reliability report read 1.63 M events, and turn health read
|
|
7
7
|
* 121.8 MB of message parts in one query. D1 refuses the same read on its side
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
recordInvariants,
|
|
19
19
|
recordedLongTurn,
|
|
20
20
|
stallingD1
|
|
21
|
-
} from "../chunk-
|
|
22
|
-
import "../chunk-
|
|
21
|
+
} from "../chunk-KA6LD4OI.js";
|
|
22
|
+
import "../chunk-5WSSH3X5.js";
|
|
23
23
|
import {
|
|
24
24
|
describeVerdict
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-VEPII3YP.js";
|
|
26
26
|
import "../chunk-XOHE6SKU.js";
|
|
27
27
|
import "../chunk-JRCZHDRG.js";
|
|
28
28
|
import "../chunk-MM6RLOXF.js";
|
|
@@ -2,7 +2,7 @@ import { type WarmCacheOptions, type WarmCacheSource } from '../sandbox/warm-cac
|
|
|
2
2
|
/**
|
|
3
3
|
* A billable turn's seat and balance verdict, read from Platform once per user
|
|
4
4
|
* per window instead of on every turn. Lifted from Creative
|
|
5
|
-
* (creative-agent#692): in production
|
|
5
|
+
* (creative-agent#692): in production its seat and balance reads
|
|
6
6
|
* took 723 ms each, most of the 949 ms of its turn gates.
|
|
7
7
|
*
|
|
8
8
|
* Only a passing verdict is kept. A refusal is never cached, so a seatless or
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* never sends the user's own key to Router or Sandbox.
|
|
5
5
|
*
|
|
6
6
|
* WHY ONE. Seven apps minted these by hand (Tax, Legal, GTM, Creative,
|
|
7
|
-
* Builder, Hardware, workcomp; survey
|
|
7
|
+
* Builder, Hardware, workcomp; survey) with different scope,
|
|
8
8
|
* expiry and revocation rules, and four never noticed a key Platform had
|
|
9
9
|
* revoked, superseded or expired.
|
|
10
10
|
*
|
|
@@ -89,7 +89,7 @@ export interface DelegatedKeyRequest {
|
|
|
89
89
|
/**
|
|
90
90
|
* Keep asking while Platform answers `delegated_key.unavailable` (no answer, 5xx, 429, busy), with jittered
|
|
91
91
|
* backoff, for at most `forMs` from the first attempt; then return that refusal. Platform's origin was unreachable
|
|
92
|
-
* for 84.8 s and 54.5 s across restarts
|
|
92
|
+
* for 84.8 s and 54.5 s across restarts, and each such failure ended a member's Router turn, so a
|
|
93
93
|
* turn-scoped mint passes about 90 000 here, inside its turn's budget. `signal` stops the wait early. A retried
|
|
94
94
|
* request may have reached Platform; the next attempt uses the same name, so it replaces that child in its slot
|
|
95
95
|
* rather than leaving a second one.
|
|
@@ -2,7 +2,7 @@ import type { KeyCrypto } from '../billing';
|
|
|
2
2
|
import type { DelegatedKeyOutcome, DelegatedKeyRequest, PlatformDelegatedKeyClient } from './delegated-keys';
|
|
3
3
|
/**
|
|
4
4
|
* Pre-minted turn keys. Creative minted each Router turn's child on the turn's critical path, ~320 ms of a
|
|
5
|
-
* 6,419 ms first-visible p50 (router-spec
|
|
5
|
+
* 6,419 ms first-visible p50 (router-spec). `createDelegatedTurnKeys` keeps one child per turn with
|
|
6
6
|
* the same cap and expiry, and mints the next turn's child in the background (`waitUntil`) into a D1 slot. The
|
|
7
7
|
* next turn takes it with one `DELETE ... RETURNING`, so a parked key serves exactly one turn and a racing second
|
|
8
8
|
* turn mints inline. A parked key is used only when it was minted for the same request (source key, product,
|