@tangle-network/create-agent-app 0.60.219 → 0.60.221
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/package.json
CHANGED
|
@@ -40,7 +40,6 @@ import {
|
|
|
40
40
|
type ChatStore,
|
|
41
41
|
} from '@tangle-network/agent-app/chat-store'
|
|
42
42
|
import { guardResolution } from '@tangle-network/agent-app/platform'
|
|
43
|
-
import { createIntelligenceTurnTraceSink } from '@tangle-network/agent-app/turn-trace'
|
|
44
43
|
import {
|
|
45
44
|
createD1TurnEventStore,
|
|
46
45
|
type TurnEventStore,
|
|
@@ -163,10 +162,10 @@ export function buildChatApp(env: AppEnv, overrides: ChatAppOverrides = {}): Cha
|
|
|
163
162
|
await durableLock?.release(admission.handle)
|
|
164
163
|
},
|
|
165
164
|
},
|
|
165
|
+
// `projectId` also names the Intelligence project every turn's trace goes to (first_text_ms included). The route
|
|
166
|
+
// reads the Sandbox product key and warns in the Worker log when an export fails; pass `turnTrace: false` only
|
|
167
|
+
// with an exemption in signoff.config.mjs.
|
|
166
168
|
projectId: appSlug,
|
|
167
|
-
// One trace per turn, sent to Tangle Intelligence with first_text_ms. The sink reads the Sandbox product key and
|
|
168
|
-
// warns in the Worker log when an export fails; pass `turnTrace: false` only with an exemption in signoff.config.mjs.
|
|
169
|
-
turnTrace: { sink: createIntelligenceTurnTraceSink({ project: appSlug }) },
|
|
170
169
|
authorize,
|
|
171
170
|
store,
|
|
172
171
|
turnStore,
|