@appchy/jarvis 0.1.37 → 0.1.40
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/bin/config-change.mjs +1 -1
- package/bin/jarvis.mjs +8 -12
- package/bin/pre-tool-use.mjs +2 -2
- package/bin/session-start.mjs +1 -1
- package/bin/stop.mjs +1 -1
- package/bin/user-prompt-submit.mjs +1 -1
- package/dist/bin.js +10174 -37342
- package/dist/bin.js.map +1 -1
- package/dist/data/backends.mjs +469 -0
- package/dist/data/chunk-7REP35VA.mjs +462 -0
- package/dist/data/chunk-AKQQC5IT.mjs +1224 -0
- package/dist/data/chunk-AYOJSS2F.mjs +72 -0
- package/dist/data/chunk-RRJ6KKYL.mjs +42 -0
- package/dist/data/chunk-YWSWQEJN.mjs +138 -0
- package/dist/data/embedders.mjs +80 -0
- package/dist/data/finders.mjs +35 -0
- package/dist/data/index.mjs +137 -0
- package/dist/data/linkers.mjs +83 -0
- package/dist/data/mcp.mjs +2624 -0
- package/dist/data/persistences.mjs +8 -0
- package/dist/data/rerankers.mjs +52 -0
- package/dist/data/stores.mjs +38 -0
- package/dist/hooks/config-change.js +7 -29
- package/dist/hooks/config-change.js.map +1 -1
- package/dist/hooks/pre-tool-use.js +129 -32
- package/dist/hooks/pre-tool-use.js.map +1 -1
- package/dist/hooks/session-start.js +72 -37
- package/dist/hooks/session-start.js.map +1 -1
- package/dist/hooks/stop.js +140 -32
- package/dist/hooks/stop.js.map +1 -1
- package/dist/hooks/user-prompt-submit.js +7 -29
- package/dist/hooks/user-prompt-submit.js.map +1 -1
- package/harness/assets/architecture-template.md +53 -0
- package/harness/assets/design-template.md +89 -0
- package/harness/assets/domains/architecture.md +43 -0
- package/harness/assets/domains/commercial.md +42 -0
- package/harness/assets/domains/design.md +42 -0
- package/harness/assets/domains/legal.md +43 -0
- package/harness/assets/domains/operations.md +39 -0
- package/harness/assets/domains/product.md +43 -0
- package/harness/assets/domains/quality.md +43 -0
- package/harness/assets/domains/security.md +44 -0
- package/harness/assets/domains/support.md +45 -0
- package/harness/assets/epic-template.md +85 -0
- package/harness/assets/feature-template.md +86 -0
- package/harness/assets/handoff-template.md +26 -0
- package/harness/assets/task-template.md +38 -0
- package/harness/assets/version-template.md +43 -0
- package/harness/harness/__init__.py +7 -0
- package/harness/harness/align.py +582 -0
- package/harness/harness/architecture.py +254 -0
- package/harness/harness/autonomy.py +374 -0
- package/harness/harness/branches.py +408 -0
- package/harness/harness/config.py +1482 -0
- package/harness/harness/coverage.py +199 -0
- package/harness/harness/epic.py +220 -0
- package/harness/harness/events.py +153 -0
- package/harness/harness/extend.py +99 -0
- package/harness/harness/frontmatter.py +218 -0
- package/harness/harness/gate.py +597 -0
- package/harness/harness/generate.py +267 -0
- package/harness/harness/git.py +826 -0
- package/harness/harness/ids.py +140 -0
- package/harness/harness/kickoff.py +231 -0
- package/harness/harness/lint.py +505 -0
- package/harness/harness/model.py +364 -0
- package/harness/harness/peers.py +187 -0
- package/harness/harness/product.py +29 -0
- package/harness/harness/registry.py +382 -0
- package/harness/harness/report.py +227 -0
- package/harness/harness/safety.py +387 -0
- package/harness/harness/scaffold.py +129 -0
- package/harness/harness/shard.py +63 -0
- package/harness/harness/shift.py +348 -0
- package/harness/harness/task.py +507 -0
- package/harness/harness/tree.py +258 -0
- package/harness/harness/version.py +305 -0
- package/harness/harness/wrap.py +217 -0
- package/harness/hooks/guard.py +259 -0
- package/harness/presets/appchy/PRESET.md +717 -0
- package/harness/presets/appchy/references/artifacts.md +539 -0
- package/harness/presets/appchy/references/graph.md +154 -0
- package/harness/presets/appchy/references/operations.md +444 -0
- package/harness/presets/appchy/references/research.md +216 -0
- package/harness/schema/work.config.schema.json +401 -0
- package/harness/test_work.py +5049 -0
- package/harness/work.py +534 -0
- package/package.json +34 -40
- package/bin/config-change.dev.mjs +0 -17
- package/bin/jarvis-dev.mjs +0 -30
- package/bin/pre-tool-use.dev.mjs +0 -23
- package/bin/session-start.dev.mjs +0 -17
- package/bin/stop.dev.mjs +0 -17
- package/bin/user-prompt-submit.dev.mjs +0 -17
- package/dev/bin.js +0 -38821
- package/dev/bin.js.map +0 -1
- package/dev/env.json +0 -1
- package/dev/hooks/config-change.js +0 -110
- package/dev/hooks/config-change.js.map +0 -1
- package/dev/hooks/pre-tool-use.js +0 -120
- package/dev/hooks/pre-tool-use.js.map +0 -1
- package/dev/hooks/session-start.js +0 -115
- package/dev/hooks/session-start.js.map +0 -1
- package/dev/hooks/stop.js +0 -112
- package/dev/hooks/stop.js.map +0 -1
- package/dev/hooks/user-prompt-submit.js +0 -111
- package/dev/hooks/user-prompt-submit.js.map +0 -1
- package/dist/env.json +0 -1
package/bin/config-change.mjs
CHANGED
package/bin/jarvis.mjs
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Jarvis CLI
|
|
4
|
+
* Jarvis CLI launcher.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* whether `src/bin.ts` existed. That meant invoking `jarvis` from a source
|
|
12
|
-
* checkout silently flipped to dev mode against localhost — not what users
|
|
13
|
-
* who installed `@appchy/jarvis` globally expect. The split bins
|
|
14
|
-
* (`jarvis` / `jarvis-dev`) make the choice explicit and irreversible.
|
|
6
|
+
* Runs the bundled `dist/bin.js`. Which jarvis this reaches is not decided
|
|
7
|
+
* here and cannot be: the hub URL is written into the machine's config when it
|
|
8
|
+
* pairs, so one binary serves our cloud, a self-hosted instance and a laptop
|
|
9
|
+
* alike. For source-tree iteration with hot reload, run
|
|
10
|
+
* `pnpm -C apps/cli dev` — that runs `tsx src/bin.ts` directly.
|
|
15
11
|
*/
|
|
16
12
|
|
|
17
13
|
import { fileURLToPath } from "url";
|
|
@@ -25,8 +21,8 @@ if (!existsSync(distEntry)) {
|
|
|
25
21
|
const isSourceCheckout = existsSync(join(__dirname, "..", "src", "bin.ts"));
|
|
26
22
|
console.error("Error: dist/bin.js not found.");
|
|
27
23
|
if (isSourceCheckout) {
|
|
28
|
-
console.error(" This is a source checkout.
|
|
29
|
-
console.error(" or
|
|
24
|
+
console.error(" This is a source checkout. Run `pnpm -C apps/cli dev` for dev work,");
|
|
25
|
+
console.error(" or `pnpm -C apps/cli build` to produce a bundle.");
|
|
30
26
|
} else {
|
|
31
27
|
console.error(" The package may be corrupted. Reinstall with `pnpm i -g @appchy/jarvis`.");
|
|
32
28
|
}
|
package/bin/pre-tool-use.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Jarvis PreToolUse hook
|
|
4
|
+
* Jarvis PreToolUse hook launcher.
|
|
5
5
|
*
|
|
6
6
|
* Invoked by Claude Code for every tool use (configured in
|
|
7
|
-
* `~/.claude/settings.json` by the
|
|
7
|
+
* `~/.claude/settings.json` by the daemon on `jarvis start`).
|
|
8
8
|
* Reads CC's JSON payload from stdin, appends one envelope line to
|
|
9
9
|
* `~/.jarvis/hooks/<sessionId>.jsonl`, exits 0.
|
|
10
10
|
*
|
package/bin/session-start.mjs
CHANGED
package/bin/stop.mjs
CHANGED