@sema-agent/server 1.279.2 → 1.280.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/dist/main.js CHANGED
@@ -1890,6 +1890,11 @@ async function main() {
1890
1890
  ...(parsedSettings.settings?.shellEnv ? { shellEnv: parsedSettings.settings.shellEnv } : {}),
1891
1891
  hookLlm,
1892
1892
  hookAgent,
1893
+ onHookNotice: (n) => fleetBus.publishHookNotice({
1894
+ ...n,
1895
+ ...(auth?.principal ? { ownerScope: auth.principal } : {}),
1896
+ ...(auth?.sessionId ? { ownerSessionId: auth.sessionId } : {}),
1897
+ }),
1893
1898
  ...(auth?.sessionId
1894
1899
  ? {
1895
1900
  wake: async (text) => hookWakeBus.deliver