@capybara-hq/kernel 0.1.0-rc.104 → 0.1.0-rc.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/agents.schemas.d.ts +9 -9
- package/dist/{schedules/schedules.controller.d.ts → automations/automations.controller.d.ts} +37 -32
- package/dist/{schedules/schedules.controller.js → automations/automations.controller.js} +68 -57
- package/dist/automations/automations.module.d.ts +16 -0
- package/dist/{schedules/schedules.module.js → automations/automations.module.js} +18 -15
- package/dist/{schedules/schedules.schemas.d.ts → automations/automations.schemas.d.ts} +151 -50
- package/dist/automations/automations.schemas.js +253 -0
- package/dist/{schedules/scheduled-tasks.service.d.ts → automations/automations.service.d.ts} +99 -52
- package/dist/{schedules/scheduled-tasks.service.js → automations/automations.service.js} +303 -134
- package/dist/{schedules → automations}/calendar.d.ts +8 -8
- package/dist/{schedules → automations}/calendar.js +2 -2
- package/dist/automations/effective-settings.d.ts +28 -0
- package/dist/automations/effective-settings.js +25 -0
- package/dist/automations/errors.d.ts +19 -0
- package/dist/automations/errors.js +19 -0
- package/dist/automations/events/coalesce.d.ts +28 -0
- package/dist/automations/events/coalesce.js +131 -0
- package/dist/automations/events/deadline.d.ts +10 -0
- package/dist/automations/events/deadline.js +24 -0
- package/dist/automations/events/dispatcher.d.ts +74 -0
- package/dist/automations/events/dispatcher.js +353 -0
- package/dist/automations/events/events.module.d.ts +7 -0
- package/dist/automations/events/events.module.js +26 -0
- package/dist/automations/events/guards.d.ts +32 -0
- package/dist/automations/events/guards.js +87 -0
- package/dist/automations/events/sweep.job.d.ts +49 -0
- package/dist/automations/events/sweep.job.js +202 -0
- package/dist/automations/events/token.d.ts +5 -0
- package/dist/automations/events/token.js +5 -0
- package/dist/automations/events/trigger-events.service.d.ts +47 -0
- package/dist/automations/events/trigger-events.service.js +254 -0
- package/dist/{schedules → automations}/fire.d.ts +57 -17
- package/dist/{schedules → automations}/fire.js +311 -79
- package/dist/{schedules → automations}/grant-rules.d.ts +1 -1
- package/dist/{schedules → automations}/grant-rules.js +5 -5
- package/dist/automations/job-ids.d.ts +113 -0
- package/dist/automations/job-ids.js +117 -0
- package/dist/{schedules → automations}/pause.d.ts +3 -3
- package/dist/{schedules → automations}/pause.js +3 -3
- package/dist/{schedules → automations}/run-tracker.d.ts +21 -10
- package/dist/{schedules → automations}/run-tracker.js +68 -56
- package/dist/{schedules → automations}/scan.job.d.ts +12 -8
- package/dist/{schedules → automations}/scan.job.js +39 -23
- package/dist/{schedules → automations}/schedule-math.d.ts +19 -12
- package/dist/{schedules → automations}/schedule-math.js +17 -7
- package/dist/{schedules → automations}/store.d.ts +57 -27
- package/dist/{schedules → automations}/store.js +102 -52
- package/dist/automations/store.module.d.ts +6 -0
- package/dist/{schedules → automations}/store.module.js +9 -9
- package/dist/automations/types.d.ts +178 -0
- package/dist/{schedules → automations}/unattended.d.ts +22 -11
- package/dist/{schedules → automations}/unattended.js +53 -30
- package/dist/catalog/marketplaces.service.d.ts +1 -1
- package/dist/channels/channels.module.js +3 -3
- package/dist/channels/outbound.d.ts +5 -5
- package/dist/channels/outbound.js +17 -17
- package/dist/channels/threads.d.ts +1 -1
- package/dist/channels/threads.js +1 -1
- package/dist/config/schema.d.ts +5 -1
- package/dist/config/schema.js +44 -6
- package/dist/conversations/approval-profile.d.ts +2 -2
- package/dist/conversations/approval-profile.js +3 -3
- package/dist/conversations/conversations.controller.d.ts +7 -1
- package/dist/conversations/conversations.controller.js +26 -10
- package/dist/conversations/conversations.service.d.ts +103 -25
- package/dist/conversations/conversations.service.js +138 -33
- package/dist/conversations/events.d.ts +48 -1
- package/dist/conversations/events.js +61 -9
- package/dist/conversations/message-context.d.ts +2 -2
- package/dist/conversations/message-context.js +1 -1
- package/dist/conversations/permission-profile-store.d.ts +2 -1
- package/dist/conversations/permission-profiles.controller.d.ts +3 -0
- package/dist/conversations/permission-profiles.service.js +1 -1
- package/dist/conversations/prompt-suggestion-request.d.ts +1 -1
- package/dist/conversations/prompt-suggestion-request.js +2 -1
- package/dist/conversations/queue.d.ts +7 -4
- package/dist/conversations/queue.js +6 -2
- package/dist/conversations/queue.service.d.ts +5 -5
- package/dist/conversations/queue.service.js +20 -14
- package/dist/ctx/create-ctx.d.ts +20 -1
- package/dist/ctx/create-ctx.js +59 -2
- package/dist/db/kernel-schema.d.ts +104 -25
- package/dist/devices/device-project-files.service.d.ts +88 -0
- package/dist/devices/device-project-files.service.js +249 -0
- package/dist/devices/device-projects.service.d.ts +40 -0
- package/dist/devices/device-projects.service.js +16 -13
- package/dist/devices/devices.controller.d.ts +9 -3
- package/dist/devices/devices.controller.js +27 -5
- package/dist/devices/devices.module.js +9 -1
- package/dist/devices/devices.schemas.js +6 -1
- package/dist/devices/dto.d.ts +15 -0
- package/dist/devices/dto.js +11 -0
- package/dist/devices/project-paths.d.ts +29 -0
- package/dist/devices/project-paths.js +66 -0
- package/dist/devices/project-rules.d.ts +5 -1
- package/dist/devices/project-rules.js +5 -1
- package/dist/errors.d.ts +47 -13
- package/dist/errors.js +47 -13
- package/dist/evals/reconstruct.d.ts +10 -1
- package/dist/evals/reconstruct.js +7 -0
- package/dist/extensions/host.d.ts +6 -1
- package/dist/extensions/host.js +10 -0
- package/dist/extensions/permission-set.d.ts +17 -1
- package/dist/extensions/permission-set.js +13 -1
- package/dist/extensions/permission-view.d.ts +1 -1
- package/dist/extensions/permission-view.js +4 -1
- package/dist/git/gateway.js +2 -2
- package/dist/handoff/app-schemes.d.ts +28 -0
- package/dist/handoff/app-schemes.js +41 -0
- package/dist/handoff/handoff-paths.d.ts +26 -0
- package/dist/handoff/handoff-paths.js +25 -0
- package/dist/handoff/handoff-tickets.d.ts +28 -0
- package/dist/handoff/handoff-tickets.js +111 -0
- package/dist/handoff/handoff.controller.d.ts +24 -0
- package/dist/handoff/handoff.controller.js +74 -0
- package/dist/handoff/handoff.module.d.ts +7 -0
- package/dist/handoff/handoff.module.js +26 -0
- package/dist/handoff/handoff.schemas.d.ts +13 -0
- package/dist/handoff/handoff.schemas.js +3 -0
- package/dist/handoff/handoff.service.d.ts +49 -0
- package/dist/handoff/handoff.service.js +96 -0
- package/dist/http/api.module.js +13 -5
- package/dist/http/meta.controller.d.ts +1 -0
- package/dist/http/meta.controller.js +7 -0
- package/dist/http/request-signal.d.ts +8 -0
- package/dist/http/request-signal.js +14 -0
- package/dist/identity/sso.controller.d.ts +30 -6
- package/dist/identity/sso.controller.js +51 -17
- package/dist/identity/sso.d.ts +10 -2
- package/dist/identity/sso.js +15 -3
- package/dist/inbox/inbox.module.js +2 -2
- package/dist/inbox/inbox.service.d.ts +8 -8
- package/dist/inbox/inbox.service.js +7 -7
- package/dist/infra/config/kernel-config.service.js +10 -5
- package/dist/infra/outbox/registry.d.ts +29 -2
- package/dist/infra/outbox/registry.js +30 -7
- package/dist/kernel.module.js +3 -0
- package/dist/orgs/roles.d.ts +1 -1
- package/dist/orgs/roles.js +3 -3
- package/dist/orgs/settings.controller.d.ts +1 -1
- package/dist/orgs/settings.service.d.ts +27 -11
- package/dist/orgs/settings.service.js +42 -24
- package/dist/overrides.d.ts +4 -4
- package/dist/overrides.js +1 -1
- package/dist/platform/exclusions.js +5 -0
- package/dist/platform/operation.js +2 -2
- package/dist/platform/ops/{schedules.ops.d.ts → automations.ops.d.ts} +4 -4
- package/dist/platform/ops/automations.ops.js +560 -0
- package/dist/platform/ops/connectors.ops.js +4 -2
- package/dist/platform/ops/devices.ops.d.ts +3 -1
- package/dist/platform/ops/devices.ops.js +77 -3
- package/dist/platform/ops/inbox.ops.js +4 -4
- package/dist/platform/ops/orgs.ops.js +1 -1
- package/dist/platform/ops/platform.ops.js +4 -4
- package/dist/platform/platform-ops.module.d.ts +2 -2
- package/dist/platform/platform-ops.module.js +5 -5
- package/dist/platform/route-schemas.js +3 -3
- package/dist/push/jobs.d.ts +3 -3
- package/dist/push/jobs.js +2 -2
- package/dist/push/preferences.service.js +1 -1
- package/dist/push/push-owed.d.ts +3 -3
- package/dist/push/push-owed.js +6 -6
- package/dist/push/push.schemas.d.ts +4 -4
- package/dist/push/push.schemas.js +3 -3
- package/dist/push/recipients.d.ts +4 -4
- package/dist/push/recipients.js +23 -23
- package/dist/push/texts.d.ts +3 -3
- package/dist/push/texts.js +2 -2
- package/dist/push/triggers.d.ts +1 -1
- package/dist/roles/worker.module.js +3 -3
- package/dist/runtime/compaction.service.d.ts +3 -1
- package/dist/runtime/compaction.service.js +3 -1
- package/dist/runtime/context/build.d.ts +6 -0
- package/dist/runtime/context/build.js +14 -3
- package/dist/runtime/context/compaction.d.ts +27 -1
- package/dist/runtime/context/compaction.js +102 -37
- package/dist/runtime/context/run-context.d.ts +38 -0
- package/dist/runtime/context/run-context.js +54 -0
- package/dist/runtime/maintenance.d.ts +8 -4
- package/dist/runtime/maintenance.js +37 -16
- package/dist/runtime/model-call.d.ts +6 -4
- package/dist/runtime/model-call.js +17 -7
- package/dist/runtime/project/knowledge.service.d.ts +16 -7
- package/dist/runtime/project/knowledge.service.js +31 -13
- package/dist/runtime/run-finish.d.ts +4 -4
- package/dist/runtime/run-finish.js +3 -3
- package/dist/runtime/run-queue.js +12 -7
- package/dist/runtime/run-worker.js +7 -1
- package/dist/runtime/runtime.module.js +3 -3
- package/dist/runtime/subagents/dispatch.js +11 -3
- package/dist/sandbox/browse-roots.d.ts +8 -0
- package/dist/sandbox/browse-roots.js +22 -0
- package/dist/sandbox/network-grants.d.ts +4 -4
- package/dist/sandbox/network-grants.js +7 -7
- package/dist/sandbox/operation-authority.d.ts +10 -3
- package/dist/sandbox/operation-authority.js +20 -10
- package/dist/sandbox/operation-intents.d.ts +3 -1
- package/dist/sandbox/operation-intents.js +11 -4
- package/dist/sandbox/permission-call-grants.js +2 -2
- package/dist/sandbox/permission-facts.js +1 -1
- package/dist/sandbox/review/classifier.d.ts +2 -2
- package/dist/sandbox/review/classifier.js +22 -11
- package/dist/sandbox/review/permission-candidate.d.ts +1 -1
- package/dist/sandbox/review/permission-candidate.js +1 -1
- package/dist/sandbox/sandbox.service.d.ts +15 -5
- package/dist/sandbox/sandbox.service.js +14 -8
- package/dist/storage/purge.d.ts +1 -1
- package/dist/storage/purge.js +2 -2
- package/dist/tools/approvals.service.d.ts +6 -6
- package/dist/tools/approvals.service.js +19 -19
- package/dist/tools/builtin-names.d.ts +12 -12
- package/dist/tools/builtin-names.js +29 -29
- package/dist/tools/builtins/{schedules.d.ts → automations.d.ts} +35 -33
- package/dist/tools/builtins/{schedules.js → automations.js} +236 -105
- package/dist/tools/builtins/builtin-tools.d.ts +8 -8
- package/dist/tools/builtins/builtin-tools.js +16 -16
- package/dist/tools/call-scope.d.ts +1 -1
- package/dist/tools/connectors.service.d.ts +4 -13
- package/dist/tools/connectors.service.js +12 -21
- package/dist/tools/git-asks.js +1 -1
- package/dist/tools/git-push-policy.d.ts +3 -3
- package/dist/tools/git-push-policy.js +6 -6
- package/dist/tools/network-asks.d.ts +3 -3
- package/dist/tools/network-asks.js +3 -3
- package/dist/tools/oauth/flow.d.ts +16 -2
- package/dist/tools/oauth/flow.js +23 -4
- package/dist/tools/oauth/oauth.controller.d.ts +19 -7
- package/dist/tools/oauth/oauth.controller.js +42 -12
- package/dist/tools/oauth/oauth.schemas.d.ts +14 -1
- package/dist/tools/oauth/oauth.schemas.js +4 -1
- package/dist/tools/pipeline.d.ts +4 -4
- package/dist/tools/pipeline.js +2 -2
- package/dist/tools/policy.d.ts +3 -3
- package/dist/tools/policy.js +3 -3
- package/dist/tools/tools.module.js +9 -9
- package/package.json +3 -3
- package/src/migrations/0188_automations_rename.sql +309 -0
- package/src/migrations/0189_event_automations.sql +136 -0
- package/dist/platform/ops/schedules.ops.js +0 -509
- package/dist/schedules/effective-settings.d.ts +0 -22
- package/dist/schedules/effective-settings.js +0 -18
- package/dist/schedules/errors.d.ts +0 -8
- package/dist/schedules/errors.js +0 -8
- package/dist/schedules/job-ids.d.ts +0 -81
- package/dist/schedules/job-ids.js +0 -95
- package/dist/schedules/schedules.module.d.ts +0 -16
- package/dist/schedules/schedules.schemas.js +0 -213
- package/dist/schedules/store.module.d.ts +0 -6
- package/dist/schedules/types.d.ts +0 -110
- /package/dist/{schedules → automations}/types.js +0 -0
|
@@ -11,15 +11,15 @@ import { OutboxService } from "../infra/outbox/outbox.service.js";
|
|
|
11
11
|
import type { KernelLogger } from "../log.js";
|
|
12
12
|
import { OrgLock } from "../orgs/org-lock.js";
|
|
13
13
|
import { DeviceProviders } from "../sandbox/providers.js";
|
|
14
|
-
import { type
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { type AutomationSettleJobData } from "./job-ids.js";
|
|
15
|
+
import { AutomationRunTracker } from "./run-tracker.js";
|
|
16
|
+
import { AutomationStore } from "./store.js";
|
|
17
17
|
/** A task run's message client id in a conversation's queue (never read back as "the task's"). */
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const automationClientMessageId: (taskRunId: string) => string;
|
|
19
19
|
/** The tick in the task's zone as the run's header shows it: `2026-11-11 09:00 (Asia/Shanghai)`. */
|
|
20
20
|
export declare function localTimeOf(at: Date, timeZone: string): string;
|
|
21
21
|
/**
|
|
22
|
-
* Checks and starts one task run (scheduled tasks spec §6), the body of the `
|
|
22
|
+
* Checks and starts one task run (scheduled tasks spec §6), the body of the `automation-fire-<id>` job.
|
|
23
23
|
* Idempotent on the task run: only a `pending` one is fired. Two steps:
|
|
24
24
|
*
|
|
25
25
|
* 1. The claim, one transaction under the org row lock (which serializes the org's rate limit
|
|
@@ -29,19 +29,25 @@ export declare function localTimeOf(at: Date, timeZone: string): string;
|
|
|
29
29
|
* gone or not visible, conversation gone, connection inactive or its extension disabled in the
|
|
30
30
|
* org, overlap, rate limit, device offline, queue paused), each a `skipped` run with its reason,
|
|
31
31
|
* the lasting ones also pausing the task; then `fired_at` is written, after the rate limit count,
|
|
32
|
-
* with the run's delayed settle check owed (`
|
|
32
|
+
* with the run's delayed settle check owed (`automation-settle`, {@link settle}).
|
|
33
33
|
* A run whose claim committed before (a retried job) goes straight to the start.
|
|
34
34
|
* 2. The start, idempotent: `new` creates the conversation with its first message keyed by the
|
|
35
35
|
* task run id (`create_request_id`); `conversation` queues the prompt in the target
|
|
36
36
|
* conversation's queue (never absorbed into a run in progress); `chat` finds the DM's live
|
|
37
37
|
* thread or creates and binds a conversation (one transaction), then queues the prompt there;
|
|
38
38
|
* a group chat gets a new conversation per run whose thread outbound binds at the run's first
|
|
39
|
-
* post (`openGroup`)
|
|
39
|
+
* post (`openGroup`); `subject` finds the subject's conversation (`automation_conversations`)
|
|
40
|
+
* or creates and maps one (one transaction, `bindSubject`), then queues the prompt there. A
|
|
41
|
+
* start that finds the target gone takes `fired_at` back and skips the run.
|
|
40
42
|
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
+
* A time run's message carries the schedule marker and the task's zone; an event run's carries
|
|
44
|
+
* the event marker (its events, from `automation_event_deliveries`; collaboration spec §4.6). The
|
|
45
|
+
* kernel run its message triggers takes the task run (`linkStartedRunIn`), and the run tracker
|
|
46
|
+
* follows it to its end. An event run skips the overlap check (its events would be lost): a `new`
|
|
47
|
+
* run gets its own conversation, and a `conversation` or `subject` run is queued into its
|
|
48
|
+
* conversation, whose queue serializes the runs. The rate limit counts the owner's runs.
|
|
43
49
|
*/
|
|
44
|
-
export declare class
|
|
50
|
+
export declare class AutomationFirer {
|
|
45
51
|
private readonly kdb;
|
|
46
52
|
readonly txHost: TransactionHost;
|
|
47
53
|
private readonly config;
|
|
@@ -60,7 +66,7 @@ export declare class ScheduledTaskFirer {
|
|
|
60
66
|
private readonly log;
|
|
61
67
|
/** The claim owes the run's settle check (ruling R26). */
|
|
62
68
|
private readonly outbox;
|
|
63
|
-
constructor(kdb: KernelDb, txHost: TransactionHost, config: Pick<KernelConfigService, "get">, store:
|
|
69
|
+
constructor(kdb: KernelDb, txHost: TransactionHost, config: Pick<KernelConfigService, "get">, store: AutomationStore, tracker: Pick<AutomationRunTracker, "inFlightIn" | "failStartIn">, orgLock: Pick<OrgLock, "tryLock">, agents: Pick<AgentLookup, "get">, access: Pick<ConversationAccess, "isAccessible">, conversations: Pick<ConversationsService, "createWithMessage" | "create">, queue: Pick<ConversationQueue, "add">, connections: Pick<ChannelConnections, "row" | "channel">,
|
|
64
70
|
/** Whether a dial-in device's machine is connected now. */
|
|
65
71
|
relay: Pick<DialInRelay, "online">,
|
|
66
72
|
/** Each device's provider (whether it serves its devices over the dial-in channel). */
|
|
@@ -71,7 +77,7 @@ export declare class ScheduledTaskFirer {
|
|
|
71
77
|
/** Fires task run `taskRunId` (see the class); a run not `pending` is left as it is. */
|
|
72
78
|
fire(taskRunId: string): Promise<void>;
|
|
73
79
|
/**
|
|
74
|
-
* The `
|
|
80
|
+
* The `automation-settle` job (ruling R26; `job-ids.ts`). The claimed check: a task run claimed
|
|
75
81
|
* (`fired_at`) and still `pending` goes through the run tracker's check, which links it to its
|
|
76
82
|
* run, settles it, or releases a run that left no trace (`skipped`, `removed`), so a `once`
|
|
77
83
|
* task's last run never stays pending; one still in flight (its item queued, its message posted)
|
|
@@ -80,27 +86,61 @@ export declare class ScheduledTaskFirer {
|
|
|
80
86
|
* a "run now", so the overlap check never waits on it. A run claimed, started, ended or skipped
|
|
81
87
|
* since is left as it is (the claimed check follows a claimed run).
|
|
82
88
|
*/
|
|
83
|
-
settle(data:
|
|
89
|
+
settle(data: AutomationSettleJobData): Promise<void>;
|
|
84
90
|
/** The unfired check (see {@link settle}), task row first (the one lock order). */
|
|
85
91
|
private settleUnfired;
|
|
86
92
|
/** Step 1 (see the class): a skip, the plan, or null when there is nothing to fire. */
|
|
87
93
|
private claim;
|
|
94
|
+
/** The marker a run's message carries: the event marker, or the schedule marker and zone. */
|
|
95
|
+
private markerOf;
|
|
88
96
|
/** Step 2 (see the class). */
|
|
89
97
|
private start;
|
|
90
98
|
/**
|
|
91
99
|
* The DM's live conversation, or a new one bound to it (`findOrBindThread`), in one transaction:
|
|
92
|
-
* a conversation it creates is the task's (`conversations.
|
|
100
|
+
* a conversation it creates is the task's (`conversations.automation_id`). Null when the
|
|
93
101
|
* live conversation's queue is paused (the run is skipped, `queue_paused`).
|
|
94
102
|
*/
|
|
95
103
|
private bindChat;
|
|
96
104
|
/**
|
|
97
105
|
* A group run's conversation (spec §8): a new one per run, the task's
|
|
98
|
-
* (`conversations.
|
|
106
|
+
* (`conversations.automation_id`), whose delivery goes to the group with its thread still to
|
|
99
107
|
* bind (`channel_deliveries.pending_thread_account_id` = the creator): outbound binds it at the
|
|
100
108
|
* run's first post, thread key = that message's id, so replies in that thread continue the
|
|
101
109
|
* conversation. One transaction; a retried start reuses the conversation it made before.
|
|
102
110
|
*/
|
|
103
111
|
private openGroup;
|
|
112
|
+
/**
|
|
113
|
+
* A subject run's conversation (collaboration spec §4.5), in one transaction under the task row
|
|
114
|
+
* lock (so two runs of one subject never create two): the conversation `automation_conversations`
|
|
115
|
+
* maps the subject to, when it is still live, the owner's chat with the task's agent and
|
|
116
|
+
* accessible; else a new one, the task's (`conversations.automation_id`) with
|
|
117
|
+
* `conversations.subject` set, whose mapping replaces the stale one (the mapping has no foreign
|
|
118
|
+
* key: a deleted conversation leaves it behind). Null when the run is no longer pending or the
|
|
119
|
+
* mapped conversation's queue is paused (the run is skipped, `queue_paused`). A retried start
|
|
120
|
+
* reuses the conversation the run already recorded. `fresh`: the conversation has no message
|
|
121
|
+
* yet, logged or queued by another run (just created, or created by a start that stopped
|
|
122
|
+
* before its message), so this run's message carries the task's model and effort.
|
|
123
|
+
*/
|
|
124
|
+
private bindSubject;
|
|
125
|
+
/**
|
|
126
|
+
* Conversation `conversationId` has no event yet (`last_seq` 0) and no queued message other
|
|
127
|
+
* than task run `runId`'s own (see {@link bindSubject}).
|
|
128
|
+
*/
|
|
129
|
+
private noMessageYet;
|
|
130
|
+
/**
|
|
131
|
+
* The live conversation `automation_conversations` maps a subject of the task to (see
|
|
132
|
+
* {@link bindSubject}), or undefined: no mapping, or its conversation is gone, deleted, no
|
|
133
|
+
* longer the owner's chat with the task's agent, or not accessible.
|
|
134
|
+
*/
|
|
135
|
+
private subjectConversation;
|
|
136
|
+
/**
|
|
137
|
+
* An event run's marker (collaboration spec §4.6): the events its deliveries name, in the order
|
|
138
|
+
* they were stored (the coalescer's order), each with its type, subject and summary; past
|
|
139
|
+
* {@link AUTOMATION_EVENT_HEAD} + {@link AUTOMATION_EVENT_TAIL} events only the first and the
|
|
140
|
+
* latest, the rest counted (`omittedEvents`; every delivery stays bound to the run); undefined
|
|
141
|
+
* when it has none.
|
|
142
|
+
*/
|
|
143
|
+
private eventMarkerOf;
|
|
104
144
|
/** The start found the target gone: `fired_at` back to null, skipped with `reason`. */
|
|
105
145
|
private unstart;
|
|
106
146
|
/**
|
|
@@ -140,7 +180,7 @@ export declare class ScheduledTaskFirer {
|
|
|
140
180
|
}
|
|
141
181
|
/**
|
|
142
182
|
* The fire job and the scanner, worker only: imported by `MaintenanceModule` (which dispatches
|
|
143
|
-
* `
|
|
183
|
+
* `automation-fire`) and `WorkerModule` (the scan's `@LockedCron`), never by another role.
|
|
144
184
|
*/
|
|
145
|
-
export declare class
|
|
185
|
+
export declare class AutomationFireModule {
|
|
146
186
|
}
|