@skydiveai/pi-extensions 0.1.0-beta.1081 → 0.1.0-beta.1092
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/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1715,14 +1715,14 @@ const bashDefaultTimeoutExtension = (pi) => {
|
|
|
1715
1715
|
//#endregion
|
|
1716
1716
|
//#region src/channel-context-ref.ts
|
|
1717
1717
|
/**
|
|
1718
|
-
* The worker injects
|
|
1719
|
-
* sandbox env (`SKYDIVE_CHANNEL_CONTEXT`) rather than the full context.
|
|
1718
|
+
* The worker injects a small reference — `{ channel, messageId, runId }` —
|
|
1719
|
+
* into the sandbox env (`SKYDIVE_CHANNEL_CONTEXT`) rather than the full context.
|
|
1720
1720
|
*
|
|
1721
1721
|
* The canonical `ChannelContextRef` type + `parseChannelContextRef` live in
|
|
1722
1722
|
* `@createinc/anyone-channels`, but the harness (`@skydiveai/*`) keeps zero
|
|
1723
1723
|
* `@createinc/*` dependencies — importing that package would pull the whole
|
|
1724
|
-
* platform channel stack (Slack/email/Linq SDKs, messaging)
|
|
1725
|
-
*
|
|
1724
|
+
* platform channel stack (Slack/email/Linq SDKs, messaging) just to read one
|
|
1725
|
+
* field. So we validate the field this consumer needs locally instead.
|
|
1726
1726
|
*/
|
|
1727
1727
|
const channelContextRefSchema = z.object({ messageId: z.string().nullable() });
|
|
1728
1728
|
/**
|