@skrr-ai/cli 0.1.159 → 0.1.161
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/base-command.js +6 -0
- package/dist/commands/activity/list.js +1 -1
- package/dist/commands/activity/scan-older.js +1 -0
- package/dist/commands/activity/show.js +3 -3
- package/dist/generated/agent-guides.json +29 -29
- package/dist/lib/apps-command.js +14 -0
- package/dist/lib/apps.d.ts +13 -0
- package/dist/lib/apps.js +35 -1
- package/dist/lib/dedicated-machines.d.ts +8 -0
- package/dist/lib/dedicated-machines.js +15 -9
- package/dist/lib/dedicated-power.d.ts +5 -1
- package/dist/lib/dedicated-power.js +24 -7
- package/dist/lib/dedicated-wait.js +2 -2
- package/dist/lib/usage-discovery.d.ts +3 -0
- package/dist/lib/usage-discovery.js +4 -0
- package/dist/node_modules/@skrr-ai/data-provider/index.js +6227 -6216
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
|
@@ -163,8 +163,8 @@ function evaluateDedicatedWaitGoal(goal, lease) {
|
|
|
163
163
|
return {
|
|
164
164
|
status: 'failed',
|
|
165
165
|
reason: last.status === 'rolled_back'
|
|
166
|
-
?
|
|
167
|
-
:
|
|
166
|
+
? `the current image did not come back healthy; the machine is back on its previous image${lease.workspaceVolumeMissing === true ? '' : ', files kept'}`
|
|
167
|
+
: `the update did not complete on either image${lease.workspaceVolumeMissing === true ? '' : '; files are kept'}`,
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
170
|
let moving = 'update requested';
|
|
@@ -37,6 +37,9 @@ export declare const USAGE_OVERVIEW_TOKEN_BUDGET = 240;
|
|
|
37
37
|
* `instructions` (version-pinned blocks for local CLAUDE.md / AGENTS.md), aimed at another target. The overview
|
|
38
38
|
* read 245 once `skrr guide` joined it, and `guide` stays a line of its own because it is where every operation
|
|
39
39
|
* guide is read.
|
|
40
|
+
* `activity` (what an agent, a duty or a chat did, linked to its source) is the read side of what the `worklog` domain
|
|
41
|
+
* writes, and is the topic that took the overview to 241. Folded there, `skrr usage activity` resolves to the
|
|
42
|
+
* `worklog` pages, which name it in `Includes:`; every `skrr activity ...` command keeps its id.
|
|
40
43
|
*/
|
|
41
44
|
export declare const USAGE_DOMAIN_FOLDS: Readonly<Record<string, string>>;
|
|
42
45
|
export declare const USAGE_DOMAIN_TOKEN_BUDGET = 500;
|
|
@@ -50,11 +50,15 @@ exports.USAGE_OVERVIEW_TOKEN_BUDGET = 240;
|
|
|
50
50
|
* `instructions` (version-pinned blocks for local CLAUDE.md / AGENTS.md), aimed at another target. The overview
|
|
51
51
|
* read 245 once `skrr guide` joined it, and `guide` stays a line of its own because it is where every operation
|
|
52
52
|
* guide is read.
|
|
53
|
+
* `activity` (what an agent, a duty or a chat did, linked to its source) is the read side of what the `worklog` domain
|
|
54
|
+
* writes, and is the topic that took the overview to 241. Folded there, `skrr usage activity` resolves to the
|
|
55
|
+
* `worklog` pages, which name it in `Includes:`; every `skrr activity ...` command keeps its id.
|
|
53
56
|
*/
|
|
54
57
|
exports.USAGE_DOMAIN_FOLDS = {
|
|
55
58
|
proposals: 'inbox',
|
|
56
59
|
apps: 'widgets',
|
|
57
60
|
'instruction-blocks': 'instructions',
|
|
61
|
+
activity: 'worklog',
|
|
58
62
|
};
|
|
59
63
|
exports.USAGE_DOMAIN_TOKEN_BUDGET = 500;
|
|
60
64
|
const GENERIC_FLAGS = new Set(['bare', 'help', 'json', 'token', 'workspace']);
|