@appchy/jarvis 0.1.37 → 0.1.39

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 (108) hide show
  1. package/bin/config-change.mjs +1 -1
  2. package/bin/jarvis.mjs +8 -12
  3. package/bin/pre-tool-use.mjs +2 -2
  4. package/bin/session-start.mjs +1 -1
  5. package/bin/stop.mjs +1 -1
  6. package/bin/user-prompt-submit.mjs +1 -1
  7. package/dist/bin.js +10168 -37341
  8. package/dist/bin.js.map +1 -1
  9. package/dist/data/backends.mjs +469 -0
  10. package/dist/data/chunk-7REP35VA.mjs +462 -0
  11. package/dist/data/chunk-AKQQC5IT.mjs +1224 -0
  12. package/dist/data/chunk-AYOJSS2F.mjs +72 -0
  13. package/dist/data/chunk-RRJ6KKYL.mjs +42 -0
  14. package/dist/data/chunk-YWSWQEJN.mjs +138 -0
  15. package/dist/data/embedders.mjs +80 -0
  16. package/dist/data/finders.mjs +35 -0
  17. package/dist/data/index.mjs +137 -0
  18. package/dist/data/linkers.mjs +83 -0
  19. package/dist/data/mcp.mjs +2624 -0
  20. package/dist/data/persistences.mjs +8 -0
  21. package/dist/data/rerankers.mjs +52 -0
  22. package/dist/data/stores.mjs +38 -0
  23. package/dist/hooks/config-change.js +7 -29
  24. package/dist/hooks/config-change.js.map +1 -1
  25. package/dist/hooks/pre-tool-use.js +129 -32
  26. package/dist/hooks/pre-tool-use.js.map +1 -1
  27. package/dist/hooks/session-start.js +72 -37
  28. package/dist/hooks/session-start.js.map +1 -1
  29. package/dist/hooks/stop.js +140 -32
  30. package/dist/hooks/stop.js.map +1 -1
  31. package/dist/hooks/user-prompt-submit.js +7 -29
  32. package/dist/hooks/user-prompt-submit.js.map +1 -1
  33. package/harness/assets/architecture-template.md +53 -0
  34. package/harness/assets/design-template.md +89 -0
  35. package/harness/assets/domains/architecture.md +43 -0
  36. package/harness/assets/domains/commercial.md +42 -0
  37. package/harness/assets/domains/design.md +42 -0
  38. package/harness/assets/domains/legal.md +43 -0
  39. package/harness/assets/domains/operations.md +39 -0
  40. package/harness/assets/domains/product.md +43 -0
  41. package/harness/assets/domains/quality.md +43 -0
  42. package/harness/assets/domains/security.md +44 -0
  43. package/harness/assets/domains/support.md +45 -0
  44. package/harness/assets/epic-template.md +85 -0
  45. package/harness/assets/feature-template.md +86 -0
  46. package/harness/assets/handoff-template.md +26 -0
  47. package/harness/assets/task-template.md +38 -0
  48. package/harness/assets/version-template.md +43 -0
  49. package/harness/harness/__init__.py +7 -0
  50. package/harness/harness/align.py +582 -0
  51. package/harness/harness/architecture.py +254 -0
  52. package/harness/harness/autonomy.py +374 -0
  53. package/harness/harness/branches.py +408 -0
  54. package/harness/harness/config.py +1482 -0
  55. package/harness/harness/coverage.py +199 -0
  56. package/harness/harness/epic.py +220 -0
  57. package/harness/harness/events.py +153 -0
  58. package/harness/harness/extend.py +99 -0
  59. package/harness/harness/frontmatter.py +218 -0
  60. package/harness/harness/gate.py +591 -0
  61. package/harness/harness/generate.py +267 -0
  62. package/harness/harness/git.py +775 -0
  63. package/harness/harness/ids.py +140 -0
  64. package/harness/harness/kickoff.py +231 -0
  65. package/harness/harness/lint.py +505 -0
  66. package/harness/harness/model.py +364 -0
  67. package/harness/harness/peers.py +187 -0
  68. package/harness/harness/product.py +29 -0
  69. package/harness/harness/registry.py +382 -0
  70. package/harness/harness/report.py +227 -0
  71. package/harness/harness/safety.py +387 -0
  72. package/harness/harness/scaffold.py +129 -0
  73. package/harness/harness/shard.py +63 -0
  74. package/harness/harness/shift.py +348 -0
  75. package/harness/harness/task.py +507 -0
  76. package/harness/harness/tree.py +258 -0
  77. package/harness/harness/version.py +305 -0
  78. package/harness/harness/wrap.py +217 -0
  79. package/harness/hooks/guard.py +259 -0
  80. package/harness/presets/appchy/PRESET.md +717 -0
  81. package/harness/presets/appchy/references/artifacts.md +539 -0
  82. package/harness/presets/appchy/references/graph.md +154 -0
  83. package/harness/presets/appchy/references/operations.md +444 -0
  84. package/harness/presets/appchy/references/research.md +216 -0
  85. package/harness/schema/work.config.schema.json +401 -0
  86. package/harness/test_work.py +5002 -0
  87. package/harness/work.py +534 -0
  88. package/package.json +34 -40
  89. package/bin/config-change.dev.mjs +0 -17
  90. package/bin/jarvis-dev.mjs +0 -30
  91. package/bin/pre-tool-use.dev.mjs +0 -23
  92. package/bin/session-start.dev.mjs +0 -17
  93. package/bin/stop.dev.mjs +0 -17
  94. package/bin/user-prompt-submit.dev.mjs +0 -17
  95. package/dev/bin.js +0 -38821
  96. package/dev/bin.js.map +0 -1
  97. package/dev/env.json +0 -1
  98. package/dev/hooks/config-change.js +0 -110
  99. package/dev/hooks/config-change.js.map +0 -1
  100. package/dev/hooks/pre-tool-use.js +0 -120
  101. package/dev/hooks/pre-tool-use.js.map +0 -1
  102. package/dev/hooks/session-start.js +0 -115
  103. package/dev/hooks/session-start.js.map +0 -1
  104. package/dev/hooks/stop.js +0 -112
  105. package/dev/hooks/stop.js.map +0 -1
  106. package/dev/hooks/user-prompt-submit.js +0 -111
  107. package/dev/hooks/user-prompt-submit.js.map +0 -1
  108. package/dist/env.json +0 -1
@@ -1,30 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- /**
4
- * Jarvis CLI — Dev Launcher
5
- *
6
- * Always runs the bundled `dev/bin.js` (development: hits localhost:3000 /
7
- * ws://localhost:7863, uses `~/.jarvis/dev/` for config, logs, pid, machine
8
- * identity, worktrees, skills, prompts). Mirrors the prod launcher
9
- * (`jarvis.mjs` → `dist/bin.js`); the only difference is which `env.json`
10
- * discriminator ships in the bundle.
11
- *
12
- * For source-tree iteration with hot reload, use `pnpm -C apps/cli dev`
13
- * instead — that runs `tsx watch src/bin.ts` directly.
14
- */
15
-
16
- import { fileURLToPath } from "url";
17
- import { dirname, join } from "path";
18
- import { existsSync } from "fs";
19
-
20
- const __dirname = dirname(fileURLToPath(import.meta.url));
21
- const distEntry = join(__dirname, "..", "dev", "bin.js");
22
-
23
- if (!existsSync(distEntry)) {
24
- console.error("Error: dev/bin.js not found.");
25
- console.error(" Build the dev bundle with `pnpm -C apps/cli build`,");
26
- console.error(" or reinstall the package with `pnpm i -g @appchy/jarvis`.");
27
- process.exit(1);
28
- }
29
-
30
- await import(distEntry);
@@ -1,23 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- /**
4
- * Jarvis PreToolUse hook — Dev Launcher
5
- *
6
- * Invoked by Claude Code for every tool use when the dev daemon's
7
- * `~/.claude/settings.json` entry is installed (via `jarvis-dev start`).
8
- * Appends one envelope line to `~/.jarvis/dev/hooks/<sessionId>.jsonl`
9
- * and exits — same hot-path contract as the prod shim.
10
- */
11
-
12
- import { fileURLToPath } from "url";
13
- import { dirname, join } from "path";
14
- import { existsSync } from "fs";
15
-
16
- const __dirname = dirname(fileURLToPath(import.meta.url));
17
- const bundle = join(__dirname, "..", "dev", "hooks", "pre-tool-use.js");
18
-
19
- if (!existsSync(bundle)) {
20
- process.exit(0);
21
- }
22
-
23
- await import(bundle);
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- /**
4
- * Jarvis SessionStart hook — Dev Launcher.
5
- * See bin/pre-tool-use-dev.mjs for the pattern.
6
- */
7
-
8
- import { fileURLToPath } from "url";
9
- import { dirname, join } from "path";
10
- import { existsSync } from "fs";
11
-
12
- const __dirname = dirname(fileURLToPath(import.meta.url));
13
- const bundle = join(__dirname, "..", "dev", "hooks", "session-start.js");
14
-
15
- if (!existsSync(bundle)) process.exit(0);
16
-
17
- await import(bundle);
package/bin/stop.dev.mjs DELETED
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- /**
4
- * Jarvis Stop hook — Dev Launcher.
5
- * See bin/pre-tool-use-dev.mjs for the pattern.
6
- */
7
-
8
- import { fileURLToPath } from "url";
9
- import { dirname, join } from "path";
10
- import { existsSync } from "fs";
11
-
12
- const __dirname = dirname(fileURLToPath(import.meta.url));
13
- const bundle = join(__dirname, "..", "dev", "hooks", "stop.js");
14
-
15
- if (!existsSync(bundle)) process.exit(0);
16
-
17
- await import(bundle);
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- /**
4
- * Jarvis UserPromptSubmit hook — Dev Launcher.
5
- * See bin/pre-tool-use.dev.mjs for the pattern.
6
- */
7
-
8
- import { fileURLToPath } from "url";
9
- import { dirname, join } from "path";
10
- import { existsSync } from "fs";
11
-
12
- const __dirname = dirname(fileURLToPath(import.meta.url));
13
- const bundle = join(__dirname, "..", "dev", "hooks", "user-prompt-submit.js");
14
-
15
- if (!existsSync(bundle)) process.exit(0);
16
-
17
- await import(bundle);