@skrr-ai/cli 0.1.151 → 0.1.153
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/commands/agent/message/send.d.ts +3 -1
- package/dist/commands/agent/message/send.js +52 -1
- package/dist/commands/agents/always-on/held-messages.d.ts +22 -0
- package/dist/commands/agents/always-on/held-messages.js +62 -0
- package/dist/commands/agents/always-on/release-run.d.ts +37 -0
- package/dist/commands/agents/always-on/release-run.js +92 -0
- package/dist/commands/agents/always-on/status.js +5 -0
- package/dist/commands/agents/chat.d.ts +3 -0
- package/dist/commands/agents/chat.js +27 -0
- package/dist/commands/agents/plan-day.d.ts +3 -0
- package/dist/commands/agents/plan-day.js +31 -8
- package/dist/commands/agents/show.d.ts +3 -0
- package/dist/commands/agents/show.js +59 -3
- package/dist/commands/agents/triggers/list.js +2 -1
- package/dist/commands/balance/usage/breakdown.d.ts +1 -1
- package/dist/commands/balance/usage/breakdown.js +22 -6
- package/dist/commands/balance/usage/events.d.ts +3 -2
- package/dist/commands/balance/usage/events.js +34 -7
- package/dist/commands/duties/create.js +24 -9
- package/dist/commands/duties/export.js +2 -1
- package/dist/commands/duties/observation/summary.js +25 -3
- package/dist/commands/duties/preflight.js +17 -0
- package/dist/commands/duties/update.d.ts +1 -0
- package/dist/commands/duties/update.js +87 -66
- package/dist/commands/goals/plan-now.js +1 -0
- package/dist/commands/goals/planner-compare.js +11 -0
- package/dist/commands/harnesses/list.d.ts +2 -1
- package/dist/commands/harnesses/list.js +7 -5
- package/dist/commands/harnesses/models.js +1 -1
- package/dist/commands/harnesses/quota.d.ts +9 -11
- package/dist/commands/harnesses/quota.js +83 -18
- package/dist/commands/harnesses/show.js +1 -1
- package/dist/commands/harnesses/usage.d.ts +19 -0
- package/dist/commands/harnesses/usage.js +27 -7
- package/dist/commands/memory/topics/create.js +4 -1
- package/dist/commands/tokens/create.d.ts +3 -4
- package/dist/commands/tokens/create.js +20 -7
- package/dist/commands/triggers/fire-detail.js +19 -0
- package/dist/commands/triggers/preflight.js +9 -2
- package/dist/generated/agent-guides.json +35 -35
- package/dist/lib/agent-model-check.js +3 -1
- package/dist/lib/agentic-stream.js +6 -7
- package/dist/lib/balance.d.ts +5 -2
- package/dist/lib/balance.js +26 -0
- package/dist/lib/config.d.ts +1 -1
- package/dist/lib/config.js +1 -0
- package/dist/lib/duties.d.ts +5 -0
- package/dist/lib/duties.js +75 -1
- package/dist/lib/duty-event-wakes.js +6 -3
- package/dist/lib/duty-loop-status.js +26 -2
- package/dist/lib/duty-product.js +4 -1
- package/dist/lib/harness-labels.d.ts +1 -0
- package/dist/lib/harness-labels.js +4 -0
- package/dist/lib/harnesses.d.ts +35 -0
- package/dist/lib/harnesses.js +8 -0
- package/dist/lib/held-messages.d.ts +11 -0
- package/dist/lib/held-messages.js +93 -0
- package/dist/lib/machines.d.ts +2 -1
- package/dist/lib/machines.js +2 -2
- package/dist/lib/message-intent.d.ts +15 -0
- package/dist/lib/publicEndpoints.generated.d.ts +4 -0
- package/dist/lib/publicEndpoints.generated.js +4 -0
- package/dist/lib/roles.d.ts +1 -1
- package/dist/lib/schedule.d.ts +1 -0
- package/dist/lib/schedule.js +4 -4
- package/dist/lib/triggers.d.ts +15 -3
- package/dist/lib/triggers.js +57 -6
- package/dist/lib/update-check.d.ts +1 -1
- package/dist/lib/update-check.js +21 -10
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/dutyExecutionContract.d.ts +1 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/dutyExecutionContract.js +1 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/dutyExecutionContract.d.ts +1 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/dutyExecutionContract.js +1 -1
- package/dist/node_modules/@skrr-ai/data-provider/index.js +7609 -7567
- package/oclif.manifest.json +229 -17
- package/package.json +4 -3
|
@@ -11,13 +11,13 @@ class BalanceUsageBreakdown extends base_command_1.BaseCommand {
|
|
|
11
11
|
'<%= config.bin %> balance usage breakdown',
|
|
12
12
|
'<%= config.bin %> balance usage breakdown --json',
|
|
13
13
|
'<%= config.bin %> balance usage breakdown --workspace <workspace-id>',
|
|
14
|
-
'<%= config.bin %> balance usage breakdown --from 2026-09-01 --to 2026-09-
|
|
14
|
+
'<%= config.bin %> balance usage breakdown --from 2026-09-01 --to 2026-09-01T23:59:59.999Z',
|
|
15
15
|
'<%= config.bin %> balance usage breakdown --product-family sky-code-api',
|
|
16
16
|
];
|
|
17
17
|
static flags = {
|
|
18
18
|
json: core_1.Flags.boolean({ description: 'Output as JSON' }),
|
|
19
|
-
from: core_1.Flags.string({ description: 'Inclusive ISO start time; defaults to 30 days
|
|
20
|
-
to: core_1.Flags.string({ description: 'Inclusive ISO end time; defaults to now' }),
|
|
19
|
+
from: core_1.Flags.string({ description: 'Inclusive ISO start time; YYYY-MM-DD means midnight UTC; defaults to 30 days before end' }),
|
|
20
|
+
to: core_1.Flags.string({ description: 'Inclusive ISO end time; YYYY-MM-DD means midnight UTC, not end of day; defaults to now' }),
|
|
21
21
|
'product-family': core_1.Flags.string({
|
|
22
22
|
description: 'Restrict to one product family (e.g. sky-code-api for PAYG spend)',
|
|
23
23
|
}),
|
|
@@ -41,11 +41,21 @@ class BalanceUsageBreakdown extends base_command_1.BaseCommand {
|
|
|
41
41
|
this.log(JSON.stringify(breakdown, null, 2));
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
let agentNames = new Map();
|
|
45
|
+
let lookupFailed = false;
|
|
46
|
+
try {
|
|
47
|
+
agentNames = await (0, balance_1.getUsageAgentNames)(breakdown.byAgent.flatMap((row) => row.agentId ? [row.agentId] : []), workspaceId);
|
|
48
|
+
}
|
|
49
|
+
catch {
|
|
50
|
+
lookupFailed = true;
|
|
51
|
+
}
|
|
52
|
+
renderSkyCodeUsageBreakdown(breakdown, (line) => this.log(line), agentNames);
|
|
53
|
+
if (lookupFailed)
|
|
54
|
+
this.log(' Agent names unavailable; showing recorded IDs.');
|
|
45
55
|
}
|
|
46
56
|
}
|
|
47
57
|
exports.default = BalanceUsageBreakdown;
|
|
48
|
-
function renderSkyCodeUsageBreakdown(breakdown, log) {
|
|
58
|
+
function renderSkyCodeUsageBreakdown(breakdown, log, agentNames = new Map()) {
|
|
49
59
|
log(`${auth_core_1.FIRST_PARTY_HARNESS.displayName} usage breakdown · ${breakdown.ownerType} ${breakdown.ownerId}`);
|
|
50
60
|
log(` Window ${breakdown.from} to ${breakdown.to}`);
|
|
51
61
|
log(` Total ${(0, balance_1.formatCreditsWithUsd)(breakdown.total.usageMicros)} across ${breakdown.total.events} settled authorization${breakdown.total.events === 1 ? '' : 's'}`);
|
|
@@ -62,7 +72,13 @@ function renderSkyCodeUsageBreakdown(breakdown, log) {
|
|
|
62
72
|
...row,
|
|
63
73
|
label: [row.provider, row.model].filter(Boolean).join('/') || 'unknown',
|
|
64
74
|
})));
|
|
75
|
+
section('By configured transport (authorizations may overlap; not a provider invoice)', (breakdown.byConfiguredTransport ?? []).map((row) => ({
|
|
76
|
+
...row, label: row.transportProvider ?? 'unknown',
|
|
77
|
+
})));
|
|
65
78
|
section('By surface', breakdown.bySurface.map((row) => ({ ...row, label: row.surface ?? 'unknown' })));
|
|
66
|
-
section('By
|
|
79
|
+
section('By recorded source (application attribution, not a provider invoice)', (breakdown.bySource ?? []).map((row) => ({ ...row, label: row.sourceType ?? 'unknown' })));
|
|
80
|
+
section('By agent', breakdown.byAgent.map((row) => ({ ...row, label: row.agentId
|
|
81
|
+
? agentNames.has(row.agentId) ? `${agentNames.get(row.agentId)} (${row.agentId})` : row.agentId
|
|
82
|
+
: 'unattributed' })));
|
|
67
83
|
section('By member', breakdown.byMember.map((row) => ({ ...row, label: row.memberUserId ?? 'unattributed' })));
|
|
68
84
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TSkyCodeUsageEvents } from '@skrr-ai/data-provider';
|
|
1
|
+
import type { TSkyCodeUsageEvents, TSkyCodeUsageSettlements } from '@skrr-ai/data-provider';
|
|
2
2
|
import { BaseCommand } from '../../../base-command';
|
|
3
3
|
export default class BalanceUsageEvents extends BaseCommand {
|
|
4
4
|
static description: string;
|
|
@@ -9,7 +9,8 @@ export default class BalanceUsageEvents extends BaseCommand {
|
|
|
9
9
|
to: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
10
|
cursor: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
11
|
limit: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
'legacy-charges': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
12
13
|
};
|
|
13
14
|
run(): Promise<void>;
|
|
14
15
|
}
|
|
15
|
-
export declare function renderSkyCodeUsageEvents(events: TSkyCodeUsageEvents, log: (line: string) => void): void;
|
|
16
|
+
export declare function renderSkyCodeUsageEvents(events: TSkyCodeUsageEvents | TSkyCodeUsageSettlements, log: (line: string) => void): void;
|
|
@@ -6,19 +6,20 @@ const auth_core_1 = require("@skrr-ai/auth-core");
|
|
|
6
6
|
const base_command_1 = require("../../../base-command");
|
|
7
7
|
const balance_1 = require("../../../lib/balance");
|
|
8
8
|
class BalanceUsageEvents extends base_command_1.BaseCommand {
|
|
9
|
-
static description = `List
|
|
9
|
+
static description = `List settled ${auth_core_1.FIRST_PARTY_HARNESS.displayName} usage and its run/session attribution`;
|
|
10
10
|
static examples = [
|
|
11
11
|
'<%= config.bin %> balance usage events',
|
|
12
12
|
'<%= config.bin %> balance usage events --limit 20 --json',
|
|
13
13
|
'<%= config.bin %> balance usage events --workspace <workspace-id>',
|
|
14
|
-
'<%= config.bin %> balance usage events --from 2026-09-01 --to 2026-09-
|
|
14
|
+
'<%= config.bin %> balance usage events --from 2026-09-01 --to 2026-09-01T23:59:59.999Z',
|
|
15
15
|
];
|
|
16
16
|
static flags = {
|
|
17
17
|
json: core_1.Flags.boolean({ description: 'Output as JSON' }),
|
|
18
|
-
from: core_1.Flags.string({ description: 'Inclusive ISO start time; defaults to 30 days
|
|
19
|
-
to: core_1.Flags.string({ description: 'Inclusive ISO end time; defaults to now' }),
|
|
18
|
+
from: core_1.Flags.string({ description: 'Inclusive ISO start time; YYYY-MM-DD means midnight UTC; defaults to 30 days before end' }),
|
|
19
|
+
to: core_1.Flags.string({ description: 'Inclusive ISO end time; YYYY-MM-DD means midnight UTC, not end of day; defaults to now' }),
|
|
20
20
|
cursor: core_1.Flags.string({ description: 'Opaque cursor returned by the previous page' }),
|
|
21
21
|
limit: core_1.Flags.integer({ description: 'Rows to return (1-200)', min: 1, max: 200, default: 50 }),
|
|
22
|
+
'legacy-charges': core_1.Flags.boolean({ description: 'Show legacy service-charge records; status is not shown and totals overlap settlements' }),
|
|
22
23
|
};
|
|
23
24
|
async run() {
|
|
24
25
|
this.requireAuth();
|
|
@@ -31,13 +32,16 @@ class BalanceUsageEvents extends base_command_1.BaseCommand {
|
|
|
31
32
|
to: flags.to,
|
|
32
33
|
cursor: flags.cursor,
|
|
33
34
|
limit: flags.limit,
|
|
35
|
+
...(!flags['legacy-charges'] ? { view: 'settlements' } : {}),
|
|
34
36
|
});
|
|
35
37
|
}
|
|
36
38
|
catch (error) {
|
|
37
39
|
this.handleApiError(error);
|
|
38
40
|
}
|
|
39
41
|
if (flags.json) {
|
|
40
|
-
this.log(JSON.stringify(events
|
|
42
|
+
this.log(JSON.stringify(events?.version === 1 && !flags['legacy-charges']
|
|
43
|
+
? { ...events, scopeWarning: 'This server only returned legacy service-charge records; their status and included allowance usage are not shown.' }
|
|
44
|
+
: events, null, 2));
|
|
41
45
|
return;
|
|
42
46
|
}
|
|
43
47
|
renderSkyCodeUsageEvents(events, (line) => this.log(line));
|
|
@@ -47,6 +51,12 @@ exports.default = BalanceUsageEvents;
|
|
|
47
51
|
function renderSkyCodeUsageEvents(events, log) {
|
|
48
52
|
log(`${auth_core_1.FIRST_PARTY_HARNESS.displayName} usage events · ${events.ownerType} ${events.ownerId}`);
|
|
49
53
|
log(` Window ${events.from} to ${events.to}`);
|
|
54
|
+
if (events.version === 1) {
|
|
55
|
+
log(' Legacy service-charge records only; status and final payment are not shown. Included allowance usage is not shown. Do not add this view to settlement totals.');
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
log(' Settled authorizations; legacy service-charge records are a separate overlapping view.');
|
|
59
|
+
}
|
|
50
60
|
if (events.items.length === 0) {
|
|
51
61
|
log(' No usage events in this window.');
|
|
52
62
|
return;
|
|
@@ -61,8 +71,25 @@ function renderSkyCodeUsageEvents(events, log) {
|
|
|
61
71
|
]
|
|
62
72
|
.filter(Boolean)
|
|
63
73
|
.join(' · ');
|
|
64
|
-
|
|
65
|
-
|
|
74
|
+
if (events.version === 2 && 'authorizationId' in item) {
|
|
75
|
+
const usage = item.usageMicros == null ? 'usage unknown' : `${item.usageMicros} customer_usage_micros`;
|
|
76
|
+
const balance = item.balanceMicros == null ? 'balance unknown' : `${(0, balance_1.formatMicros)(item.balanceMicros)} ${item.postpaid ? 'postpaid accrued' : 'balance'}`;
|
|
77
|
+
log(` ${item.settledAt} ${usage} · ${balance} ${providerModel}`);
|
|
78
|
+
log(` ${incurredBy || 'No run/session attribution'} · ${item.sourceType || 'source unknown'} · authorization ${item.authorizationId}`);
|
|
79
|
+
const extra = [item.sourceId ? `source ${item.sourceId}` : null,
|
|
80
|
+
item.dutyId ? `duty ${item.dutyId}` : null,
|
|
81
|
+
item.memberUserId ? `member ${item.memberUserId}` : null,
|
|
82
|
+
item.parentAuthorizationId ? `parent authorization ${item.parentAuthorizationId}` : null].filter(Boolean);
|
|
83
|
+
if (extra.length)
|
|
84
|
+
log(` ${extra.join(' · ')}`);
|
|
85
|
+
if (item.entitlementUsageMicros != null || item.degradedUsageMicros != null) {
|
|
86
|
+
log(` Included allowance ${item.entitlementUsageMicros ?? 'unknown'} · degraded allowance ${item.degradedUsageMicros ?? 'unknown'} customer_usage_micros`);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
else if ('chargeId' in item) {
|
|
90
|
+
log(` ${item.createdAt} ${(0, balance_1.formatMicros)(item.amountMicros)} ${providerModel}`);
|
|
91
|
+
log(` ${incurredBy || 'No run/session attribution'} · charge ${item.chargeId}`);
|
|
92
|
+
}
|
|
66
93
|
}
|
|
67
94
|
if (events.nextCursor) {
|
|
68
95
|
log(` Next cursor: ${events.nextCursor}`);
|
|
@@ -48,6 +48,18 @@ function configuredId(config, ...keys) {
|
|
|
48
48
|
return typeof value === 'string' && value.trim().length > 0;
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
|
+
/** Match TriggerSync's closed work-item selector and its Goal fallback. */
|
|
52
|
+
function hasWorkItemEventScope(source, config, goalId) {
|
|
53
|
+
const keys = ['taskId', 'goalId', 'keyResultId', 'spaceId'];
|
|
54
|
+
const declared = keys.filter((key) => Object.hasOwn(config ?? {}, key));
|
|
55
|
+
if (declared.length > 1)
|
|
56
|
+
return false;
|
|
57
|
+
const key = declared[0] ?? 'goalId';
|
|
58
|
+
if (key === 'spaceId' || (source === 'goal' && key === 'taskId'))
|
|
59
|
+
return false;
|
|
60
|
+
const value = declared.length ? config?.[key] : goalId;
|
|
61
|
+
return typeof value === 'string' && value.trim().length > 0 && value.trim().length <= 200;
|
|
62
|
+
}
|
|
51
63
|
/** Do not silently discard a JSON source's scope or event filters. */
|
|
52
64
|
function applyWatchedSourceFlags(payload, built) {
|
|
53
65
|
if (!built)
|
|
@@ -86,7 +98,6 @@ function hasStructurallyValidExplicitEvent(config) {
|
|
|
86
98
|
* while the resulting Duty still wakes exclusively on its backstop.
|
|
87
99
|
*/
|
|
88
100
|
function hasEventCapableWatchedSource(payload) {
|
|
89
|
-
const goalId = typeof payload.goalId === 'string' && payload.goalId.trim().length > 0;
|
|
90
101
|
const watchedSources = Array.isArray(payload.watchedSources) ? payload.watchedSources : [];
|
|
91
102
|
return watchedSources.some((value) => {
|
|
92
103
|
const sourceEntry = record(value);
|
|
@@ -100,12 +111,8 @@ function hasEventCapableWatchedSource(payload) {
|
|
|
100
111
|
if (DEFAULT_EVENT_SOURCES.has(source)) {
|
|
101
112
|
return Array.isArray(config?.events) ? hasStructurallyValidExplicitEvent(config) : true;
|
|
102
113
|
}
|
|
103
|
-
if (source === 'tasks')
|
|
104
|
-
return
|
|
105
|
-
}
|
|
106
|
-
if (source === 'goal') {
|
|
107
|
-
return goalId || configuredId(config, 'goalId', 'keyResultId');
|
|
108
|
-
}
|
|
114
|
+
if (source === 'tasks' || source === 'goal')
|
|
115
|
+
return hasWorkItemEventScope(source, config, payload.goalId);
|
|
109
116
|
if (source === 'space')
|
|
110
117
|
return configuredId(config, 'spaceId');
|
|
111
118
|
if (source === 'conversations')
|
|
@@ -134,7 +141,7 @@ function assertEventDrivenWatchedSource(payload) {
|
|
|
134
141
|
const hasInvalidEvents = sources.some((value) => {
|
|
135
142
|
const source = record(value);
|
|
136
143
|
const config = record(source?.config);
|
|
137
|
-
return source?.enabled !== false && Array.isArray(config?.events) &&
|
|
144
|
+
return source?.enabled !== false && source?.source !== 'tasks' && source?.source !== 'goal' && Array.isArray(config?.events) &&
|
|
138
145
|
!hasStructurallyValidExplicitEvent(config);
|
|
139
146
|
});
|
|
140
147
|
if (hasInvalidEvents) {
|
|
@@ -143,6 +150,14 @@ function assertEventDrivenWatchedSource(payload) {
|
|
|
143
150
|
'for example {"entityType":"github","eventType":"check_run_failed"}. ' +
|
|
144
151
|
'Supply valid bindings, or remove config.events to use the source defaults (which may include more events).');
|
|
145
152
|
}
|
|
153
|
+
if (sources.some((value) => {
|
|
154
|
+
const source = record(value);
|
|
155
|
+
return source?.source === 'tasks' && source.enabled !== false;
|
|
156
|
+
})) {
|
|
157
|
+
throw new Error('Task events need a specific Task, Goal or Key Result scope. Bind this Duty to a Goal with --goal <goal-id>, or supply ' +
|
|
158
|
+
'watchedSources with source "tasks" and exactly one config.taskId, config.goalId or config.keyResultId ' +
|
|
159
|
+
'in --from-json. Remove any other object selector; when watchedSources is in JSON, omit --watch.');
|
|
160
|
+
}
|
|
146
161
|
throw new Error('Event-driven cadence (--event-driven or --cadence-mode event_plus_interval) requires at least one event-capable watched source. ' +
|
|
147
162
|
'Add --watch github (or another event-capable source), or choose an interval-only cadence.');
|
|
148
163
|
}
|
|
@@ -344,7 +359,7 @@ JSON
|
|
|
344
359
|
description: 'Watched source the criterion reads (implies --evaluator source_state), e.g. github',
|
|
345
360
|
}),
|
|
346
361
|
watch: core_1.Flags.string({
|
|
347
|
-
description: `Watched source (repeatable). One of: ${duties_1.DUTY_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.`,
|
|
362
|
+
description: `Watched source (repeatable). One of: ${duties_1.DUTY_WATCHED_SOURCES.join(', ')}. Some sources need companion flags: --watch-space, --watch-monitor, --metric-key. Task event wakes need --goal or an object selector in --from-json; omit --watch when JSON supplies watchedSources. conversations and messages need an id (config.conversationId, config.groupChatId) that only --from-json can set.`,
|
|
348
363
|
multiple: true,
|
|
349
364
|
options: [...duties_1.DUTY_WATCHED_SOURCES],
|
|
350
365
|
}),
|
|
@@ -48,7 +48,8 @@ class DutiesExport extends base_command_1.BaseCommand {
|
|
|
48
48
|
const requires = manifest.requires;
|
|
49
49
|
const grants = requires?.grants?.length ?? 0;
|
|
50
50
|
const sensors = requires?.sensors?.length ?? 0;
|
|
51
|
-
const artifactSchemaVersion = manifest.
|
|
51
|
+
const artifactSchemaVersion = manifest.manifestVersion ??
|
|
52
|
+
manifest.version ?? 1;
|
|
52
53
|
if (selection.summary) {
|
|
53
54
|
const summary = (0, artifact_export_1.contentFreeSummary)({
|
|
54
55
|
command: 'duties export',
|
|
@@ -3,6 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const core_1 = require("@oclif/core");
|
|
4
4
|
const base_command_1 = require("../../../base-command");
|
|
5
5
|
const duties_1 = require("../../../lib/duties");
|
|
6
|
+
function record(value) {
|
|
7
|
+
return value && typeof value === 'object' && !Array.isArray(value)
|
|
8
|
+
? value : {};
|
|
9
|
+
}
|
|
10
|
+
function completeness(value) {
|
|
11
|
+
return value === true ? 'complete' : value === false ? 'incomplete' : 'unknown';
|
|
12
|
+
}
|
|
6
13
|
class DutiesObservationSummary extends base_command_1.BaseCommand {
|
|
7
14
|
static description = 'Read the bounded portfolio observation projection without performing new source checks';
|
|
8
15
|
static flags = {
|
|
@@ -18,10 +25,25 @@ class DutiesObservationSummary extends base_command_1.BaseCommand {
|
|
|
18
25
|
this.log(JSON.stringify(summary, null, 2));
|
|
19
26
|
return;
|
|
20
27
|
}
|
|
28
|
+
const queryCoverage = record(summary.coverage);
|
|
29
|
+
const observation = record(summary.observationCoverage);
|
|
30
|
+
const counts = record(queryCoverage.counts);
|
|
31
|
+
const nextWake = record(summary.nextWake);
|
|
32
|
+
this.log(`Scope: bounded view of eligible active Duties in the current workspace${flags.agent ? ' for the selected Agent' : ''}; paused, completed and some system-managed Duties are excluded.`);
|
|
21
33
|
this.log(`Portfolio observation: ${summary.state ?? 'unknown'}`);
|
|
22
|
-
this.log(`
|
|
23
|
-
this.log(`
|
|
24
|
-
this.log(`
|
|
34
|
+
this.log(`Latest successful observation: ${summary.checkedAt ?? 'unavailable'}`);
|
|
35
|
+
this.log(`Active Duties read: ${typeof counts.responsibilities === 'number' ? counts.responsibilities : 'unknown'}`);
|
|
36
|
+
this.log(`Query coverage: ${completeness(queryCoverage.complete)}${queryCoverage.reason ? ` (${queryCoverage.reason})` : ''}`);
|
|
37
|
+
if (Array.isArray(queryCoverage.errors)) {
|
|
38
|
+
for (const error of queryCoverage.errors)
|
|
39
|
+
this.log(`Query error: ${JSON.stringify(error)}`);
|
|
40
|
+
}
|
|
41
|
+
this.log(`Observation coverage: ${observation.status ?? 'unknown'} (${completeness(observation.complete)})`);
|
|
42
|
+
this.log(`Next wake: ${nextWake.at ?? nextWake.status ?? 'unknown'}${nextWake.at && nextWake.status ? ` (${nextWake.status})` : ''}`);
|
|
43
|
+
if (nextWake.dutyId)
|
|
44
|
+
this.log(`Wake Duty: ${nextWake.dutyId}`);
|
|
45
|
+
if (nextWake.source)
|
|
46
|
+
this.log(`Wake source: ${nextWake.source}`);
|
|
25
47
|
}
|
|
26
48
|
catch (error) {
|
|
27
49
|
this.handleApiError(error);
|
|
@@ -187,6 +187,23 @@ function preflightGateLines(gate, verbose = false, refusesActivation = false) {
|
|
|
187
187
|
if (typeof hint === 'string' && hint.trim()) {
|
|
188
188
|
lines.push(` ${hint.trim()}`);
|
|
189
189
|
}
|
|
190
|
+
if (gate.id === 'event_bindings' && Array.isArray(gate.detail?.eventTypes)) {
|
|
191
|
+
const events = gate.detail.eventTypes.flatMap((item) => {
|
|
192
|
+
if (!item || typeof item !== 'object' || Array.isArray(item))
|
|
193
|
+
return [];
|
|
194
|
+
const { source, event } = item;
|
|
195
|
+
return typeof source === 'string' && typeof event === 'string' && source.trim() && event.trim()
|
|
196
|
+
? [`${source}: ${event}`] : [];
|
|
197
|
+
});
|
|
198
|
+
if (events.length)
|
|
199
|
+
lines.push(` Event types in the derived plan (not proof of delivery): ${events.join(', ')}`);
|
|
200
|
+
if (gate.detail.eventTypesTruncated === true)
|
|
201
|
+
lines.push(' Additional event types omitted.');
|
|
202
|
+
if (gate.detail.eventTypesLinksUnreadable === true)
|
|
203
|
+
lines.push(' Watch links could not be read; this event list may be incomplete.');
|
|
204
|
+
if (gate.detail.eventTypesIncomplete === true)
|
|
205
|
+
lines.push(' Some bindings could not be described; this event list may be incomplete.');
|
|
206
|
+
}
|
|
190
207
|
for (const sentence of (0, preflight_copy_1.gateExplanationLines)(gate))
|
|
191
208
|
lines.push(` ${sentence}`);
|
|
192
209
|
for (const sentence of (0, preflight_copy_1.placementTargetLines)(gate))
|
|
@@ -30,6 +30,7 @@ export default class DutiesUpdate extends BaseCommand {
|
|
|
30
30
|
yes: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
31
31
|
'from-json': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
32
32
|
'if-version': import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
33
|
+
'restore-saved-cadence': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
33
34
|
'task-review-policy': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
34
35
|
title: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
35
36
|
description: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
@@ -85,6 +85,9 @@ JSON
|
|
|
85
85
|
'if-version': core_1.Flags.integer({
|
|
86
86
|
description: 'Only update this observed contract version; returns a conflict if it changed',
|
|
87
87
|
}),
|
|
88
|
+
'restore-saved-cadence': core_1.Flags.boolean({
|
|
89
|
+
description: 'Restore the inactive schedule shown by duties show. On an active Duty this can schedule automatic checks.',
|
|
90
|
+
}),
|
|
88
91
|
'task-review-policy': core_1.Flags.string({
|
|
89
92
|
options: [...data_provider_1.TASK_REVIEW_POLICIES],
|
|
90
93
|
description: 'Owner choice for generated Tasks; required records a blocker but does not stop the owner close.',
|
|
@@ -174,7 +177,8 @@ JSON
|
|
|
174
177
|
const wantsTarget = flags.outcome !== undefined || flags.deadline !== undefined || criteria.length > 0;
|
|
175
178
|
const wantsCadence = flags.cadence !== undefined ||
|
|
176
179
|
flags['cadence-mode'] !== undefined ||
|
|
177
|
-
flags.timezone !== undefined
|
|
180
|
+
flags.timezone !== undefined ||
|
|
181
|
+
flags['restore-saved-cadence'] === true;
|
|
178
182
|
let payload;
|
|
179
183
|
try {
|
|
180
184
|
payload = await (0, prompt_2.readJsonBody)(flags['from-json']);
|
|
@@ -325,75 +329,92 @@ JSON
|
|
|
325
329
|
payload.expectedVersion = current?.version;
|
|
326
330
|
}
|
|
327
331
|
if (wantsCadence) {
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
// `activeHours`/`daysOfWeek` turned "weekdays 09:00-22:00" into "around the clock" on
|
|
333
|
-
// `--cadence 2h` (OSK-18366). Mirrors `cadenceShape` in api/server/routes/duties.js.
|
|
334
|
-
for (const key of CARRIED_CADENCE_KEYS) {
|
|
335
|
-
if (existing[key] !== undefined)
|
|
336
|
-
storedCadence[key] = existing[key];
|
|
337
|
-
}
|
|
338
|
-
if (payload.cadence !== undefined) {
|
|
339
|
-
if (!payload.cadence ||
|
|
340
|
-
typeof payload.cadence !== 'object' ||
|
|
341
|
-
Array.isArray(payload.cadence)) {
|
|
342
|
-
this.error('cadence must be a JSON object when using cadence flags.', { exit: 1 });
|
|
332
|
+
if (flags['restore-saved-cadence']) {
|
|
333
|
+
if (flags.cadence !== undefined || flags['cadence-mode'] !== undefined ||
|
|
334
|
+
flags.timezone !== undefined || payload.cadence !== undefined) {
|
|
335
|
+
this.error('--restore-saved-cadence cannot be combined with other cadence edits.', { exit: 1 });
|
|
343
336
|
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
const cadence = {
|
|
347
|
-
...storedCadence,
|
|
348
|
-
...authoredCadence,
|
|
349
|
-
};
|
|
350
|
-
if (flags.cadence) {
|
|
351
|
-
cadence.intervalMs = (0, duties_1.parseIntervalToMs)(flags.cadence);
|
|
352
|
-
// Setting an interval on a manual duty implies interval mode.
|
|
353
|
-
if (!cadence.mode || cadence.mode === 'manual')
|
|
354
|
-
cadence.mode = 'interval';
|
|
355
|
-
}
|
|
356
|
-
if (flags['cadence-mode'])
|
|
357
|
-
cadence.mode = flags['cadence-mode'];
|
|
358
|
-
if (flags.timezone)
|
|
359
|
-
cadence.timezone = flags.timezone;
|
|
360
|
-
// A daily cadence runs at set times and has no interval, so `--cadence 6h`
|
|
361
|
-
// on one was stored as an `intervalMs` nothing reads: the command succeeded,
|
|
362
|
-
// the version moved, and the cadence still read "daily 08:00". Refuse it and
|
|
363
|
-
// say what would do what was meant (OSK-15418).
|
|
364
|
-
if (flags.cadence && cadence.mode === 'daily') {
|
|
365
|
-
const at = Array.isArray(cadence.times) && cadence.times.length
|
|
366
|
-
? ` at ${cadence.times.join(', ')}`
|
|
367
|
-
: '';
|
|
368
|
-
this.error(`This duty's cadence is daily${at}, which has no interval, so --cadence ${flags.cadence} would change nothing. ` +
|
|
369
|
-
`To check every ${flags.cadence} instead, add --cadence-mode interval. ` +
|
|
370
|
-
'To change the daily times, use --from-json with cadence.times.', { exit: 1 });
|
|
371
|
-
}
|
|
372
|
-
// A mode change must not carry the previous mode's fields into the
|
|
373
|
-
// replacement. Keep explicitly authored fields so invalid combinations
|
|
374
|
-
// are refused rather than silently discarding what the user requested.
|
|
375
|
-
if (cadence.mode !== existing.mode) {
|
|
376
|
-
if (cadence.mode !== 'daily' && !Object.hasOwn(authoredCadence ?? {}, 'times')) {
|
|
377
|
-
delete cadence.times;
|
|
337
|
+
if (current?.cadence?.mode !== 'manual' || !current?.savedCadence) {
|
|
338
|
+
this.error('There is no saved schedule to restore on this manual Duty. Run `skrr duties show` to inspect it.', { exit: 1 });
|
|
378
339
|
}
|
|
379
|
-
if (
|
|
380
|
-
|
|
340
|
+
if (!Number.isSafeInteger(current.version) || current.version < 1) {
|
|
341
|
+
this.error('The current Duty version is unavailable; refresh it before restoring a schedule.', { exit: 1 });
|
|
381
342
|
}
|
|
343
|
+
payload.cadence = current.savedCadence;
|
|
344
|
+
if (payload.expectedVersion === undefined)
|
|
345
|
+
payload.expectedVersion = current.version;
|
|
382
346
|
}
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
347
|
+
else {
|
|
348
|
+
const existing = current?.cadence ?? {};
|
|
349
|
+
const storedCadence = {};
|
|
350
|
+
// Every authored cadence field. The API replaces `cadence` wholesale, so a field left out
|
|
351
|
+
// of this list is erased from the Duty by an edit that never mentioned it: omitting
|
|
352
|
+
// `activeHours`/`daysOfWeek` turned "weekdays 09:00-22:00" into "around the clock" on
|
|
353
|
+
// `--cadence 2h` (OSK-18366). Mirrors `cadenceShape` in api/server/routes/duties.js.
|
|
354
|
+
for (const key of CARRIED_CADENCE_KEYS) {
|
|
355
|
+
if (existing[key] !== undefined)
|
|
356
|
+
storedCadence[key] = existing[key];
|
|
357
|
+
}
|
|
358
|
+
if (payload.cadence !== undefined) {
|
|
359
|
+
if (!payload.cadence ||
|
|
360
|
+
typeof payload.cadence !== 'object' ||
|
|
361
|
+
Array.isArray(payload.cadence)) {
|
|
362
|
+
this.error('cadence must be a JSON object when using cadence flags.', { exit: 1 });
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
const authoredCadence = payload.cadence;
|
|
366
|
+
const cadence = {
|
|
367
|
+
...storedCadence,
|
|
368
|
+
...authoredCadence,
|
|
369
|
+
};
|
|
370
|
+
if (flags.cadence) {
|
|
371
|
+
cadence.intervalMs = (0, duties_1.parseIntervalToMs)(flags.cadence);
|
|
372
|
+
// Setting an interval on a manual duty implies interval mode.
|
|
373
|
+
if (!cadence.mode || cadence.mode === 'manual')
|
|
374
|
+
cadence.mode = 'interval';
|
|
375
|
+
}
|
|
376
|
+
if (flags['cadence-mode'])
|
|
377
|
+
cadence.mode = flags['cadence-mode'];
|
|
378
|
+
if (flags.timezone)
|
|
379
|
+
cadence.timezone = flags.timezone;
|
|
380
|
+
// A daily cadence runs at set times and has no interval, so `--cadence 6h`
|
|
381
|
+
// on one was stored as an `intervalMs` nothing reads: the command succeeded,
|
|
382
|
+
// the version moved, and the cadence still read "daily 08:00". Refuse it and
|
|
383
|
+
// say what would do what was meant (OSK-15418).
|
|
384
|
+
if (flags.cadence && cadence.mode === 'daily') {
|
|
385
|
+
const at = Array.isArray(cadence.times) && cadence.times.length
|
|
386
|
+
? ` at ${cadence.times.join(', ')}`
|
|
387
|
+
: '';
|
|
388
|
+
this.error(`This duty's cadence is daily${at}, which has no interval, so --cadence ${flags.cadence} would change nothing. ` +
|
|
389
|
+
`To check every ${flags.cadence} instead, add --cadence-mode interval. ` +
|
|
390
|
+
'To change the daily times, use --from-json with cadence.times.', { exit: 1 });
|
|
391
|
+
}
|
|
392
|
+
// A mode change must not carry the previous mode's fields into the
|
|
393
|
+
// replacement. Keep explicitly authored fields so invalid combinations
|
|
394
|
+
// are refused rather than silently discarding what the user requested.
|
|
395
|
+
if (cadence.mode !== existing.mode) {
|
|
396
|
+
if (cadence.mode !== 'daily' && !Object.hasOwn(authoredCadence ?? {}, 'times')) {
|
|
397
|
+
delete cadence.times;
|
|
398
|
+
}
|
|
399
|
+
if (cadence.mode !== 'sampled' && !Object.hasOwn(authoredCadence ?? {}, 'jitterRatio')) {
|
|
400
|
+
delete cadence.jitterRatio;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
// A daily cadence's rhythm is its times, and the API refuses an `intervalMs` beside them.
|
|
404
|
+
// Dropping the inherited one also repairs a row an earlier build let store both.
|
|
405
|
+
if (cadence.mode === 'daily' && !Object.hasOwn(authoredCadence ?? {}, 'intervalMs')) {
|
|
406
|
+
delete cadence.intervalMs;
|
|
407
|
+
}
|
|
408
|
+
if (!['interval', 'daily', 'event_plus_interval'].includes(String(cadence.mode)) &&
|
|
409
|
+
!Object.hasOwn(authoredCadence ?? {}, 'activeHours'))
|
|
410
|
+
delete cadence.activeHours;
|
|
411
|
+
if (!['interval', 'event_plus_interval', 'daily'].includes(String(cadence.mode)) &&
|
|
412
|
+
!Object.hasOwn(authoredCadence ?? {}, 'daysOfWeek'))
|
|
413
|
+
delete cadence.daysOfWeek;
|
|
414
|
+
payload.cadence = cadence;
|
|
415
|
+
if (payload.expectedVersion === undefined && current?.version !== undefined) {
|
|
416
|
+
payload.expectedVersion = current.version;
|
|
417
|
+
}
|
|
397
418
|
}
|
|
398
419
|
}
|
|
399
420
|
const concurrencyPatch = (0, duties_1.dutyConcurrencyEnvelopePatch)({
|
|
@@ -195,6 +195,7 @@ class GoalsPlanNow extends base_command_1.BaseCommand {
|
|
|
195
195
|
this.log(` backfilled: ${r.backfilledCount} existing task(s) tagged to the space.`);
|
|
196
196
|
}
|
|
197
197
|
this.log(` Watch \`${this.config.bin} goals tasks ${args.id}\` for what it creates.`);
|
|
198
|
+
this.log(` Check \`${this.config.bin} goals planner-compare ${args.id}\` for the latest planner failure.`);
|
|
198
199
|
return;
|
|
199
200
|
}
|
|
200
201
|
if (plannerTickDidNotRun(r)) {
|
|
@@ -50,6 +50,17 @@ function comparisonLines(result) {
|
|
|
50
50
|
lines.push(`${pad('Planner ticks held')}${String(result.goalPlanner.ticks).padEnd(column)}${result.goalLoop.ticks}`);
|
|
51
51
|
const plannerTurns = Object.values(result.goalPlanner.notes).reduce((a, b) => a + b, 0);
|
|
52
52
|
lines.push(`${pad('Turns')}${countsLine(plannerTurns, result.goalPlanner.notes).padEnd(column)}${countsLine(result.goalLoop.turns.total, result.goalLoop.turns.byStatus)}`);
|
|
53
|
+
const failure = result.goalPlanner.latestFailure;
|
|
54
|
+
if (failure) {
|
|
55
|
+
const detail = failure.code === 'INFERENCE_TARGET_UNAVAILABLE'
|
|
56
|
+
? 'The configured inference target was unavailable. Check the Agent harness and daemon connection, then retry.'
|
|
57
|
+
: failure.code === 'INFERENCE_AGENT_UNAVAILABLE'
|
|
58
|
+
? 'The configured Agent is unavailable. Check the Goal owner Agent, then retry.'
|
|
59
|
+
: failure.code === 'INFERENCE_OUTCOME_UNKNOWN'
|
|
60
|
+
? 'The inference outcome is unknown. Check for existing results before retrying.'
|
|
61
|
+
: 'The planner failed; the cause was not recorded. Check the planner logs.';
|
|
62
|
+
lines.push(`Latest planner failure (${failure.at}): ${detail}`);
|
|
63
|
+
}
|
|
53
64
|
lines.push(`${pad('Tasks created')}${String(result.goalPlanner.created).padEnd(column)}${result.goalLoop.tasksCreated}`);
|
|
54
65
|
lines.push(`${pad('Tasks refined')}${String(result.goalPlanner.refined).padEnd(column)}not counted`);
|
|
55
66
|
lines.push(`${pad('Key results judged')}${'never'.padEnd(column)}${result.goalLoop.keyResultJudgments}`);
|
|
@@ -13,6 +13,7 @@ export type HarnessRow = {
|
|
|
13
13
|
name?: string;
|
|
14
14
|
model?: string;
|
|
15
15
|
status?: string;
|
|
16
|
+
presenceStatus?: 'connected' | 'unconfirmed' | 'unknown';
|
|
16
17
|
harnessLocation?: string;
|
|
17
18
|
lastSeenAt?: string;
|
|
18
19
|
metadata?: {
|
|
@@ -125,7 +126,7 @@ export type HarnessSelection = {
|
|
|
125
126
|
* machine replaced; the filter accepted only online|offline, so the one value
|
|
126
127
|
* that says "never coming back" could be read and never selected.
|
|
127
128
|
*/
|
|
128
|
-
export declare const HARNESS_STATUS_FILTERS: readonly ["online", "offline", "superseded"];
|
|
129
|
+
export declare const HARNESS_STATUS_FILTERS: readonly ["online", "offline", "unconfirmed", "unknown", "superseded"];
|
|
129
130
|
/**
|
|
130
131
|
* The status to ask the SERVER for. Only `online` narrows there.
|
|
131
132
|
*
|
|
@@ -130,7 +130,7 @@ const MANAGED_REGISTRATION_SOURCES = new Set([
|
|
|
130
130
|
* machine replaced; the filter accepted only online|offline, so the one value
|
|
131
131
|
* that says "never coming back" could be read and never selected.
|
|
132
132
|
*/
|
|
133
|
-
exports.HARNESS_STATUS_FILTERS = ['online', 'offline', 'superseded'];
|
|
133
|
+
exports.HARNESS_STATUS_FILTERS = ['online', 'offline', 'unconfirmed', 'unknown', 'superseded'];
|
|
134
134
|
/**
|
|
135
135
|
* The status to ask the SERVER for. Only `online` narrows there.
|
|
136
136
|
*
|
|
@@ -225,7 +225,9 @@ function selectHarnessRows(rows, options) {
|
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
const sorted = [...filtered].sort(compareHarnessRows);
|
|
228
|
-
const shown = options.onlineOnly
|
|
228
|
+
const shown = options.onlineOnly
|
|
229
|
+
? sorted.filter((r) => r.status === 'online' && (!r.presenceStatus || r.presenceStatus === 'connected'))
|
|
230
|
+
: sorted;
|
|
229
231
|
const limited = options.limit != null && options.limit > 0 ? shown.slice(0, options.limit) : shown;
|
|
230
232
|
return {
|
|
231
233
|
visible: limited,
|
|
@@ -268,7 +270,7 @@ function buildHarnessesJson(selection, filters, defaults = {}, readiness) {
|
|
|
268
270
|
hiddenByLocal: selection.hiddenByLocal,
|
|
269
271
|
hiddenByLimit: selection.hiddenByLimit,
|
|
270
272
|
hiddenSuperseded: selection.hiddenSuperseded,
|
|
271
|
-
online: selection.visible.filter((r) => r.status === 'online').length,
|
|
273
|
+
online: selection.visible.filter((r) => r.status === 'online' && (!r.presenceStatus || r.presenceStatus === 'connected')).length,
|
|
272
274
|
},
|
|
273
275
|
};
|
|
274
276
|
}
|
|
@@ -347,8 +349,8 @@ function canonicalHarnessRows(rows) {
|
|
|
347
349
|
}
|
|
348
350
|
/** Online first, then most-recently-seen first — the row you want is row 1. */
|
|
349
351
|
function compareHarnessRows(a, b) {
|
|
350
|
-
const aOffline = a.status === 'online' ? 0 : 1;
|
|
351
|
-
const bOffline = b.status === 'online' ? 0 : 1;
|
|
352
|
+
const aOffline = a.status === 'online' && (!a.presenceStatus || a.presenceStatus === 'connected') ? 0 : 1;
|
|
353
|
+
const bOffline = b.status === 'online' && (!b.presenceStatus || b.presenceStatus === 'connected') ? 0 : 1;
|
|
352
354
|
if (aOffline !== bOffline)
|
|
353
355
|
return aOffline - bOffline;
|
|
354
356
|
return lastSeenMs(b) - lastSeenMs(a);
|
|
@@ -54,7 +54,7 @@ function curatedReasonClause(report) {
|
|
|
54
54
|
case 'no_live_catalog_for_harness':
|
|
55
55
|
return `${provider} has no way to list its own models, so this list is the catalog`;
|
|
56
56
|
case 'daemon_offline':
|
|
57
|
-
return `
|
|
57
|
+
return `this server has no live connection to the ${provider} daemon, so its model list could not be read`;
|
|
58
58
|
case 'live_catalog_unsupported':
|
|
59
59
|
return `the daemon on that machine does not offer a live model list — update it to get one`;
|
|
60
60
|
case 'live_probe_failed':
|