@appchy/jarvis 0.1.36 → 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.
- 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 +10104 -37174
- 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 +591 -0
- package/harness/harness/generate.py +267 -0
- package/harness/harness/git.py +775 -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 +5002 -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 -38718
- 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/jarvis-dev.mjs
DELETED
|
@@ -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);
|
package/bin/pre-tool-use.dev.mjs
DELETED
|
@@ -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);
|