@guiho/runx 0.2.7 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/DOCS.md +127 -128
- package/README.md +56 -75
- package/devops/build-binaries.ts +44 -62
- package/devops/devops.xdocs.md +8 -5
- package/devops/install.ps1 +182 -152
- package/devops/install.sh +197 -262
- package/devops/installers.spec.ts +31 -0
- package/devops/verify-release-assets.ts +17 -0
- package/docs/docs.xdocs.md +3 -1
- package/docs/plans/plans.xdocs.md +7 -0
- package/docs/plans/rfc-0034-cli-compliance-migration.md +586 -0
- package/docs/plans/upgrade-reliability-implementation.md +95 -0
- package/docs/reviews/implementation/implementation.xdocs.md +2 -0
- package/docs/reviews/implementation/rfc-0034-cli-compliance-migration-review.md +59 -0
- package/docs/reviews/plans/plans.xdocs.md +6 -0
- package/docs/reviews/plans/rfc-0034-cli-compliance-migration-review.md +80 -0
- package/docs/reviews/plans/upgrade-reliability-implementation-review.md +65 -0
- package/docs/superpowers/specs/2026-07-15-upgrade-reliability-design.md +662 -0
- package/docs/superpowers/specs/specs.xdocs.md +24 -0
- package/docs/superpowers/superpowers.xdocs.md +21 -0
- package/docs/todo/rfc-0034-cli-compliance-migration-implementation.md +58 -0
- package/docs/todo/rfc-0034-cli-compliance-migration.md +151 -0
- package/docs/todo/todo.xdocs.md +6 -2
- package/docs/validation/rfc-0034-cli-compliance-migration.md +67 -0
- package/docs/validation/upgrade-reliability.md +124 -0
- package/docs/validation/validation.xdocs.md +5 -0
- package/library/agents.d.ts +28 -4
- package/library/agents.d.ts.map +1 -1
- package/library/agents.js +143 -41
- package/library/cli.d.ts.map +1 -1
- package/library/cli.js +296 -334
- package/library/configuration.d.ts +57 -0
- package/library/configuration.d.ts.map +1 -0
- package/library/configuration.js +111 -0
- package/library/embedded-resources.d.ts +6 -1
- package/library/embedded-resources.d.ts.map +1 -1
- package/library/embedded-resources.js +10 -4
- package/library/executor.d.ts +5 -1
- package/library/executor.d.ts.map +1 -1
- package/library/executor.js +10 -10
- package/library/help.d.ts +8 -4
- package/library/help.d.ts.map +1 -1
- package/library/help.js +70 -46
- package/library/init.d.ts +8 -27
- package/library/init.d.ts.map +1 -1
- package/library/init.js +37 -159
- package/library/manifest.d.ts +4 -43
- package/library/manifest.d.ts.map +1 -1
- package/library/manifest.js +4 -125
- package/library/path-utils.d.ts +13 -0
- package/library/path-utils.d.ts.map +1 -0
- package/library/path-utils.js +82 -0
- package/library/recovery.d.ts +7 -0
- package/library/recovery.d.ts.map +1 -0
- package/library/recovery.js +23 -0
- package/library/release-catalog.d.ts +32 -0
- package/library/release-catalog.d.ts.map +1 -0
- package/library/release-catalog.js +124 -0
- package/library/self-management.d.ts +24 -4
- package/library/self-management.d.ts.map +1 -1
- package/library/self-management.js +279 -99
- package/library/storage.d.ts +13 -0
- package/library/storage.d.ts.map +1 -0
- package/library/storage.js +38 -0
- package/library/types.d.ts +11 -16
- package/library/types.d.ts.map +1 -1
- package/library/types.js +3 -0
- package/library/update-cache.d.ts +21 -0
- package/library/update-cache.d.ts.map +1 -0
- package/library/update-cache.js +68 -0
- package/library/upgrade-reporting.d.ts +11 -0
- package/library/upgrade-reporting.d.ts.map +1 -0
- package/library/upgrade-reporting.js +67 -0
- package/library/upgrade-types.d.ts +72 -0
- package/library/upgrade-types.d.ts.map +1 -0
- package/library/upgrade-types.js +3 -0
- package/package.json +6 -3
- package/scripts/runx-bin.mjs +49 -0
- package/scripts/runx-bin.spec.ts +62 -0
- package/scripts/scripts.xdocs.md +3 -3
- package/skills/guiho-s-runx/SKILL.md +64 -59
- package/skills/guiho-s-runx/guiho-s-runx.xdocs.md +7 -4
- package/skills/skills.xdocs.md +1 -1
- package/docs/todo/implement-runx-alpha.md +0 -36
- package/scripts/runx-bin.ts +0 -24
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
subject: guiho-s-runx
|
|
3
|
-
description: Agent workflow for
|
|
3
|
+
description: Agent workflow for safe RunX catalog execution and verified native upgrade/list/recovery operations.
|
|
4
4
|
parent: runx-skills
|
|
5
5
|
children: []
|
|
6
6
|
files:
|
|
7
|
-
SKILL.md:
|
|
7
|
+
SKILL.md: RFC-aligned RunX catalog inspection, execution safety, YAML precedence, agent, and upgrade guidance.
|
|
8
8
|
documents:
|
|
9
|
-
SKILL.md: RunX-specific
|
|
9
|
+
SKILL.md: RunX-specific command execution and verified native self-upgrade workflow.
|
|
10
10
|
tags:
|
|
11
11
|
- agents
|
|
12
12
|
- runx
|
|
@@ -15,9 +15,12 @@ keywords:
|
|
|
15
15
|
- citty
|
|
16
16
|
- command catalog
|
|
17
17
|
- dry run
|
|
18
|
+
- runx upgrade
|
|
19
|
+
- recovery install
|
|
18
20
|
flags: []
|
|
19
21
|
status: stable
|
|
20
22
|
---
|
|
21
23
|
|
|
22
24
|
The skill makes manifest inspection, UID selection, dry runs, and explicit
|
|
23
|
-
confirmation the default agent workflow for RunX commands
|
|
25
|
+
confirmation the default agent workflow for RunX commands and teaches agents
|
|
26
|
+
how to interpret transactional native upgrades and their recovery contract.
|
package/skills/skills.xdocs.md
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Implement RunX Alpha Command Catalog
|
|
3
|
-
purpose: Define the expected outcome, constraints, and completion signals for task 1 in TODO.md.
|
|
4
|
-
description: Describes the first RunX CLI release and the safety, documentation, and validation constraints that govern it.
|
|
5
|
-
created: 2026-07-12
|
|
6
|
-
flags:
|
|
7
|
-
- implementation
|
|
8
|
-
tags:
|
|
9
|
-
- todo
|
|
10
|
-
- cli
|
|
11
|
-
keywords:
|
|
12
|
-
- runx
|
|
13
|
-
- alpha
|
|
14
|
-
owner: runx-todo
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
# Implement RunX Alpha Command Catalog
|
|
18
|
-
|
|
19
|
-
## Todo Index
|
|
20
|
-
|
|
21
|
-
- Task: `1. Implement RunX Alpha Command Catalog`
|
|
22
|
-
- Status: completed
|
|
23
|
-
- Index: [TODO.md](../../TODO.md)
|
|
24
|
-
|
|
25
|
-
## Outcome
|
|
26
|
-
|
|
27
|
-
Deliver a documented, locally executable RunX alpha that meets the approved
|
|
28
|
-
command-catalog acceptance criteria without publishing a package.
|
|
29
|
-
|
|
30
|
-
## Watch-outs
|
|
31
|
-
|
|
32
|
-
- Preserve read-only behavior for list, describe, check, and dry run paths.
|
|
33
|
-
- Never place secrets in a manifest or run confirmation-gated commands without
|
|
34
|
-
`--yes`.
|
|
35
|
-
- Keep every new module and document represented by XDocs metadata.
|
|
36
|
-
- Use Mirror for the version transition and keep commits one file at a time.
|
package/scripts/runx-bin.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bun
|
|
2
|
-
|
|
3
|
-
const args = process.argv.slice(2)
|
|
4
|
-
const binaryPath = new URL(`../vendor/runx${process.platform === 'win32' ? '.exe' : ''}`, import.meta.url)
|
|
5
|
-
const libraryPath = new URL('../library/guiho-runx-bin.js', import.meta.url)
|
|
6
|
-
const sourcePath = new URL('../source/guiho-runx-bin.ts', import.meta.url)
|
|
7
|
-
|
|
8
|
-
if (await Bun.file(binaryPath).exists()) {
|
|
9
|
-
const child = Bun.spawn([Bun.fileURLToPath(binaryPath), ...args], { stdin: 'inherit', stdout: 'inherit', stderr: 'inherit' })
|
|
10
|
-
process.exit(await child.exited)
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
if (await Bun.file(libraryPath).exists()) {
|
|
14
|
-
const child = Bun.spawn([process.execPath, Bun.fileURLToPath(libraryPath), ...args], { stdin: 'inherit', stdout: 'inherit', stderr: 'inherit' })
|
|
15
|
-
process.exit(await child.exited)
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
if (await Bun.file(sourcePath).exists()) {
|
|
19
|
-
const child = Bun.spawn([process.execPath, Bun.fileURLToPath(sourcePath), ...args], { stdin: 'inherit', stdout: 'inherit', stderr: 'inherit' })
|
|
20
|
-
process.exit(await child.exited)
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
console.error('error: RunX executable is unavailable. Install an official native release or reinstall @guiho/runx.')
|
|
24
|
-
process.exit(1)
|