@jr2/orchestrator 0.1.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 (49) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +23 -0
  3. package/bin/server.ts +23 -0
  4. package/console/canvas.ts +843 -0
  5. package/console/components/app.ts +79 -0
  6. package/console/components/drawer.ts +131 -0
  7. package/console/components/fleet.ts +117 -0
  8. package/console/components/machine-pane.ts +85 -0
  9. package/console/components/nav.ts +81 -0
  10. package/console/components/schema-form.ts +137 -0
  11. package/console/main.ts +383 -0
  12. package/console/page.html +28 -0
  13. package/console/store.ts +336 -0
  14. package/console/style.css +700 -0
  15. package/console/tsconfig.json +18 -0
  16. package/package.json +61 -0
  17. package/src/actor.ts +562 -0
  18. package/src/agent.ts +124 -0
  19. package/src/ambient.ts +50 -0
  20. package/src/config.ts +297 -0
  21. package/src/customize.ts +348 -0
  22. package/src/durability.ts +135 -0
  23. package/src/fingerprint.ts +92 -0
  24. package/src/gate.ts +76 -0
  25. package/src/harness-client.ts +503 -0
  26. package/src/http.ts +753 -0
  27. package/src/images.ts +303 -0
  28. package/src/index.ts +40 -0
  29. package/src/instance.ts +294 -0
  30. package/src/machine-doc.ts +334 -0
  31. package/src/names.ts +78 -0
  32. package/src/open.ts +17 -0
  33. package/src/parts.ts +500 -0
  34. package/src/pool.ts +284 -0
  35. package/src/registration.ts +340 -0
  36. package/src/repo-fetch.ts +259 -0
  37. package/src/repo-identity.ts +145 -0
  38. package/src/repos.ts +330 -0
  39. package/src/run-host.ts +1095 -0
  40. package/src/sandbox-kubectl.ts +1136 -0
  41. package/src/server.ts +220 -0
  42. package/src/setup.ts +360 -0
  43. package/src/snapshot-store.ts +150 -0
  44. package/src/stub-harness.ts +217 -0
  45. package/src/tokens.ts +126 -0
  46. package/src/vocabulary.ts +99 -0
  47. package/src/wire.ts +103 -0
  48. package/src/workspace.ts +874 -0
  49. package/tsconfig.instance.json +26 -0
@@ -0,0 +1,26 @@
1
+ {
2
+ // The tsconfig a jr2 INSTANCE extends (`jr2 init` scaffolds one that does; `templates/default` is
3
+ // the model). It ships inside @jr2/orchestrator rather than extending the repo's tsconfig.base.json
4
+ // because an instance scaffolded outside this repo resolves it from node_modules — a relative
5
+ // extends would dangle. Kit packages keep tsconfig.base.json; this is the contract with users.
6
+ //
7
+ // The three load-bearing options are the zero-build model, not style: @jr2/orchestrator's exports
8
+ // point at `./src/index.ts` and its own imports carry `.ts` extensions, so an instance's program
9
+ // includes that source and must accept the same syntax Node 24 type-strips at load. `tsc` here is
10
+ // a checker, never an emitter.
11
+ "$schema": "https://json.schemastore.org/tsconfig",
12
+ "compilerOptions": {
13
+ "target": "ES2022",
14
+ "lib": ["ES2022"],
15
+ "module": "NodeNext",
16
+ "moduleResolution": "NodeNext",
17
+ "strict": true,
18
+ "esModuleInterop": true,
19
+ "skipLibCheck": true,
20
+ "forceConsistentCasingInFileNames": true,
21
+ "verbatimModuleSyntax": true,
22
+ "noUncheckedIndexedAccess": true,
23
+ "allowImportingTsExtensions": true,
24
+ "noEmit": true
25
+ }
26
+ }