@skrr-ai/cli 0.1.144 → 0.1.145
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.md +5 -0
- package/dist/commands/agenda/plan.d.ts +7 -0
- package/dist/commands/agenda/plan.js +17 -0
- package/dist/commands/agent/message/approve.js +2 -4
- package/dist/commands/agent/message/decline.js +2 -4
- package/dist/commands/agent/message/pending.js +1 -1
- package/dist/commands/agents/plan-day.d.ts +11 -0
- package/dist/commands/agents/plan-day.js +41 -2
- package/dist/commands/agents/schedule-overview.js +6 -0
- package/dist/commands/agents/schedule-trace.js +12 -2
- package/dist/commands/agents/spawn.d.ts +36 -1
- package/dist/commands/agents/spawn.js +172 -3
- package/dist/commands/agents/upcoming.d.ts +1 -0
- package/dist/commands/agents/upcoming.js +18 -7
- package/dist/commands/commitments/create.js +1 -1
- package/dist/commands/commitments/update.js +1 -1
- package/dist/commands/spaces/workflow-templates/insert.js +4 -0
- package/dist/commands/store/show.js +22 -0
- package/dist/generated/agent-guides.json +19 -19
- package/dist/lib/agentic-stream.d.ts +7 -0
- package/dist/lib/agentic-stream.js +22 -0
- package/dist/lib/commitments.js +13 -1
- package/dist/lib/compasses.js +1 -1
- package/dist/lib/dedicated-power.js +10 -3
- package/dist/lib/format.d.ts +15 -0
- package/dist/lib/format.js +31 -0
- package/dist/lib/planOutcome.d.ts +51 -0
- package/dist/lib/planOutcome.js +88 -0
- package/dist/lib/proactiveApi.d.ts +62 -0
- package/dist/lib/proactiveApi.js +10 -1
- package/dist/lib/schedule.d.ts +25 -1
- package/dist/lib/schedule.js +37 -2
- package/dist/lib/triggers.d.ts +5 -0
- package/dist/lib/triggers.js +13 -2
- package/dist/node_modules/@skrr-ai/data-provider/index.js +4664 -4661
- package/oclif.manifest.json +33 -4
- package/package.json +1 -1
|
@@ -31,6 +31,7 @@ export default class AgentsUpcoming extends BaseCommand {
|
|
|
31
31
|
kinds: import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
32
32
|
expand: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
33
33
|
cursor: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
34
|
+
timezone: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
34
35
|
};
|
|
35
36
|
run(): Promise<void>;
|
|
36
37
|
}
|
|
@@ -4,6 +4,7 @@ const core_1 = require("@oclif/core");
|
|
|
4
4
|
const data_provider_1 = require("@skrr-ai/data-provider");
|
|
5
5
|
const base_command_1 = require("../../base-command");
|
|
6
6
|
const format_1 = require("../../lib/format");
|
|
7
|
+
const schedule_1 = require("../../lib/schedule");
|
|
7
8
|
const triggers_1 = require("../../lib/triggers");
|
|
8
9
|
const UPCOMING_KINDS = ['message', 'agent_trigger'];
|
|
9
10
|
/**
|
|
@@ -51,11 +52,18 @@ class AgentsUpcoming extends base_command_1.BaseCommand {
|
|
|
51
52
|
options: ['first', 'all'],
|
|
52
53
|
}),
|
|
53
54
|
cursor: core_1.Flags.string({ description: 'Pagination cursor (nextCursor from a previous page)' }),
|
|
55
|
+
timezone: core_1.Flags.string({
|
|
56
|
+
description: "IANA timezone the times are shown in (defaults to this machine's timezone, as in schedule-trace and plan-day). --json keeps UTC.",
|
|
57
|
+
}),
|
|
54
58
|
};
|
|
55
59
|
async run() {
|
|
56
60
|
this.requireAuth();
|
|
57
61
|
const { args, flags } = await this.parse(AgentsUpcoming);
|
|
58
62
|
const kinds = (0, triggers_1.splitRepeated)(flags.kinds);
|
|
63
|
+
const zone = (0, schedule_1.resolveDayTimeZone)(flags.timezone);
|
|
64
|
+
if (!zone) {
|
|
65
|
+
this.error(`Invalid IANA timezone: ${flags.timezone}`, { exit: 1 });
|
|
66
|
+
}
|
|
59
67
|
let response;
|
|
60
68
|
try {
|
|
61
69
|
response = await data_provider_1.dataService.getUpcoming({
|
|
@@ -82,13 +90,17 @@ class AgentsUpcoming extends base_command_1.BaseCommand {
|
|
|
82
90
|
: `Nothing upcoming for agent ${args.id}.`);
|
|
83
91
|
return;
|
|
84
92
|
}
|
|
93
|
+
// Times are shown in one named zone, like the rest of the schedule output;
|
|
94
|
+
// server-written text (a prompt preview, a fallback caption) can still embed
|
|
95
|
+
// a UTC instant, so those are rewritten into the same zone (OSK-22588).
|
|
96
|
+
this.log(`Times in ${(0, schedule_1.describeTimeZone)(zone)}`);
|
|
85
97
|
(0, format_1.renderTable)(items.map((item) => ({
|
|
86
|
-
when: formatFireAt(item.fireAt),
|
|
98
|
+
when: formatFireAt(item.fireAt, zone),
|
|
87
99
|
kind: item.kind,
|
|
88
|
-
title: titleOf(item),
|
|
89
|
-
detail: detailOf(item),
|
|
100
|
+
title: (0, format_1.localizeIsoInstants)(titleOf(item), zone),
|
|
101
|
+
detail: (0, format_1.localizeIsoInstants)(detailOf(item), zone),
|
|
90
102
|
})), [
|
|
91
|
-
{ key: 'when', header: 'WHEN', maxWidth:
|
|
103
|
+
{ key: 'when', header: 'WHEN', maxWidth: 28 },
|
|
92
104
|
{ key: 'kind', header: 'KIND', maxWidth: 14 },
|
|
93
105
|
{ key: 'title', header: 'TITLE', maxWidth: 36 },
|
|
94
106
|
{ key: 'detail', header: 'DETAIL', maxWidth: 48 },
|
|
@@ -100,9 +112,8 @@ class AgentsUpcoming extends base_command_1.BaseCommand {
|
|
|
100
112
|
}
|
|
101
113
|
}
|
|
102
114
|
exports.default = AgentsUpcoming;
|
|
103
|
-
function formatFireAt(iso) {
|
|
104
|
-
|
|
105
|
-
return Number.isNaN(d.getTime()) ? iso : d.toISOString();
|
|
115
|
+
function formatFireAt(iso, zone) {
|
|
116
|
+
return (0, format_1.zonedTime)(iso, zone, { seconds: false });
|
|
106
117
|
}
|
|
107
118
|
/** A human title for either upcoming-item shape. */
|
|
108
119
|
function titleOf(item) {
|
|
@@ -343,7 +343,7 @@ JSON
|
|
|
343
343
|
description: 'Watched source the criterion reads (implies --evaluator source_state), e.g. github',
|
|
344
344
|
}),
|
|
345
345
|
watch: core_1.Flags.string({
|
|
346
|
-
description: `Watched source (repeatable). One of: ${commitments_1.COMMITMENT_WATCHED_SOURCES.join(', ')}. Some sources need companion flags: --watch-space, --watch-monitor, --metric-key.`,
|
|
346
|
+
description: `Watched source (repeatable). One of: ${commitments_1.COMMITMENT_WATCHED_SOURCES.join(', ')}. Some sources need companion flags: --watch-space, --watch-monitor, --metric-key. conversations and messages need an id (config.conversationId, config.groupChatId) that only --from-json can set.`,
|
|
347
347
|
multiple: true,
|
|
348
348
|
options: [...commitments_1.COMMITMENT_WATCHED_SOURCES],
|
|
349
349
|
}),
|
|
@@ -120,7 +120,7 @@ JSON
|
|
|
120
120
|
description: 'Watched source the criterion reads (implies --evaluator source_state), e.g. github',
|
|
121
121
|
}),
|
|
122
122
|
watch: core_1.Flags.string({
|
|
123
|
-
description: 'Watched source (repeatable). Replaces the selected set and retains config for matching bindings. Some sources need companion flags: --watch-space, --watch-monitor.',
|
|
123
|
+
description: 'Watched source (repeatable). Replaces the selected set and retains config for matching bindings. Some sources need companion flags: --watch-space, --watch-monitor. conversations and messages need an id (config.conversationId, config.groupChatId) that only --from-json can set.',
|
|
124
124
|
multiple: true,
|
|
125
125
|
options: [...commitments_1.COMMITMENT_WATCHED_SOURCES],
|
|
126
126
|
}),
|
|
@@ -98,6 +98,10 @@ class SpacesWorkflowTemplatesInsert extends base_command_1.BaseCommand {
|
|
|
98
98
|
}
|
|
99
99
|
// Someone saved between the read and the write. Only the revision pair
|
|
100
100
|
// was stale, so one re-read makes the identical request valid again.
|
|
101
|
+
// Say so on stderr (stdout and --json stay parseable): the server answered
|
|
102
|
+
// 409, and a person who never hears that cannot tell their insert was
|
|
103
|
+
// judged against a canvas someone else had just changed (OSK-22622).
|
|
104
|
+
this.warn('The draft changed while inserting (409 WORKFLOW_DRAFT_CONFLICT); re-read it and inserted again.');
|
|
101
105
|
try {
|
|
102
106
|
result = await attempt();
|
|
103
107
|
}
|
|
@@ -156,6 +156,28 @@ class StoreShow extends base_command_1.BaseCommand {
|
|
|
156
156
|
this.log(line);
|
|
157
157
|
}
|
|
158
158
|
this.log(` ${store_listing_1.CAPABILITY_DISCLOSURE_FOOTNOTE}`);
|
|
159
|
+
// ── Skills it needs ──
|
|
160
|
+
// The install is refused until the required ones are installed, and the disclosure above names
|
|
161
|
+
// them only as ids, so say it here, by name, with the command (OSK-22547).
|
|
162
|
+
const currentRelease = (releases.value?.data ?? []).find((r) => r.id === listing.latestReleaseId) ??
|
|
163
|
+
releases.value?.data?.[0];
|
|
164
|
+
const skillDependencies = (currentRelease?.dependencies ?? []).filter((dependency) => dependency.entityType === 'skill');
|
|
165
|
+
const skillLabel = (dependency) => dependency.name ? `${dependency.name} (${dependency.entityId})` : dependency.entityId;
|
|
166
|
+
const requiredSkills = skillDependencies.filter((dependency) => dependency.required);
|
|
167
|
+
const optionalSkills = skillDependencies.filter((dependency) => !dependency.required);
|
|
168
|
+
if (requiredSkills.length > 0) {
|
|
169
|
+
this.log('');
|
|
170
|
+
this.log(`Requires ${requiredSkills.length} Skill${requiredSkills.length === 1 ? '' : 's'}: ` +
|
|
171
|
+
`${requiredSkills.map(skillLabel).join(', ')}`);
|
|
172
|
+
this.log(' The install is refused until you have them. Install each first:');
|
|
173
|
+
for (const dependency of requiredSkills) {
|
|
174
|
+
this.log(` ${this.config.bin} skills install ${dependency.entityId}`);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
if (optionalSkills.length > 0) {
|
|
178
|
+
this.log('');
|
|
179
|
+
this.log(`Works better with: ${optionalSkills.map(skillLabel).join(', ')}`);
|
|
180
|
+
}
|
|
159
181
|
// ── Releases ──
|
|
160
182
|
this.log('');
|
|
161
183
|
this.log(`Current release: ${version}${listing.releaseNumber ? ` (release ${listing.releaseNumber})` : ''}` +
|
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
"id": "authoring",
|
|
411
411
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
412
412
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
413
|
-
"tokens":
|
|
413
|
+
"tokens": 1200,
|
|
414
414
|
"aliases": [],
|
|
415
415
|
"explains": [
|
|
416
416
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -709,7 +709,7 @@
|
|
|
709
709
|
]
|
|
710
710
|
}
|
|
711
711
|
],
|
|
712
|
-
"hash": "
|
|
712
|
+
"hash": "094f13baf76b8cc49ff78f524d5806068a955865810f5d9171d2d630fe16e2c1",
|
|
713
713
|
"tokens": 545
|
|
714
714
|
},
|
|
715
715
|
"routedIndex": {
|
|
@@ -1123,7 +1123,7 @@
|
|
|
1123
1123
|
"id": "authoring",
|
|
1124
1124
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
1125
1125
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
1126
|
-
"tokens":
|
|
1126
|
+
"tokens": 1200,
|
|
1127
1127
|
"aliases": [],
|
|
1128
1128
|
"explains": [
|
|
1129
1129
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -1353,7 +1353,7 @@
|
|
|
1353
1353
|
]
|
|
1354
1354
|
}
|
|
1355
1355
|
],
|
|
1356
|
-
"hash": "
|
|
1356
|
+
"hash": "86969256907c1a1f9a35abfb01eae0f510a5fd52fac5ebc6a959d9a5fcb3382a",
|
|
1357
1357
|
"tokens": 494
|
|
1358
1358
|
},
|
|
1359
1359
|
"cards": {
|
|
@@ -1747,7 +1747,7 @@
|
|
|
1747
1747
|
"routed": true,
|
|
1748
1748
|
"aliases": [],
|
|
1749
1749
|
"body": "## Concept model\n\n| Noun | Question it answers |\n| --- | --- |\n| **Compass** | What does good look like for this Agent, and what may it never trade away? |\n| **Northstar** | Which Commitments should exist, at what priority and on what budget? |\n| **Commitment** | Which outcome does this Agent keep true, and how does it keep checking? |\n| **Check** | What did one wake of a Commitment see, decide and do? |\n\nA Commitment is not a unit of work. A **Task** is one unit of work and a **Goal** is a dated\noutcome with key results; a Commitment watches both and may create Tasks, and is neither.\n\n## Decide\n\nFive mechanisms make something happen later, and the noun alone does not pick one:\n\n| Mechanism | What it is for | The signal that picks it |\n| --- | --- | --- |\n| **Follow-up** | Coming back to one thing, once or a bounded few times: a reminder, a watch, a check-in, an agreed action | The ask ends: \"look tomorrow\", \"tell me when CI is green\" |\n| **Trigger** | Running the Agent with a set prompt on a schedule, an event, once, or on demand | The person names when, and every run does the same work |\n| **Heartbeat** | Checking in on a conversation, group chat or Space at a frequency that backs off while unread | The person wants regular contact, not an outcome held |\n| **Commitment** | Keeping an outcome true: watched sources, a cadence and a loop that decides when to act | \"Keep X true\", \"watch this metric\": no end, and stale evidence matters |\n| **Workflow** | Running a durable graph of Tasks in order | Repeatable work whose steps depend on each other |\n\nA one-off \"look at it tomorrow\" is a follow-up, never a Commitment. Standing observation is a\nCommitment with a freshness contract, not a recurring trigger or a task board left running.\n\n## Workflow\n\n### Start a Commitment\n\n1. Read the Agent's Commitments first, and change one rather than add a near-duplicate.\n2. Create it and turn it on in one call: the outcome, what it watches, how often it checks, where\n its work goes. Turning it on runs Preflight; a refusal keeps the draft and reports the code,\n reason and fix.\n3. Leave it a draft only when the person asked to see it first.\n4. Read it back, and tell the person what it watches, how often, and whether it is on.\n\n## Authority\n\n| Actor | May do | Only a person may do |\n| --- | --- | --- |\n| Agent | Read the Commitments of an Agent it can view; create one, change it and turn it on; request a check; pause one; decide whether a finding is worth telling the owner | Lift a stop a person made; set or clear a concurrency limit; choose the Task review policy; approve an action proposal or a cadence change; configure a Northstar's governance or decide its intents |\n| Person | Everything in both columns | — |\n\nA Commitment grants no permission: its runs work under the Agent's own. A Check never writes an\nowner-facing message, and a Compass never creates, rewrites, pauses or archives a Commitment. The\nserver cannot always tell an Agent from the person whose login it holds, so an accepted call is\nnot permission: the right-hand column stays a person's.\n\n## Live state\n\n- `skrr commitments list --agent <agent-id>` — an Agent's Commitments, with status and assessment.\n- `skrr commitments show <commitment-id>` — the contract, its next check and the last one.\n- `skrr commitments roster --agent <agent-id>` — each loop: whether it is armed, its next wake, runs today.\n\n## Related guides\n\n- `tasks` — the Tasks a Commitment creates or watches.\n- `spaces` — Goals, and Workflows: durable graphs of Tasks.\n- `agents` — the Agent a Commitment belongs to, and where its runs execute.\n- `communication` — whether, what and how to tell the owner.",
|
|
1750
|
-
"hash": "
|
|
1750
|
+
"hash": "eb283ae15f588c7245fb4bbcc0249d31ca5a541efbe6ac77c98a2bc0a3e8ec30",
|
|
1751
1751
|
"tokens": 1169,
|
|
1752
1752
|
"sections": [
|
|
1753
1753
|
{
|
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
"id": "authoring",
|
|
1781
1781
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
1782
1782
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
1783
|
-
"tokens":
|
|
1783
|
+
"tokens": 1200,
|
|
1784
1784
|
"aliases": [],
|
|
1785
1785
|
"explains": [
|
|
1786
1786
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -5806,7 +5806,7 @@
|
|
|
5806
5806
|
"id": "authoring",
|
|
5807
5807
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
5808
5808
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
5809
|
-
"tokens":
|
|
5809
|
+
"tokens": 1200,
|
|
5810
5810
|
"aliases": [],
|
|
5811
5811
|
"explains": [
|
|
5812
5812
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -5922,7 +5922,7 @@
|
|
|
5922
5922
|
"id": "authoring",
|
|
5923
5923
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
5924
5924
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
5925
|
-
"tokens":
|
|
5925
|
+
"tokens": 1200,
|
|
5926
5926
|
"aliases": [],
|
|
5927
5927
|
"explains": [
|
|
5928
5928
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -6040,7 +6040,7 @@
|
|
|
6040
6040
|
"id": "authoring",
|
|
6041
6041
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
6042
6042
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
6043
|
-
"tokens":
|
|
6043
|
+
"tokens": 1200,
|
|
6044
6044
|
"aliases": [],
|
|
6045
6045
|
"explains": [
|
|
6046
6046
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -6128,9 +6128,9 @@
|
|
|
6128
6128
|
"COMMITMENT_CONCURRENCY_REQUIRES_OWNER_DECISION",
|
|
6129
6129
|
"COMMITMENT_TASK_REVIEW_POLICY_OWNER_REQUIRED"
|
|
6130
6130
|
],
|
|
6131
|
-
"body": "Read this when you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend.\n\nA Commitment starts as a draft; create and turn it on in one call unless the person asked to\nreview it first. Activation runs Preflight — a refusal keeps the draft and reports the code,\nreason and fix. An active contract spends compute on every check, so make it say exactly what\nwill be watched.\n\n- **Outcome and criteria**: the state to hold true, and how you will know it holds.\n- **Watched sources**: what each check reads. A source the platform reads itself (Tasks, a Goal,\n GitHub, metric snapshots it records) needs only its name and scope. A value only a run can read,\n such as a dashboard or an outside CI rate, is an `agent_run` key you declare.\n- **Declared keys**: the operator declares the keys, and the agent fills them. A run may report any\n key, but only a declared one can move the loop, and only as its `changeRule` says: `any` change,\n or `numeric_delta` with `minDelta`, `minRatio`, `direction` and `absoluteFloor`.\n- **Cadence**: `interval` (`1m` to `365d`), `daily` at `HH:MM` times in a timezone,\n `event_plus_interval`, or `manual`.
|
|
6132
|
-
"hash": "
|
|
6133
|
-
"tokens":
|
|
6131
|
+
"body": "Read this when you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend.\n\nA Commitment starts as a draft; create and turn it on in one call unless the person asked to\nreview it first. Activation runs Preflight — a refusal keeps the draft and reports the code,\nreason and fix. An active contract spends compute on every check, so make it say exactly what\nwill be watched.\n\n- **Outcome and criteria**: the state to hold true, and how you will know it holds.\n- **Watched sources**: what each check reads. A source the platform reads itself (Tasks, a Goal,\n GitHub, metric snapshots it records) needs only its name and scope. A value only a run can read,\n such as a dashboard or an outside CI rate, is an `agent_run` key you declare.\n- **Declared keys**: the operator declares the keys, and the agent fills them. A run may report any\n key, but only a declared one can move the loop, and only as its `changeRule` says: `any` change,\n or `numeric_delta` with `minDelta`, `minRatio`, `direction` and `absoluteFloor`.\n- **Cadence**: `interval` (`1m` to `365d`), `daily` at `HH:MM` times in a timezone,\n `event_plus_interval`, or `manual`. Only `event_plus_interval` reads events (CLI:\n `--event-driven`), and an event is an accelerator, not a delivery receipt: a missed one is not\n replayed, and each interval re-checks current state, while it is running. Silence means no\n event was seen, not that none happened. `skrr triggers event-catalog --json` marks each event's\n `commitmentWake` and how to select it (`watchedSource` or `attachedSensor`); a selection that cannot\n wake it is set aside and named by the write.\n- **Delivery**: where its work goes. `report_only` reports and changes nothing.\n- **Budgets**: `policy.executionBudget` caps runs, sensing runs and cost per day. `0` blocks; `null`\n is no limit.\n- **Event sources**: `policy.executionBudget.allowedEventSources` limits which sources may wake it.\n An empty or missing list allows every source; name sources to restrict it.\n- **Interruptions**: `policy.maxUserNudgesPerDay` caps messages to the person: `0` mutes, `null` is\n no limit. `minUserNudgeIntervalMs` is the least gap between two.\n- **Quiet hours**: `policy.quietHours` is `{enabled, start, end, timezone}`. Times are 24-hour\n `HH:MM`; `enabled: true` needs both, and they must differ. A window may cross midnight, and `end`\n is outside it. `timezone` is an IANA name; omitted means UTC, not the person's zone.\n\n## Example\n\nA daily, report-only watch on a deploy failure rate:\n\nSave this as `commitment.json`:\n\n```json\n{\n \"agentId\": \"<agent-id>\",\n \"title\": \"Deploy failure rate\",\n \"status\": \"draft\",\n \"target\": { \"outcome\": \"A rise in the deploy failure rate is reported the day it happens\" },\n \"cadence\": { \"mode\": \"daily\", \"times\": [\"09:00\"], \"timezone\": \"America/New_York\" },\n \"delivery\": { \"mode\": \"report_only\" },\n \"watchedSources\": [{\n \"source\": \"agent_run\",\n \"config\": { \"keys\": [{\n \"key\": \"deploys.failure_rate_7d\",\n \"label\": \"Deploy failure rate, last 7 days\",\n \"changeRule\": { \"mode\": \"numeric_delta\", \"minDelta\": 0.02, \"direction\": \"up\" }\n }] }\n }],\n \"policy\": { \"executionBudget\": { \"maxRunsPerDay\": 2, \"maxObservationRunsPerDay\": 2 } }\n}\n```\n\n```bash\nskrr commitments create --from-json commitment.json --activate --json\n```\n\n`create` prints a `Warning:` for anything the body leaves inert, such as an `agent_run` source\nwith no keys. `--activate` turns it on in the same call: it runs Preflight, and a refusal keeps\nthe draft and reports it, such as Always-On being off for the Agent. Drop `--activate` only when\nthe person asked to review it first; `skrr commitments resume` turns a draft on later, and\n`skrr commitments update` changes it.\n\n## Refusals\n\n| Code | Cause | Fix |\n| --- | --- | --- |\n| `COMMITMENT_MODE_RETIRED` | The body carries `mode`; Commitment modes are retired. | Leave it out: runs work under the Agent's own permissions. |\n| `COMMITMENT_POLICY_RETIRED` | The body carries a retired permission-tier policy field. | Remove the field the refusal names. |\n| `COMMITMENT_DELIVERY_REQUIRED` | A coding Commitment names no delivery. | Choose where its work goes. |\n| `COMMITMENT_CONCURRENCY_REQUIRES_OWNER_DECISION` | An Agent set or cleared a finite concurrency limit. | Recommend the limit; the person sets it. |\n| `COMMITMENT_TASK_REVIEW_POLICY_OWNER_REQUIRED` | Only the owner chooses the Task review policy. | Leave it out and ask the owner. |",
|
|
6132
|
+
"hash": "8e2ed95ad9aa146cd1b1ee8d0a2181f8d52dd22d98104bfde7b175fd721099bd",
|
|
6133
|
+
"tokens": 1200,
|
|
6134
6134
|
"sections": [
|
|
6135
6135
|
{
|
|
6136
6136
|
"id": "model",
|
|
@@ -6162,7 +6162,7 @@
|
|
|
6162
6162
|
"id": "authoring",
|
|
6163
6163
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
6164
6164
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
6165
|
-
"tokens":
|
|
6165
|
+
"tokens": 1200,
|
|
6166
6166
|
"aliases": [],
|
|
6167
6167
|
"explains": [
|
|
6168
6168
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -6278,7 +6278,7 @@
|
|
|
6278
6278
|
"id": "authoring",
|
|
6279
6279
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
6280
6280
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
6281
|
-
"tokens":
|
|
6281
|
+
"tokens": 1200,
|
|
6282
6282
|
"aliases": [],
|
|
6283
6283
|
"explains": [
|
|
6284
6284
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -6394,7 +6394,7 @@
|
|
|
6394
6394
|
"id": "authoring",
|
|
6395
6395
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
6396
6396
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
6397
|
-
"tokens":
|
|
6397
|
+
"tokens": 1200,
|
|
6398
6398
|
"aliases": [],
|
|
6399
6399
|
"explains": [
|
|
6400
6400
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -6516,7 +6516,7 @@
|
|
|
6516
6516
|
"id": "authoring",
|
|
6517
6517
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
6518
6518
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
6519
|
-
"tokens":
|
|
6519
|
+
"tokens": 1200,
|
|
6520
6520
|
"aliases": [],
|
|
6521
6521
|
"explains": [
|
|
6522
6522
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -6632,7 +6632,7 @@
|
|
|
6632
6632
|
"id": "authoring",
|
|
6633
6633
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
6634
6634
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
6635
|
-
"tokens":
|
|
6635
|
+
"tokens": 1200,
|
|
6636
6636
|
"aliases": [],
|
|
6637
6637
|
"explains": [
|
|
6638
6638
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -6752,7 +6752,7 @@
|
|
|
6752
6752
|
"id": "authoring",
|
|
6753
6753
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
6754
6754
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
6755
|
-
"tokens":
|
|
6755
|
+
"tokens": 1200,
|
|
6756
6756
|
"aliases": [],
|
|
6757
6757
|
"explains": [
|
|
6758
6758
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -6870,7 +6870,7 @@
|
|
|
6870
6870
|
"id": "authoring",
|
|
6871
6871
|
"title": "Write a Commitment: sources, keys, cadence and budgets",
|
|
6872
6872
|
"readWhen": "you draft or change a Commitment's contract: what it watches, how often, where its work goes, what it may spend",
|
|
6873
|
-
"tokens":
|
|
6873
|
+
"tokens": 1200,
|
|
6874
6874
|
"aliases": [],
|
|
6875
6875
|
"explains": [
|
|
6876
6876
|
"COMMITMENT_MODE_RETIRED",
|
|
@@ -603,6 +603,13 @@ export declare class AgenticStreamClient {
|
|
|
603
603
|
*/
|
|
604
604
|
private readonly openPermissionPrompts;
|
|
605
605
|
private readonly browserPermissionRequests;
|
|
606
|
+
/**
|
|
607
|
+
* Tool calls THIS client refused (the person answered no, or nobody was asked
|
|
608
|
+
* and the CLI declined). A cloud run's `tool:end` for such a call carries no
|
|
609
|
+
* status, so without this it printed `[tool completed]` for a call that never
|
|
610
|
+
* ran (OSK-22553).
|
|
611
|
+
*/
|
|
612
|
+
private readonly deniedToolUseIds;
|
|
606
613
|
private readonly permissionGenerations;
|
|
607
614
|
private readonly permissionEpochs;
|
|
608
615
|
/**
|
|
@@ -848,6 +848,13 @@ class AgenticStreamClient {
|
|
|
848
848
|
*/
|
|
849
849
|
openPermissionPrompts = new Map();
|
|
850
850
|
browserPermissionRequests = new Set();
|
|
851
|
+
/**
|
|
852
|
+
* Tool calls THIS client refused (the person answered no, or nobody was asked
|
|
853
|
+
* and the CLI declined). A cloud run's `tool:end` for such a call carries no
|
|
854
|
+
* status, so without this it printed `[tool completed]` for a call that never
|
|
855
|
+
* ran (OSK-22553).
|
|
856
|
+
*/
|
|
857
|
+
deniedToolUseIds = new Set();
|
|
851
858
|
permissionGenerations = new Map();
|
|
852
859
|
permissionEpochs = new Map();
|
|
853
860
|
/**
|
|
@@ -1074,6 +1081,7 @@ class AgenticStreamClient {
|
|
|
1074
1081
|
this.stopHandoverTimers();
|
|
1075
1082
|
this.pendingEnvelopes.clear();
|
|
1076
1083
|
this.browserPermissionRequests.clear();
|
|
1084
|
+
this.deniedToolUseIds.clear();
|
|
1077
1085
|
this.permissionGenerations.clear();
|
|
1078
1086
|
this.permissionEpochs.clear();
|
|
1079
1087
|
this.abandonConnectWait?.();
|
|
@@ -1823,6 +1831,8 @@ class AgenticStreamClient {
|
|
|
1823
1831
|
// This CLI makes the decision and nobody is asked, so it says so FIRST. The bound path used
|
|
1824
1832
|
// to return before any event, and the only lines a person saw were the server's "The
|
|
1825
1833
|
// response was admitted. Tool execution is not confirmed.", which read like an approval.
|
|
1834
|
+
if (event.toolUseId)
|
|
1835
|
+
this.deniedToolUseIds.add(event.toolUseId);
|
|
1826
1836
|
this.emit({ ...event, type: 'permission.denied', reason: 'noninteractive_or_not_enabled' });
|
|
1827
1837
|
if (event.toolUseId) {
|
|
1828
1838
|
if (await this.sendBoundPermissionDecision(event, false, {
|
|
@@ -1891,6 +1901,9 @@ class AgenticStreamClient {
|
|
|
1891
1901
|
if (prompt.signal.aborted)
|
|
1892
1902
|
return;
|
|
1893
1903
|
const approved = /^y(es)?$/i.test(answer.trim());
|
|
1904
|
+
// Recorded before the decision is sent, so the call's end can never arrive first.
|
|
1905
|
+
if (!approved && event.toolUseId)
|
|
1906
|
+
this.deniedToolUseIds.add(event.toolUseId);
|
|
1894
1907
|
if (await this.sendBoundPermissionDecision(event, approved, approved ? {} : { reason: 'Declined by CLI user' }))
|
|
1895
1908
|
return;
|
|
1896
1909
|
this.socket.emit(approved ? 'permission:approve' : 'permission:deny', {
|
|
@@ -2224,6 +2237,15 @@ class AgenticStreamClient {
|
|
|
2224
2237
|
const id = typeof event.toolUseId === 'string' ? event.toolUseId : undefined;
|
|
2225
2238
|
if (!this.firstTimeSeen(String(event.type), id))
|
|
2226
2239
|
return;
|
|
2240
|
+
// The refusal is this client's own fact, so it outranks an end that names no
|
|
2241
|
+
// status. A status the run did report (`failed`, `cancelled`) is kept.
|
|
2242
|
+
if (event.type === 'tool.completed' &&
|
|
2243
|
+
id &&
|
|
2244
|
+
this.deniedToolUseIds.has(id) &&
|
|
2245
|
+
(event.status === undefined || event.status === null || event.status === 'completed')) {
|
|
2246
|
+
this.emit({ ...event, status: 'denied' });
|
|
2247
|
+
return;
|
|
2248
|
+
}
|
|
2227
2249
|
this.emit(event);
|
|
2228
2250
|
}
|
|
2229
2251
|
/**
|
package/dist/lib/commitments.js
CHANGED
|
@@ -1011,7 +1011,12 @@ function renderCommitmentList(commitments, log) {
|
|
|
1011
1011
|
status: o.status ?? '-',
|
|
1012
1012
|
outcome: o.assessment?.label ?? 'Unknown',
|
|
1013
1013
|
evidence: o.assessment?.evidence ?? 'unavailable',
|
|
1014
|
-
|
|
1014
|
+
// `blocked` + `operation_read_unavailable` is "no sweep has recorded an operation for this
|
|
1015
|
+
// contract yet", which `show` then reads live as ready: the bare `blocked` here read as a
|
|
1016
|
+
// refusal and contradicted it (OSK-22586).
|
|
1017
|
+
operation: o.assessment?.operationReason === 'operation_read_unavailable'
|
|
1018
|
+
? 'not read yet'
|
|
1019
|
+
: (o.assessment?.operation ?? 'blocked'),
|
|
1015
1020
|
cadence: cadenceLabel(o),
|
|
1016
1021
|
agent: o.agentId ?? '-',
|
|
1017
1022
|
})), [
|
|
@@ -1038,6 +1043,13 @@ function renderCommitmentList(commitments, log) {
|
|
|
1038
1043
|
const reason = assessment.operationReason;
|
|
1039
1044
|
blockedByReason.set(reason, (blockedByReason.get(reason) ?? 0) + 1);
|
|
1040
1045
|
}
|
|
1046
|
+
const notRead = commitments.filter((commitment) => commitment.assessment?.operationReason ===
|
|
1047
|
+
'operation_read_unavailable').length;
|
|
1048
|
+
if (notRead) {
|
|
1049
|
+
log('');
|
|
1050
|
+
log(`${notRead} not read yet: no status is recorded for the current contract, which is not a failure. ` +
|
|
1051
|
+
'`skrr commitments show <id>` reads it live.');
|
|
1052
|
+
}
|
|
1041
1053
|
for (const [reason, count] of blockedByReason) {
|
|
1042
1054
|
log('');
|
|
1043
1055
|
log(`${count} blocked (${reason}): ${operationReasonWords(reason)}. \`skrr commitments show <id>\` names the fix.`);
|
package/dist/lib/compasses.js
CHANGED
|
@@ -279,7 +279,7 @@ function renderEffectivePolicy(policy, log) {
|
|
|
279
279
|
// The Gateway reads one Compass per agent for the agent's own messages; this one may not be it.
|
|
280
280
|
const gateway = record(policy.messageGateway);
|
|
281
281
|
if (gateway.readsThisCompass === false && typeof gateway.canonicalCompassId === 'string') {
|
|
282
|
-
log(`Agent messages: the Gateway reads ${gateway.canonicalCompassId} for this agent
|
|
282
|
+
log(`Agent messages: the Gateway reads ${gateway.canonicalCompassId} for this agent's communication defaults. From this Compass only a stricter mode counts for those messages (the strictest mode across active Compasses governs); its other defaults apply to Commitments bound to it.`);
|
|
283
283
|
}
|
|
284
284
|
const autonomy = record(policy.autonomy);
|
|
285
285
|
log('Autonomy');
|
|
@@ -312,7 +312,7 @@ function describePowerSummary(summary, when = {}) {
|
|
|
312
312
|
if (power.keepAwakeUntil)
|
|
313
313
|
lines.push(`Keep awake until: ${(0, format_1.formatWhen)(power.keepAwakeUntil, when)}`);
|
|
314
314
|
if (power.budgetHoursPerMonth !== null)
|
|
315
|
-
lines.push(`Budget: ${power.budgetHoursPerMonth} hours per month`);
|
|
315
|
+
lines.push(`Budget: ${power.budgetHoursPerMonth} ${power.budgetHoursPerMonth === 1 ? 'hour' : 'hours'} per month`);
|
|
316
316
|
if (summary.decision) {
|
|
317
317
|
const d = describePowerDecisionLines(summary.decision);
|
|
318
318
|
lines.push(`Decision: ${d.headline}`);
|
|
@@ -344,8 +344,15 @@ function describePowerSummary(summary, when = {}) {
|
|
|
344
344
|
lines.push(` - ${formatHolder(h, when)}`);
|
|
345
345
|
}
|
|
346
346
|
lines.push(`This month: ${formatUsage(summary.usage)}`);
|
|
347
|
-
|
|
348
|
-
|
|
347
|
+
if (power.policy === 'manual' && summary.nextExpectedWake) {
|
|
348
|
+
// A manual machine is started only by its owner, so a scheduled firing is work that will wait for
|
|
349
|
+
// that start, not a wake (OSK-22556). The value is the same one; only its label changes.
|
|
350
|
+
lines.push(`Next scheduled work: ${(0, format_1.formatWhen)(summary.nextExpectedWake, when)} (waits until you start the machine)`);
|
|
351
|
+
}
|
|
352
|
+
else {
|
|
353
|
+
lines.push(`Next expected wake: ${(summary.nextExpectedWake ? (0, format_1.formatWhen)(summary.nextExpectedWake, when) : null) ??
|
|
354
|
+
(summary.nextExpectedWakeUnavailable ? 'unavailable' : 'none scheduled')}`);
|
|
355
|
+
}
|
|
349
356
|
lines.push(`Last wake: ${summary.lastWake
|
|
350
357
|
? `${summary.lastWake.at ? (0, format_1.formatWhen)(summary.lastWake.at, when) : 'unknown time'}${summary.lastWake.source ? ` (${summary.lastWake.source})` : ''}`
|
|
351
358
|
: 'none'}`);
|
package/dist/lib/format.d.ts
CHANGED
|
@@ -141,6 +141,21 @@ export declare function zoneAbbreviation(timeZone: string, at?: Date): string;
|
|
|
141
141
|
export declare function zonedTime(value: unknown, timeZone: string, options?: {
|
|
142
142
|
seconds?: boolean;
|
|
143
143
|
}): string;
|
|
144
|
+
/**
|
|
145
|
+
* Rewrite the full ISO-8601 instants inside a sentence into `timeZone`, named:
|
|
146
|
+
* `Next planning run scheduled for 2026-11-04T08:00:00.000Z` becomes
|
|
147
|
+
* `... for 2026-11-04 00:00 PST`.
|
|
148
|
+
*
|
|
149
|
+
* The server writes its own summary strings, and some of them embed an instant
|
|
150
|
+
* (a scheduled run, a prompt that quotes a time). Printed as they arrive, the
|
|
151
|
+
* rest of the output is in the plan's zone while these stay in UTC, so the same
|
|
152
|
+
* moment reads two ways on one screen (OSK-22588). This touches ONLY a complete
|
|
153
|
+
* instant with an explicit zone, never a bare date, a time of day or an ID that
|
|
154
|
+
* merely looks like one, so it cannot reword a sentence it does not understand.
|
|
155
|
+
* Seconds are shown only when the instant has them. Text only: `--json` keeps
|
|
156
|
+
* the server's string untouched. Never throws.
|
|
157
|
+
*/
|
|
158
|
+
export declare function localizeIsoInstants(text: string, timeZone: string): string;
|
|
144
159
|
export type WhenOptions = {
|
|
145
160
|
/** The reference instant; injectable so output is deterministic in tests. */
|
|
146
161
|
now?: Date;
|
package/dist/lib/format.js
CHANGED
|
@@ -13,6 +13,7 @@ exports.localTime = localTime;
|
|
|
13
13
|
exports.localZone = localZone;
|
|
14
14
|
exports.zoneAbbreviation = zoneAbbreviation;
|
|
15
15
|
exports.zonedTime = zonedTime;
|
|
16
|
+
exports.localizeIsoInstants = localizeIsoInstants;
|
|
16
17
|
exports.formatWhen = formatWhen;
|
|
17
18
|
/**
|
|
18
19
|
* Code points that occupy TWO terminal columns (Unicode East Asian Wide and
|
|
@@ -393,6 +394,36 @@ function zonedTime(value, timeZone, options = {}) {
|
|
|
393
394
|
return render('UTC');
|
|
394
395
|
}
|
|
395
396
|
}
|
|
397
|
+
/**
|
|
398
|
+
* A full ISO-8601 instant: date, time and an explicit UTC designator or offset
|
|
399
|
+
* (`2026-11-04T08:00:00.000Z`, `2026-11-04T08:00+00:00`). A date alone, or a time
|
|
400
|
+
* with no zone, names no instant and is deliberately not matched.
|
|
401
|
+
*/
|
|
402
|
+
const ISO_INSTANT = /\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(?::\d{2}(?:\.\d{1,9})?)?(?:Z|[+-]\d{2}(?::?\d{2})?)(?![\w])/g;
|
|
403
|
+
/**
|
|
404
|
+
* Rewrite the full ISO-8601 instants inside a sentence into `timeZone`, named:
|
|
405
|
+
* `Next planning run scheduled for 2026-11-04T08:00:00.000Z` becomes
|
|
406
|
+
* `... for 2026-11-04 00:00 PST`.
|
|
407
|
+
*
|
|
408
|
+
* The server writes its own summary strings, and some of them embed an instant
|
|
409
|
+
* (a scheduled run, a prompt that quotes a time). Printed as they arrive, the
|
|
410
|
+
* rest of the output is in the plan's zone while these stay in UTC, so the same
|
|
411
|
+
* moment reads two ways on one screen (OSK-22588). This touches ONLY a complete
|
|
412
|
+
* instant with an explicit zone, never a bare date, a time of day or an ID that
|
|
413
|
+
* merely looks like one, so it cannot reword a sentence it does not understand.
|
|
414
|
+
* Seconds are shown only when the instant has them. Text only: `--json` keeps
|
|
415
|
+
* the server's string untouched. Never throws.
|
|
416
|
+
*/
|
|
417
|
+
function localizeIsoInstants(text, timeZone) {
|
|
418
|
+
if (!text || !text.includes('T'))
|
|
419
|
+
return text;
|
|
420
|
+
return text.replace(ISO_INSTANT, (match) => {
|
|
421
|
+
const date = new Date(match);
|
|
422
|
+
if (Number.isNaN(date.getTime()))
|
|
423
|
+
return match;
|
|
424
|
+
return zonedTime(date, timeZone, { seconds: date.getUTCSeconds() !== 0 });
|
|
425
|
+
});
|
|
426
|
+
}
|
|
396
427
|
function zonedParts(date, timeZone) {
|
|
397
428
|
const parts = new Intl.DateTimeFormat('en-CA', {
|
|
398
429
|
timeZone,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* planOutcome.ts — read a Smart Schedule planning fire's recorded outcome.
|
|
3
|
+
*
|
|
4
|
+
* A watcher or planning-run fire that "completed" may have drafted nothing: it was watch-only,
|
|
5
|
+
* nothing changed, One Voice held it, quiet hours lowered auto to review, the planner proposed no
|
|
6
|
+
* blocks or failed. The API records which one on the fire (`metadata.builtinAction.planOutcome`) and
|
|
7
|
+
* the schedule trace carries it on the event (`detail.planOutcome`). These helpers only read and
|
|
8
|
+
* word that record; the vocabulary is owned by `@skrr-ai/data-provider` and the sentence by the API.
|
|
9
|
+
*/
|
|
10
|
+
import { type SmartSchedulePlanOutcome } from '@skrr-ai/data-provider';
|
|
11
|
+
/** The recorded outcome in `value`, or null when it is absent or not a known outcome. */
|
|
12
|
+
export declare function readPlanOutcome(value: unknown): SmartSchedulePlanOutcome | null;
|
|
13
|
+
interface TraceEventLike {
|
|
14
|
+
id?: string;
|
|
15
|
+
summary?: string;
|
|
16
|
+
occurredAt?: string;
|
|
17
|
+
detail?: unknown;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Under the trace table: for every planning fire, WHY it did or did not leave a plan. The table's
|
|
21
|
+
* summary column says what ran; this says what it decided.
|
|
22
|
+
*/
|
|
23
|
+
export declare function renderPlanOutcomeTraceDetails(events: TraceEventLike[], log: (line: string) => void, formatWhen?: (at: string) => string): void;
|
|
24
|
+
/**
|
|
25
|
+
* The answer to "why no plan today?" from the newest planning fire in this trace, or null when no
|
|
26
|
+
* fire in it recorded an outcome. Events arrive newest first.
|
|
27
|
+
*/
|
|
28
|
+
export declare function latestPlanOutcomeLine(events: TraceEventLike[]): string | null;
|
|
29
|
+
/**
|
|
30
|
+
* The REASON column of a fire-audit row: the planning outcome's sentence when the fire recorded
|
|
31
|
+
* one, else undefined so the caller falls back to the fire's own reason.
|
|
32
|
+
*/
|
|
33
|
+
export declare function fireAuditPlanOutcomeSummary(fire: {
|
|
34
|
+
metadata?: {
|
|
35
|
+
builtinAction?: {
|
|
36
|
+
planOutcome?: unknown;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}): string | undefined;
|
|
40
|
+
/** A trigger the Always-On control fence withholds, as `/api/upcoming` reports it. */
|
|
41
|
+
interface WithheldLike {
|
|
42
|
+
reason?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* The line under "withheld" in the upcoming view when the cause is Always-On. A trigger that is
|
|
46
|
+
* listed under Upcoming has passed the same fence the withheld ones failed, so it is not gated by
|
|
47
|
+
* Always-On: it still fires. Without this the two lists sit side by side and read as one rule
|
|
48
|
+
* (OSK-22406). Null when nothing is withheld for Always-On or nothing is listed.
|
|
49
|
+
*/
|
|
50
|
+
export declare function alwaysOnUpcomingNote(withheld: WithheldLike[], listedCount: number): string | null;
|
|
51
|
+
export {};
|