run402 4.40.0 → 4.42.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.
Files changed (59) hide show
  1. package/README.md +7 -4
  2. package/cli.mjs +10 -2
  3. package/lib/argparse.mjs +1 -1
  4. package/lib/assets.mjs +10 -14
  5. package/lib/command-manifest.mjs +58 -49
  6. package/lib/deploy-v2.mjs +7 -10
  7. package/lib/doctor.mjs +12 -5
  8. package/lib/gitvault-scaffold.mjs +1 -1
  9. package/lib/gitvault-target.mjs +7 -9
  10. package/lib/gitvault.mjs +117 -1163
  11. package/lib/init.mjs +2 -2
  12. package/lib/notifications.mjs +4 -8
  13. package/lib/operator.mjs +1 -1
  14. package/lib/org.mjs +3 -3
  15. package/lib/repos.mjs +1261 -249
  16. package/lib/rooms-context.mjs +2 -3
  17. package/lib/rooms.mjs +11 -14
  18. package/lib/update-check.mjs +6 -8
  19. package/package.json +1 -1
  20. package/sdk/dist/errors.d.ts +5 -2
  21. package/sdk/dist/errors.d.ts.map +1 -1
  22. package/sdk/dist/errors.js.map +1 -1
  23. package/sdk/dist/namespaces/admin.d.ts +1 -1
  24. package/sdk/dist/namespaces/admin.js +1 -1
  25. package/sdk/dist/namespaces/deploy.types.d.ts +2 -2
  26. package/sdk/dist/namespaces/gitvault.crypto.d.ts +10 -0
  27. package/sdk/dist/namespaces/gitvault.crypto.d.ts.map +1 -1
  28. package/sdk/dist/namespaces/gitvault.crypto.js +11 -1
  29. package/sdk/dist/namespaces/gitvault.crypto.js.map +1 -1
  30. package/sdk/dist/namespaces/gitvault.d.ts +267 -31
  31. package/sdk/dist/namespaces/gitvault.d.ts.map +1 -1
  32. package/sdk/dist/namespaces/gitvault.js +299 -51
  33. package/sdk/dist/namespaces/gitvault.js.map +1 -1
  34. package/sdk/dist/namespaces/projects.d.ts +1 -1
  35. package/sdk/dist/namespaces/projects.js +1 -1
  36. package/sdk/dist/namespaces/projects.types.d.ts +1 -1
  37. package/sdk/dist/namespaces/projects.types.d.ts.map +1 -1
  38. package/sdk/dist/node/gitvault-apply.d.ts +1 -1
  39. package/sdk/dist/node/gitvault-apply.d.ts.map +1 -1
  40. package/sdk/dist/node/gitvault-apply.js +6 -6
  41. package/sdk/dist/node/gitvault-apply.js.map +1 -1
  42. package/sdk/dist/node/gitvault-creation-journal.js +1 -1
  43. package/sdk/dist/node/gitvault-creation-journal.js.map +1 -1
  44. package/sdk/dist/node/gitvault-deploy.js +2 -2
  45. package/sdk/dist/node/gitvault-deploy.js.map +1 -1
  46. package/sdk/dist/node/gitvault-mirror-backend.js +1 -1
  47. package/sdk/dist/node/gitvault-mirror-backend.js.map +1 -1
  48. package/sdk/dist/node/gitvault-mirror.js +1 -1
  49. package/sdk/dist/node/gitvault-mirror.js.map +1 -1
  50. package/sdk/dist/node/gitvault-publication.d.ts +70 -20
  51. package/sdk/dist/node/gitvault-publication.d.ts.map +1 -1
  52. package/sdk/dist/node/gitvault-publication.js +44 -17
  53. package/sdk/dist/node/gitvault-publication.js.map +1 -1
  54. package/sdk/dist/node/gitvault-recover.d.ts +15 -1
  55. package/sdk/dist/node/gitvault-recover.d.ts.map +1 -1
  56. package/sdk/dist/node/gitvault-recover.js +8 -4
  57. package/sdk/dist/node/gitvault-recover.js.map +1 -1
  58. package/sdk/dist/scoped.d.ts +2 -2
  59. package/sdk/dist/scoped.js +1 -1
package/lib/init.mjs CHANGED
@@ -57,8 +57,8 @@ Output:
57
57
  project the gitvault scaffold acted on.
58
58
 
59
59
  init scaffolds the git remote only. It does NOT allocate the vault — that is
60
- \`run402 gitvault init\`, which mints key material and a recovery receipt and
61
- therefore stays an explicit step.
60
+ \`run402 repos create --project <id>\`, which mints key material and a
61
+ recovery receipt and therefore stays an explicit step.
62
62
 
63
63
  Steps (idempotent when re-run with the same rail; pass --switch-rail to change rails):
64
64
  1. Creates config directory (~/.config/run402)
@@ -1,18 +1,14 @@
1
1
  /**
2
- * `run402 notifications` — RETIRED (legible-cli-surface).
3
- *
4
- * The group was two nouns in one coat: `list`/`get` read delivery RECORDS
5
- * while `preferences`/`channels`/`rules` were the CONFIGURATION producing
6
- * them. It has been split along that line:
2
+ * `run402 notifications` — tombstone dispatcher. Delivery RECORDS and the
3
+ * CONFIGURATION producing them live under separate nouns:
7
4
  *
8
5
  * notifications list|get -> deliveries list|get
9
6
  * notifications channels -> contacts (merged with escalations contacts)
10
7
  * notifications rules -> subscriptions
11
8
  * notifications preferences -> contacts preferences
12
9
  *
13
- * Reserved, not aliased (design D3): each subcommand names its successor so
14
- * one failed call teaches the new model, where an alias would teach the old
15
- * one forever.
10
+ * Reserved, not aliased: each subcommand names its successor so one failed
11
+ * call teaches the new model, where an alias would teach the old one forever.
16
12
  */
17
13
  import { fail } from "./sdk-errors.mjs";
18
14
  import { hasHelp } from "./argparse.mjs";
package/lib/operator.mjs CHANGED
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * Agent-first: JSON to stdout. `login` additionally prints the verification URL
16
16
  * + user code to stderr (human-in-the-loop) and degrades gracefully when not a
17
- * TTY. Gated on the gateway device-auth bridge (kychee-com/run402-private#443).
17
+ * TTY. Gated on the gateway device-auth bridge.
18
18
  */
19
19
 
20
20
  import { setTimeout as sleep } from "node:timers/promises";
package/lib/org.mjs CHANGED
@@ -438,9 +438,9 @@ async function payoutWallet(args) {
438
438
  }
439
439
 
440
440
  /**
441
- * `run402 org slug <slug>` — claim or rename the org's address-form slug
442
- * (repo-first-onramp design D6). Owner-only, and a genesis claim spends a
443
- * one-time claim fee — this is a PAID, side-effecting mutation, so it
441
+ * `run402 org slug <slug>` — claim or rename the org's address-form slug.
442
+ * Owner-only, and a genesis claim spends a one-time claim fee — this is a
443
+ * PAID, side-effecting mutation, so it
444
444
  * requires `Idempotency-Key`; the SDK generates one client-side when
445
445
  * `--idempotency-key` is omitted, so a retried call after a dropped response
446
446
  * can never double-bill.