archondev 2.18.8 → 2.19.1
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/README.md +20 -1
- package/dist/{bug-DCFTT2AF.js → bug-IJCK43FK.js} +4 -4
- package/dist/{chunk-AFC2XMZS.js → chunk-ACFMKTDL.js} +3 -3
- package/dist/{chunk-2BCITFWP.js → chunk-DCIIYVJW.js} +2 -2
- package/dist/{chunk-HJARQDQR.js → chunk-EIEU3IIY.js} +9 -0
- package/dist/{chunk-HGLPIM7J.js → chunk-KG35EHZY.js} +1 -1
- package/dist/{chunk-BFPWDOMA.js → chunk-M6GNIN64.js} +1 -1
- package/dist/{chunk-OAHFRSDS.js → chunk-O3B6BE5D.js} +1 -1
- package/dist/{chunk-SLUOXPMX.js → chunk-OREGEFTF.js} +4 -4
- package/dist/{chunk-5CFGPXQ3.js → chunk-PCTP3LKJ.js} +1 -1
- package/dist/{chunk-5BYCJAFM.js → chunk-PJRQI5UN.js} +1 -1
- package/dist/{chunk-BPYTLJOS.js → chunk-QTBRLNZQ.js} +1 -1
- package/dist/{chunk-HANCO7VL.js → chunk-YA562WHL.js} +1 -1
- package/dist/{code-review-6MU4UE5M.js → code-review-ODLXGXNZ.js} +2 -2
- package/dist/{execute-VGBCOD5W.js → execute-ZTJGSRBW.js} +5 -5
- package/dist/{geo-GEWH777F.js → geo-HRG7M7YX.js} +3 -3
- package/dist/index.js +1140 -98
- package/dist/{interviewer-NQHNMVH4.js → interviewer-BWM5SNOE.js} +1 -1
- package/dist/{list-QWQ4QBKM.js → list-REPLUXJF.js} +5 -5
- package/dist/{parallel-NXSICGS5.js → parallel-23VQYK7H.js} +5 -5
- package/dist/{plan-6AZ3U2DA.js → plan-HCYXLSSD.js} +4 -4
- package/dist/{review-AUG6GIL6.js → review-F6DHAGDF.js} +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ Copy governance files into any project. Works with your existing AI tools: **Cur
|
|
|
32
32
|
[Download Lite Packages →](https://archondev.io/download)
|
|
33
33
|
|
|
34
34
|
**What you get:**
|
|
35
|
-
-
|
|
35
|
+
- .archon/active/architecture.md template with best practices
|
|
36
36
|
- **Quality Level / Posture** — Tell AI if it's prototype, production, or enterprise-grade
|
|
37
37
|
- IDE-specific rule files (.cursorrules, CLAUDE.md, GEMINI.md, etc.)
|
|
38
38
|
- Progress tracking templates
|
|
@@ -45,6 +45,15 @@ Copy governance files into any project. Works with your existing AI tools: **Cur
|
|
|
45
45
|
- **Pre-Deploy Accessibility** — WCAG 2.2 AA check before going live, legal liability warnings
|
|
46
46
|
- Works with any AI coding assistant
|
|
47
47
|
|
|
48
|
+
### Local Governance SQLite (Dev Only)
|
|
49
|
+
|
|
50
|
+
Governance data for this repo lives in `.archon/governance.db` and is local-only. It is never synced to Supabase.
|
|
51
|
+
To initialize or refresh it:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
pnpm exec tsx scripts/init-governance-db.ts
|
|
55
|
+
```
|
|
56
|
+
|
|
48
57
|
---
|
|
49
58
|
|
|
50
59
|
## Commands
|
|
@@ -84,6 +93,12 @@ Copy governance files into any project. Works with your existing AI tools: **Cur
|
|
|
84
93
|
| `archon seo fix` | Apply recommended SEO fixes |
|
|
85
94
|
| `archon geo identity` | Generate brand identity phrases for AI citation |
|
|
86
95
|
| `archon geo schema` | Generate JSON-LD schemas |
|
|
96
|
+
| `archon governance status` | Show governance status (AGD) |
|
|
97
|
+
| `archon governance architecture update` | Update architecture with change reason |
|
|
98
|
+
| `archon governance task update` | Update governance tasks |
|
|
99
|
+
| `archon governance handoff` | Log handoff + current context |
|
|
100
|
+
| `archon governance migrate` | Migrate legacy governance files |
|
|
101
|
+
| `archon governance sqlite-init` | Initialize or refresh local governance SQLite DB |
|
|
87
102
|
| `archon github connect` | Link GitHub account for cloud execution |
|
|
88
103
|
| `archon github status` | Check GitHub connection status |
|
|
89
104
|
| `archon session save [name]` | Save current session to cloud |
|
|
@@ -100,6 +115,10 @@ Copy governance files into any project. Works with your existing AI tools: **Cur
|
|
|
100
115
|
| `archon cleanup run` | Execute cleanup tasks |
|
|
101
116
|
| `archon cleanup auto [enable\|disable]` | Enable/disable auto cleanup on start |
|
|
102
117
|
|
|
118
|
+
**Notes:**
|
|
119
|
+
- Credits tier shows your balance and per‑model usage on startup; use `archon credits` for full details and history.
|
|
120
|
+
- You can paste multi‑line requests into interactive prompts; Archon captures them as a single response.
|
|
121
|
+
|
|
103
122
|
**Tip:** Use `archon plan --edit` to adjust title and acceptance criteria before planning.
|
|
104
123
|
**Web Checks:** If Archon detects a web project, it prompts to run A11y/SEO/GEO checks and stores your preference in `.archon/config.yaml`.
|
|
105
124
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bugReport
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-DCIIYVJW.js";
|
|
4
|
+
import "./chunk-PCTP3LKJ.js";
|
|
5
|
+
import "./chunk-PJRQI5UN.js";
|
|
6
|
+
import "./chunk-EIEU3IIY.js";
|
|
7
7
|
import "./chunk-UFR2LX6G.js";
|
|
8
8
|
import "./chunk-SVU7MLG6.js";
|
|
9
9
|
import "./chunk-4VNS5WPM.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAtom,
|
|
3
3
|
validateAtom
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PCTP3LKJ.js";
|
|
5
5
|
import {
|
|
6
6
|
ArchitectAgent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PJRQI5UN.js";
|
|
8
8
|
import {
|
|
9
9
|
AnthropicClient,
|
|
10
10
|
getDefaultModel
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EIEU3IIY.js";
|
|
12
12
|
import {
|
|
13
13
|
createAuthedSupabaseClient
|
|
14
14
|
} from "./chunk-Q3GIFHIQ.js";
|
|
@@ -6,6 +6,12 @@ import {
|
|
|
6
6
|
import Anthropic from "@anthropic-ai/sdk";
|
|
7
7
|
|
|
8
8
|
// src/utils/index.ts
|
|
9
|
+
function ok(value) {
|
|
10
|
+
return { ok: true, value };
|
|
11
|
+
}
|
|
12
|
+
function err(error) {
|
|
13
|
+
return { ok: false, error };
|
|
14
|
+
}
|
|
9
15
|
function sleep(ms) {
|
|
10
16
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
11
17
|
}
|
|
@@ -108,6 +114,9 @@ import OpenAI from "openai";
|
|
|
108
114
|
import { GoogleGenerativeAI } from "@google/generative-ai";
|
|
109
115
|
|
|
110
116
|
export {
|
|
117
|
+
ok,
|
|
118
|
+
err,
|
|
119
|
+
sleep,
|
|
111
120
|
generateId,
|
|
112
121
|
AnthropicClient,
|
|
113
122
|
getDefaultModel
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
UsageRecorder,
|
|
8
8
|
loadAtom
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ACFMKTDL.js";
|
|
10
10
|
import {
|
|
11
11
|
transitionAtom
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PCTP3LKJ.js";
|
|
13
13
|
import {
|
|
14
14
|
AnthropicClient,
|
|
15
15
|
getDefaultModel
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EIEU3IIY.js";
|
|
17
17
|
import {
|
|
18
18
|
createAuthedSupabaseClient
|
|
19
19
|
} from "./chunk-Q3GIFHIQ.js";
|
|
@@ -4793,7 +4793,7 @@ function createPrompt() {
|
|
|
4793
4793
|
}
|
|
4794
4794
|
async function execute(atomId, options) {
|
|
4795
4795
|
if (options.parallel && options.parallel.length > 0) {
|
|
4796
|
-
const { parallelExecute } = await import("./parallel-
|
|
4796
|
+
const { parallelExecute } = await import("./parallel-23VQYK7H.js");
|
|
4797
4797
|
const allAtomIds = [atomId, ...options.parallel];
|
|
4798
4798
|
await parallelExecute(allAtomIds, { skipGates: options.skipGates === true });
|
|
4799
4799
|
return;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
analyzeProject,
|
|
5
5
|
featuresToTasks,
|
|
6
6
|
readArchitectureContext
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-KG35EHZY.js";
|
|
8
|
+
import "./chunk-EIEU3IIY.js";
|
|
9
9
|
import "./chunk-UFR2LX6G.js";
|
|
10
10
|
import "./chunk-4VNS5WPM.js";
|
|
11
11
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execute
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OREGEFTF.js";
|
|
4
4
|
import "./chunk-EBHHIUCB.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-ACFMKTDL.js";
|
|
6
|
+
import "./chunk-PCTP3LKJ.js";
|
|
7
|
+
import "./chunk-PJRQI5UN.js";
|
|
8
|
+
import "./chunk-EIEU3IIY.js";
|
|
9
9
|
import "./chunk-Q3GIFHIQ.js";
|
|
10
10
|
import "./chunk-5EVHUDQX.js";
|
|
11
11
|
import "./chunk-UFR2LX6G.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
geoFaq,
|
|
5
5
|
geoIdentity,
|
|
6
6
|
geoSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O3B6BE5D.js";
|
|
8
8
|
import "./chunk-3ASILTFB.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-PJRQI5UN.js";
|
|
10
|
+
import "./chunk-EIEU3IIY.js";
|
|
11
11
|
import "./chunk-UFR2LX6G.js";
|
|
12
12
|
import "./chunk-SVU7MLG6.js";
|
|
13
13
|
import "./chunk-4VNS5WPM.js";
|