dsh-botgroup 0.6.7 → 0.7.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 +60 -122
- package/README.md +59 -121
- package/lib/client.js +9117 -5624
- 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.js +42 -14
- 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.js +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 +1 -1
- package/lib/host/data-flow/lineage.js +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.js +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 +12 -7
- package/lib/host/groups/concurrent.js.map +1 -1
- package/lib/host/groups/data-flow.js +10 -5
- package/lib/host/groups/data-flow.js.map +1 -1
- package/lib/host/groups/failure.js +1 -1
- package/lib/host/groups/members.d.ts +69 -2
- package/lib/host/groups/members.js +41 -3
- package/lib/host/groups/members.js.map +1 -1
- package/lib/host/groups/messages.d.ts +54 -0
- package/lib/host/groups/messages.js +5 -2
- 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 +65 -0
- package/lib/host/groups/model.js +6 -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.js +1 -1
- package/lib/host/groups/recall-tool.js +1 -1
- package/lib/host/groups/recall.d.ts +2 -2
- package/lib/host/groups/recall.js +1 -1
- package/lib/host/groups/remote.d.ts +317 -0
- package/lib/host/groups/remote.js +32 -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 +28 -1
- package/lib/host/groups/routing.js +33 -3
- package/lib/host/groups/routing.js.map +1 -1
- package/lib/host/groups/service.d.ts +502 -2
- package/lib/host/groups/service.js +43 -5
- package/lib/host/groups/service.js.map +1 -1
- package/lib/host/groups/state.d.ts +158 -1
- package/lib/host/groups/state.js +4 -2
- 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 +113 -0
- package/lib/host/groups/team-recipes.js +92 -0
- package/lib/host/groups/team-recipes.js.map +1 -0
- package/lib/host/groups/turn-runner.d.ts +3 -0
- package/lib/host/groups/turn-runner.js +43 -8
- package/lib/host/groups/turn-runner.js.map +1 -1
- package/lib/host/groups/turns.d.ts +84 -1
- package/lib/host/groups/turns.js +44 -11
- 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 +80 -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.js +1 -1
- package/lib/host/memory/admission.js +1 -1
- package/lib/host/memory/auto-share.js +1 -1
- package/lib/host/memory/confirmation.d.ts +4 -4
- package/lib/host/memory/confirmation.js +1 -1
- package/lib/host/memory/conflicts.js +1 -1
- package/lib/host/memory/context.js +1 -1
- package/lib/host/memory/domain-v2.d.ts +8 -8
- package/lib/host/memory/domain-v2.js +1 -1
- package/lib/host/memory/facade.d.ts +131 -3
- package/lib/host/memory/facade.js +101 -2
- 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 +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 +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 +4 -4
- package/lib/host/memory/quota.js +1 -1
- package/lib/host/memory/remote.d.ts +124 -0
- package/lib/host/memory/remote.js +12 -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 +1 -1
- package/lib/host/memory/temporal.js +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 +4 -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 +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.js +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 +166 -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 +1711 -51
- package/lib/host/proactive/service.js +1 -1
- 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 +2 -1
- package/lib/host/registry/lifecycle.js +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 +4 -1
- package/lib/host/registry-config.js +3 -1
- package/lib/host/registry-config.js.map +1 -1
- package/lib/host/registry.d.ts +3 -0
- package/lib/host/registry.js +2 -1
- 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 +361 -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 +33 -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/remote.d.ts +1944 -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 +935 -0
- package/lib/host/supergroup/service.js +921 -0
- package/lib/host/supergroup/service.js.map +1 -0
- package/lib/host/supergroup/task-support.d.ts +245 -0
- package/lib/host/supergroup/task-support.js +310 -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 +274 -258
- package/lib/proactive-coordinator/main.mjs +176 -9
- 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.js +1 -1
- package/lib/shared/eval-budget.js +1 -1
- package/lib/shared/group-recall-reads.js +1 -1
- package/lib/shared/group-recall.js +1 -1
- package/lib/shared/groups-contract.d.ts +1777 -0
- package/lib/shared/groups-contract.js +9 -1
- package/lib/shared/groups-contract.js.map +1 -1
- package/lib/shared/groups.d.ts +161 -0
- package/lib/shared/groups.js +18 -1
- 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.js +1 -1
- package/lib/shared/memory-forget.js +1 -1
- package/lib/shared/memory-management.d.ts +426 -0
- package/lib/shared/memory-management.js +9 -1
- package/lib/shared/memory-management.js.map +1 -1
- package/lib/shared/memory-ops.js +1 -1
- package/lib/shared/memory-tool-names.js +1 -1
- package/lib/shared/memory-v2.js +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.js +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 +3 -0
- package/lib/shared/operation-errors.js +4 -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.js +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.js +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 +627 -0
- package/lib/shared/proactive/protocol.js +1 -1
- package/lib/shared/proactive/remote-contract.d.ts +792 -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 +531 -8
- package/lib/shared/remote-contract.js +10 -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 +7119 -0
- package/lib/shared/supergroup-contract.js +26 -0
- package/lib/shared/supergroup-contract.js.map +1 -0
- package/lib/shared/supergroup.d.ts +1441 -0
- package/lib/shared/supergroup.js +56 -0
- package/lib/shared/supergroup.js.map +1 -0
- package/lib/shared/task-materials.d.ts +166 -0
- package/lib/shared/task-materials.js +40 -0
- package/lib/shared/task-materials.js.map +1 -0
- package/lib/shared/team-recipes.d.ts +109 -0
- package/lib/shared/team-recipes.js +25 -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 +239 -7
- package/locale/zh.json +239 -7
- package/package.json +2 -1
|
@@ -15007,6 +15007,17 @@ var groupSetModelSchema = external_exports.strictObject({
|
|
|
15007
15007
|
modelSelection: groupModelSelectionSchema.nullable()
|
|
15008
15008
|
});
|
|
15009
15009
|
var name = botRecordFields.shape.name;
|
|
15010
|
+
var groupRoleSchema = external_exports.array(external_exports.strictObject({ bot: botKeySchema, role: external_exports.string().trim().min(1).max(64) })).max(16);
|
|
15011
|
+
var groupRoutingSchema = external_exports.strictObject({
|
|
15012
|
+
strategy: external_exports.enum(["explicit", "legacy", "local-role", "fallback"]),
|
|
15013
|
+
version: external_exports.literal(1),
|
|
15014
|
+
candidateMemberIds: external_exports.array(resourceId),
|
|
15015
|
+
selectedMemberIds: external_exports.array(resourceId),
|
|
15016
|
+
reason: external_exports.enum(["mention", "reply", "round", "disabled", "mode", "role-match", "no-match", "failed"]),
|
|
15017
|
+
modelRequests: external_exports.number().int().nonnegative().optional(),
|
|
15018
|
+
deciderCalls: external_exports.literal(0),
|
|
15019
|
+
plannedCalls: external_exports.number().int().nonnegative()
|
|
15020
|
+
});
|
|
15010
15021
|
var groupRecordSchema = external_exports.strictObject({
|
|
15011
15022
|
id: resourceId,
|
|
15012
15023
|
operationId: resourceId,
|
|
@@ -15019,6 +15030,8 @@ var groupRecordSchema = external_exports.strictObject({
|
|
|
15019
15030
|
rootPresetId: external_exports.literal(GROUP_ROOT_PRESET),
|
|
15020
15031
|
cwd: external_exports.string(),
|
|
15021
15032
|
mode: groupModeSchema,
|
|
15033
|
+
onDemand: external_exports.boolean().optional(),
|
|
15034
|
+
memberRoles: groupRoleSchema.optional(),
|
|
15022
15035
|
modelSelection: groupModelSelectionSchema.optional(),
|
|
15023
15036
|
memberModelSelections: groupMemberModelSelectionsSchema.optional(),
|
|
15024
15037
|
modelRevision: external_exports.number().int().nonnegative().optional(),
|
|
@@ -15026,7 +15039,15 @@ var groupRecordSchema = external_exports.strictObject({
|
|
|
15026
15039
|
membershipRevision: rev,
|
|
15027
15040
|
revision: rev,
|
|
15028
15041
|
archived: external_exports.boolean(),
|
|
15029
|
-
state: external_exports.enum(["creating", "ready", "recovery_needed"])
|
|
15042
|
+
state: external_exports.enum(["creating", "ready", "recovery_needed"]),
|
|
15043
|
+
supergroup: external_exports.strictObject({
|
|
15044
|
+
workId: resourceId,
|
|
15045
|
+
originSessionId: external_exports.string().min(1),
|
|
15046
|
+
originMessageId: external_exports.string().min(1),
|
|
15047
|
+
owner: botKeySchema,
|
|
15048
|
+
readers: external_exports.array(botKeySchema).min(1).max(65),
|
|
15049
|
+
expiresAt: external_exports.number().finite()
|
|
15050
|
+
}).optional()
|
|
15030
15051
|
});
|
|
15031
15052
|
var groupMemberSchema = external_exports.strictObject({
|
|
15032
15053
|
id: resourceId,
|
|
@@ -15078,6 +15099,7 @@ var groupTurnSchema = external_exports.strictObject({
|
|
|
15078
15099
|
membershipRevision: rev,
|
|
15079
15100
|
orderedMemberIds: external_exports.array(resourceId),
|
|
15080
15101
|
mode: groupModeSchema,
|
|
15102
|
+
routing: groupRoutingSchema.optional(),
|
|
15081
15103
|
contextThroughSeq: external_exports.number().int(),
|
|
15082
15104
|
modelSelection: groupModelSelectionSchema.optional(),
|
|
15083
15105
|
memberModelSelections: groupMemberModelSelectionsSchema.optional(),
|
|
@@ -15140,7 +15162,9 @@ var groupCreateSchema = external_exports.strictObject({
|
|
|
15140
15162
|
members: external_exports.array(botKeySchema).min(2).max(16),
|
|
15141
15163
|
mode: groupModeSchema,
|
|
15142
15164
|
cwd: external_exports.string().min(1).optional(),
|
|
15143
|
-
historyConfirmed: external_exports.literal(true)
|
|
15165
|
+
historyConfirmed: external_exports.literal(true),
|
|
15166
|
+
onDemand: external_exports.boolean().optional(),
|
|
15167
|
+
memberRoles: groupRoleSchema.optional()
|
|
15144
15168
|
});
|
|
15145
15169
|
var groupEditSchema = external_exports.strictObject({
|
|
15146
15170
|
expectedRevision: rev,
|
|
@@ -15148,7 +15172,9 @@ var groupEditSchema = external_exports.strictObject({
|
|
|
15148
15172
|
name,
|
|
15149
15173
|
mode: groupModeSchema,
|
|
15150
15174
|
members: external_exports.array(botKeySchema).min(2).max(16),
|
|
15151
|
-
historyConfirmed: external_exports.literal(true)
|
|
15175
|
+
historyConfirmed: external_exports.literal(true),
|
|
15176
|
+
onDemand: external_exports.boolean().optional(),
|
|
15177
|
+
memberRoles: groupRoleSchema.optional()
|
|
15152
15178
|
});
|
|
15153
15179
|
var groupSendSchema = external_exports.strictObject({
|
|
15154
15180
|
operationId: resourceId,
|
|
@@ -15324,6 +15350,25 @@ var followUpOriginSchema = external_exports.discriminatedUnion("kind", [
|
|
|
15324
15350
|
...localOriginSchema.options,
|
|
15325
15351
|
external_exports.strictObject({ kind: external_exports.literal("watch"), watchId: resourceId })
|
|
15326
15352
|
]);
|
|
15353
|
+
var followUpCompletionTargetSchema = external_exports.discriminatedUnion("kind", [
|
|
15354
|
+
external_exports.strictObject({
|
|
15355
|
+
kind: external_exports.literal("subtask-completed"),
|
|
15356
|
+
cardId: resourceId,
|
|
15357
|
+
origin: localOriginSchema,
|
|
15358
|
+
sourceGeneration: revision2,
|
|
15359
|
+
afterRevision: revision2
|
|
15360
|
+
}),
|
|
15361
|
+
external_exports.strictObject({
|
|
15362
|
+
kind: external_exports.literal("ci-completed"),
|
|
15363
|
+
cardId: resourceId,
|
|
15364
|
+
origin: external_exports.strictObject({ kind: external_exports.literal("work"), ticketId: resourceId, assignmentId: resourceId }),
|
|
15365
|
+
sourceId: resourceId,
|
|
15366
|
+
sourceGeneration: revision2,
|
|
15367
|
+
threadId: resourceId,
|
|
15368
|
+
afterAttempt: revision2,
|
|
15369
|
+
afterObservedAt: external_exports.iso.datetime()
|
|
15370
|
+
})
|
|
15371
|
+
]);
|
|
15327
15372
|
var followUpWaitSchema = external_exports.strictObject({
|
|
15328
15373
|
reason: summary,
|
|
15329
15374
|
request: summary,
|
|
@@ -15376,7 +15421,9 @@ var watchDraft = external_exports.strictObject({
|
|
|
15376
15421
|
external_exports.strictObject({ kind: external_exports.literal("manual") }),
|
|
15377
15422
|
external_exports.strictObject({ kind: external_exports.literal("message"), sessionId: resourceId, messageId: resourceId, confirmationId: resourceId })
|
|
15378
15423
|
]),
|
|
15379
|
-
wait: followUpWaitSchema.optional()
|
|
15424
|
+
wait: followUpWaitSchema.optional(),
|
|
15425
|
+
when: followUpCompletionTargetSchema.optional(),
|
|
15426
|
+
deadlineAt: external_exports.iso.datetime().optional()
|
|
15380
15427
|
});
|
|
15381
15428
|
var groupProposalSource = external_exports.strictObject({
|
|
15382
15429
|
kind: external_exports.literal("group-proposal"),
|
|
@@ -15426,7 +15473,10 @@ var followUpCardSchema = external_exports.strictObject({
|
|
|
15426
15473
|
observedAt: external_exports.iso.datetime(),
|
|
15427
15474
|
title: summary,
|
|
15428
15475
|
condition: external_exports.union([conditionSchema, approvalPending]),
|
|
15429
|
-
state: external_exports.enum(["open", "ignored", "stopped", "closed"])
|
|
15476
|
+
state: external_exports.enum(["open", "ignored", "stopped", "closed"]),
|
|
15477
|
+
completionTarget: followUpCompletionTargetSchema.optional(),
|
|
15478
|
+
when: followUpCompletionTargetSchema.optional(),
|
|
15479
|
+
deadlineAt: external_exports.iso.datetime().optional()
|
|
15430
15480
|
});
|
|
15431
15481
|
var followUpPageRequestSchema = external_exports.strictObject({
|
|
15432
15482
|
subject: subjectSchema,
|
|
@@ -17523,9 +17573,86 @@ function openFollowUp(db) {
|
|
|
17523
17573
|
revision: previous ? previous.revision + 1 : 0,
|
|
17524
17574
|
observedAt: fact.occurredAt,
|
|
17525
17575
|
condition: fact.condition,
|
|
17526
|
-
state: fact.condition.kind === "closed" ? "closed" : ignored ? "ignored" : "open"
|
|
17576
|
+
state: fact.condition.kind === "closed" ? "closed" : ignored ? "ignored" : "open",
|
|
17577
|
+
...fact.completionTarget ? { completionTarget: fact.completionTarget } : {}
|
|
17527
17578
|
});
|
|
17528
17579
|
}
|
|
17580
|
+
function validateWatchTarget(subject, target, deadlineAt) {
|
|
17581
|
+
if (!target) return;
|
|
17582
|
+
if (!deadlineAt || Date.parse(deadlineAt) <= Date.now()) throw new Rejection("invalid");
|
|
17583
|
+
const row = readHead.get(subjectKey(subject), target.cardId);
|
|
17584
|
+
const card = row?.card ? decodeCard({ card: row.card }) : void 0;
|
|
17585
|
+
if (card?.state !== "open" || !card.completionTarget || digest3(card.completionTarget) !== digest3(target)) throw new Rejection("stale");
|
|
17586
|
+
}
|
|
17587
|
+
function settleWatch(engine, key3, raw, condition, factId) {
|
|
17588
|
+
const watch = followUpWatchSchema.parse(JSON.parse(String(raw.watch)));
|
|
17589
|
+
const card = decodeCard(raw);
|
|
17590
|
+
if (watch.state !== "active" || !watch.when || card.state === "stopped" || card.state === "closed") return;
|
|
17591
|
+
const next = project(engine, watch.subject, {
|
|
17592
|
+
nativeId: watch.id,
|
|
17593
|
+
nativeRevision: watch.revision + 1,
|
|
17594
|
+
payloadDigest: digest3([watch, factId]),
|
|
17595
|
+
occurredAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
17596
|
+
origin: card.origin,
|
|
17597
|
+
title: watch.title,
|
|
17598
|
+
condition
|
|
17599
|
+
}, 0, card);
|
|
17600
|
+
next.when = watch.when;
|
|
17601
|
+
next.deadlineAt = watch.deadlineAt;
|
|
17602
|
+
watch.state = condition.kind === "closed" ? "stopped" : "completed";
|
|
17603
|
+
watch.revision++;
|
|
17604
|
+
db.prepare("UPDATE pb_follow_up_head SET card=?,watch=?,observed_at=? WHERE subject=? AND id=?").run(JSON.stringify(next), JSON.stringify(watch), next.observedAt, key3, card.id);
|
|
17605
|
+
}
|
|
17606
|
+
function watchDeadlines(engine, subject) {
|
|
17607
|
+
const key3 = subjectKey(subject);
|
|
17608
|
+
for (const raw of db.prepare(`SELECT card,watch FROM pb_follow_up_head WHERE subject=?
|
|
17609
|
+
AND json_extract(watch,'$.state')='active' AND json_extract(watch,'$.when') IS NOT NULL`).all(key3)) {
|
|
17610
|
+
const watch = followUpWatchSchema.parse(JSON.parse(String(raw.watch)));
|
|
17611
|
+
if (!watch.when) continue;
|
|
17612
|
+
const revoked = watch.when.kind === "ci-completed" && db.prepare("SELECT generation FROM pb_source_revocation WHERE id=?").get(watch.when.sourceId);
|
|
17613
|
+
const source = watch.when.kind === "ci-completed" && db.prepare("SELECT generation FROM pb_source WHERE id=?").get(watch.when.sourceId);
|
|
17614
|
+
if (watch.deadlineAt && Date.parse(watch.deadlineAt) <= Date.now() || source && Number(source.generation) > (watch.when.kind === "ci-completed" ? watch.when.sourceGeneration : 0) || revoked && Number(revoked.generation) >= (watch.when.kind === "ci-completed" ? watch.when.sourceGeneration : 0))
|
|
17615
|
+
settleWatch(engine, key3, { card: raw.card, watch: raw.watch }, { kind: "closed", reason: "cancelled" }, "deadline-or-source-revoked");
|
|
17616
|
+
}
|
|
17617
|
+
}
|
|
17618
|
+
function observeCompletion(engine, subject, fact, sourceGeneration) {
|
|
17619
|
+
watchDeadlines(engine, subject);
|
|
17620
|
+
const key3 = subjectKey(subject);
|
|
17621
|
+
for (const raw of db.prepare(`SELECT card,watch FROM pb_follow_up_head WHERE subject=?
|
|
17622
|
+
AND json_extract(watch,'$.state')='active' AND json_extract(watch,'$.when.kind')='subtask-completed'`).all(key3)) {
|
|
17623
|
+
const watch = followUpWatchSchema.parse(JSON.parse(String(raw.watch)));
|
|
17624
|
+
const target = watch.when;
|
|
17625
|
+
if (target?.kind !== "subtask-completed" || digest3(target.origin) !== digest3(fact.origin) || target.sourceGeneration !== sourceGeneration || fact.nativeRevision <= target.afterRevision || !["closed", "failed"].includes(fact.condition.kind)) continue;
|
|
17626
|
+
settleWatch(
|
|
17627
|
+
engine,
|
|
17628
|
+
key3,
|
|
17629
|
+
{ card: raw.card, watch: raw.watch },
|
|
17630
|
+
fact.condition.kind === "failed" ? fact.condition : fact.condition.kind === "closed" && fact.condition.reason === "cancelled" ? fact.condition : { kind: "needs-review" },
|
|
17631
|
+
digest3([fact.nativeId, fact.nativeRevision, fact.payloadDigest])
|
|
17632
|
+
);
|
|
17633
|
+
}
|
|
17634
|
+
}
|
|
17635
|
+
function observeCi(engine, sourceId, sourceGeneration, threadId, attempt, observedAt, conclusion) {
|
|
17636
|
+
for (const raw of db.prepare(`SELECT subject,card,watch FROM pb_follow_up_head
|
|
17637
|
+
WHERE json_extract(watch,'$.state')='active' AND json_extract(watch,'$.when.kind')='ci-completed'
|
|
17638
|
+
AND json_extract(watch,'$.when.sourceId')=? AND json_extract(watch,'$.when.sourceGeneration')=?
|
|
17639
|
+
AND json_extract(watch,'$.when.threadId')=?`).all(sourceId, sourceGeneration, threadId)) {
|
|
17640
|
+
const watch = followUpWatchSchema.parse(JSON.parse(String(raw.watch)));
|
|
17641
|
+
if (!policy(watch.subject).localEnabled) continue;
|
|
17642
|
+
watchDeadlines(engine, watch.subject);
|
|
17643
|
+
const target = watch.when;
|
|
17644
|
+
if (target?.kind !== "ci-completed" || attempt < target.afterAttempt || attempt === target.afterAttempt && observedAt <= target.afterObservedAt) continue;
|
|
17645
|
+
const current = readHead.get(subjectKey(watch.subject), decodeCard({ card: raw.card }).id);
|
|
17646
|
+
if (!current?.watch || !current.card) continue;
|
|
17647
|
+
settleWatch(
|
|
17648
|
+
engine,
|
|
17649
|
+
subjectKey(watch.subject),
|
|
17650
|
+
current,
|
|
17651
|
+
conclusion === "cancelled" ? { kind: "closed", reason: "cancelled" } : conclusion === "failure" ? { kind: "failed" } : { kind: "needs-review" },
|
|
17652
|
+
digest3([sourceId, sourceGeneration, threadId, attempt, observedAt, conclusion])
|
|
17653
|
+
);
|
|
17654
|
+
}
|
|
17655
|
+
}
|
|
17529
17656
|
function saveHead(key3, id3, generation, fact, eventDigest, card) {
|
|
17530
17657
|
db.prepare(`INSERT INTO pb_follow_up_head VALUES (?,?,?,?,?,?,?,NULL) ON CONFLICT(subject,id)
|
|
17531
17658
|
DO UPDATE SET source_generation=excluded.source_generation,native_revision=excluded.native_revision,
|
|
@@ -17584,13 +17711,26 @@ function openFollowUp(db) {
|
|
|
17584
17711
|
title: row.title.slice(0, 500).trim() || row.ticketId,
|
|
17585
17712
|
condition
|
|
17586
17713
|
};
|
|
17587
|
-
const
|
|
17714
|
+
const ci = db.prepare("SELECT source,generation,thread,attempt,observed_at FROM pb_ci_head WHERE decision=?").get(row.decisionId);
|
|
17715
|
+
const completionTarget = ci ? {
|
|
17716
|
+
kind: "ci-completed",
|
|
17717
|
+
cardId: id3,
|
|
17718
|
+
origin: origin2,
|
|
17719
|
+
sourceId: String(ci.source),
|
|
17720
|
+
sourceGeneration: Number(ci.generation),
|
|
17721
|
+
threadId: String(ci.thread),
|
|
17722
|
+
afterAttempt: Number(ci.attempt),
|
|
17723
|
+
afterObservedAt: String(ci.observed_at)
|
|
17724
|
+
} : void 0;
|
|
17725
|
+
const card = !previous && condition.kind === "closed" ? null : project(engine, subject, { ...fact, completionTarget }, 0, previous);
|
|
17588
17726
|
saveHead(key3, id3, 0, fact, digest3(fact), card);
|
|
17727
|
+
observeCompletion(engine, subject, fact, 0);
|
|
17589
17728
|
}
|
|
17590
17729
|
function reconcileWork(engine, subject, expectedPolicyRevision) {
|
|
17591
17730
|
const current = policy(subject);
|
|
17592
17731
|
if (current.revision !== expectedPolicyRevision) throw new Rejection("stale");
|
|
17593
17732
|
if (!current.localEnabled) throw new Rejection("forbidden");
|
|
17733
|
+
watchDeadlines(engine, subject);
|
|
17594
17734
|
const key3 = subjectKey(subject);
|
|
17595
17735
|
const source = `@work-reconcile:${digest3(key3)}`;
|
|
17596
17736
|
const checkpoint2 = db.prepare("SELECT generation,checkpoint FROM pb_source WHERE id=?").get(source);
|
|
@@ -17643,8 +17783,17 @@ function openFollowUp(db) {
|
|
|
17643
17783
|
if (Date.parse(fact.occurredAt) < current.observationStart && (!fact.current || fact.condition.kind === "failed")) continue;
|
|
17644
17784
|
const previous = row?.card && decodeCard({ card: row.card });
|
|
17645
17785
|
if (previous && previous.state === "stopped") continue;
|
|
17646
|
-
const card = !previous && fact.condition.kind === "closed" ? null : project(engine, input.subject, fact,
|
|
17786
|
+
const card = !previous && fact.condition.kind === "closed" ? null : project(engine, input.subject, { ...fact, ...fact.condition.kind === "tracking" ? {
|
|
17787
|
+
completionTarget: {
|
|
17788
|
+
kind: "subtask-completed",
|
|
17789
|
+
cardId: id3,
|
|
17790
|
+
origin: fact.origin,
|
|
17791
|
+
sourceGeneration: input.sourceGeneration,
|
|
17792
|
+
afterRevision: fact.nativeRevision
|
|
17793
|
+
}
|
|
17794
|
+
} : {} }, input.sourceGeneration, previous || void 0);
|
|
17647
17795
|
saveHead(key3, id3, input.sourceGeneration, fact, eventDigest, card);
|
|
17796
|
+
observeCompletion(engine, input.subject, fact, input.sourceGeneration);
|
|
17648
17797
|
stored++;
|
|
17649
17798
|
}
|
|
17650
17799
|
db.prepare(`INSERT INTO pb_source VALUES (?,?,?) ON CONFLICT(id)
|
|
@@ -17655,6 +17804,7 @@ function openFollowUp(db) {
|
|
|
17655
17804
|
const current = policy(input.subject);
|
|
17656
17805
|
if (current.revision !== input.expectedRevision) throw new Rejection("stale");
|
|
17657
17806
|
if (!current.localEnabled) throw new Rejection("forbidden");
|
|
17807
|
+
validateWatchTarget(input.subject, input.watch.when, input.watch.deadlineAt);
|
|
17658
17808
|
const key3 = subjectKey(input.subject);
|
|
17659
17809
|
const proposed = input.watch.source.kind === "group-proposal";
|
|
17660
17810
|
if (proposed && db.prepare(`SELECT 1 FROM pb_follow_up_head WHERE subject=?
|
|
@@ -17680,6 +17830,8 @@ function openFollowUp(db) {
|
|
|
17680
17830
|
condition: proposed ? { kind: "approval-pending", completion: watch.completion, ...watch.wait ? { wait: watch.wait } : {} } : watch.wait ? { kind: "waiting-input", wait: watch.wait } : { kind: "tracking", completion: watch.completion }
|
|
17681
17831
|
};
|
|
17682
17832
|
const card = project(engine, input.subject, fact, 0);
|
|
17833
|
+
card.when = watch.when;
|
|
17834
|
+
card.deadlineAt = watch.deadlineAt;
|
|
17683
17835
|
db.prepare("INSERT INTO pb_follow_up_head VALUES (?,?,?,?,?,?,?,?)").run(
|
|
17684
17836
|
key3,
|
|
17685
17837
|
id3,
|
|
@@ -17701,11 +17853,14 @@ function openFollowUp(db) {
|
|
|
17701
17853
|
if (!row?.card || !row.watch) throw new Rejection("stale");
|
|
17702
17854
|
const card = decodeCard({ card: row.card });
|
|
17703
17855
|
const previous = followUpWatchSchema.parse(JSON.parse(String(row.watch)));
|
|
17856
|
+
validateWatchTarget(input.subject, input.watch.when, input.watch.deadlineAt);
|
|
17704
17857
|
if (card.revision !== input.expectedRevision || previous.state !== "active" || card.state === "stopped" || card.state === "closed") throw new Rejection("stale");
|
|
17705
17858
|
const watch = followUpWatchSchema.parse({
|
|
17706
17859
|
...previous,
|
|
17707
17860
|
...input.watch,
|
|
17708
17861
|
wait: input.watch.wait,
|
|
17862
|
+
when: input.watch.when,
|
|
17863
|
+
deadlineAt: input.watch.deadlineAt,
|
|
17709
17864
|
revision: previous.revision + 1
|
|
17710
17865
|
});
|
|
17711
17866
|
const fact = {
|
|
@@ -17718,6 +17873,8 @@ function openFollowUp(db) {
|
|
|
17718
17873
|
condition: watch.wait ? { kind: "waiting-input", wait: watch.wait } : { kind: "tracking", completion: watch.completion }
|
|
17719
17874
|
};
|
|
17720
17875
|
const next = project(engine, input.subject, fact, 0, card);
|
|
17876
|
+
next.when = watch.when;
|
|
17877
|
+
next.deadlineAt = watch.deadlineAt;
|
|
17721
17878
|
db.prepare("UPDATE pb_follow_up_head SET native_revision=?,payload_digest=?,observed_at=?,card=?,watch=? WHERE subject=? AND id=?").run(watch.revision, fact.payloadDigest, next.observedAt, JSON.stringify(next), JSON.stringify(watch), key3, card.id);
|
|
17722
17879
|
return 1;
|
|
17723
17880
|
}
|
|
@@ -17752,7 +17909,7 @@ function openFollowUp(db) {
|
|
|
17752
17909
|
);
|
|
17753
17910
|
return 1;
|
|
17754
17911
|
}
|
|
17755
|
-
if (input.action === "complete" && watch?.state !== "active") throw new Rejection("forbidden");
|
|
17912
|
+
if (input.action === "complete" && watch?.state !== "active" && watch?.state !== "completed") throw new Rejection("forbidden");
|
|
17756
17913
|
if (input.action === "ignore" && card.state === "ignored") return 0;
|
|
17757
17914
|
const next = {
|
|
17758
17915
|
...card,
|
|
@@ -17783,6 +17940,7 @@ function openFollowUp(db) {
|
|
|
17783
17940
|
bootstrap,
|
|
17784
17941
|
observeWork,
|
|
17785
17942
|
reconcileWork,
|
|
17943
|
+
observeCi,
|
|
17786
17944
|
allowsLegacy(subject) {
|
|
17787
17945
|
return !scopedRecovery() && (!subject || policy(subject).legacyCi !== "denied");
|
|
17788
17946
|
},
|
|
@@ -21403,6 +21561,15 @@ function openCoordinator(path, installationId, expectedStoreId, budget, external
|
|
|
21403
21561
|
event.ci.conclusion,
|
|
21404
21562
|
decision.id
|
|
21405
21563
|
);
|
|
21564
|
+
followUp.observeCi(
|
|
21565
|
+
engine,
|
|
21566
|
+
body.sourceId,
|
|
21567
|
+
body.generation,
|
|
21568
|
+
event.threadId,
|
|
21569
|
+
event.ci.attempt,
|
|
21570
|
+
observedAt,
|
|
21571
|
+
event.ci.conclusion
|
|
21572
|
+
);
|
|
21406
21573
|
} else
|
|
21407
21574
|
engine.decide(id3, {
|
|
21408
21575
|
kind: "ignore",
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"revision": "8c32a9dc5d72c033816c6a8110b37f40cf94fba4",
|
|
3
3
|
"files": {
|
|
4
4
|
"core.mjs": "45debfa0e86ddf48d1e71d5a6a077a21ce17470ea565d0853dedda450b18333e",
|
|
5
|
-
"main.mjs": "
|
|
5
|
+
"main.mjs": "591cd22b3cfcdc46e084813398d777b28bfe534659c8e167f1337060d8a27390"
|
|
6
6
|
}
|
|
7
7
|
}
|
package/lib/shared/activity.js
CHANGED
|
@@ -47,4 +47,4 @@ export function isActivityUnread(record) {
|
|
|
47
47
|
return record.lastMessage.role === 'assistant' && record.lastMessage.at > (record.lastReadAt ?? 0);
|
|
48
48
|
}
|
|
49
49
|
//# sourceMappingURL=activity.js.map
|
|
50
|
-
export const DSH_BOT_MODULE_VERSION = '0.
|
|
50
|
+
export const DSH_BOT_MODULE_VERSION = '0.7.0';
|
|
@@ -60,4 +60,4 @@ export const automationRemoteSpec = {
|
|
|
60
60
|
export const AUTOMATION_REMOTE = createTypertRemoteInfo(automationRemoteSpec, z);
|
|
61
61
|
export default AUTOMATION_REMOTE;
|
|
62
62
|
//# sourceMappingURL=automation-contract.js.map
|
|
63
|
-
export const DSH_BOT_MODULE_VERSION = '0.
|
|
63
|
+
export const DSH_BOT_MODULE_VERSION = '0.7.0';
|
package/lib/shared/automation.js
CHANGED
package/lib/shared/bot-brand.js
CHANGED
|
@@ -35,4 +35,4 @@ export const capabilitiesSpec = { package: 'dsh-bot/capabilities', methods: {
|
|
|
35
35
|
} };
|
|
36
36
|
export const CAPABILITIES_REMOTE = createTypertRemoteInfo(capabilitiesSpec, z);
|
|
37
37
|
//# sourceMappingURL=capabilities-contract.js.map
|
|
38
|
-
export const DSH_BOT_MODULE_VERSION = '0.
|
|
38
|
+
export const DSH_BOT_MODULE_VERSION = '0.7.0';
|
|
@@ -49,4 +49,4 @@ export const collaborationSpec = {
|
|
|
49
49
|
};
|
|
50
50
|
export const COLLABORATION_REMOTE = createTypertRemoteInfo(collaborationSpec, z);
|
|
51
51
|
//# sourceMappingURL=collaboration-contract.js.map
|
|
52
|
-
export const DSH_BOT_MODULE_VERSION = '0.
|
|
52
|
+
export const DSH_BOT_MODULE_VERSION = '0.7.0';
|
|
@@ -60,4 +60,4 @@ export const imStatusSchema = z.strictObject({
|
|
|
60
60
|
reason: z.enum(['plugin-missing', 'contract-unavailable', 'consumer-gate-unverified']),
|
|
61
61
|
});
|
|
62
62
|
//# sourceMappingURL=collaboration.js.map
|
|
63
|
-
export const DSH_BOT_MODULE_VERSION = '0.
|
|
63
|
+
export const DSH_BOT_MODULE_VERSION = '0.7.0';
|
package/lib/shared/connectors.js
CHANGED
|
@@ -118,4 +118,4 @@ export const legacyImportSchema = z.strictObject({
|
|
|
118
118
|
});
|
|
119
119
|
export const CONNECTOR_TEMPLATES = ['github', 'filesystem', 'browser', 'notion'];
|
|
120
120
|
//# sourceMappingURL=connectors.js.map
|
|
121
|
-
export const DSH_BOT_MODULE_VERSION = '0.
|
|
121
|
+
export const DSH_BOT_MODULE_VERSION = '0.7.0';
|
package/lib/shared/data-flow.js
CHANGED
|
@@ -50,4 +50,4 @@ export const autoShareStatusSchema = z.strictObject({
|
|
|
50
50
|
});
|
|
51
51
|
export const autoShareToggleSchema = z.strictObject({ enabled: z.boolean(), expectedRevision: z.number().int().positive() });
|
|
52
52
|
//# sourceMappingURL=data-flow.js.map
|
|
53
|
-
export const DSH_BOT_MODULE_VERSION = '0.
|
|
53
|
+
export const DSH_BOT_MODULE_VERSION = '0.7.0';
|
|
@@ -31,4 +31,4 @@ export const ceiling = (row) => ({
|
|
|
31
31
|
calls: row.calls, input: row.inputCeiling, output: row.outputCeiling, money: row.moneyCeiling,
|
|
32
32
|
});
|
|
33
33
|
//# sourceMappingURL=eval-budget.js.map
|
|
34
|
-
export const DSH_BOT_MODULE_VERSION = '0.
|
|
34
|
+
export const DSH_BOT_MODULE_VERSION = '0.7.0';
|