botmux 3.4.3 → 3.5.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/README.en.md +10 -7
- package/README.md +11 -6
- package/dist/adapters/backend/herdr-backend.d.ts +43 -6
- package/dist/adapters/backend/herdr-backend.d.ts.map +1 -1
- package/dist/adapters/backend/herdr-backend.js +362 -28
- package/dist/adapters/backend/herdr-backend.js.map +1 -1
- package/dist/adapters/backend/reproduce-command.d.ts +39 -0
- package/dist/adapters/backend/reproduce-command.d.ts.map +1 -0
- package/dist/adapters/backend/reproduce-command.js +63 -0
- package/dist/adapters/backend/reproduce-command.js.map +1 -0
- package/dist/adapters/backend/session-backend-selector.d.ts +10 -1
- package/dist/adapters/backend/session-backend-selector.d.ts.map +1 -1
- package/dist/adapters/backend/session-backend-selector.js +73 -4
- package/dist/adapters/backend/session-backend-selector.js.map +1 -1
- package/dist/adapters/backend/types.d.ts +16 -0
- package/dist/adapters/backend/types.d.ts.map +1 -1
- package/dist/adapters/backend/types.js.map +1 -1
- package/dist/adapters/cli/pi-initial-prompt.d.ts.map +1 -1
- package/dist/adapters/cli/pi-initial-prompt.js +5 -1
- package/dist/adapters/cli/pi-initial-prompt.js.map +1 -1
- package/dist/adapters/cli/traex.d.ts.map +1 -1
- package/dist/adapters/cli/traex.js +5 -0
- package/dist/adapters/cli/traex.js.map +1 -1
- package/dist/adapters/cli/types.d.ts +3 -3
- package/dist/adapters/cli/types.d.ts.map +1 -1
- package/dist/adapters/hook-installer.d.ts +7 -0
- package/dist/adapters/hook-installer.d.ts.map +1 -1
- package/dist/adapters/hook-installer.js +56 -0
- package/dist/adapters/hook-installer.js.map +1 -1
- package/dist/bot-registry.d.ts +13 -0
- package/dist/bot-registry.d.ts.map +1 -1
- package/dist/bot-registry.js +118 -2
- package/dist/bot-registry.js.map +1 -1
- package/dist/cli/capabilities.d.ts +24 -0
- package/dist/cli/capabilities.d.ts.map +1 -0
- package/dist/cli/capabilities.js +25 -0
- package/dist/cli/capabilities.js.map +1 -0
- package/dist/cli/create-group-resolver.d.ts +24 -0
- package/dist/cli/create-group-resolver.d.ts.map +1 -1
- package/dist/cli/create-group-resolver.js +23 -0
- package/dist/cli/create-group-resolver.js.map +1 -1
- package/dist/cli/daemon-lifecycle-env.d.ts +5 -7
- package/dist/cli/daemon-lifecycle-env.d.ts.map +1 -1
- package/dist/cli/daemon-lifecycle-env.js +13 -7
- package/dist/cli/daemon-lifecycle-env.js.map +1 -1
- package/dist/cli/exact-chat-grant-client.d.ts +48 -0
- package/dist/cli/exact-chat-grant-client.d.ts.map +1 -0
- package/dist/cli/exact-chat-grant-client.js +108 -0
- package/dist/cli/exact-chat-grant-client.js.map +1 -0
- package/dist/cli/exact-chat-grant.d.ts +18 -0
- package/dist/cli/exact-chat-grant.d.ts.map +1 -0
- package/dist/cli/exact-chat-grant.js +97 -0
- package/dist/cli/exact-chat-grant.js.map +1 -0
- package/dist/cli.d.ts +10 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +770 -126
- package/dist/cli.js.map +1 -1
- package/dist/codex-rpc-engine.d.ts +26 -0
- package/dist/codex-rpc-engine.d.ts.map +1 -1
- package/dist/codex-rpc-engine.js +113 -2
- package/dist/codex-rpc-engine.js.map +1 -1
- package/dist/config.d.ts +16 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -0
- package/dist/config.js.map +1 -1
- package/dist/core/bot-live-control.d.ts +41 -0
- package/dist/core/bot-live-control.d.ts.map +1 -0
- package/dist/core/bot-live-control.js +135 -0
- package/dist/core/bot-live-control.js.map +1 -0
- package/dist/core/command-handler.d.ts.map +1 -1
- package/dist/core/command-handler.js +28 -8
- package/dist/core/command-handler.js.map +1 -1
- package/dist/core/daemon-config-fence.d.ts +8 -0
- package/dist/core/daemon-config-fence.d.ts.map +1 -0
- package/dist/core/daemon-config-fence.js +13 -0
- package/dist/core/daemon-config-fence.js.map +1 -0
- package/dist/core/dashboard-events.d.ts +5 -0
- package/dist/core/dashboard-events.d.ts.map +1 -1
- package/dist/core/dashboard-events.js.map +1 -1
- package/dist/core/dashboard-ipc-server.d.ts +21 -2
- package/dist/core/dashboard-ipc-server.d.ts.map +1 -1
- package/dist/core/dashboard-ipc-server.js +232 -5
- package/dist/core/dashboard-ipc-server.js.map +1 -1
- package/dist/core/dispatch-registry.d.ts +12 -0
- package/dist/core/dispatch-registry.d.ts.map +1 -0
- package/dist/core/dispatch-registry.js +33 -0
- package/dist/core/dispatch-registry.js.map +1 -0
- package/dist/core/dispatch.d.ts +99 -0
- package/dist/core/dispatch.d.ts.map +1 -1
- package/dist/core/dispatch.js +136 -0
- package/dist/core/dispatch.js.map +1 -1
- package/dist/core/maintenance.d.ts.map +1 -1
- package/dist/core/maintenance.js +10 -3
- package/dist/core/maintenance.js.map +1 -1
- package/dist/core/persistent-backend.d.ts +16 -2
- package/dist/core/persistent-backend.d.ts.map +1 -1
- package/dist/core/persistent-backend.js +40 -0
- package/dist/core/persistent-backend.js.map +1 -1
- package/dist/core/session-discovery.d.ts +8 -1
- package/dist/core/session-discovery.d.ts.map +1 -1
- package/dist/core/session-discovery.js +140 -8
- package/dist/core/session-discovery.js.map +1 -1
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +12 -8
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/session-title.d.ts +8 -0
- package/dist/core/session-title.d.ts.map +1 -1
- package/dist/core/session-title.js +54 -0
- package/dist/core/session-title.js.map +1 -1
- package/dist/core/terminal-write-auth.d.ts +15 -0
- package/dist/core/terminal-write-auth.d.ts.map +1 -1
- package/dist/core/terminal-write-auth.js +20 -0
- package/dist/core/terminal-write-auth.js.map +1 -1
- package/dist/core/trigger-session.d.ts.map +1 -1
- package/dist/core/trigger-session.js +3 -2
- package/dist/core/trigger-session.js.map +1 -1
- package/dist/core/types.d.ts +33 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js.map +1 -1
- package/dist/core/worker-pool.d.ts +27 -8
- package/dist/core/worker-pool.d.ts.map +1 -1
- package/dist/core/worker-pool.js +389 -19
- package/dist/core/worker-pool.js.map +1 -1
- package/dist/daemon.d.ts +4 -2
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +397 -26
- package/dist/daemon.js.map +1 -1
- package/dist/dashboard/bot-onboarding.d.ts +127 -1
- package/dist/dashboard/bot-onboarding.d.ts.map +1 -1
- package/dist/dashboard/bot-onboarding.js +1104 -25
- package/dist/dashboard/bot-onboarding.js.map +1 -1
- package/dist/dashboard/debug-terminal.d.ts +18 -0
- package/dist/dashboard/debug-terminal.d.ts.map +1 -0
- package/dist/dashboard/debug-terminal.js +338 -0
- package/dist/dashboard/debug-terminal.js.map +1 -0
- package/dist/dashboard/public-redact.d.ts +2 -0
- package/dist/dashboard/public-redact.d.ts.map +1 -1
- package/dist/dashboard/public-redact.js +12 -3
- package/dist/dashboard/public-redact.js.map +1 -1
- package/dist/dashboard/registry.d.ts +8 -0
- package/dist/dashboard/registry.d.ts.map +1 -1
- package/dist/dashboard/registry.js +13 -0
- package/dist/dashboard/registry.js.map +1 -1
- package/dist/dashboard/settings-write-applier.d.ts +47 -1
- package/dist/dashboard/settings-write-applier.d.ts.map +1 -1
- package/dist/dashboard/settings-write-applier.js +102 -1
- package/dist/dashboard/settings-write-applier.js.map +1 -1
- package/dist/dashboard/web/app.d.ts.map +1 -1
- package/dist/dashboard/web/app.js +2 -0
- package/dist/dashboard/web/app.js.map +1 -1
- package/dist/dashboard/web/bot-defaults-page.d.ts +1 -0
- package/dist/dashboard/web/bot-defaults-page.d.ts.map +1 -1
- package/dist/dashboard/web/bot-defaults-page.js +24 -5
- package/dist/dashboard/web/bot-defaults-page.js.map +1 -1
- package/dist/dashboard/web/bot-defaults.d.ts +15 -0
- package/dist/dashboard/web/bot-defaults.d.ts.map +1 -1
- package/dist/dashboard/web/bot-defaults.js +19 -0
- package/dist/dashboard/web/bot-defaults.js.map +1 -1
- package/dist/dashboard/web/i18n.d.ts.map +1 -1
- package/dist/dashboard/web/i18n.js +76 -6
- package/dist/dashboard/web/i18n.js.map +1 -1
- package/dist/dashboard/web/icon-tooltip.d.ts +3 -0
- package/dist/dashboard/web/icon-tooltip.d.ts.map +1 -0
- package/dist/dashboard/web/icon-tooltip.js +108 -0
- package/dist/dashboard/web/icon-tooltip.js.map +1 -0
- package/dist/dashboard/web/sessions-kanban.js +2 -2
- package/dist/dashboard/web/sessions-kanban.js.map +1 -1
- package/dist/dashboard/web/sessions-page.d.ts.map +1 -1
- package/dist/dashboard/web/sessions-page.js +48 -9
- package/dist/dashboard/web/sessions-page.js.map +1 -1
- package/dist/dashboard/web/sessions.d.ts +2 -0
- package/dist/dashboard/web/sessions.d.ts.map +1 -1
- package/dist/dashboard/web/sessions.js +46 -2
- package/dist/dashboard/web/sessions.js.map +1 -1
- package/dist/dashboard/web/settings-page.d.ts +78 -0
- package/dist/dashboard/web/settings-page.d.ts.map +1 -1
- package/dist/dashboard/web/settings-page.js +88 -1
- package/dist/dashboard/web/settings-page.js.map +1 -1
- package/dist/dashboard/web/store.d.ts +2 -0
- package/dist/dashboard/web/store.d.ts.map +1 -1
- package/dist/dashboard/web/store.js +13 -1
- package/dist/dashboard/web/store.js.map +1 -1
- package/dist/dashboard-web/app.js +1 -1
- package/dist/dashboard-web/chunks/bot-defaults-page-O376WSER.js +5 -0
- package/dist/dashboard-web/chunks/{chunk-JNRSPKLS.js → chunk-EJDYUINZ.js} +1 -1
- package/dist/dashboard-web/chunks/{chunk-CUV65BIQ.js → chunk-H7P5UV4W.js} +6 -6
- package/dist/dashboard-web/chunks/{chunk-P6GO5KT4.js → chunk-QCPPKCX3.js} +1 -1
- package/dist/dashboard-web/chunks/{chunk-UBOLHQCK.js → chunk-WXPMNEYV.js} +1 -1
- package/dist/dashboard-web/chunks/{connectors-page-KTC2QWNW.js → connectors-page-IR54AOAI.js} +1 -1
- package/dist/dashboard-web/chunks/{groups-page-B3EKGOLY.js → groups-page-3P4TLUMF.js} +1 -1
- package/dist/dashboard-web/chunks/{insights-page-X6RXNCWX.js → insights-page-TDCZV56A.js} +1 -1
- package/dist/dashboard-web/chunks/{monitor-room-LLRA5LQW.js → monitor-room-QWCWL3SX.js} +1 -1
- package/dist/dashboard-web/chunks/{monitoring-page-7MT5FEOS.js → monitoring-page-IOWFSNVC.js} +1 -1
- package/dist/dashboard-web/chunks/{office-page-KD46D5TD.js → office-page-5AUPEHZP.js} +1 -1
- package/dist/dashboard-web/chunks/{overview-page-JUWNH32O.js → overview-page-QJMI6NLW.js} +1 -1
- package/dist/dashboard-web/chunks/{roles-page-P6F7NLOI.js → roles-page-WJVB52ET.js} +1 -1
- package/dist/dashboard-web/chunks/{schedules-page-XIHWZST4.js → schedules-page-RVRWHP4V.js} +1 -1
- package/dist/dashboard-web/chunks/sessions-page-KWLGBX6G.js +3 -0
- package/dist/dashboard-web/chunks/settings-page-TNZEPC7V.js +2 -0
- package/dist/dashboard-web/chunks/{skills-page-A46KVWBL.js → skills-page-7YT5TIX5.js} +1 -1
- package/dist/dashboard-web/chunks/{team-federation-page-SDUC56DF.js → team-federation-page-NJZKTU7A.js} +1 -1
- package/dist/dashboard-web/chunks/{v3-page-J5JOTUSQ.js → v3-page-NQ73UA2Q.js} +1 -1
- package/dist/dashboard-web/chunks/{whiteboards-page-U7LSOAWI.js → whiteboards-page-DSM3MDMN.js} +1 -1
- package/dist/dashboard-web/style.css +198 -7
- package/dist/dashboard.js +294 -7
- package/dist/dashboard.js.map +1 -1
- package/dist/features/codex-notifier/adoption.d.ts +11 -0
- package/dist/features/codex-notifier/adoption.d.ts.map +1 -0
- package/dist/features/codex-notifier/adoption.js +11 -0
- package/dist/features/codex-notifier/adoption.js.map +1 -0
- package/dist/features/codex-notifier/app-opener.d.ts +21 -0
- package/dist/features/codex-notifier/app-opener.d.ts.map +1 -0
- package/dist/features/codex-notifier/app-opener.js +33 -0
- package/dist/features/codex-notifier/app-opener.js.map +1 -0
- package/dist/features/codex-notifier/card-action.d.ts +27 -0
- package/dist/features/codex-notifier/card-action.d.ts.map +1 -0
- package/dist/features/codex-notifier/card-action.js +84 -0
- package/dist/features/codex-notifier/card-action.js.map +1 -0
- package/dist/features/codex-notifier/card.d.ts +12 -0
- package/dist/features/codex-notifier/card.d.ts.map +1 -0
- package/dist/features/codex-notifier/card.js +150 -0
- package/dist/features/codex-notifier/card.js.map +1 -0
- package/dist/features/codex-notifier/codex-context.d.ts +12 -0
- package/dist/features/codex-notifier/codex-context.d.ts.map +1 -0
- package/dist/features/codex-notifier/codex-context.js +161 -0
- package/dist/features/codex-notifier/codex-context.js.map +1 -0
- package/dist/features/codex-notifier/config.d.ts +9 -0
- package/dist/features/codex-notifier/config.d.ts.map +1 -0
- package/dist/features/codex-notifier/config.js +11 -0
- package/dist/features/codex-notifier/config.js.map +1 -0
- package/dist/features/codex-notifier/confirmed-turn.d.ts +20 -0
- package/dist/features/codex-notifier/confirmed-turn.d.ts.map +1 -0
- package/dist/features/codex-notifier/confirmed-turn.js +130 -0
- package/dist/features/codex-notifier/confirmed-turn.js.map +1 -0
- package/dist/features/codex-notifier/emitter.d.ts +13 -0
- package/dist/features/codex-notifier/emitter.d.ts.map +1 -0
- package/dist/features/codex-notifier/emitter.js +33 -0
- package/dist/features/codex-notifier/emitter.js.map +1 -0
- package/dist/features/codex-notifier/event-store.d.ts +29 -0
- package/dist/features/codex-notifier/event-store.d.ts.map +1 -0
- package/dist/features/codex-notifier/event-store.js +217 -0
- package/dist/features/codex-notifier/event-store.js.map +1 -0
- package/dist/features/codex-notifier/event.d.ts +46 -0
- package/dist/features/codex-notifier/event.d.ts.map +1 -0
- package/dist/features/codex-notifier/event.js +188 -0
- package/dist/features/codex-notifier/event.js.map +1 -0
- package/dist/features/codex-notifier/hook-cli.d.ts +23 -0
- package/dist/features/codex-notifier/hook-cli.d.ts.map +1 -0
- package/dist/features/codex-notifier/hook-cli.js +130 -0
- package/dist/features/codex-notifier/hook-cli.js.map +1 -0
- package/dist/features/codex-notifier/hook-installer.d.ts +19 -0
- package/dist/features/codex-notifier/hook-installer.d.ts.map +1 -0
- package/dist/features/codex-notifier/hook-installer.js +158 -0
- package/dist/features/codex-notifier/hook-installer.js.map +1 -0
- package/dist/features/codex-notifier/index.d.ts +21 -0
- package/dist/features/codex-notifier/index.d.ts.map +1 -0
- package/dist/features/codex-notifier/index.js +19 -0
- package/dist/features/codex-notifier/index.js.map +1 -0
- package/dist/features/codex-notifier/internal-turn.d.ts +5 -0
- package/dist/features/codex-notifier/internal-turn.d.ts.map +1 -0
- package/dist/features/codex-notifier/internal-turn.js +43 -0
- package/dist/features/codex-notifier/internal-turn.js.map +1 -0
- package/dist/features/codex-notifier/outbox-worker.d.ts +71 -0
- package/dist/features/codex-notifier/outbox-worker.d.ts.map +1 -0
- package/dist/features/codex-notifier/outbox-worker.js +290 -0
- package/dist/features/codex-notifier/outbox-worker.js.map +1 -0
- package/dist/features/codex-notifier/outbox.d.ts +25 -0
- package/dist/features/codex-notifier/outbox.d.ts.map +1 -0
- package/dist/features/codex-notifier/outbox.js +225 -0
- package/dist/features/codex-notifier/outbox.js.map +1 -0
- package/dist/features/codex-notifier/paths.d.ts +7 -0
- package/dist/features/codex-notifier/paths.d.ts.map +1 -0
- package/dist/features/codex-notifier/paths.js +20 -0
- package/dist/features/codex-notifier/paths.js.map +1 -0
- package/dist/features/codex-notifier/screen-lock.d.ts +12 -0
- package/dist/features/codex-notifier/screen-lock.d.ts.map +1 -0
- package/dist/features/codex-notifier/screen-lock.js +47 -0
- package/dist/features/codex-notifier/screen-lock.js.map +1 -0
- package/dist/features/codex-notifier/side-conversation-monitor.d.ts +102 -0
- package/dist/features/codex-notifier/side-conversation-monitor.d.ts.map +1 -0
- package/dist/features/codex-notifier/side-conversation-monitor.js +774 -0
- package/dist/features/codex-notifier/side-conversation-monitor.js.map +1 -0
- package/dist/features/codex-notifier/types.d.ts +42 -0
- package/dist/features/codex-notifier/types.d.ts.map +1 -0
- package/dist/features/codex-notifier/types.js +2 -0
- package/dist/features/codex-notifier/types.js.map +1 -0
- package/dist/features/codex-notifier/worker-lock.d.ts +8 -0
- package/dist/features/codex-notifier/worker-lock.d.ts.map +1 -0
- package/dist/features/codex-notifier/worker-lock.js +108 -0
- package/dist/features/codex-notifier/worker-lock.js.map +1 -0
- package/dist/global-config.d.ts +13 -0
- package/dist/global-config.d.ts.map +1 -1
- package/dist/global-config.js +30 -0
- package/dist/global-config.js.map +1 -1
- package/dist/im/lark/card-builder.js +2 -2
- package/dist/im/lark/card-builder.js.map +1 -1
- package/dist/im/lark/card-handler.d.ts +2 -0
- package/dist/im/lark/card-handler.d.ts.map +1 -1
- package/dist/im/lark/card-handler.js +165 -34
- package/dist/im/lark/card-handler.js.map +1 -1
- package/dist/im/lark/client.d.ts +62 -4
- package/dist/im/lark/client.d.ts.map +1 -1
- package/dist/im/lark/client.js +237 -29
- package/dist/im/lark/client.js.map +1 -1
- package/dist/im/lark/event-dispatcher.d.ts.map +1 -1
- package/dist/im/lark/event-dispatcher.js +20 -30
- package/dist/im/lark/event-dispatcher.js.map +1 -1
- package/dist/services/codex-app-threads.d.ts +47 -0
- package/dist/services/codex-app-threads.d.ts.map +1 -1
- package/dist/services/codex-app-threads.js +502 -10
- package/dist/services/codex-app-threads.js.map +1 -1
- package/dist/services/exact-chat-grant.d.ts +83 -0
- package/dist/services/exact-chat-grant.d.ts.map +1 -0
- package/dist/services/exact-chat-grant.js +249 -0
- package/dist/services/exact-chat-grant.js.map +1 -0
- package/dist/services/group-creator.d.ts +11 -0
- package/dist/services/group-creator.d.ts.map +1 -1
- package/dist/services/group-creator.js +18 -9
- package/dist/services/group-creator.js.map +1 -1
- package/dist/services/local-cli-opener.d.ts.map +1 -1
- package/dist/services/local-cli-opener.js +10 -5
- package/dist/services/local-cli-opener.js.map +1 -1
- package/dist/services/traex-user-input.d.ts +19 -0
- package/dist/services/traex-user-input.d.ts.map +1 -0
- package/dist/services/traex-user-input.js +57 -0
- package/dist/services/traex-user-input.js.map +1 -0
- package/dist/setup/open-platform-automation.d.ts +24 -3
- package/dist/setup/open-platform-automation.d.ts.map +1 -1
- package/dist/setup/open-platform-automation.js +45 -8
- package/dist/setup/open-platform-automation.js.map +1 -1
- package/dist/setup/verify-permissions.d.ts +18 -0
- package/dist/setup/verify-permissions.d.ts.map +1 -1
- package/dist/setup/verify-permissions.js +60 -0
- package/dist/setup/verify-permissions.js.map +1 -1
- package/dist/types.d.ts +70 -4
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/stuck-detector.d.ts +45 -0
- package/dist/utils/stuck-detector.d.ts.map +1 -0
- package/dist/utils/stuck-detector.js +188 -0
- package/dist/utils/stuck-detector.js.map +1 -0
- package/dist/utils/stuck-key-guard.d.ts +75 -0
- package/dist/utils/stuck-key-guard.d.ts.map +1 -0
- package/dist/utils/stuck-key-guard.js +77 -0
- package/dist/utils/stuck-key-guard.js.map +1 -0
- package/dist/worker.js +705 -93
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
- package/dist/dashboard-web/chunks/bot-defaults-page-B5AY4B2J.js +0 -5
- package/dist/dashboard-web/chunks/sessions-page-2VECQ27T.js +0 -3
- package/dist/dashboard-web/chunks/settings-page-HMIUE2JA.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type RegisterAppOptions, type RegisterAppResult } from '../setup/register-app.js';
|
|
2
|
-
import { type CredentialValidation, type RemainingStep } from '../setup/verify-permissions.js';
|
|
2
|
+
import { type CredentialValidation, type CriticalScopeReadbackResult, type RemainingStep } from '../setup/verify-permissions.js';
|
|
3
3
|
import { type CreateFeishuOpenPlatformAppOptions, type CreateFeishuOpenPlatformAppResult, type FeishuOpenPlatformSessionInspectionResult, type FeishuWebSessionIdentity, type OpenPlatformAutomationOptions, type OpenPlatformAutomationResult } from '../setup/open-platform-automation.js';
|
|
4
4
|
import type { CliId } from '../adapters/cli/types.js';
|
|
5
5
|
export type BotOnboardingStatus = 'starting' | 'waiting_for_scan' | 'verifying' | 'configuring_permissions' | 'waiting_for_platform_scan' | 'needs_owner' | 'completed' | 'failed';
|
|
@@ -14,6 +14,10 @@ export interface BotOnboardingPermission {
|
|
|
14
14
|
versionId?: string;
|
|
15
15
|
/** 部分权限注册失败的告警 */
|
|
16
16
|
scopeWarning?: string;
|
|
17
|
+
/** Exact same-session event mode ACK for MOSA-managed activation. */
|
|
18
|
+
eventMode?: number;
|
|
19
|
+
/** Exact baseline event + callback count ACK for MOSA-managed activation. */
|
|
20
|
+
verifiedEventCount?: number;
|
|
17
21
|
/** 失败原因 / 信息 (失败时给出手动步骤) */
|
|
18
22
|
reason?: string;
|
|
19
23
|
message?: string;
|
|
@@ -27,11 +31,19 @@ export interface BotOnboardingSnapshot {
|
|
|
27
31
|
qrDataUrl?: string;
|
|
28
32
|
expireAt?: number;
|
|
29
33
|
platformQrDataUrl?: string;
|
|
34
|
+
/** Exact second Open Platform QR was observed as scanned by Feishu polling. */
|
|
35
|
+
platformQrScanConfirmedAt?: number;
|
|
30
36
|
/** 自动配置进度文案 (来自 automation onStatus) */
|
|
31
37
|
permissionStatusMsg?: string;
|
|
32
38
|
appId?: string;
|
|
33
39
|
appName?: string;
|
|
34
40
|
registrationMode?: 'web' | 'compat';
|
|
41
|
+
/** Existing onboarding job whose exact App permission setup is being resumed. */
|
|
42
|
+
recoveryOfJobId?: string;
|
|
43
|
+
/** Monotonic permission-recovery attempt within the same immutable target lineage. */
|
|
44
|
+
recoveryAttempt?: number;
|
|
45
|
+
/** Exact terminal/interrupted recovery attempt that authorized this fresh QR. */
|
|
46
|
+
previousRecoveryJobId?: string;
|
|
35
47
|
brand?: 'feishu' | 'lark';
|
|
36
48
|
cliId?: string;
|
|
37
49
|
workingDir?: string;
|
|
@@ -44,6 +56,22 @@ export interface BotOnboardingSnapshot {
|
|
|
44
56
|
liveStarted?: boolean;
|
|
45
57
|
/** 自动上线的诊断信息(成功给进程名,失败给原因),供前端提示。 */
|
|
46
58
|
liveStartMessage?: string;
|
|
59
|
+
/** Managed recovery stopped the exact existing daemon before issuing a fresh owner QR. */
|
|
60
|
+
liveStopped?: boolean;
|
|
61
|
+
/** Exact single-bot stop diagnostic. */
|
|
62
|
+
liveStopMessage?: string;
|
|
63
|
+
/**
|
|
64
|
+
* MOSA-managed onboarding only: the bot remains present in the private
|
|
65
|
+
* configuration for exact permission recovery but is excluded from daemon
|
|
66
|
+
* registration until every critical scope is observable.
|
|
67
|
+
*/
|
|
68
|
+
activationPending?: boolean;
|
|
69
|
+
/** A durable exact-daemon stop is required before recovery can proceed. */
|
|
70
|
+
activationDeactivating?: boolean;
|
|
71
|
+
/** A durable activation ledger exists but the config marker is not yet final. */
|
|
72
|
+
activationCommitting?: boolean;
|
|
73
|
+
/** The caller explicitly requires the critical-scope activation gate. */
|
|
74
|
+
criticalScopeActivationRequired?: boolean;
|
|
47
75
|
permission?: BotOnboardingPermission;
|
|
48
76
|
/** 自动配置失败时的手动权限步骤 (深链) */
|
|
49
77
|
remainingSteps?: RemainingStep[];
|
|
@@ -78,6 +106,13 @@ export interface BotOnboardingInput {
|
|
|
78
106
|
*/
|
|
79
107
|
dirMode?: 'fixed' | 'card';
|
|
80
108
|
model?: string;
|
|
109
|
+
/**
|
|
110
|
+
* MOSA-managed onboarding only. When true, a bot with incomplete critical
|
|
111
|
+
* scope readback is persisted as activation-pending and cannot be loaded by
|
|
112
|
+
* a daemon. The exact permission-recovery job clears the marker and starts
|
|
113
|
+
* the bot only after all critical scopes are readable.
|
|
114
|
+
*/
|
|
115
|
+
requireCriticalScopesBeforeActivation?: boolean;
|
|
81
116
|
}
|
|
82
117
|
type RegisterAppFn = (opts?: RegisterAppOptions) => Promise<RegisterAppResult>;
|
|
83
118
|
type CreateAppFn = (opts: CreateFeishuOpenPlatformAppOptions) => Promise<CreateFeishuOpenPlatformAppResult>;
|
|
@@ -86,6 +121,7 @@ type ValidateCredentialsFn = (appId: string, appSecret: string, brand?: 'feishu'
|
|
|
86
121
|
ok: true;
|
|
87
122
|
}>;
|
|
88
123
|
type AutomateOpenPlatformFn = (opts: OpenPlatformAutomationOptions) => Promise<OpenPlatformAutomationResult>;
|
|
124
|
+
type VerifyCriticalScopesFn = (appId: string, appSecret: string, brand: 'feishu' | 'lark') => Promise<CriticalScopeReadbackResult>;
|
|
89
125
|
export interface BotOnboardingManagerOptions {
|
|
90
126
|
botsJsonPath: string;
|
|
91
127
|
/**
|
|
@@ -93,6 +129,8 @@ export interface BotOnboardingManagerOptions {
|
|
|
93
129
|
* Dashboard 进程重启后继续完成已经创建、但尚未写入 bots.json 的应用。
|
|
94
130
|
*/
|
|
95
131
|
pendingStorePath?: string;
|
|
132
|
+
/** Private, secret-free recovery lineage used to turn restart into a fresh owner QR. */
|
|
133
|
+
permissionRecoveryStorePath?: string;
|
|
96
134
|
/** 单次 Feishu Web 登录建应用主路径;测试可注入。 */
|
|
97
135
|
createApp?: CreateAppFn;
|
|
98
136
|
inspectSession?: InspectSessionFn;
|
|
@@ -100,6 +138,18 @@ export interface BotOnboardingManagerOptions {
|
|
|
100
138
|
registerApp?: RegisterAppFn;
|
|
101
139
|
validateCredentials?: ValidateCredentialsFn;
|
|
102
140
|
automateOpenPlatform?: AutomateOpenPlatformFn;
|
|
141
|
+
verifyCriticalScopes?: VerifyCriticalScopesFn;
|
|
142
|
+
/**
|
|
143
|
+
* A single complete application-info response is not an activation ACK:
|
|
144
|
+
* Feishu permission propagation can briefly expose an incomplete or stale
|
|
145
|
+
* view after the owner scan. Require consecutive complete observations
|
|
146
|
+
* before removing activationPending.
|
|
147
|
+
*/
|
|
148
|
+
criticalScopeStableReads?: number;
|
|
149
|
+
/** Maximum bounded application-info observations for the stable gate. */
|
|
150
|
+
criticalScopeMaxAttempts?: number;
|
|
151
|
+
/** Delay between stable-gate observations. Tests may set this to zero. */
|
|
152
|
+
criticalScopePollIntervalMs?: number;
|
|
103
153
|
renderQrDataUrl?: (url: string) => string;
|
|
104
154
|
now?: () => number;
|
|
105
155
|
/**
|
|
@@ -115,11 +165,29 @@ export interface BotOnboardingManagerOptions {
|
|
|
115
165
|
ok: boolean;
|
|
116
166
|
message?: string;
|
|
117
167
|
}>;
|
|
168
|
+
/** Stop only the exact existing bot before a managed permission recovery QR. */
|
|
169
|
+
stopBotLive?: (appId: string) => Promise<{
|
|
170
|
+
ok: boolean;
|
|
171
|
+
message?: string;
|
|
172
|
+
}>;
|
|
118
173
|
}
|
|
119
174
|
export interface BotOnboardingJob {
|
|
120
175
|
id: string;
|
|
121
176
|
done: Promise<void>;
|
|
122
177
|
}
|
|
178
|
+
export type StartPermissionRecoveryResult = {
|
|
179
|
+
ok: true;
|
|
180
|
+
job: BotOnboardingJob;
|
|
181
|
+
} | {
|
|
182
|
+
ok: false;
|
|
183
|
+
error: 'permission_recovery_target_missing' | 'permission_recovery_target_ambiguous' | 'permission_recovery_target_invalid' | 'permission_recovery_state_unavailable';
|
|
184
|
+
};
|
|
185
|
+
export type CompleteScopePropagationResult = {
|
|
186
|
+
ok: true;
|
|
187
|
+
} | {
|
|
188
|
+
ok: false;
|
|
189
|
+
error: 'permission_recovery_target_missing' | 'permission_recovery_target_ambiguous' | 'permission_recovery_target_invalid' | 'permission_recovery_scopes_pending' | 'permission_recovery_activation_failed' | 'permission_recovery_state_unavailable';
|
|
190
|
+
};
|
|
123
191
|
export type BotOnboardingSessionStatus = {
|
|
124
192
|
status: 'ready';
|
|
125
193
|
source: string;
|
|
@@ -138,10 +206,19 @@ export declare class BotOnboardingManager {
|
|
|
138
206
|
private readonly registerApp;
|
|
139
207
|
private readonly validateCredentials;
|
|
140
208
|
private readonly automateOpenPlatform;
|
|
209
|
+
private readonly verifyCriticalScopes;
|
|
210
|
+
private readonly criticalScopeStableReads;
|
|
211
|
+
private readonly criticalScopeMaxAttempts;
|
|
212
|
+
private readonly criticalScopePollIntervalMs;
|
|
141
213
|
private readonly renderQrDataUrl;
|
|
142
214
|
private readonly now;
|
|
143
215
|
private readonly startBotLive?;
|
|
144
216
|
private readonly pendingStorePath;
|
|
217
|
+
private readonly stopBotLive?;
|
|
218
|
+
private readonly permissionRecoveryStorePath;
|
|
219
|
+
private readonly scopePropagationFlights;
|
|
220
|
+
private activationStartupReconciliation;
|
|
221
|
+
private permissionRecoveryStateError?;
|
|
145
222
|
constructor(opts: BotOnboardingManagerOptions);
|
|
146
223
|
/**
|
|
147
224
|
* 恢复 owner 待确认任务。凭证只存在 0600 私有文件和内存中,公开 job snapshot
|
|
@@ -152,17 +229,64 @@ export declare class BotOnboardingManager {
|
|
|
152
229
|
private restorePendingJobs;
|
|
153
230
|
/** 原子保存所有 needs_owner 任务;文件不为空时始终是 0600。 */
|
|
154
231
|
private savePendingJobs;
|
|
232
|
+
private restorePermissionRecoveryJobs;
|
|
233
|
+
private persistPermissionRecoveryJobs;
|
|
234
|
+
private savePermissionRecoveryJobsBestEffort;
|
|
235
|
+
/**
|
|
236
|
+
* A managed initial ACK is restart authority, not optional UI history.
|
|
237
|
+
* Refuse activation when its first durable write cannot be proven.
|
|
238
|
+
*/
|
|
239
|
+
private requireDurableManagedInitialJobs;
|
|
155
240
|
/**
|
|
156
241
|
* Best-effort auto-start of the just-persisted bot's daemon (no fleet restart).
|
|
157
242
|
* Records the outcome on the job snapshot so the frontend shows "已自动上线"
|
|
158
243
|
* instead of the restart hint. Never throws.
|
|
159
244
|
*/
|
|
160
245
|
private runLiveStart;
|
|
246
|
+
private runLiveStop;
|
|
247
|
+
private stableCriticalScopeReadback;
|
|
248
|
+
private activateRecoveredBot;
|
|
249
|
+
private beginManagedActivation;
|
|
250
|
+
private commitManagedActivation;
|
|
251
|
+
private restoreManagedActivationPending;
|
|
252
|
+
private completeManagedActivation;
|
|
253
|
+
private clearManagedActivationCommitted;
|
|
254
|
+
private reconcileInterruptedManagedActivations;
|
|
255
|
+
private holdRecoveryActivation;
|
|
256
|
+
private markManagedDeactivated;
|
|
161
257
|
start(input?: BotOnboardingInput): BotOnboardingJob;
|
|
258
|
+
/**
|
|
259
|
+
* Resume only Open Platform authorization for one already-persisted Space
|
|
260
|
+
* Agent. The exact neutral working directory is the durable target anchor:
|
|
261
|
+
* zero or multiple matching bots fail closed, and this path never creates an
|
|
262
|
+
* App or registers another Bot. A managed caller may place the exact existing
|
|
263
|
+
* row behind the critical-scope activation marker before the fresh QR.
|
|
264
|
+
*/
|
|
265
|
+
startPermissionRecovery(input: {
|
|
266
|
+
workingDir: string;
|
|
267
|
+
predecessorJobId: string;
|
|
268
|
+
expectedAppId: string;
|
|
269
|
+
priorRecoveryJobId?: string;
|
|
270
|
+
requireCriticalScopesBeforeActivation?: boolean;
|
|
271
|
+
}): StartPermissionRecoveryResult;
|
|
272
|
+
/**
|
|
273
|
+
* Finish only the exact activation-pending tail of an already-scanned
|
|
274
|
+
* managed initial/recovery job. This never opens SSO, creates an App, or
|
|
275
|
+
* issues another owner QR. botmux itself re-reads stable scopes, removes
|
|
276
|
+
* activationPending, and requires an idempotent exact-daemon start ACK
|
|
277
|
+
* before returning success.
|
|
278
|
+
*/
|
|
279
|
+
completeScopePropagation(input: {
|
|
280
|
+
jobId: string;
|
|
281
|
+
workingDir: string;
|
|
282
|
+
expectedAppId: string;
|
|
283
|
+
}): Promise<CompleteScopePropagationResult>;
|
|
284
|
+
private finishScopePropagation;
|
|
162
285
|
get(id: string): BotOnboardingSnapshot | undefined;
|
|
163
286
|
suggestedAppName(): string;
|
|
164
287
|
sessionStatus(): Promise<BotOnboardingSessionStatus>;
|
|
165
288
|
private patch;
|
|
289
|
+
private confirmPlatformQrScan;
|
|
166
290
|
private run;
|
|
167
291
|
private registerWithSdk;
|
|
168
292
|
/** 把 bot append/更新进 bots.json(按 larkAppId upsert, 幂等),返回它的行号。 */
|
|
@@ -184,6 +308,8 @@ export declare class BotOnboardingManager {
|
|
|
184
308
|
* 由调用方在 owner 落盘后统一决定 (见 finalizePermissions)。
|
|
185
309
|
*/
|
|
186
310
|
private runPermissionAutomation;
|
|
311
|
+
private runPermissionRecovery;
|
|
312
|
+
private runOwnerPermissionAutomation;
|
|
187
313
|
/**
|
|
188
314
|
* 统一落终态:completed (已落盘 + 有 owner) 或 needs_owner (尚未落盘、待用户手动填)。
|
|
189
315
|
* needs_owner 时 addedBotIndex 为 undefined——bot 还没进 bots.json, 没有行号。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bot-onboarding.d.ts","sourceRoot":"","sources":["../../src/dashboard/bot-onboarding.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bot-onboarding.d.ts","sourceRoot":"","sources":["../../src/dashboard/bot-onboarding.ts"],"names":[],"mappings":"AAOA,OAAO,EAAkB,KAAK,kBAAkB,EAAE,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC3G,OAAO,EAIL,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,aAAa,EACnB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAML,KAAK,kCAAkC,EACvC,KAAK,iCAAiC,EACtC,KAAK,yCAAyC,EAC9C,KAAK,wBAAwB,EAC7B,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EAClC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAQtD,MAAM,MAAM,mBAAmB,GAC3B,UAAU,GACV,kBAAkB,GAClB,WAAW,GAEX,yBAAyB,GAEzB,2BAA2B,GAG3B,aAAa,GACb,WAAW,GACX,QAAQ,CAAC;AAEb,sCAAsC;AACtC,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,OAAO,CAAC;IACZ,eAAe;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wBAAwB;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6EAA6E;IAC7E,kBAAkB,CAAC,EAAE,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