@dirgha/code 1.6.0 → 1.7.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.
- package/CHANGELOG.md +5 -15
- package/LICENSE +21 -101
- package/README.md +9 -15
- package/dist_v2/cli/config.d.ts +0 -1
- package/dist_v2/cli/config.js.map +1 -1
- package/dist_v2/cli/main.js +4 -8
- package/dist_v2/cli/main.js.map +1 -1
- package/dist_v2/kernel/agent-loop.d.ts +38 -8
- package/dist_v2/kernel/agent-loop.js +57 -18
- package/dist_v2/kernel/agent-loop.js.map +1 -1
- package/dist_v2/kernel/index.d.ts +1 -0
- package/dist_v2/kernel/index.js +1 -0
- package/dist_v2/kernel/index.js.map +1 -1
- package/dist_v2/kernel/message.d.ts +17 -1
- package/dist_v2/kernel/message.js +26 -0
- package/dist_v2/kernel/message.js.map +1 -1
- package/dist_v2/kernel/queues.d.ts +82 -0
- package/dist_v2/kernel/queues.js +105 -0
- package/dist_v2/kernel/queues.js.map +1 -0
- package/dist_v2/kernel/types.d.ts +29 -0
- package/dist_v2/providers/faux.d.ts +99 -0
- package/dist_v2/providers/faux.js +153 -0
- package/dist_v2/providers/faux.js.map +1 -0
- package/package.json +6 -16
- package/CREDITS.md +0 -46
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dirgha/code",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "CLI coding agent
|
|
3
|
+
"version": "1.7.0",
|
|
4
|
+
"description": "CLI coding agent with kernel queues, BYOK across 7 providers, local models (llama.cpp / Ollama), 14 themes, parallel agents, audit log",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist_v2/index.js",
|
|
7
7
|
"types": "./dist_v2/index.d.ts",
|
|
@@ -12,16 +12,9 @@
|
|
|
12
12
|
"dist_v2/",
|
|
13
13
|
"README.md",
|
|
14
14
|
"LICENSE",
|
|
15
|
-
"CREDITS.md",
|
|
16
15
|
"CHANGELOG.md"
|
|
17
16
|
],
|
|
18
17
|
"scripts": {
|
|
19
|
-
"build": "tsc -p tsconfig.v2.json && cp src_v2/context/default-soul.md dist_v2/context/default-soul.md",
|
|
20
|
-
"build:watch": "tsc -p tsconfig.v2.json --watch",
|
|
21
|
-
"clean": "rm -rf ./dist_v2",
|
|
22
|
-
"test:cli": "node scripts/qa-app/run-all.mjs",
|
|
23
|
-
"test:cli:offline": "node scripts/qa-app/run-all.mjs --offline",
|
|
24
|
-
"typecheck": "tsc -p tsconfig.v2.json --noEmit",
|
|
25
18
|
"v2": "node dist_v2/cli/main.js"
|
|
26
19
|
},
|
|
27
20
|
"dependencies": {
|
|
@@ -29,11 +22,6 @@
|
|
|
29
22
|
"ink-text-input": "^6.0.0",
|
|
30
23
|
"react": "^18.3.0"
|
|
31
24
|
},
|
|
32
|
-
"devDependencies": {
|
|
33
|
-
"@types/node": "^20.11.5",
|
|
34
|
-
"@types/react": "^18.3.0",
|
|
35
|
-
"typescript": "^5.3.3"
|
|
36
|
-
},
|
|
37
25
|
"engines": {
|
|
38
26
|
"node": ">=18.0.0"
|
|
39
27
|
},
|
|
@@ -47,7 +35,9 @@
|
|
|
47
35
|
"tool-calling",
|
|
48
36
|
"openrouter",
|
|
49
37
|
"anthropic",
|
|
50
|
-
"openai"
|
|
38
|
+
"openai",
|
|
39
|
+
"kernel",
|
|
40
|
+
"local-models"
|
|
51
41
|
],
|
|
52
42
|
"homepage": "https://github.com/Dirgha-AI/dirgha-code",
|
|
53
43
|
"repository": {
|
|
@@ -58,5 +48,5 @@
|
|
|
58
48
|
"url": "https://github.com/Dirgha-AI/dirgha-code/issues"
|
|
59
49
|
},
|
|
60
50
|
"author": "Dirgha AI Team",
|
|
61
|
-
"license": "
|
|
51
|
+
"license": "MIT"
|
|
62
52
|
}
|
package/CREDITS.md
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# Credits
|
|
2
|
-
|
|
3
|
-
Dirgha Code is built on the shoulders of giants.
|
|
4
|
-
|
|
5
|
-
## Direct inspirations
|
|
6
|
-
|
|
7
|
-
- **[CLI-Anything](https://github.com/HKUDS/CLI-Anything)** (HKU Data Science) — the `SKILL.md` manifest and universal `--json` contract that shaped Dirgha's agent-native story.
|
|
8
|
-
- **[Hermes Agent](https://github.com/nousresearch/hermes-agent)** (Nous Research) — modal overlay UX, paste-collapse, `/verbose` cycle.
|
|
9
|
-
- **[OpenAI Codex CLI](https://github.com/openai/codex)** — paste-burst detector, shimmer on in-flight cells, tool-output cap with transcript escape.
|
|
10
|
-
- **[OpenCode (sst fork)](https://github.com/sst/opencode)** — chronological stream-render pattern, two-row input box. (The earlier `opencode-ai/opencode` is archived; `sst/opencode` is the active fork.)
|
|
11
|
-
- **[Claude Code](https://claude.com/claude-code)** (Anthropic) — behavioural reference for what an agent TUI can feel like.
|
|
12
|
-
|
|
13
|
-
## Multi-agent + worktree patterns
|
|
14
|
-
|
|
15
|
-
- **[agent-worktree](https://github.com/nekocode/agent-worktree)** — snap-mode lifecycle (`create → run → prompt → merge`).
|
|
16
|
-
- **[multica](https://github.com/multica-ai/multica)** — Runtime abstraction (Local / Worktree / SSH).
|
|
17
|
-
- **[coder/mux](https://github.com/coder/mux)** — three-runtime selector UI, opportunistic compaction.
|
|
18
|
-
- **[ccpm](https://github.com/automazeio/ccpm)** — stream decomposition + GitHub Issues as durable state.
|
|
19
|
-
- **[claudio](https://github.com/Iron-Ham/claudio)** — TripleShot + adversarial judge.
|
|
20
|
-
- **[genie](https://github.com/automagik-dev/genie)** — `/brainstorm → /wish → /work → /review` lifecycle.
|
|
21
|
-
- **[maw](https://github.com/boxabirds/maw)** — transient-commit 3-way apply-back.
|
|
22
|
-
- **[citadel](https://github.com/SethGammon/Citadel)** — four-tier intent router, fleet campaign resume.
|
|
23
|
-
- **[devteam](https://github.com/agent-era/devteam)** — Ink TUI with diff-review + comment reinjection.
|
|
24
|
-
|
|
25
|
-
## Stack
|
|
26
|
-
|
|
27
|
-
Dirgha Code runs on top of:
|
|
28
|
-
|
|
29
|
-
- **[commander](https://github.com/tj/commander.js)** — CLI argument parsing
|
|
30
|
-
- **[Ink](https://github.com/vadimdemedes/ink)** + **[React](https://react.dev)** — terminal UI
|
|
31
|
-
- **[better-sqlite3](https://github.com/WiseLibs/better-sqlite3)** — session persistence
|
|
32
|
-
- **[esbuild](https://esbuild.github.io)** — single-bundle distribution
|
|
33
|
-
|
|
34
|
-
## The name
|
|
35
|
-
|
|
36
|
-
The project aims to be durable software — built once, owned forever, forkable,
|
|
37
|
-
sovereign.
|
|
38
|
-
|
|
39
|
-
## Thanks
|
|
40
|
-
|
|
41
|
-
Every open-source maintainer whose library Dirgha Code depends on. Every
|
|
42
|
-
person who reported a bug or suggested a better word. Every engineer who
|
|
43
|
-
has ever shared their tool-call rendering trick in a Twitter thread.
|
|
44
|
-
|
|
45
|
-
Want to be listed here for a meaningful contribution? See
|
|
46
|
-
[CONTRIBUTING.md](./CONTRIBUTING.md).
|