dsh-botgroup 0.6.7 → 0.7.1
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 +60 -122
- package/README.md +59 -121
- package/lib/client.js +11837 -7685
- package/lib/client.js.map +4 -4
- package/lib/host/activity/first-user.js +1 -1
- package/lib/host/activity/preview.js +1 -1
- package/lib/host/activity/remote.js +1 -1
- package/lib/host/activity/tracker.js +1 -1
- package/lib/host/automation/coordinator.js +1 -1
- package/lib/host/automation/delivery.js +1 -1
- package/lib/host/automation/errors.js +1 -1
- package/lib/host/automation/index.js +1 -1
- package/lib/host/automation/remote.js +1 -1
- package/lib/host/automation/store.js +1 -1
- package/lib/host/bot-context.d.ts +3 -0
- package/lib/host/bot-context.js +97 -22
- package/lib/host/bot-context.js.map +1 -1
- package/lib/host/capabilities/platform.js +1 -1
- package/lib/host/capabilities/remote.js +1 -1
- package/lib/host/capabilities/service.js +1 -1
- package/lib/host/collaboration/remote.js +1 -1
- package/lib/host/collaboration/service.js +1 -1
- package/lib/host/common/integration-stores.js +1 -1
- package/lib/host/common/native-ambient-source.d.ts +7 -0
- package/lib/host/common/native-ambient-source.js +15 -0
- package/lib/host/common/native-ambient-source.js.map +1 -0
- package/lib/host/common/operations.js +1 -1
- package/lib/host/common/subagent-activation.d.ts +7 -0
- package/lib/host/common/subagent-activation.js +10 -0
- package/lib/host/common/subagent-activation.js.map +1 -0
- package/lib/host/composer.js +1 -1
- package/lib/host/connectors/remote.js +1 -1
- package/lib/host/connectors/service.js +1 -1
- package/lib/host/data-flow/agent-binding.js +1 -1
- package/lib/host/data-flow/connector-boundary.js +1 -1
- package/lib/host/data-flow/delegation.js +4 -3
- package/lib/host/data-flow/delegation.js.map +1 -1
- package/lib/host/data-flow/egress.d.ts +6 -0
- package/lib/host/data-flow/egress.js +32 -2
- package/lib/host/data-flow/egress.js.map +1 -1
- package/lib/host/data-flow/grants.js +1 -1
- package/lib/host/data-flow/graph-capability.js +1 -1
- package/lib/host/data-flow/labels.js +3 -2
- package/lib/host/data-flow/labels.js.map +1 -1
- package/lib/host/data-flow/lineage.js +3 -2
- package/lib/host/data-flow/lineage.js.map +1 -1
- package/lib/host/data-flow/managed-copies.d.ts +11 -3
- package/lib/host/data-flow/managed-copies.js +1 -1
- package/lib/host/data-flow/native-policy.js +1 -1
- package/lib/host/data-flow/outlets.d.ts +66 -1
- package/lib/host/data-flow/outlets.js +61 -2
- package/lib/host/data-flow/outlets.js.map +1 -1
- package/lib/host/data-flow/tool-guard.js +12 -3
- package/lib/host/data-flow/tool-guard.js.map +1 -1
- package/lib/host/delegate/continuation.js +1 -1
- package/lib/host/delegate/guard.js +9 -5
- package/lib/host/delegate/guard.js.map +1 -1
- package/lib/host/delegate/tool.js +29 -2
- package/lib/host/delegate/tool.js.map +1 -1
- package/lib/host/errors.js +1 -1
- package/lib/host/groups/concurrent.js +25 -14
- package/lib/host/groups/concurrent.js.map +1 -1
- package/lib/host/groups/context-flow.d.ts +28 -0
- package/lib/host/groups/context-flow.js +127 -0
- package/lib/host/groups/context-flow.js.map +1 -0
- package/lib/host/groups/data-flow.d.ts +9 -3
- package/lib/host/groups/data-flow.js +81 -19
- package/lib/host/groups/data-flow.js.map +1 -1
- package/lib/host/groups/export-pending.d.ts +5 -0
- package/lib/host/groups/export-pending.js +36 -0
- package/lib/host/groups/export-pending.js.map +1 -0
- package/lib/host/groups/export-review.d.ts +35 -0
- package/lib/host/groups/export-review.js +235 -0
- package/lib/host/groups/export-review.js.map +1 -0
- package/lib/host/groups/export-settings.d.ts +94 -0
- package/lib/host/groups/export-settings.js +78 -0
- package/lib/host/groups/export-settings.js.map +1 -0
- package/lib/host/groups/failure.js +3 -1
- package/lib/host/groups/failure.js.map +1 -1
- package/lib/host/groups/members.d.ts +105 -2
- package/lib/host/groups/members.js +47 -4
- package/lib/host/groups/members.js.map +1 -1
- package/lib/host/groups/memory-status.d.ts +7 -0
- package/lib/host/groups/memory-status.js +66 -0
- package/lib/host/groups/memory-status.js.map +1 -0
- package/lib/host/groups/messages.d.ts +90 -0
- package/lib/host/groups/messages.js +20 -8
- package/lib/host/groups/messages.js.map +1 -1
- package/lib/host/groups/model-selection.js +1 -1
- package/lib/host/groups/model.d.ts +95 -0
- package/lib/host/groups/model.js +21 -2
- package/lib/host/groups/model.js.map +1 -1
- package/lib/host/groups/owner-follow-up.js +1 -1
- package/lib/host/groups/recall-sessions.d.ts +8 -0
- package/lib/host/groups/recall-sessions.js +20 -1
- package/lib/host/groups/recall-sessions.js.map +1 -1
- package/lib/host/groups/recall-tool.js +1 -1
- package/lib/host/groups/recall.d.ts +6 -2
- package/lib/host/groups/recall.js +63 -16
- package/lib/host/groups/recall.js.map +1 -1
- package/lib/host/groups/remote.d.ts +531 -0
- package/lib/host/groups/remote.js +81 -1
- package/lib/host/groups/remote.js.map +1 -1
- package/lib/host/groups/root-guard.js +1 -1
- package/lib/host/groups/roots.js +1 -1
- package/lib/host/groups/round-robin.js +1 -1
- package/lib/host/groups/routing.d.ts +29 -1
- package/lib/host/groups/routing.js +34 -3
- package/lib/host/groups/routing.js.map +1 -1
- package/lib/host/groups/service.d.ts +662 -4
- package/lib/host/groups/service.js +96 -9
- package/lib/host/groups/service.js.map +1 -1
- package/lib/host/groups/state.d.ts +229 -2
- package/lib/host/groups/state.js +32 -3
- package/lib/host/groups/state.js.map +1 -1
- package/lib/host/groups/supergroup-admission.d.ts +87 -0
- package/lib/host/groups/supergroup-admission.js +99 -0
- package/lib/host/groups/supergroup-admission.js.map +1 -0
- package/lib/host/groups/team-recipes.d.ts +125 -0
- package/lib/host/groups/team-recipes.js +100 -0
- package/lib/host/groups/team-recipes.js.map +1 -0
- package/lib/host/groups/turn-runner.d.ts +81 -0
- package/lib/host/groups/turn-runner.js +88 -18
- package/lib/host/groups/turn-runner.js.map +1 -1
- package/lib/host/groups/turns.d.ts +114 -1
- package/lib/host/groups/turns.js +67 -20
- package/lib/host/groups/turns.js.map +1 -1
- package/lib/host/groups/worker-tool.d.ts +8 -1
- package/lib/host/groups/worker-tool.js +87 -9
- package/lib/host/groups/worker-tool.js.map +1 -1
- package/lib/host/home.js +1 -1
- package/lib/host/im/service.js +1 -1
- package/lib/host/index.d.ts +2 -1
- package/lib/host/index.js +30 -2
- package/lib/host/index.js.map +1 -1
- package/lib/host/live-persona.js +1 -1
- package/lib/host/main-session.d.ts +5 -2
- package/lib/host/main-session.js +118 -12
- package/lib/host/main-session.js.map +1 -1
- package/lib/host/memory/admission.d.ts +1 -0
- package/lib/host/memory/admission.js +24 -1
- package/lib/host/memory/admission.js.map +1 -1
- package/lib/host/memory/auto-share.js +1 -1
- package/lib/host/memory/confirmation.d.ts +21 -5
- package/lib/host/memory/confirmation.js +1 -1
- package/lib/host/memory/conflicts.js +1 -1
- package/lib/host/memory/consolidation-config.d.ts +12 -0
- package/lib/host/memory/consolidation-config.js +13 -0
- package/lib/host/memory/consolidation-config.js.map +1 -0
- package/lib/host/memory/consolidation-native.d.ts +14 -0
- package/lib/host/memory/consolidation-native.js +72 -0
- package/lib/host/memory/consolidation-native.js.map +1 -0
- package/lib/host/memory/consolidation-source.d.ts +4 -0
- package/lib/host/memory/consolidation-source.js +25 -0
- package/lib/host/memory/consolidation-source.js.map +1 -0
- package/lib/host/memory/consolidation.d.ts +80 -0
- package/lib/host/memory/consolidation.js +270 -0
- package/lib/host/memory/consolidation.js.map +1 -0
- package/lib/host/memory/context.js +1 -1
- package/lib/host/memory/domain-v2.d.ts +53 -10
- package/lib/host/memory/domain-v2.js +5 -3
- package/lib/host/memory/domain-v2.js.map +1 -1
- package/lib/host/memory/facade.d.ts +147 -3
- package/lib/host/memory/facade.js +113 -3
- package/lib/host/memory/facade.js.map +1 -1
- package/lib/host/memory/forget-preview.js +1 -1
- package/lib/host/memory/forget-runner.js +1 -1
- package/lib/host/memory/forget-service.js +1 -1
- package/lib/host/memory/history-proof.js +1 -1
- package/lib/host/memory/history.js +1 -1
- package/lib/host/memory/layout-upgrade.js +23 -6
- package/lib/host/memory/layout-upgrade.js.map +1 -1
- package/lib/host/memory/migration.js +1 -1
- package/lib/host/memory/op-log.js +1 -1
- package/lib/host/memory/open-v2.js +1 -1
- package/lib/host/memory/owner-lease.js +1 -1
- package/lib/host/memory/persistent-map.js +1 -1
- package/lib/host/memory/port.js +1 -1
- package/lib/host/memory/preserve-inbox.js +1 -1
- package/lib/host/memory/projection.js +6 -1
- package/lib/host/memory/projection.js.map +1 -1
- package/lib/host/memory/prompt.js +1 -1
- package/lib/host/memory/query.js +1 -1
- package/lib/host/memory/quota-replay.js +1 -1
- package/lib/host/memory/quota.d.ts +21 -5
- package/lib/host/memory/quota.js +1 -1
- package/lib/host/memory/remote.d.ts +218 -0
- package/lib/host/memory/remote.js +41 -1
- package/lib/host/memory/remote.js.map +1 -1
- package/lib/host/memory/retrieval-config.js +1 -1
- package/lib/host/memory/retrieval-rank.js +1 -1
- package/lib/host/memory/retrieval-text.js +1 -1
- package/lib/host/memory/root-instructions.js +1 -1
- package/lib/host/memory/secrets.js +1 -1
- package/lib/host/memory/service.js +1 -1
- package/lib/host/memory/shards.js +1 -1
- package/lib/host/memory/store-v2.js +5 -2
- package/lib/host/memory/store-v2.js.map +1 -1
- package/lib/host/memory/temporal.js +3 -2
- package/lib/host/memory/temporal.js.map +1 -1
- package/lib/host/memory/tool-guidance.js +1 -1
- package/lib/host/memory/tools.js +1 -1
- package/lib/host/memory/trusted-ingress.js +1 -1
- package/lib/host/memory/version.d.ts +20 -4
- package/lib/host/memory/version.js +1 -1
- package/lib/host/messaging/config.js +1 -1
- package/lib/host/messaging/core.d.ts +11 -3
- package/lib/host/messaging/core.js +4 -3
- package/lib/host/messaging/core.js.map +1 -1
- package/lib/host/messaging/delivery.js +3 -1
- package/lib/host/messaging/delivery.js.map +1 -1
- package/lib/host/messaging/evidence.js +1 -1
- package/lib/host/messaging/interrupt.js +1 -1
- package/lib/host/messaging/recovery.js +1 -1
- package/lib/host/messaging/remote.d.ts +1 -1
- package/lib/host/messaging/remote.js +1 -1
- package/lib/host/messaging/reply-routing.js +1 -1
- package/lib/host/messaging/safety.js +8 -3
- package/lib/host/messaging/safety.js.map +1 -1
- package/lib/host/messaging/scoped-projection.d.ts +43 -0
- package/lib/host/messaging/scoped-projection.js +136 -0
- package/lib/host/messaging/scoped-projection.js.map +1 -0
- package/lib/host/messaging/service.d.ts +5 -2
- package/lib/host/messaging/service.js +16 -6
- package/lib/host/messaging/service.js.map +1 -1
- package/lib/host/messaging/store.d.ts +45 -13
- package/lib/host/messaging/store.js +4 -3
- package/lib/host/messaging/store.js.map +1 -1
- package/lib/host/messaging/tool.js +24 -5
- package/lib/host/messaging/tool.js.map +1 -1
- package/lib/host/messaging/wake.js +3 -3
- package/lib/host/messaging/wake.js.map +1 -1
- package/lib/host/native-schedule/outcomes.js +1 -1
- package/lib/host/native-schedule/service.js +10 -7
- package/lib/host/native-schedule/service.js.map +1 -1
- package/lib/host/notifications/data-flow.js +1 -1
- package/lib/host/notifications/remote.js +1 -1
- package/lib/host/notifications/service.js +1 -1
- package/lib/host/notifications/time.js +1 -1
- package/lib/host/notifications/tool.js +1 -1
- package/lib/host/onboarding/coordinator.js +1 -1
- package/lib/host/onboarding/guard.js +1 -1
- package/lib/host/proactive/auto-admission.js +1 -1
- package/lib/host/proactive/config.js +1 -1
- package/lib/host/proactive/coordinator-client.js +1 -1
- package/lib/host/proactive/deferred-notices.js +1 -1
- package/lib/host/proactive/execution-prompt.js +1 -1
- package/lib/host/proactive/execution.js +1 -1
- package/lib/host/proactive/executors/command.js +1 -1
- package/lib/host/proactive/executors/json-command-bridge-entry.js +1 -1
- package/lib/host/proactive/executors/json-command-bridge.js +1 -1
- package/lib/host/proactive/executors/loopback.js +1 -1
- package/lib/host/proactive/feedback-workflow.d.ts +3 -0
- package/lib/host/proactive/feedback-workflow.js +8 -3
- package/lib/host/proactive/feedback-workflow.js.map +1 -1
- package/lib/host/proactive/feedback.js +1 -1
- package/lib/host/proactive/follow-up-events.d.ts +2 -0
- package/lib/host/proactive/follow-up-events.js +63 -4
- package/lib/host/proactive/follow-up-events.js.map +1 -1
- package/lib/host/proactive/follow-up-facts.js +1 -1
- package/lib/host/proactive/follow-up-tool.js +3 -3
- package/lib/host/proactive/follow-up-tool.js.map +1 -1
- package/lib/host/proactive/governance-artifacts.js +1 -1
- package/lib/host/proactive/governance-service.js +1 -1
- package/lib/host/proactive/group-budget.js +1 -1
- package/lib/host/proactive/group-follow-up.js +1 -1
- package/lib/host/proactive/group-repair.js +1 -1
- package/lib/host/proactive/index.js +1 -1
- package/lib/host/proactive/lifecycle.js +1 -1
- package/lib/host/proactive/method-evaluation.js +1 -1
- package/lib/host/proactive/method-package.js +1 -1
- package/lib/host/proactive/method-skill.js +1 -1
- package/lib/host/proactive/model-budget.js +1 -1
- package/lib/host/proactive/notice-pump.js +1 -1
- package/lib/host/proactive/notification-bridge.js +1 -1
- package/lib/host/proactive/read-query.js +1 -1
- package/lib/host/proactive/remote.d.ts +169 -0
- package/lib/host/proactive/remote.js +1 -1
- package/lib/host/proactive/repair.js +1 -1
- package/lib/host/proactive/result-journal.js +1 -1
- package/lib/host/proactive/service.d.ts +1729 -51
- package/lib/host/proactive/service.js +48 -37
- package/lib/host/proactive/service.js.map +1 -1
- package/lib/host/proactive/session-history.d.ts +3 -0
- package/lib/host/proactive/session-history.js +21 -0
- package/lib/host/proactive/session-history.js.map +1 -0
- package/lib/host/proactive/setup.js +1 -1
- package/lib/host/proactive/sources/ci-feed.js +1 -1
- package/lib/host/proactive/sources/ci.js +1 -1
- package/lib/host/proactive/sources/github-ci.js +1 -1
- package/lib/host/proactive/task-cost.js +1 -1
- package/lib/host/proactive/wire.js +1 -1
- package/lib/host/proactive/work-continuation.js +1 -1
- package/lib/host/proactive/workspace-process.js +1 -1
- package/lib/host/proactive/workspace-repair.js +1 -1
- package/lib/host/reference-memory/backend.js +1 -1
- package/lib/host/reference-memory/cleanup-files.js +1 -1
- package/lib/host/reference-memory/copies.js +1 -1
- package/lib/host/reference-memory/files.js +1 -1
- package/lib/host/reference-memory/model.js +1 -1
- package/lib/host/reference-memory/service.js +1 -1
- package/lib/host/reference-memory/writer.js +1 -1
- package/lib/host/registry/identity.js +1 -1
- package/lib/host/registry/lifecycle.d.ts +4 -1
- package/lib/host/registry/lifecycle.js +3 -1
- package/lib/host/registry/lifecycle.js.map +1 -1
- package/lib/host/registry/mutations.js +1 -1
- package/lib/host/registry/presets.js +1 -1
- package/lib/host/registry/types.js +1 -1
- package/lib/host/registry-config.d.ts +5 -1
- package/lib/host/registry-config.js +11 -2
- package/lib/host/registry-config.js.map +1 -1
- package/lib/host/registry.d.ts +8 -0
- package/lib/host/registry.js +45 -4
- package/lib/host/registry.js.map +1 -1
- package/lib/host/shadow/budget.js +1 -1
- package/lib/host/shadow/config.js +1 -1
- package/lib/host/shadow/notification-adapter.js +1 -1
- package/lib/host/shadow/planner.js +1 -1
- package/lib/host/shadow/schedule-adapter.js +1 -1
- package/lib/host/shadow/service.js +1 -1
- package/lib/host/store.js +1 -1
- package/lib/host/stores/activity.js +1 -1
- package/lib/host/stores/bots.js +1 -1
- package/lib/host/stores/domain.js +1 -1
- package/lib/host/stores/memory.js +1 -1
- package/lib/host/supergroup/collaboration.d.ts +99 -0
- package/lib/host/supergroup/collaboration.js +362 -0
- package/lib/host/supergroup/collaboration.js.map +1 -0
- package/lib/host/supergroup/config.d.ts +15 -0
- package/lib/host/supergroup/config.js +34 -0
- package/lib/host/supergroup/config.js.map +1 -0
- package/lib/host/supergroup/input-capability.d.ts +4 -0
- package/lib/host/supergroup/input-capability.js +21 -0
- package/lib/host/supergroup/input-capability.js.map +1 -0
- package/lib/host/supergroup/recovery-view.d.ts +16 -0
- package/lib/host/supergroup/recovery-view.js +38 -0
- package/lib/host/supergroup/recovery-view.js.map +1 -0
- package/lib/host/supergroup/remote.d.ts +2064 -0
- package/lib/host/supergroup/remote.js +123 -0
- package/lib/host/supergroup/remote.js.map +1 -0
- package/lib/host/supergroup/service.d.ts +987 -0
- package/lib/host/supergroup/service.js +945 -0
- package/lib/host/supergroup/service.js.map +1 -0
- package/lib/host/supergroup/task-support.d.ts +266 -0
- package/lib/host/supergroup/task-support.js +323 -0
- package/lib/host/supergroup/task-support.js.map +1 -0
- package/lib/host/supergroup/tool.d.ts +4 -0
- package/lib/host/supergroup/tool.js +74 -0
- package/lib/host/supergroup/tool.js.map +1 -0
- package/lib/host/tools/bot-manage.js +7 -3
- package/lib/host/tools/bot-manage.js.map +1 -1
- package/lib/host/workspace/remote.js +1 -1
- package/lib/host/workspace/service.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/module-manifest.json +288 -258
- package/lib/proactive-coordinator/main.mjs +236 -25
- package/lib/proactive-coordinator/provenance.json +1 -1
- package/lib/shared/activity-preview.js +1 -1
- package/lib/shared/activity.js +1 -1
- package/lib/shared/automation-contract.js +1 -1
- package/lib/shared/automation.js +1 -1
- package/lib/shared/bot-brand.js +1 -1
- package/lib/shared/capabilities-contract.js +1 -1
- package/lib/shared/collaboration-contract.js +1 -1
- package/lib/shared/collaboration.js +1 -1
- package/lib/shared/connectors.js +1 -1
- package/lib/shared/data-flow.d.ts +1 -0
- package/lib/shared/data-flow.js +3 -1
- package/lib/shared/data-flow.js.map +1 -1
- package/lib/shared/eval-budget.js +1 -1
- package/lib/shared/group-export-review.d.ts +3 -0
- package/lib/shared/group-export-review.js +12 -0
- package/lib/shared/group-export-review.js.map +1 -0
- package/lib/shared/group-limits.d.ts +4 -0
- package/lib/shared/group-limits.js +6 -0
- package/lib/shared/group-limits.js.map +1 -0
- package/lib/shared/group-recall-reads.js +1 -1
- package/lib/shared/group-recall.js +1 -1
- package/lib/shared/groups-contract.d.ts +3002 -3
- package/lib/shared/groups-contract.js +25 -2
- package/lib/shared/groups-contract.js.map +1 -1
- package/lib/shared/groups.d.ts +317 -0
- package/lib/shared/groups.js +69 -8
- package/lib/shared/groups.js.map +1 -1
- package/lib/shared/identity.js +1 -1
- package/lib/shared/ids.js +1 -1
- package/lib/shared/integrations-contract.js +1 -1
- package/lib/shared/integrations.js +1 -1
- package/lib/shared/managed-flow.d.ts +4 -0
- package/lib/shared/managed-flow.js +2 -2
- package/lib/shared/managed-flow.js.map +1 -1
- package/lib/shared/memory-consolidation.d.ts +104 -0
- package/lib/shared/memory-consolidation.js +23 -0
- package/lib/shared/memory-consolidation.js.map +1 -0
- package/lib/shared/memory-forget.js +1 -1
- package/lib/shared/memory-management.d.ts +491 -1
- package/lib/shared/memory-management.js +9 -1
- package/lib/shared/memory-management.js.map +1 -1
- package/lib/shared/memory-ops.d.ts +17 -1
- package/lib/shared/memory-ops.js +1 -1
- package/lib/shared/memory-tool-names.js +1 -1
- package/lib/shared/memory-v2.d.ts +16 -0
- package/lib/shared/memory-v2.js +3 -1
- package/lib/shared/memory-v2.js.map +1 -1
- package/lib/shared/messaging-contract.d.ts +1 -1
- package/lib/shared/messaging-contract.js +1 -1
- package/lib/shared/messaging.d.ts +21 -10
- package/lib/shared/messaging.js +3 -1
- package/lib/shared/messaging.js.map +1 -1
- package/lib/shared/native-schedule.d.ts +21 -0
- package/lib/shared/native-schedule.js +15 -1
- package/lib/shared/native-schedule.js.map +1 -1
- package/lib/shared/notifications.js +1 -1
- package/lib/shared/onboarding-source.js +1 -1
- package/lib/shared/onboarding.js +1 -1
- package/lib/shared/operation-errors.d.ts +6 -0
- package/lib/shared/operation-errors.js +7 -1
- package/lib/shared/operation-errors.js.map +1 -1
- package/lib/shared/proactive/activity.js +1 -1
- package/lib/shared/proactive/document.js +1 -1
- package/lib/shared/proactive/feedback.d.ts +12 -0
- package/lib/shared/proactive/feedback.js +2 -2
- package/lib/shared/proactive/feedback.js.map +1 -1
- package/lib/shared/proactive/follow-up.d.ts +460 -0
- package/lib/shared/proactive/follow-up.js +15 -1
- package/lib/shared/proactive/follow-up.js.map +1 -1
- package/lib/shared/proactive/governance.js +1 -1
- package/lib/shared/proactive/group-follow-up.js +1 -1
- package/lib/shared/proactive/group-repair.js +1 -1
- package/lib/shared/proactive/handoff.js +1 -1
- package/lib/shared/proactive/method-evaluation.d.ts +4 -0
- package/lib/shared/proactive/method-evaluation.js +2 -1
- package/lib/shared/proactive/method-evaluation.js.map +1 -1
- package/lib/shared/proactive/method-package.js +1 -1
- package/lib/shared/proactive/notices.js +1 -1
- package/lib/shared/proactive/outcomes.js +1 -1
- package/lib/shared/proactive/protocol.d.ts +651 -0
- package/lib/shared/proactive/protocol.js +1 -1
- package/lib/shared/proactive/remote-contract.d.ts +828 -0
- package/lib/shared/proactive/remote-contract.js +1 -1
- package/lib/shared/proactive/repair.js +1 -1
- package/lib/shared/proactive/responsibility.js +1 -1
- package/lib/shared/proactive/setup.d.ts +83 -0
- package/lib/shared/proactive/setup.js +1 -1
- package/lib/shared/proactive/work-progress.js +1 -1
- package/lib/shared/proactive/work.js +1 -1
- package/lib/shared/proactive/workspace-repair.js +1 -1
- package/lib/shared/reference-memory.js +1 -1
- package/lib/shared/remote-contract.d.ts +1081 -47
- package/lib/shared/remote-contract.js +28 -2
- package/lib/shared/remote-contract.js.map +1 -1
- package/lib/shared/routine-outcomes.js +1 -1
- package/lib/shared/schema.js +1 -1
- package/lib/shared/secrets.js +1 -1
- package/lib/shared/shadow.js +1 -1
- package/lib/shared/supergroup-contract.d.ts +7535 -0
- package/lib/shared/supergroup-contract.js +26 -0
- package/lib/shared/supergroup-contract.js.map +1 -0
- package/lib/shared/supergroup.d.ts +1495 -0
- package/lib/shared/supergroup.js +56 -0
- package/lib/shared/supergroup.js.map +1 -0
- package/lib/shared/task-materials.d.ts +200 -0
- package/lib/shared/task-materials.js +44 -0
- package/lib/shared/task-materials.js.map +1 -0
- package/lib/shared/team-recipes.d.ts +130 -0
- package/lib/shared/team-recipes.js +28 -0
- package/lib/shared/team-recipes.js.map +1 -0
- package/lib/shared/version.d.ts +1 -1
- package/lib/shared/version.js +2 -2
- package/lib/shared/workspace-contract.js +1 -1
- package/lib/shared/workspace.js +1 -1
- package/lib/typert.host.js +1 -1
- package/lib/typert.remote-client.js +1 -1
- package/locale/en.json +305 -7
- package/locale/zh.json +305 -7
- package/package.json +2 -1
|
@@ -2,13 +2,17 @@ import type { Agent } from '@deepseek-ai/dsh-agent';
|
|
|
2
2
|
import type { Context } from '@deepseek-ai/cordis';
|
|
3
3
|
import type { Domain } from '@deepseek-ai/dsh-storage-domain';
|
|
4
4
|
import type { DshBotRegistry } from '../registry.js';
|
|
5
|
-
import type
|
|
5
|
+
import { type groupsDomain } from './model.js';
|
|
6
6
|
import { GroupRoots } from './roots.js';
|
|
7
|
+
import { TeamRecipes } from './team-recipes.js';
|
|
7
8
|
import { GroupMembers } from './members.js';
|
|
8
9
|
import { GroupMessages } from './messages.js';
|
|
9
10
|
import { GroupTurns } from './turns.js';
|
|
10
11
|
import { GroupRecall } from './recall.js';
|
|
12
|
+
import { GroupExportReview } from './export-review.js';
|
|
13
|
+
import { GroupExportSettings } from './export-settings.js';
|
|
11
14
|
import type { GroupDelivery, GroupKey, GroupRecord, GroupTurn } from '../../shared/groups.js';
|
|
15
|
+
import { type SupergroupAuthority, type SupergroupExpertHandler } from './supergroup-admission.js';
|
|
12
16
|
export { groupsDomain } from './model.js';
|
|
13
17
|
export interface GroupFactPage {
|
|
14
18
|
group: GroupKey;
|
|
@@ -21,6 +25,9 @@ export declare class Groups {
|
|
|
21
25
|
private state;
|
|
22
26
|
private roots;
|
|
23
27
|
private membership;
|
|
28
|
+
readonly teamRecipes: TeamRecipes;
|
|
29
|
+
readonly exportReview: GroupExportReview;
|
|
30
|
+
readonly exportSettings: GroupExportSettings;
|
|
24
31
|
private messages;
|
|
25
32
|
private turns;
|
|
26
33
|
private recallReader;
|
|
@@ -31,12 +38,12 @@ export declare class Groups {
|
|
|
31
38
|
workers: number;
|
|
32
39
|
activations: number;
|
|
33
40
|
};
|
|
34
|
-
start(
|
|
41
|
+
start(): Promise<void>;
|
|
35
42
|
open(...args: Parameters<GroupRoots['open']>): Promise<{
|
|
36
43
|
sessionId: string;
|
|
37
44
|
workspaceId: string;
|
|
38
45
|
}>;
|
|
39
|
-
create(
|
|
46
|
+
create(value: unknown): Promise<{
|
|
40
47
|
id: string;
|
|
41
48
|
operationId: string;
|
|
42
49
|
createDigest: string;
|
|
@@ -52,6 +59,146 @@ export declare class Groups {
|
|
|
52
59
|
revision: number;
|
|
53
60
|
archived: boolean;
|
|
54
61
|
state: "ready" | "creating" | "recovery_needed";
|
|
62
|
+
onDemand?: boolean | undefined;
|
|
63
|
+
memberRoles?: {
|
|
64
|
+
bot: {
|
|
65
|
+
botId: string;
|
|
66
|
+
botCreatedAt: number;
|
|
67
|
+
};
|
|
68
|
+
role: string;
|
|
69
|
+
}[] | undefined;
|
|
70
|
+
modelSelection?: {
|
|
71
|
+
provider: string;
|
|
72
|
+
model: string;
|
|
73
|
+
reasoningEffort?: string | undefined;
|
|
74
|
+
} | undefined;
|
|
75
|
+
memberModelSelections?: {
|
|
76
|
+
memberId: string;
|
|
77
|
+
modelSelection: {
|
|
78
|
+
provider: string;
|
|
79
|
+
model: string;
|
|
80
|
+
reasoningEffort?: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
}[] | undefined;
|
|
83
|
+
modelRevision?: number | undefined;
|
|
84
|
+
nextMemberId?: string | undefined;
|
|
85
|
+
exportApprovals?: {
|
|
86
|
+
bot: {
|
|
87
|
+
botId: string;
|
|
88
|
+
botCreatedAt: number;
|
|
89
|
+
};
|
|
90
|
+
membershipRevision: number;
|
|
91
|
+
members: {
|
|
92
|
+
botId: string;
|
|
93
|
+
botCreatedAt: number;
|
|
94
|
+
}[];
|
|
95
|
+
enabledAt: number;
|
|
96
|
+
}[] | undefined;
|
|
97
|
+
supergroup?: {
|
|
98
|
+
workId: string;
|
|
99
|
+
originSessionId: string;
|
|
100
|
+
originMessageId: string;
|
|
101
|
+
owner: {
|
|
102
|
+
botId: string;
|
|
103
|
+
botCreatedAt: number;
|
|
104
|
+
};
|
|
105
|
+
readers: {
|
|
106
|
+
botId: string;
|
|
107
|
+
botCreatedAt: number;
|
|
108
|
+
}[];
|
|
109
|
+
expiresAt: number;
|
|
110
|
+
} | undefined;
|
|
111
|
+
}>;
|
|
112
|
+
createSupergroup(value: unknown, authority: SupergroupAuthority): Promise<{
|
|
113
|
+
id: string;
|
|
114
|
+
operationId: string;
|
|
115
|
+
createDigest: string;
|
|
116
|
+
createdAt: number;
|
|
117
|
+
updatedAt: number;
|
|
118
|
+
schemaVersion: 1;
|
|
119
|
+
name: string;
|
|
120
|
+
rootSessionId: string;
|
|
121
|
+
rootPresetId: "dsh-bot-group-root";
|
|
122
|
+
cwd: string;
|
|
123
|
+
mode: "natural" | "mention" | "round-robin";
|
|
124
|
+
membershipRevision: number;
|
|
125
|
+
revision: number;
|
|
126
|
+
archived: boolean;
|
|
127
|
+
state: "ready" | "creating" | "recovery_needed";
|
|
128
|
+
onDemand?: boolean | undefined;
|
|
129
|
+
memberRoles?: {
|
|
130
|
+
bot: {
|
|
131
|
+
botId: string;
|
|
132
|
+
botCreatedAt: number;
|
|
133
|
+
};
|
|
134
|
+
role: string;
|
|
135
|
+
}[] | undefined;
|
|
136
|
+
modelSelection?: {
|
|
137
|
+
provider: string;
|
|
138
|
+
model: string;
|
|
139
|
+
reasoningEffort?: string | undefined;
|
|
140
|
+
} | undefined;
|
|
141
|
+
memberModelSelections?: {
|
|
142
|
+
memberId: string;
|
|
143
|
+
modelSelection: {
|
|
144
|
+
provider: string;
|
|
145
|
+
model: string;
|
|
146
|
+
reasoningEffort?: string | undefined;
|
|
147
|
+
};
|
|
148
|
+
}[] | undefined;
|
|
149
|
+
modelRevision?: number | undefined;
|
|
150
|
+
nextMemberId?: string | undefined;
|
|
151
|
+
exportApprovals?: {
|
|
152
|
+
bot: {
|
|
153
|
+
botId: string;
|
|
154
|
+
botCreatedAt: number;
|
|
155
|
+
};
|
|
156
|
+
membershipRevision: number;
|
|
157
|
+
members: {
|
|
158
|
+
botId: string;
|
|
159
|
+
botCreatedAt: number;
|
|
160
|
+
}[];
|
|
161
|
+
enabledAt: number;
|
|
162
|
+
}[] | undefined;
|
|
163
|
+
supergroup?: {
|
|
164
|
+
workId: string;
|
|
165
|
+
originSessionId: string;
|
|
166
|
+
originMessageId: string;
|
|
167
|
+
owner: {
|
|
168
|
+
botId: string;
|
|
169
|
+
botCreatedAt: number;
|
|
170
|
+
};
|
|
171
|
+
readers: {
|
|
172
|
+
botId: string;
|
|
173
|
+
botCreatedAt: number;
|
|
174
|
+
}[];
|
|
175
|
+
expiresAt: number;
|
|
176
|
+
} | undefined;
|
|
177
|
+
}>;
|
|
178
|
+
edit(key: GroupKey, value: unknown): Promise<{
|
|
179
|
+
id: string;
|
|
180
|
+
operationId: string;
|
|
181
|
+
createDigest: string;
|
|
182
|
+
createdAt: number;
|
|
183
|
+
updatedAt: number;
|
|
184
|
+
schemaVersion: 1;
|
|
185
|
+
name: string;
|
|
186
|
+
rootSessionId: string;
|
|
187
|
+
rootPresetId: "dsh-bot-group-root";
|
|
188
|
+
cwd: string;
|
|
189
|
+
mode: "natural" | "mention" | "round-robin";
|
|
190
|
+
membershipRevision: number;
|
|
191
|
+
revision: number;
|
|
192
|
+
archived: boolean;
|
|
193
|
+
state: "ready" | "creating" | "recovery_needed";
|
|
194
|
+
onDemand?: boolean | undefined;
|
|
195
|
+
memberRoles?: {
|
|
196
|
+
bot: {
|
|
197
|
+
botId: string;
|
|
198
|
+
botCreatedAt: number;
|
|
199
|
+
};
|
|
200
|
+
role: string;
|
|
201
|
+
}[] | undefined;
|
|
55
202
|
modelSelection?: {
|
|
56
203
|
provider: string;
|
|
57
204
|
model: string;
|
|
@@ -67,8 +214,34 @@ export declare class Groups {
|
|
|
67
214
|
}[] | undefined;
|
|
68
215
|
modelRevision?: number | undefined;
|
|
69
216
|
nextMemberId?: string | undefined;
|
|
217
|
+
exportApprovals?: {
|
|
218
|
+
bot: {
|
|
219
|
+
botId: string;
|
|
220
|
+
botCreatedAt: number;
|
|
221
|
+
};
|
|
222
|
+
membershipRevision: number;
|
|
223
|
+
members: {
|
|
224
|
+
botId: string;
|
|
225
|
+
botCreatedAt: number;
|
|
226
|
+
}[];
|
|
227
|
+
enabledAt: number;
|
|
228
|
+
}[] | undefined;
|
|
229
|
+
supergroup?: {
|
|
230
|
+
workId: string;
|
|
231
|
+
originSessionId: string;
|
|
232
|
+
originMessageId: string;
|
|
233
|
+
owner: {
|
|
234
|
+
botId: string;
|
|
235
|
+
botCreatedAt: number;
|
|
236
|
+
};
|
|
237
|
+
readers: {
|
|
238
|
+
botId: string;
|
|
239
|
+
botCreatedAt: number;
|
|
240
|
+
}[];
|
|
241
|
+
expiresAt: number;
|
|
242
|
+
} | undefined;
|
|
70
243
|
}>;
|
|
71
|
-
|
|
244
|
+
editSupergroup(key: GroupKey, value: unknown, authority: SupergroupAuthority): Promise<{
|
|
72
245
|
id: string;
|
|
73
246
|
operationId: string;
|
|
74
247
|
createDigest: string;
|
|
@@ -84,6 +257,14 @@ export declare class Groups {
|
|
|
84
257
|
revision: number;
|
|
85
258
|
archived: boolean;
|
|
86
259
|
state: "ready" | "creating" | "recovery_needed";
|
|
260
|
+
onDemand?: boolean | undefined;
|
|
261
|
+
memberRoles?: {
|
|
262
|
+
bot: {
|
|
263
|
+
botId: string;
|
|
264
|
+
botCreatedAt: number;
|
|
265
|
+
};
|
|
266
|
+
role: string;
|
|
267
|
+
}[] | undefined;
|
|
87
268
|
modelSelection?: {
|
|
88
269
|
provider: string;
|
|
89
270
|
model: string;
|
|
@@ -99,7 +280,213 @@ export declare class Groups {
|
|
|
99
280
|
}[] | undefined;
|
|
100
281
|
modelRevision?: number | undefined;
|
|
101
282
|
nextMemberId?: string | undefined;
|
|
283
|
+
exportApprovals?: {
|
|
284
|
+
bot: {
|
|
285
|
+
botId: string;
|
|
286
|
+
botCreatedAt: number;
|
|
287
|
+
};
|
|
288
|
+
membershipRevision: number;
|
|
289
|
+
members: {
|
|
290
|
+
botId: string;
|
|
291
|
+
botCreatedAt: number;
|
|
292
|
+
}[];
|
|
293
|
+
enabledAt: number;
|
|
294
|
+
}[] | undefined;
|
|
295
|
+
supergroup?: {
|
|
296
|
+
workId: string;
|
|
297
|
+
originSessionId: string;
|
|
298
|
+
originMessageId: string;
|
|
299
|
+
owner: {
|
|
300
|
+
botId: string;
|
|
301
|
+
botCreatedAt: number;
|
|
302
|
+
};
|
|
303
|
+
readers: {
|
|
304
|
+
botId: string;
|
|
305
|
+
botCreatedAt: number;
|
|
306
|
+
}[];
|
|
307
|
+
expiresAt: number;
|
|
308
|
+
} | undefined;
|
|
309
|
+
}>;
|
|
310
|
+
refreshSupergroupAuthority(key: GroupKey, authority: SupergroupAuthority): Promise<{
|
|
311
|
+
supergroup: {
|
|
312
|
+
workId: string;
|
|
313
|
+
originSessionId: import("@deepseek-ai/dsh-session").SessionId;
|
|
314
|
+
originMessageId: string;
|
|
315
|
+
owner: {
|
|
316
|
+
botId: string;
|
|
317
|
+
botCreatedAt: number;
|
|
318
|
+
};
|
|
319
|
+
readers: {
|
|
320
|
+
botId: string;
|
|
321
|
+
botCreatedAt: number;
|
|
322
|
+
}[];
|
|
323
|
+
expiresAt: number;
|
|
324
|
+
};
|
|
325
|
+
revision: number;
|
|
326
|
+
updatedAt: number;
|
|
327
|
+
id: string;
|
|
328
|
+
operationId: string;
|
|
329
|
+
createDigest: string;
|
|
330
|
+
createdAt: number;
|
|
331
|
+
schemaVersion: 1;
|
|
332
|
+
name: string;
|
|
333
|
+
rootSessionId: string;
|
|
334
|
+
rootPresetId: "dsh-bot-group-root";
|
|
335
|
+
cwd: string;
|
|
336
|
+
mode: "natural" | "mention" | "round-robin";
|
|
337
|
+
membershipRevision: number;
|
|
338
|
+
archived: boolean;
|
|
339
|
+
state: "ready" | "creating" | "recovery_needed";
|
|
340
|
+
onDemand?: boolean | undefined;
|
|
341
|
+
memberRoles?: {
|
|
342
|
+
bot: {
|
|
343
|
+
botId: string;
|
|
344
|
+
botCreatedAt: number;
|
|
345
|
+
};
|
|
346
|
+
role: string;
|
|
347
|
+
}[] | undefined;
|
|
348
|
+
modelSelection?: {
|
|
349
|
+
provider: string;
|
|
350
|
+
model: string;
|
|
351
|
+
reasoningEffort?: string | undefined;
|
|
352
|
+
} | undefined;
|
|
353
|
+
memberModelSelections?: {
|
|
354
|
+
memberId: string;
|
|
355
|
+
modelSelection: {
|
|
356
|
+
provider: string;
|
|
357
|
+
model: string;
|
|
358
|
+
reasoningEffort?: string | undefined;
|
|
359
|
+
};
|
|
360
|
+
}[] | undefined;
|
|
361
|
+
modelRevision?: number | undefined;
|
|
362
|
+
nextMemberId?: string | undefined;
|
|
363
|
+
exportApprovals?: {
|
|
364
|
+
bot: {
|
|
365
|
+
botId: string;
|
|
366
|
+
botCreatedAt: number;
|
|
367
|
+
};
|
|
368
|
+
membershipRevision: number;
|
|
369
|
+
members: {
|
|
370
|
+
botId: string;
|
|
371
|
+
botCreatedAt: number;
|
|
372
|
+
}[];
|
|
373
|
+
enabledAt: number;
|
|
374
|
+
}[] | undefined;
|
|
375
|
+
}>;
|
|
376
|
+
sendSupergroup(key: GroupKey, value: unknown, authority: SupergroupAuthority): Promise<{
|
|
377
|
+
id: string;
|
|
378
|
+
group: {
|
|
379
|
+
groupId: string;
|
|
380
|
+
groupCreatedAt: number;
|
|
381
|
+
};
|
|
382
|
+
operationId: string;
|
|
383
|
+
requestDigest: string;
|
|
384
|
+
inputMessageId: string;
|
|
385
|
+
createdAt: number;
|
|
386
|
+
updatedAt: number;
|
|
387
|
+
revision: number;
|
|
388
|
+
schemaVersion: 1;
|
|
389
|
+
membershipRevision: number;
|
|
390
|
+
orderedMemberIds: string[];
|
|
391
|
+
mode: "natural" | "mention" | "round-robin";
|
|
392
|
+
contextThroughSeq: number;
|
|
393
|
+
state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
|
|
394
|
+
inputFlowId?: string | undefined;
|
|
395
|
+
inputFlowSessionId?: string | undefined;
|
|
396
|
+
ownerFollowUp?: {
|
|
397
|
+
predecessorTurnId: string;
|
|
398
|
+
predecessorTurnRevision: number;
|
|
399
|
+
membershipRevision: number;
|
|
400
|
+
modelRevision: number;
|
|
401
|
+
memberId: string;
|
|
402
|
+
bot: {
|
|
403
|
+
botId: string;
|
|
404
|
+
botCreatedAt: number;
|
|
405
|
+
};
|
|
406
|
+
botRevision: number;
|
|
407
|
+
modelSelection: {
|
|
408
|
+
provider: string;
|
|
409
|
+
model: string;
|
|
410
|
+
reasoningEffort?: string | undefined;
|
|
411
|
+
};
|
|
412
|
+
cardId: string;
|
|
413
|
+
cardRevision: number;
|
|
414
|
+
} | undefined;
|
|
415
|
+
proactive?: {
|
|
416
|
+
ticketId: string;
|
|
417
|
+
assignmentId: string;
|
|
418
|
+
provider: string;
|
|
419
|
+
model: string;
|
|
420
|
+
botRevisions: [number, number] | [number];
|
|
421
|
+
memberModels?: {
|
|
422
|
+
memberId: string;
|
|
423
|
+
modelSelection: {
|
|
424
|
+
provider: string;
|
|
425
|
+
model: string;
|
|
426
|
+
reasoningEffort?: string | undefined;
|
|
427
|
+
};
|
|
428
|
+
}[] | undefined;
|
|
429
|
+
modelRevision?: number | undefined;
|
|
430
|
+
followUp?: {
|
|
431
|
+
predecessorTurnId: string;
|
|
432
|
+
factId: string;
|
|
433
|
+
} | undefined;
|
|
434
|
+
requestBudget?: {
|
|
435
|
+
maxTokens: number;
|
|
436
|
+
outputTokens: number;
|
|
437
|
+
deadlineAt: string;
|
|
438
|
+
} | undefined;
|
|
439
|
+
repair?: {
|
|
440
|
+
phase: "plan" | "implement" | "review";
|
|
441
|
+
maxTokens: number;
|
|
442
|
+
outputTokens: number;
|
|
443
|
+
deadlineAt: string;
|
|
444
|
+
predecessorTurnId?: string | undefined;
|
|
445
|
+
} | undefined;
|
|
446
|
+
} | undefined;
|
|
447
|
+
inputSeq?: number | undefined;
|
|
448
|
+
routing?: {
|
|
449
|
+
strategy: "explicit" | "legacy" | "local-role" | "fallback";
|
|
450
|
+
version: 1;
|
|
451
|
+
candidateMemberIds: string[];
|
|
452
|
+
selectedMemberIds: string[];
|
|
453
|
+
reason: "failed" | "disabled" | "mode" | "mention" | "reply" | "round" | "role-match" | "no-match";
|
|
454
|
+
deciderCalls: 0;
|
|
455
|
+
plannedCalls: number;
|
|
456
|
+
modelRequests?: number | undefined;
|
|
457
|
+
} | undefined;
|
|
458
|
+
modelSelection?: {
|
|
459
|
+
provider: string;
|
|
460
|
+
model: string;
|
|
461
|
+
reasoningEffort?: string | undefined;
|
|
462
|
+
} | undefined;
|
|
463
|
+
memberModelSelections?: {
|
|
464
|
+
memberId: string;
|
|
465
|
+
modelSelection: {
|
|
466
|
+
provider: string;
|
|
467
|
+
model: string;
|
|
468
|
+
reasoningEffort?: string | undefined;
|
|
469
|
+
};
|
|
470
|
+
}[] | undefined;
|
|
471
|
+
predecessorTurnIds?: string[] | undefined;
|
|
472
|
+
followups?: {
|
|
473
|
+
operationId: string;
|
|
474
|
+
requestDigest: string;
|
|
475
|
+
deliveryId: string;
|
|
476
|
+
messageId: string;
|
|
477
|
+
state: "unknown" | "accepted" | "dispatching";
|
|
478
|
+
childMessageId?: string | undefined;
|
|
479
|
+
}[] | undefined;
|
|
480
|
+
replyTo?: string | undefined;
|
|
481
|
+
protocol?: 2 | undefined;
|
|
482
|
+
memoryStatusOnly?: true | undefined;
|
|
483
|
+
automaticExecutions?: number | undefined;
|
|
484
|
+
continuationAllowance?: number | undefined;
|
|
485
|
+
stoppedMemberIds?: string[] | undefined;
|
|
102
486
|
}>;
|
|
487
|
+
waitForTurn(turnId: string): Promise<void>;
|
|
488
|
+
drain(key: GroupKey): Promise<void>;
|
|
489
|
+
setExpertHandler(handler: SupergroupExpertHandler): () => void;
|
|
103
490
|
setModel(...args: Parameters<GroupMembers['setModel']>): Promise<{
|
|
104
491
|
id: string;
|
|
105
492
|
operationId: string;
|
|
@@ -116,6 +503,14 @@ export declare class Groups {
|
|
|
116
503
|
revision: number;
|
|
117
504
|
archived: boolean;
|
|
118
505
|
state: "ready" | "creating" | "recovery_needed";
|
|
506
|
+
onDemand?: boolean | undefined;
|
|
507
|
+
memberRoles?: {
|
|
508
|
+
bot: {
|
|
509
|
+
botId: string;
|
|
510
|
+
botCreatedAt: number;
|
|
511
|
+
};
|
|
512
|
+
role: string;
|
|
513
|
+
}[] | undefined;
|
|
119
514
|
modelSelection?: {
|
|
120
515
|
provider: string;
|
|
121
516
|
model: string;
|
|
@@ -131,6 +526,32 @@ export declare class Groups {
|
|
|
131
526
|
}[] | undefined;
|
|
132
527
|
modelRevision?: number | undefined;
|
|
133
528
|
nextMemberId?: string | undefined;
|
|
529
|
+
exportApprovals?: {
|
|
530
|
+
bot: {
|
|
531
|
+
botId: string;
|
|
532
|
+
botCreatedAt: number;
|
|
533
|
+
};
|
|
534
|
+
membershipRevision: number;
|
|
535
|
+
members: {
|
|
536
|
+
botId: string;
|
|
537
|
+
botCreatedAt: number;
|
|
538
|
+
}[];
|
|
539
|
+
enabledAt: number;
|
|
540
|
+
}[] | undefined;
|
|
541
|
+
supergroup?: {
|
|
542
|
+
workId: string;
|
|
543
|
+
originSessionId: string;
|
|
544
|
+
originMessageId: string;
|
|
545
|
+
owner: {
|
|
546
|
+
botId: string;
|
|
547
|
+
botCreatedAt: number;
|
|
548
|
+
};
|
|
549
|
+
readers: {
|
|
550
|
+
botId: string;
|
|
551
|
+
botCreatedAt: number;
|
|
552
|
+
}[];
|
|
553
|
+
expiresAt: number;
|
|
554
|
+
} | undefined;
|
|
134
555
|
}>;
|
|
135
556
|
openAttachment(...args: Parameters<GroupMessages['openAttachment']>): Promise<import("@deepseek-ai/dsh-api-session-controller").SessionOpenWorkspacePathValue>;
|
|
136
557
|
markRead(...args: Parameters<GroupMessages['markRead']>): Promise<boolean>;
|
|
@@ -153,6 +574,14 @@ export declare class Groups {
|
|
|
153
574
|
revision: number;
|
|
154
575
|
archived: boolean;
|
|
155
576
|
state: "ready" | "creating" | "recovery_needed";
|
|
577
|
+
onDemand?: boolean | undefined;
|
|
578
|
+
memberRoles?: {
|
|
579
|
+
bot: {
|
|
580
|
+
botId: string;
|
|
581
|
+
botCreatedAt: number;
|
|
582
|
+
};
|
|
583
|
+
role: string;
|
|
584
|
+
}[] | undefined;
|
|
156
585
|
modelSelection?: {
|
|
157
586
|
provider: string;
|
|
158
587
|
model: string;
|
|
@@ -168,6 +597,32 @@ export declare class Groups {
|
|
|
168
597
|
}[] | undefined;
|
|
169
598
|
modelRevision?: number | undefined;
|
|
170
599
|
nextMemberId?: string | undefined;
|
|
600
|
+
exportApprovals?: {
|
|
601
|
+
bot: {
|
|
602
|
+
botId: string;
|
|
603
|
+
botCreatedAt: number;
|
|
604
|
+
};
|
|
605
|
+
membershipRevision: number;
|
|
606
|
+
members: {
|
|
607
|
+
botId: string;
|
|
608
|
+
botCreatedAt: number;
|
|
609
|
+
}[];
|
|
610
|
+
enabledAt: number;
|
|
611
|
+
}[] | undefined;
|
|
612
|
+
supergroup?: {
|
|
613
|
+
workId: string;
|
|
614
|
+
originSessionId: string;
|
|
615
|
+
originMessageId: string;
|
|
616
|
+
owner: {
|
|
617
|
+
botId: string;
|
|
618
|
+
botCreatedAt: number;
|
|
619
|
+
};
|
|
620
|
+
readers: {
|
|
621
|
+
botId: string;
|
|
622
|
+
botCreatedAt: number;
|
|
623
|
+
}[];
|
|
624
|
+
expiresAt: number;
|
|
625
|
+
} | undefined;
|
|
171
626
|
};
|
|
172
627
|
members: {
|
|
173
628
|
id: string;
|
|
@@ -186,6 +641,7 @@ export declare class Groups {
|
|
|
186
641
|
}[];
|
|
187
642
|
unavailableMemberIds: string[];
|
|
188
643
|
running: boolean;
|
|
644
|
+
exportPendingCount?: number | undefined;
|
|
189
645
|
latest?: {
|
|
190
646
|
seq: number;
|
|
191
647
|
at: number;
|
|
@@ -221,6 +677,14 @@ export declare class Groups {
|
|
|
221
677
|
revision: number;
|
|
222
678
|
archived: boolean;
|
|
223
679
|
state: "ready" | "creating" | "recovery_needed";
|
|
680
|
+
onDemand?: boolean | undefined;
|
|
681
|
+
memberRoles?: {
|
|
682
|
+
bot: {
|
|
683
|
+
botId: string;
|
|
684
|
+
botCreatedAt: number;
|
|
685
|
+
};
|
|
686
|
+
role: string;
|
|
687
|
+
}[] | undefined;
|
|
224
688
|
modelSelection?: {
|
|
225
689
|
provider: string;
|
|
226
690
|
model: string;
|
|
@@ -236,6 +700,32 @@ export declare class Groups {
|
|
|
236
700
|
}[] | undefined;
|
|
237
701
|
modelRevision?: number | undefined;
|
|
238
702
|
nextMemberId?: string | undefined;
|
|
703
|
+
exportApprovals?: {
|
|
704
|
+
bot: {
|
|
705
|
+
botId: string;
|
|
706
|
+
botCreatedAt: number;
|
|
707
|
+
};
|
|
708
|
+
membershipRevision: number;
|
|
709
|
+
members: {
|
|
710
|
+
botId: string;
|
|
711
|
+
botCreatedAt: number;
|
|
712
|
+
}[];
|
|
713
|
+
enabledAt: number;
|
|
714
|
+
}[] | undefined;
|
|
715
|
+
supergroup?: {
|
|
716
|
+
workId: string;
|
|
717
|
+
originSessionId: string;
|
|
718
|
+
originMessageId: string;
|
|
719
|
+
owner: {
|
|
720
|
+
botId: string;
|
|
721
|
+
botCreatedAt: number;
|
|
722
|
+
};
|
|
723
|
+
readers: {
|
|
724
|
+
botId: string;
|
|
725
|
+
botCreatedAt: number;
|
|
726
|
+
}[];
|
|
727
|
+
expiresAt: number;
|
|
728
|
+
} | undefined;
|
|
239
729
|
};
|
|
240
730
|
members: {
|
|
241
731
|
id: string;
|
|
@@ -272,6 +762,8 @@ export declare class Groups {
|
|
|
272
762
|
mode: "natural" | "mention" | "round-robin";
|
|
273
763
|
contextThroughSeq: number;
|
|
274
764
|
state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
|
|
765
|
+
inputFlowId?: string | undefined;
|
|
766
|
+
inputFlowSessionId?: string | undefined;
|
|
275
767
|
ownerFollowUp?: {
|
|
276
768
|
predecessorTurnId: string;
|
|
277
769
|
predecessorTurnRevision: number;
|
|
@@ -324,6 +816,16 @@ export declare class Groups {
|
|
|
324
816
|
} | undefined;
|
|
325
817
|
} | undefined;
|
|
326
818
|
inputSeq?: number | undefined;
|
|
819
|
+
routing?: {
|
|
820
|
+
strategy: "explicit" | "legacy" | "local-role" | "fallback";
|
|
821
|
+
version: 1;
|
|
822
|
+
candidateMemberIds: string[];
|
|
823
|
+
selectedMemberIds: string[];
|
|
824
|
+
reason: "failed" | "disabled" | "mode" | "mention" | "reply" | "round" | "role-match" | "no-match";
|
|
825
|
+
deciderCalls: 0;
|
|
826
|
+
plannedCalls: number;
|
|
827
|
+
modelRequests?: number | undefined;
|
|
828
|
+
} | undefined;
|
|
327
829
|
modelSelection?: {
|
|
328
830
|
provider: string;
|
|
329
831
|
model: string;
|
|
@@ -348,6 +850,7 @@ export declare class Groups {
|
|
|
348
850
|
}[] | undefined;
|
|
349
851
|
replyTo?: string | undefined;
|
|
350
852
|
protocol?: 2 | undefined;
|
|
853
|
+
memoryStatusOnly?: true | undefined;
|
|
351
854
|
automaticExecutions?: number | undefined;
|
|
352
855
|
continuationAllowance?: number | undefined;
|
|
353
856
|
stoppedMemberIds?: string[] | undefined;
|
|
@@ -375,6 +878,8 @@ export declare class Groups {
|
|
|
375
878
|
childMessageId?: string | undefined;
|
|
376
879
|
joinedDeliveryId?: string | undefined;
|
|
377
880
|
childSessionId?: string | undefined;
|
|
881
|
+
inputFlowId?: string | undefined;
|
|
882
|
+
inputFlowSessionId?: string | undefined;
|
|
378
883
|
triggerMessageId?: string | undefined;
|
|
379
884
|
returnMemberId?: string | undefined;
|
|
380
885
|
requestDigest?: string | undefined;
|
|
@@ -383,11 +888,15 @@ export declare class Groups {
|
|
|
383
888
|
outputSeq?: number | undefined;
|
|
384
889
|
stopReason?: string | undefined;
|
|
385
890
|
reasonCode?: string | undefined;
|
|
891
|
+
exportFlowId?: string | undefined;
|
|
892
|
+
memoryWriteStatus?: "failed" | "saved" | "unverified" | undefined;
|
|
386
893
|
failure?: {
|
|
387
894
|
message: string;
|
|
388
895
|
code?: string | undefined;
|
|
896
|
+
requestId?: string | undefined;
|
|
389
897
|
status?: number | undefined;
|
|
390
898
|
} | undefined;
|
|
899
|
+
staleExportClosedAt?: number | undefined;
|
|
391
900
|
}[];
|
|
392
901
|
messages: {
|
|
393
902
|
id: string;
|
|
@@ -437,10 +946,12 @@ export declare class Groups {
|
|
|
437
946
|
failure?: {
|
|
438
947
|
message: string;
|
|
439
948
|
code?: string | undefined;
|
|
949
|
+
requestId?: string | undefined;
|
|
440
950
|
status?: number | undefined;
|
|
441
951
|
} | undefined;
|
|
442
952
|
}[];
|
|
443
953
|
hasEarlier: boolean;
|
|
954
|
+
exportPendingCount?: number | undefined;
|
|
444
955
|
latest?: {
|
|
445
956
|
seq: number;
|
|
446
957
|
at: number;
|
|
@@ -502,6 +1013,14 @@ export declare class Groups {
|
|
|
502
1013
|
revision: number;
|
|
503
1014
|
archived: boolean;
|
|
504
1015
|
state: "ready" | "creating" | "recovery_needed";
|
|
1016
|
+
onDemand?: boolean | undefined;
|
|
1017
|
+
memberRoles?: {
|
|
1018
|
+
bot: {
|
|
1019
|
+
botId: string;
|
|
1020
|
+
botCreatedAt: number;
|
|
1021
|
+
};
|
|
1022
|
+
role: string;
|
|
1023
|
+
}[] | undefined;
|
|
505
1024
|
modelSelection?: {
|
|
506
1025
|
provider: string;
|
|
507
1026
|
model: string;
|
|
@@ -517,6 +1036,32 @@ export declare class Groups {
|
|
|
517
1036
|
}[] | undefined;
|
|
518
1037
|
modelRevision?: number | undefined;
|
|
519
1038
|
nextMemberId?: string | undefined;
|
|
1039
|
+
exportApprovals?: {
|
|
1040
|
+
bot: {
|
|
1041
|
+
botId: string;
|
|
1042
|
+
botCreatedAt: number;
|
|
1043
|
+
};
|
|
1044
|
+
membershipRevision: number;
|
|
1045
|
+
members: {
|
|
1046
|
+
botId: string;
|
|
1047
|
+
botCreatedAt: number;
|
|
1048
|
+
}[];
|
|
1049
|
+
enabledAt: number;
|
|
1050
|
+
}[] | undefined;
|
|
1051
|
+
supergroup?: {
|
|
1052
|
+
workId: string;
|
|
1053
|
+
originSessionId: string;
|
|
1054
|
+
originMessageId: string;
|
|
1055
|
+
owner: {
|
|
1056
|
+
botId: string;
|
|
1057
|
+
botCreatedAt: number;
|
|
1058
|
+
};
|
|
1059
|
+
readers: {
|
|
1060
|
+
botId: string;
|
|
1061
|
+
botCreatedAt: number;
|
|
1062
|
+
}[];
|
|
1063
|
+
expiresAt: number;
|
|
1064
|
+
} | undefined;
|
|
520
1065
|
}>;
|
|
521
1066
|
/** Exact human provenance for a currently owned worker; never borrow its Bot's private main. */
|
|
522
1067
|
followUpWorker(agent: Agent): Promise<{
|
|
@@ -563,6 +1108,8 @@ export declare class Groups {
|
|
|
563
1108
|
mode: "natural" | "mention" | "round-robin";
|
|
564
1109
|
contextThroughSeq: number;
|
|
565
1110
|
state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
|
|
1111
|
+
inputFlowId?: string | undefined;
|
|
1112
|
+
inputFlowSessionId?: string | undefined;
|
|
566
1113
|
ownerFollowUp?: {
|
|
567
1114
|
predecessorTurnId: string;
|
|
568
1115
|
predecessorTurnRevision: number;
|
|
@@ -615,6 +1162,16 @@ export declare class Groups {
|
|
|
615
1162
|
} | undefined;
|
|
616
1163
|
} | undefined;
|
|
617
1164
|
inputSeq?: number | undefined;
|
|
1165
|
+
routing?: {
|
|
1166
|
+
strategy: "explicit" | "legacy" | "local-role" | "fallback";
|
|
1167
|
+
version: 1;
|
|
1168
|
+
candidateMemberIds: string[];
|
|
1169
|
+
selectedMemberIds: string[];
|
|
1170
|
+
reason: "failed" | "disabled" | "mode" | "mention" | "reply" | "round" | "role-match" | "no-match";
|
|
1171
|
+
deciderCalls: 0;
|
|
1172
|
+
plannedCalls: number;
|
|
1173
|
+
modelRequests?: number | undefined;
|
|
1174
|
+
} | undefined;
|
|
618
1175
|
modelSelection?: {
|
|
619
1176
|
provider: string;
|
|
620
1177
|
model: string;
|
|
@@ -639,6 +1196,7 @@ export declare class Groups {
|
|
|
639
1196
|
}[] | undefined;
|
|
640
1197
|
replyTo?: string | undefined;
|
|
641
1198
|
protocol?: 2 | undefined;
|
|
1199
|
+
memoryStatusOnly?: true | undefined;
|
|
642
1200
|
automaticExecutions?: number | undefined;
|
|
643
1201
|
continuationAllowance?: number | undefined;
|
|
644
1202
|
stoppedMemberIds?: string[] | undefined;
|
|
@@ -661,6 +1219,8 @@ export declare class Groups {
|
|
|
661
1219
|
mode: "natural" | "mention" | "round-robin";
|
|
662
1220
|
contextThroughSeq: number;
|
|
663
1221
|
state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
|
|
1222
|
+
inputFlowId?: string | undefined;
|
|
1223
|
+
inputFlowSessionId?: string | undefined;
|
|
664
1224
|
ownerFollowUp?: {
|
|
665
1225
|
predecessorTurnId: string;
|
|
666
1226
|
predecessorTurnRevision: number;
|
|
@@ -713,6 +1273,16 @@ export declare class Groups {
|
|
|
713
1273
|
} | undefined;
|
|
714
1274
|
} | undefined;
|
|
715
1275
|
inputSeq?: number | undefined;
|
|
1276
|
+
routing?: {
|
|
1277
|
+
strategy: "explicit" | "legacy" | "local-role" | "fallback";
|
|
1278
|
+
version: 1;
|
|
1279
|
+
candidateMemberIds: string[];
|
|
1280
|
+
selectedMemberIds: string[];
|
|
1281
|
+
reason: "failed" | "disabled" | "mode" | "mention" | "reply" | "round" | "role-match" | "no-match";
|
|
1282
|
+
deciderCalls: 0;
|
|
1283
|
+
plannedCalls: number;
|
|
1284
|
+
modelRequests?: number | undefined;
|
|
1285
|
+
} | undefined;
|
|
716
1286
|
modelSelection?: {
|
|
717
1287
|
provider: string;
|
|
718
1288
|
model: string;
|
|
@@ -737,6 +1307,7 @@ export declare class Groups {
|
|
|
737
1307
|
}[] | undefined;
|
|
738
1308
|
replyTo?: string | undefined;
|
|
739
1309
|
protocol?: 2 | undefined;
|
|
1310
|
+
memoryStatusOnly?: true | undefined;
|
|
740
1311
|
automaticExecutions?: number | undefined;
|
|
741
1312
|
continuationAllowance?: number | undefined;
|
|
742
1313
|
stoppedMemberIds?: string[] | undefined;
|
|
@@ -776,6 +1347,8 @@ export declare class Groups {
|
|
|
776
1347
|
mode: "natural" | "mention" | "round-robin";
|
|
777
1348
|
contextThroughSeq: number;
|
|
778
1349
|
state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
|
|
1350
|
+
inputFlowId?: string | undefined;
|
|
1351
|
+
inputFlowSessionId?: string | undefined;
|
|
779
1352
|
ownerFollowUp?: {
|
|
780
1353
|
predecessorTurnId: string;
|
|
781
1354
|
predecessorTurnRevision: number;
|
|
@@ -828,6 +1401,16 @@ export declare class Groups {
|
|
|
828
1401
|
} | undefined;
|
|
829
1402
|
} | undefined;
|
|
830
1403
|
inputSeq?: number | undefined;
|
|
1404
|
+
routing?: {
|
|
1405
|
+
strategy: "explicit" | "legacy" | "local-role" | "fallback";
|
|
1406
|
+
version: 1;
|
|
1407
|
+
candidateMemberIds: string[];
|
|
1408
|
+
selectedMemberIds: string[];
|
|
1409
|
+
reason: "failed" | "disabled" | "mode" | "mention" | "reply" | "round" | "role-match" | "no-match";
|
|
1410
|
+
deciderCalls: 0;
|
|
1411
|
+
plannedCalls: number;
|
|
1412
|
+
modelRequests?: number | undefined;
|
|
1413
|
+
} | undefined;
|
|
831
1414
|
modelSelection?: {
|
|
832
1415
|
provider: string;
|
|
833
1416
|
model: string;
|
|
@@ -852,6 +1435,7 @@ export declare class Groups {
|
|
|
852
1435
|
}[] | undefined;
|
|
853
1436
|
replyTo?: string | undefined;
|
|
854
1437
|
protocol?: 2 | undefined;
|
|
1438
|
+
memoryStatusOnly?: true | undefined;
|
|
855
1439
|
automaticExecutions?: number | undefined;
|
|
856
1440
|
continuationAllowance?: number | undefined;
|
|
857
1441
|
stoppedMemberIds?: string[] | undefined;
|
|
@@ -860,6 +1444,7 @@ export declare class Groups {
|
|
|
860
1444
|
abandonOwnerFollowUp<T>(key: GroupKey, operationId: string, abandon: () => Promise<T>): Promise<T>;
|
|
861
1445
|
waitForProactiveReview(turnId: string): Promise<void>;
|
|
862
1446
|
purgeProactiveCopies(assignmentIds: readonly string[]): Promise<boolean>;
|
|
1447
|
+
private proactiveInputRef;
|
|
863
1448
|
proactiveRequestAllowance(turnId: string): {
|
|
864
1449
|
inputAllowance: number;
|
|
865
1450
|
outputAllowance: number;
|
|
@@ -887,6 +1472,8 @@ export declare class Groups {
|
|
|
887
1472
|
mode: "natural" | "mention" | "round-robin";
|
|
888
1473
|
contextThroughSeq: number;
|
|
889
1474
|
state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
|
|
1475
|
+
inputFlowId?: string | undefined;
|
|
1476
|
+
inputFlowSessionId?: string | undefined;
|
|
890
1477
|
ownerFollowUp?: {
|
|
891
1478
|
predecessorTurnId: string;
|
|
892
1479
|
predecessorTurnRevision: number;
|
|
@@ -939,6 +1526,16 @@ export declare class Groups {
|
|
|
939
1526
|
} | undefined;
|
|
940
1527
|
} | undefined;
|
|
941
1528
|
inputSeq?: number | undefined;
|
|
1529
|
+
routing?: {
|
|
1530
|
+
strategy: "explicit" | "legacy" | "local-role" | "fallback";
|
|
1531
|
+
version: 1;
|
|
1532
|
+
candidateMemberIds: string[];
|
|
1533
|
+
selectedMemberIds: string[];
|
|
1534
|
+
reason: "failed" | "disabled" | "mode" | "mention" | "reply" | "round" | "role-match" | "no-match";
|
|
1535
|
+
deciderCalls: 0;
|
|
1536
|
+
plannedCalls: number;
|
|
1537
|
+
modelRequests?: number | undefined;
|
|
1538
|
+
} | undefined;
|
|
942
1539
|
modelSelection?: {
|
|
943
1540
|
provider: string;
|
|
944
1541
|
model: string;
|
|
@@ -963,6 +1560,7 @@ export declare class Groups {
|
|
|
963
1560
|
}[] | undefined;
|
|
964
1561
|
replyTo?: string | undefined;
|
|
965
1562
|
protocol?: 2 | undefined;
|
|
1563
|
+
memoryStatusOnly?: true | undefined;
|
|
966
1564
|
automaticExecutions?: number | undefined;
|
|
967
1565
|
continuationAllowance?: number | undefined;
|
|
968
1566
|
stoppedMemberIds?: string[] | undefined;
|
|
@@ -970,6 +1568,16 @@ export declare class Groups {
|
|
|
970
1568
|
continueTurn(...args: Parameters<GroupTurns['continueTurn']>): Promise<{
|
|
971
1569
|
updatedAt: number;
|
|
972
1570
|
revision: number;
|
|
1571
|
+
routing?: {
|
|
1572
|
+
strategy: "explicit" | "legacy" | "local-role" | "fallback";
|
|
1573
|
+
version: 1;
|
|
1574
|
+
candidateMemberIds: string[];
|
|
1575
|
+
selectedMemberIds: string[];
|
|
1576
|
+
reason: "failed" | "disabled" | "mode" | "mention" | "reply" | "round" | "role-match" | "no-match";
|
|
1577
|
+
deciderCalls: 0;
|
|
1578
|
+
plannedCalls: number;
|
|
1579
|
+
modelRequests?: number | undefined;
|
|
1580
|
+
} | undefined;
|
|
973
1581
|
id: string;
|
|
974
1582
|
group: {
|
|
975
1583
|
groupId: string;
|
|
@@ -985,6 +1593,8 @@ export declare class Groups {
|
|
|
985
1593
|
mode: "natural" | "mention" | "round-robin";
|
|
986
1594
|
contextThroughSeq: number;
|
|
987
1595
|
state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
|
|
1596
|
+
inputFlowId?: string | undefined;
|
|
1597
|
+
inputFlowSessionId?: string | undefined;
|
|
988
1598
|
ownerFollowUp?: {
|
|
989
1599
|
predecessorTurnId: string;
|
|
990
1600
|
predecessorTurnRevision: number;
|
|
@@ -1061,6 +1671,7 @@ export declare class Groups {
|
|
|
1061
1671
|
}[] | undefined;
|
|
1062
1672
|
replyTo?: string | undefined;
|
|
1063
1673
|
protocol?: 2 | undefined;
|
|
1674
|
+
memoryStatusOnly?: true | undefined;
|
|
1064
1675
|
automaticExecutions?: number | undefined;
|
|
1065
1676
|
continuationAllowance?: number | undefined;
|
|
1066
1677
|
stoppedMemberIds?: string[] | undefined;
|
|
@@ -1068,6 +1679,16 @@ export declare class Groups {
|
|
|
1068
1679
|
stopMember(...args: Parameters<GroupTurns['stopMember']>): Promise<{
|
|
1069
1680
|
updatedAt: number;
|
|
1070
1681
|
revision: number;
|
|
1682
|
+
routing?: {
|
|
1683
|
+
strategy: "explicit" | "legacy" | "local-role" | "fallback";
|
|
1684
|
+
version: 1;
|
|
1685
|
+
candidateMemberIds: string[];
|
|
1686
|
+
selectedMemberIds: string[];
|
|
1687
|
+
reason: "failed" | "disabled" | "mode" | "mention" | "reply" | "round" | "role-match" | "no-match";
|
|
1688
|
+
deciderCalls: 0;
|
|
1689
|
+
plannedCalls: number;
|
|
1690
|
+
modelRequests?: number | undefined;
|
|
1691
|
+
} | undefined;
|
|
1071
1692
|
id: string;
|
|
1072
1693
|
group: {
|
|
1073
1694
|
groupId: string;
|
|
@@ -1083,6 +1704,8 @@ export declare class Groups {
|
|
|
1083
1704
|
mode: "natural" | "mention" | "round-robin";
|
|
1084
1705
|
contextThroughSeq: number;
|
|
1085
1706
|
state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
|
|
1707
|
+
inputFlowId?: string | undefined;
|
|
1708
|
+
inputFlowSessionId?: string | undefined;
|
|
1086
1709
|
ownerFollowUp?: {
|
|
1087
1710
|
predecessorTurnId: string;
|
|
1088
1711
|
predecessorTurnRevision: number;
|
|
@@ -1159,6 +1782,7 @@ export declare class Groups {
|
|
|
1159
1782
|
}[] | undefined;
|
|
1160
1783
|
replyTo?: string | undefined;
|
|
1161
1784
|
protocol?: 2 | undefined;
|
|
1785
|
+
memoryStatusOnly?: true | undefined;
|
|
1162
1786
|
automaticExecutions?: number | undefined;
|
|
1163
1787
|
continuationAllowance?: number | undefined;
|
|
1164
1788
|
stoppedMemberIds?: string[] | undefined;
|
|
@@ -1179,6 +1803,14 @@ export declare class Groups {
|
|
|
1179
1803
|
mode: "natural" | "mention" | "round-robin";
|
|
1180
1804
|
membershipRevision: number;
|
|
1181
1805
|
state: "ready" | "creating" | "recovery_needed";
|
|
1806
|
+
onDemand?: boolean | undefined;
|
|
1807
|
+
memberRoles?: {
|
|
1808
|
+
bot: {
|
|
1809
|
+
botId: string;
|
|
1810
|
+
botCreatedAt: number;
|
|
1811
|
+
};
|
|
1812
|
+
role: string;
|
|
1813
|
+
}[] | undefined;
|
|
1182
1814
|
modelSelection?: {
|
|
1183
1815
|
provider: string;
|
|
1184
1816
|
model: string;
|
|
@@ -1194,6 +1826,32 @@ export declare class Groups {
|
|
|
1194
1826
|
}[] | undefined;
|
|
1195
1827
|
modelRevision?: number | undefined;
|
|
1196
1828
|
nextMemberId?: string | undefined;
|
|
1829
|
+
exportApprovals?: {
|
|
1830
|
+
bot: {
|
|
1831
|
+
botId: string;
|
|
1832
|
+
botCreatedAt: number;
|
|
1833
|
+
};
|
|
1834
|
+
membershipRevision: number;
|
|
1835
|
+
members: {
|
|
1836
|
+
botId: string;
|
|
1837
|
+
botCreatedAt: number;
|
|
1838
|
+
}[];
|
|
1839
|
+
enabledAt: number;
|
|
1840
|
+
}[] | undefined;
|
|
1841
|
+
supergroup?: {
|
|
1842
|
+
workId: string;
|
|
1843
|
+
originSessionId: string;
|
|
1844
|
+
originMessageId: string;
|
|
1845
|
+
owner: {
|
|
1846
|
+
botId: string;
|
|
1847
|
+
botCreatedAt: number;
|
|
1848
|
+
};
|
|
1849
|
+
readers: {
|
|
1850
|
+
botId: string;
|
|
1851
|
+
botCreatedAt: number;
|
|
1852
|
+
}[];
|
|
1853
|
+
expiresAt: number;
|
|
1854
|
+
} | undefined;
|
|
1197
1855
|
}>;
|
|
1198
1856
|
close(): Promise<void>;
|
|
1199
1857
|
}
|