@ligeti/shell 1.2.0 → 1.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.
Files changed (89) hide show
  1. package/README.md +58 -0
  2. package/dist/bin-resolve.d.ts +5 -0
  3. package/dist/bin-resolve.d.ts.map +1 -1
  4. package/dist/bin-resolve.js +12 -3
  5. package/dist/bin-resolve.js.map +1 -1
  6. package/dist/cli/config.d.ts.map +1 -1
  7. package/dist/cli/config.js +2 -3
  8. package/dist/cli/config.js.map +1 -1
  9. package/dist/cli/installed-versions.d.ts +9 -0
  10. package/dist/cli/installed-versions.d.ts.map +1 -0
  11. package/dist/cli/installed-versions.js +50 -0
  12. package/dist/cli/installed-versions.js.map +1 -0
  13. package/dist/cli/plugin.d.ts +13 -0
  14. package/dist/cli/plugin.d.ts.map +1 -0
  15. package/dist/cli/plugin.js +188 -0
  16. package/dist/cli/plugin.js.map +1 -0
  17. package/dist/cli/pre-push.d.ts +12 -0
  18. package/dist/cli/pre-push.d.ts.map +1 -0
  19. package/dist/cli/pre-push.js +56 -0
  20. package/dist/cli/pre-push.js.map +1 -0
  21. package/dist/cli/share-dir.d.ts +3 -0
  22. package/dist/cli/share-dir.d.ts.map +1 -0
  23. package/dist/cli/share-dir.js +13 -0
  24. package/dist/cli/share-dir.js.map +1 -0
  25. package/dist/cli/steps.d.ts +16 -0
  26. package/dist/cli/steps.d.ts.map +1 -0
  27. package/dist/cli/steps.js +102 -0
  28. package/dist/cli/steps.js.map +1 -0
  29. package/dist/cli/version.d.ts +6 -0
  30. package/dist/cli/version.d.ts.map +1 -0
  31. package/dist/cli/version.js +14 -0
  32. package/dist/cli/version.js.map +1 -0
  33. package/dist/cli.d.ts.map +1 -1
  34. package/dist/cli.js +36 -4
  35. package/dist/cli.js.map +1 -1
  36. package/dist/installed-steps.d.ts +8 -0
  37. package/dist/installed-steps.d.ts.map +1 -0
  38. package/dist/installed-steps.js +90 -0
  39. package/dist/installed-steps.js.map +1 -0
  40. package/dist/settings.d.ts +1 -0
  41. package/dist/settings.d.ts.map +1 -1
  42. package/dist/settings.js +4 -0
  43. package/dist/settings.js.map +1 -1
  44. package/dist/workers.d.ts +4 -1
  45. package/dist/workers.d.ts.map +1 -1
  46. package/dist/workers.js +59 -3
  47. package/dist/workers.js.map +1 -1
  48. package/package.json +10 -9
  49. package/share/.claude-plugin/marketplace.json +14 -0
  50. package/share/plugins/ligeti/.claude-plugin/plugin.json +6 -0
  51. package/share/plugins/ligeti/README.md +31 -0
  52. package/share/plugins/ligeti/docs/attestation.md +590 -0
  53. package/share/plugins/ligeti/docs/shell.md +442 -0
  54. package/share/plugins/ligeti/docs/troubleshooting.md +28 -0
  55. package/share/plugins/ligeti/references/rules.md +93 -0
  56. package/share/plugins/ligeti/skills/authoring-steps/SKILL.md +149 -0
  57. package/share/plugins/ligeti/skills/authoring-workflows/SKILL.md +146 -0
  58. package/share/plugins/ligeti/skills/installing-workflows/SKILL.md +121 -0
  59. package/share/plugins/ligeti/skills/onboard/SKILL.md +290 -0
  60. package/share/plugins/ligeti/skills/onboard/assets/ligeti-verify-attestation.github.yml +66 -0
  61. package/share/plugins/ligeti/skills/onboard/assets/ligeti-verify-attestation.yml +69 -0
  62. package/share/plugins/ligeti/skills/onboard/assets/pre-push.sh +11 -0
  63. package/share/plugins/ligeti/skills/scheduling-workflows/SKILL.md +102 -0
  64. package/share/plugins/ligeti/skills/troubleshooting/SKILL.md +94 -0
  65. package/share/plugins/ligeti/templates/step/.prettierignore +3 -0
  66. package/share/plugins/ligeti/templates/step/README.md +52 -0
  67. package/share/plugins/ligeti/templates/step/eslint.config.js +105 -0
  68. package/share/plugins/ligeti/templates/step/package.json +52 -0
  69. package/share/plugins/ligeti/templates/step/src/index.ts +3 -0
  70. package/share/plugins/ligeti/templates/step/src/settings.ts +27 -0
  71. package/share/plugins/ligeti/templates/step/src/tool-version.ts +61 -0
  72. package/share/plugins/ligeti/templates/step/test/rules.test.ts +144 -0
  73. package/share/plugins/ligeti/templates/step/test/settings.test.ts +30 -0
  74. package/share/plugins/ligeti/templates/step/test/tool-version.feature +32 -0
  75. package/share/plugins/ligeti/templates/step/tsconfig.build.json +26 -0
  76. package/share/plugins/ligeti/templates/step/tsconfig.json +21 -0
  77. package/share/plugins/ligeti/templates/workflow/.prettierignore +3 -0
  78. package/share/plugins/ligeti/templates/workflow/README.md +56 -0
  79. package/share/plugins/ligeti/templates/workflow/eslint.config.js +99 -0
  80. package/share/plugins/ligeti/templates/workflow/package.json +46 -0
  81. package/share/plugins/ligeti/templates/workflow/src/workflow.ts +72 -0
  82. package/share/plugins/ligeti/templates/workflow/test/__snapshots__/workflow.test.ts.snap +132 -0
  83. package/share/plugins/ligeti/templates/workflow/test/rules.test.ts +160 -0
  84. package/share/plugins/ligeti/templates/workflow/test/template-workflow.feature +31 -0
  85. package/share/plugins/ligeti/templates/workflow/test/workflow.test.ts +64 -0
  86. package/share/plugins/ligeti/templates/workflow/tsconfig.build.json +26 -0
  87. package/share/plugins/ligeti/templates/workflow/tsconfig.json +21 -0
  88. package/share/scripts/pre-push-gate.sh +308 -0
  89. package/share/scripts/pre-push-lib.sh +64 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ligeti/shell",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "Ligeti control plane: web UI, callback endpoint, worker supervisor, registry.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -14,7 +14,8 @@
14
14
  "ligeti": "./dist/cli/serve.js"
15
15
  },
16
16
  "files": [
17
- "dist"
17
+ "dist",
18
+ "share"
18
19
  ],
19
20
  "dependencies": {
20
21
  "@dbos-inc/dbos-sdk": "4.27.6",
@@ -30,16 +31,16 @@
30
31
  "yaml": "2.9.1",
31
32
  "zod": "^4.6.5",
32
33
  "@ligeti/attest": "2.0.3",
33
- "@ligeti/workflow-attest-and-publish": "1.0.1",
34
- "@ligeti/sdk": "2.3.0",
35
- "@ligeti/workflow-github-small-factory": "1.0.1",
36
- "@ligeti/workflow-launch-github-small-factory": "1.0.1",
37
- "@ligeti/workflow-launch-small-factory": "1.0.1",
38
- "@ligeti/workflow-small-factory": "1.0.1"
34
+ "@ligeti/workflow-github-small-factory": "1.0.2",
35
+ "@ligeti/workflow-launch-github-small-factory": "1.0.2",
36
+ "@ligeti/workflow-launch-small-factory": "1.0.2",
37
+ "@ligeti/sdk": "2.4.0",
38
+ "@ligeti/workflow-attest-and-publish": "1.0.2",
39
+ "@ligeti/workflow-small-factory": "1.0.2"
39
40
  },
40
41
  "devDependencies": {
41
42
  "@types/pg": "^8.15.5",
42
- "@ligeti/testing": "2.0.6"
43
+ "@ligeti/testing": "2.0.7"
43
44
  },
44
45
  "engines": {
45
46
  "node": ">=22"
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "ligeti",
3
+ "owner": {
4
+ "name": "Viktor Nagy"
5
+ },
6
+ "description": "The Claude Code plugin for operating Ligeti and authoring workflows and steps for it.",
7
+ "plugins": [
8
+ {
9
+ "name": "ligeti",
10
+ "source": "./plugins/ligeti",
11
+ "description": "Skills for operating a Ligeti shell, writing workflow and step packages, and onboarding a repository to Ligeti's local-verification gate."
12
+ }
13
+ ]
14
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "ligeti",
3
+ "description": "Skills for operating a Ligeti shell, writing workflow and step packages, and onboarding a repository to Ligeti's local-verification gate.",
4
+ "author": { "name": "Viktor Nagy" },
5
+ "repository": "https://gitlab.com/nagyv-projects/ligeti"
6
+ }
@@ -0,0 +1,31 @@
1
+ # ligeti plugin
2
+
3
+ A Claude Code plugin for **operators** (people who run a Ligeti shell) and **outside authors**
4
+ (people who write workflow or step packages in their own repository).
5
+
6
+ ## Skills
7
+
8
+ | Skill | Use when |
9
+ | ---------------------- | --------------------------------------------------------------------------------------------- |
10
+ | `troubleshooting` | a run failed, hung or produced a wrong result |
11
+ | `installing-workflows` | installing, upgrading or removing a third-party workflow package, or upgrading a step |
12
+ | `scheduling-workflows` | running a workflow on a schedule, or changing a cron entry |
13
+ | `authoring-workflows` | creating a workflow package in your own repository |
14
+ | `authoring-steps` | creating a step package in your own repository |
15
+ | `onboard` | adopting the local-verification gate ([`docs/attestation.md`](docs/attestation.md)) in a repo |
16
+
17
+ ## Templates and references
18
+
19
+ - [`templates/workflow`](templates/workflow/README.md) and [`templates/step`](templates/step/README.md)
20
+ are real, private packages (`@ligeti/template-workflow`, `@ligeti/template-step`) that the two
21
+ authoring skills copy. They belong to the repository's root workspace, so its build, type-check,
22
+ lint and tests keep them working.
23
+ - [`references/rules.md`](references/rules.md) is the outside author's condensed version of the
24
+ repository's working rules, each linking the decision record that owns it.
25
+
26
+ ## Installing
27
+
28
+ The shell CLI installs the plugin: `ligeti plugin install`. The repository is also a plugin
29
+ marketplace (`.claude-plugin/marketplace.json`).
30
+
31
+ `docs/` holds symlinks to documents that live elsewhere in the repository, so each stays in one home.