agent-context-store 0.1.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/LICENSE +21 -0
- package/agent-config/AGENTS.md +67 -0
- package/agent-config/CLAUDE.md +11 -0
- package/agent-config/skills/agent-context-store/SKILL.md +67 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +293 -0
- package/dist/index.js.map +1 -0
- package/package.json +25 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Max
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Agent Context Store Instructions
|
|
2
|
+
|
|
3
|
+
Use Agent Context Store (`acs`) for durable project context, SDLC artifacts, and role handoffs.
|
|
4
|
+
|
|
5
|
+
## Scope
|
|
6
|
+
|
|
7
|
+
- Treat this repository as the context store or as the project repository that owns `.context-store/`.
|
|
8
|
+
- Write durable work context to `artifacts/`, `handoffs/`, `summaries/`, and `packages/`.
|
|
9
|
+
- Do not rely on hidden chat memory for requirements, design decisions, approvals, or handoffs.
|
|
10
|
+
- Commit context store changes when the user asks you to persist or hand off work.
|
|
11
|
+
|
|
12
|
+
## Before Work
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
acs doctor
|
|
16
|
+
acs validate
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
If validation fails, report the issue before creating new handoffs or packages.
|
|
20
|
+
|
|
21
|
+
## Create Artifacts
|
|
22
|
+
|
|
23
|
+
Use the task ID from the user, issue, ticket, branch, or commit context.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
acs new srs --task TASK-123 --title "Feature requirements"
|
|
27
|
+
acs new sdd --task TASK-123 --title "Feature system design"
|
|
28
|
+
acs new adr --task TASK-123 --title "Feature architecture decision"
|
|
29
|
+
acs new api --task TASK-123 --title "Feature API design"
|
|
30
|
+
acs new test --task TASK-123 --title "Feature test plan"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Update the generated Markdown files with concise, reviewable content and source references.
|
|
34
|
+
|
|
35
|
+
## Handoff Flow
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
acs handoff create --from ba --to sa --task TASK-123
|
|
39
|
+
acs handoff create --from sa --to dev --task TASK-123
|
|
40
|
+
acs handoff create --from dev --to qa --task TASK-123
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Check handoffs before using them:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
acs handoff check HOFF-TASK-123-BA-SA
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Context Packages
|
|
50
|
+
|
|
51
|
+
Generate a role-specific package before handing work to the next agent.
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
acs package --task TASK-123 --role sa
|
|
55
|
+
acs package --task TASK-123 --role dev
|
|
56
|
+
acs package --task TASK-123 --role qa
|
|
57
|
+
acs index
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Use `--format json` when downstream automation needs structured output.
|
|
61
|
+
|
|
62
|
+
## Finish Work
|
|
63
|
+
|
|
64
|
+
- Run `acs validate`.
|
|
65
|
+
- Run `acs index` after material artifact or handoff changes.
|
|
66
|
+
- Summarize created or updated artifacts and packages.
|
|
67
|
+
- Mention any open questions or validation warnings.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Claude Code Instructions
|
|
2
|
+
|
|
3
|
+
Follow [AGENTS.md](AGENTS.md) as the canonical Agent Context Store workflow.
|
|
4
|
+
|
|
5
|
+
When the user asks for requirements, design handoff, SDLC artifacts, context packages, or durable agent memory, use the project skill at:
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
.claude/skills/agent-context-store/SKILL.md
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Keep chat summaries short and put durable context in Agent Context Store artifacts instead of relying on hidden session state.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent-context-store
|
|
3
|
+
description: Create and validate Agent Context Store artifacts, handoffs, and role-specific context packages with the acs CLI. Use when the user asks for durable agent context, SDLC artifacts, requirements/design/test handoff, context packages, or agent-to-agent handoff workflow.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agent Context Store CLI
|
|
7
|
+
|
|
8
|
+
Use `acs` to make agent work durable and reviewable.
|
|
9
|
+
|
|
10
|
+
## Check The Store
|
|
11
|
+
|
|
12
|
+
Run from the context store root or project root:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
acs doctor
|
|
16
|
+
acs validate
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
If validation fails, report the errors before creating handoffs or packages.
|
|
20
|
+
|
|
21
|
+
## Create Task Artifacts
|
|
22
|
+
|
|
23
|
+
Use a stable task ID from the ticket, branch, issue, or user request.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
acs new srs --task TASK-123 --title "Feature requirements"
|
|
27
|
+
acs new sdd --task TASK-123 --title "Feature system design"
|
|
28
|
+
acs new adr --task TASK-123 --title "Feature architecture decision"
|
|
29
|
+
acs new api --task TASK-123 --title "Feature API design"
|
|
30
|
+
acs new test --task TASK-123 --title "Feature test plan"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Edit the generated Markdown files with the actual requirements, decisions, source references, risks, and test scope.
|
|
34
|
+
|
|
35
|
+
## Create Handoffs
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
acs handoff create --from ba --to sa --task TASK-123
|
|
39
|
+
acs handoff create --from sa --to dev --task TASK-123
|
|
40
|
+
acs handoff create --from dev --to qa --task TASK-123
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Check a handoff before relying on it:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
acs handoff check HOFF-TASK-123-BA-SA
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Package Context
|
|
50
|
+
|
|
51
|
+
Generate role-specific context before passing work to another agent:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
acs package --task TASK-123 --role sa
|
|
55
|
+
acs package --task TASK-123 --role dev
|
|
56
|
+
acs package --task TASK-123 --role qa
|
|
57
|
+
acs index
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Use `acs package --task TASK-123 --role dev --format json` for automation.
|
|
61
|
+
|
|
62
|
+
## Completion Checklist
|
|
63
|
+
|
|
64
|
+
- Run `acs validate`.
|
|
65
|
+
- Run `acs index` after changing artifacts or handoffs.
|
|
66
|
+
- Report created or updated artifact, handoff, and package paths.
|
|
67
|
+
- Call out open questions and validation warnings.
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { appendFile, copyFile, mkdir, readFile } from "node:fs/promises";
|
|
3
|
+
import { existsSync } from "node:fs";
|
|
4
|
+
import { createRequire } from "node:module";
|
|
5
|
+
import path from "node:path";
|
|
6
|
+
import { fileURLToPath } from "node:url";
|
|
7
|
+
import { buildContextPackage, buildIndex, checkHandoff, createArtifact, createHandoff, doctor, initContextStore } from "agent-context-store-core";
|
|
8
|
+
const artifactTypes = new Set(["srs", "sdd", "adr", "api", "test"]);
|
|
9
|
+
const require = createRequire(import.meta.url);
|
|
10
|
+
const cliPackage = require("../package.json");
|
|
11
|
+
const VALID_AGENTS = ["cursor", "claude", "codex", "openclaw", "all"];
|
|
12
|
+
const SHARED_SKILL_SOURCE = "skills/agent-context-store/SKILL.md";
|
|
13
|
+
const agentConfigFilesByAgent = {
|
|
14
|
+
cursor: [
|
|
15
|
+
{ source: "AGENTS.md", target: "AGENTS.md", mode: "append" },
|
|
16
|
+
{ source: SHARED_SKILL_SOURCE, target: ".cursor/skills/agent-context-store/SKILL.md", mode: "replace" }
|
|
17
|
+
],
|
|
18
|
+
claude: [
|
|
19
|
+
{ source: "CLAUDE.md", target: "CLAUDE.md", mode: "append" },
|
|
20
|
+
{ source: SHARED_SKILL_SOURCE, target: ".claude/skills/agent-context-store/SKILL.md", mode: "replace" }
|
|
21
|
+
],
|
|
22
|
+
codex: [
|
|
23
|
+
{ source: "AGENTS.md", target: "AGENTS.md", mode: "append" },
|
|
24
|
+
{ source: SHARED_SKILL_SOURCE, target: ".agent/skills/agent-context-store/SKILL.md", mode: "replace" }
|
|
25
|
+
]
|
|
26
|
+
};
|
|
27
|
+
async function main(argv) {
|
|
28
|
+
const [command, ...rest] = argv;
|
|
29
|
+
if (!command || command === "--help" || command === "-h") {
|
|
30
|
+
printHelp();
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
if (command === "--version" || command === "-v") {
|
|
34
|
+
console.log(`acs ${cliPackage.version ?? "0.0.0"}`);
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
if (command === "init") {
|
|
38
|
+
const args = parseArgs(rest);
|
|
39
|
+
const rootDir = String(args.positional[0] ?? args.flags["path"] ?? process.cwd());
|
|
40
|
+
const result = await initContextStore({ rootDir });
|
|
41
|
+
printResult("Initialized context store", result);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
if (command === "new") {
|
|
45
|
+
const [type, ...tail] = rest;
|
|
46
|
+
if (!artifactTypes.has(type)) {
|
|
47
|
+
throw new Error(`Unknown artifact type "${type}". Expected one of: ${[...artifactTypes].join(", ")}`);
|
|
48
|
+
}
|
|
49
|
+
const args = parseArgs(tail);
|
|
50
|
+
const taskId = requireFlag(args, "task");
|
|
51
|
+
const title = getStringFlag(args, "title");
|
|
52
|
+
const result = await createArtifact({
|
|
53
|
+
rootDir: process.cwd(),
|
|
54
|
+
type: type,
|
|
55
|
+
taskId,
|
|
56
|
+
title
|
|
57
|
+
});
|
|
58
|
+
printResult(`Created artifact ${result.artifactId}`, result);
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
if (command === "validate") {
|
|
62
|
+
const validation = await doctor(process.cwd());
|
|
63
|
+
printValidation(validation);
|
|
64
|
+
if (!validation.valid) {
|
|
65
|
+
process.exitCode = 1;
|
|
66
|
+
}
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
if (command === "handoff") {
|
|
70
|
+
await handleHandoff(rest);
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
if (command === "package") {
|
|
74
|
+
const args = parseArgs(rest);
|
|
75
|
+
const taskId = requireFlag(args, "task");
|
|
76
|
+
const role = requireFlag(args, "role");
|
|
77
|
+
const format = getStringFlag(args, "format") === "json" ? "json" : "markdown";
|
|
78
|
+
const result = await buildContextPackage({ rootDir: process.cwd(), taskId, role, format });
|
|
79
|
+
printResult(`Built context package ${result.packagePath}`, result);
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
if (command === "index") {
|
|
83
|
+
const result = await buildIndex(process.cwd());
|
|
84
|
+
printResult(`Indexed ${result.artifactCount} artifacts and ${result.handoffCount} handoffs`, result);
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
if (command === "doctor") {
|
|
88
|
+
const validation = await doctor(process.cwd());
|
|
89
|
+
printValidation(validation);
|
|
90
|
+
if (!validation.valid) {
|
|
91
|
+
process.exitCode = 1;
|
|
92
|
+
}
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
if (command === "install-skills") {
|
|
96
|
+
const args = parseArgs(rest);
|
|
97
|
+
const agent = getStringFlag(args, "agent");
|
|
98
|
+
if (!agent) {
|
|
99
|
+
console.error(`ERROR Missing required flag --agent. Expected one of: ${VALID_AGENTS.join(", ")}`);
|
|
100
|
+
process.exitCode = 1;
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
if (!VALID_AGENTS.includes(agent)) {
|
|
104
|
+
console.error(`ERROR Unknown agent "${agent}". Expected one of: ${VALID_AGENTS.join(", ")}`);
|
|
105
|
+
process.exitCode = 1;
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
const rootDir = String(args.positional[0] ?? args.flags["path"] ?? process.cwd());
|
|
109
|
+
const result = await installSkills(rootDir, agent);
|
|
110
|
+
printResult(`Installed agent skills for ${agent}`, result);
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
if (command === "install-agent-config") {
|
|
114
|
+
const args = parseArgs(rest);
|
|
115
|
+
const rootDir = String(args.positional[0] ?? args.flags["path"] ?? process.cwd());
|
|
116
|
+
console.log("Note: install-agent-config is deprecated. Use: acs install-skills --agent <cursor|claude|codex|all>");
|
|
117
|
+
const result = await installSkills(rootDir, "all");
|
|
118
|
+
printResult("Installed agent configuration", result);
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
throw new Error(`Unknown command "${command}". Run "acs --help" for usage.`);
|
|
122
|
+
}
|
|
123
|
+
async function installSkills(rootDirInput, agent) {
|
|
124
|
+
const rootDir = path.resolve(rootDirInput);
|
|
125
|
+
const sourceRoot = findAgentConfigRoot();
|
|
126
|
+
const result = { created: [], updated: [], warnings: [] };
|
|
127
|
+
if (agent === "openclaw") {
|
|
128
|
+
result.warnings.push("OpenClaw skill target is not available yet");
|
|
129
|
+
return result;
|
|
130
|
+
}
|
|
131
|
+
const agents = agent === "all"
|
|
132
|
+
? ["cursor", "claude", "codex"]
|
|
133
|
+
: [agent];
|
|
134
|
+
if (agent === "all") {
|
|
135
|
+
result.warnings.push("OpenClaw skill target is not available yet");
|
|
136
|
+
}
|
|
137
|
+
const files = uniqueConfigFiles(agents.flatMap((a) => agentConfigFilesByAgent[a]));
|
|
138
|
+
for (const file of files) {
|
|
139
|
+
const sourcePath = path.join(sourceRoot, file.source);
|
|
140
|
+
const targetPath = path.join(rootDir, file.target);
|
|
141
|
+
const targetExists = existsSync(targetPath);
|
|
142
|
+
await mkdir(path.dirname(targetPath), { recursive: true });
|
|
143
|
+
if (targetExists && file.mode === "append") {
|
|
144
|
+
const content = (await readFile(sourcePath, "utf8")).trimEnd();
|
|
145
|
+
await appendFile(targetPath, `\n\n${content}\n`, "utf8");
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
await copyFile(sourcePath, targetPath);
|
|
149
|
+
}
|
|
150
|
+
if (targetExists) {
|
|
151
|
+
result.updated.push(toPosix(file.target));
|
|
152
|
+
}
|
|
153
|
+
else {
|
|
154
|
+
result.created.push(toPosix(file.target));
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
return result;
|
|
158
|
+
}
|
|
159
|
+
function uniqueConfigFiles(files) {
|
|
160
|
+
const byTarget = new Map();
|
|
161
|
+
for (const file of files) {
|
|
162
|
+
if (!byTarget.has(file.target)) {
|
|
163
|
+
byTarget.set(file.target, file);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
return [...byTarget.values()];
|
|
167
|
+
}
|
|
168
|
+
function findAgentConfigRoot() {
|
|
169
|
+
const currentFile = fileURLToPath(import.meta.url);
|
|
170
|
+
let currentDir = path.dirname(currentFile);
|
|
171
|
+
for (let depth = 0; depth < 8; depth += 1) {
|
|
172
|
+
const candidate = path.join(currentDir, "agent-config");
|
|
173
|
+
if (existsSync(path.join(candidate, "skills")) && existsSync(path.join(candidate, "AGENTS.md"))) {
|
|
174
|
+
return candidate;
|
|
175
|
+
}
|
|
176
|
+
currentDir = path.dirname(currentDir);
|
|
177
|
+
}
|
|
178
|
+
throw new Error("Agent config templates not found. Ensure the package is correctly installed.");
|
|
179
|
+
}
|
|
180
|
+
async function handleHandoff(rest) {
|
|
181
|
+
const [action, ...tail] = rest;
|
|
182
|
+
if (action === "create") {
|
|
183
|
+
const args = parseArgs(tail);
|
|
184
|
+
const fromRole = requireFlag(args, "from");
|
|
185
|
+
const toRole = requireFlag(args, "to");
|
|
186
|
+
const taskId = requireFlag(args, "task");
|
|
187
|
+
const result = await createHandoff({ rootDir: process.cwd(), fromRole, toRole, taskId });
|
|
188
|
+
printResult(`Created handoff ${result.handoffId}`, result);
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
if (action === "check") {
|
|
192
|
+
const args = parseArgs(tail);
|
|
193
|
+
const handoffRef = args.positional[0] ?? getStringFlag(args, "id");
|
|
194
|
+
if (!handoffRef) {
|
|
195
|
+
throw new Error("Missing handoff id or path. Example: acs handoff check HOFF-DEMO-0001-BA-SA");
|
|
196
|
+
}
|
|
197
|
+
const validation = await checkHandoff(process.cwd(), String(handoffRef));
|
|
198
|
+
printValidation(validation);
|
|
199
|
+
if (!validation.valid) {
|
|
200
|
+
process.exitCode = 1;
|
|
201
|
+
}
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
throw new Error('Unknown handoff action. Expected "create" or "check".');
|
|
205
|
+
}
|
|
206
|
+
function parseArgs(args) {
|
|
207
|
+
const positional = [];
|
|
208
|
+
const flags = {};
|
|
209
|
+
for (let index = 0; index < args.length; index += 1) {
|
|
210
|
+
const arg = args[index];
|
|
211
|
+
if (!arg.startsWith("--")) {
|
|
212
|
+
positional.push(arg);
|
|
213
|
+
continue;
|
|
214
|
+
}
|
|
215
|
+
const name = arg.slice(2);
|
|
216
|
+
const next = args[index + 1];
|
|
217
|
+
if (!next || next.startsWith("--")) {
|
|
218
|
+
flags[name] = true;
|
|
219
|
+
continue;
|
|
220
|
+
}
|
|
221
|
+
flags[name] = next;
|
|
222
|
+
index += 1;
|
|
223
|
+
}
|
|
224
|
+
return { positional, flags };
|
|
225
|
+
}
|
|
226
|
+
function requireFlag(args, name) {
|
|
227
|
+
const value = getStringFlag(args, name);
|
|
228
|
+
if (!value) {
|
|
229
|
+
throw new Error(`Missing required flag --${name}`);
|
|
230
|
+
}
|
|
231
|
+
return value;
|
|
232
|
+
}
|
|
233
|
+
function getStringFlag(args, name) {
|
|
234
|
+
const value = args.flags[name];
|
|
235
|
+
return typeof value === "string" ? value : undefined;
|
|
236
|
+
}
|
|
237
|
+
function printResult(title, result) {
|
|
238
|
+
console.log(`OK ${title}`);
|
|
239
|
+
for (const filePath of result.created) {
|
|
240
|
+
console.log(`created ${filePath}`);
|
|
241
|
+
}
|
|
242
|
+
for (const filePath of result.updated) {
|
|
243
|
+
console.log(`updated ${filePath}`);
|
|
244
|
+
}
|
|
245
|
+
for (const warning of result.warnings) {
|
|
246
|
+
console.log(`warning ${warning}`);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
function printValidation(validation) {
|
|
250
|
+
console.log(validation.valid ? "OK validation passed" : "ERROR validation failed");
|
|
251
|
+
console.log(`artifacts ${validation.artifacts.length}`);
|
|
252
|
+
console.log(`handoffs ${validation.handoffs.length}`);
|
|
253
|
+
for (const warning of validation.warnings) {
|
|
254
|
+
console.log(`warning ${warning}`);
|
|
255
|
+
}
|
|
256
|
+
for (const error of validation.errors) {
|
|
257
|
+
console.error(`error ${error}`);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
function printHelp() {
|
|
261
|
+
console.log(`Agent Context Store Toolkit
|
|
262
|
+
|
|
263
|
+
Usage:
|
|
264
|
+
acs --version
|
|
265
|
+
acs init [path]
|
|
266
|
+
acs install-skills --agent <cursor|claude|codex|openclaw|all> [--path <path>]
|
|
267
|
+
acs new <srs|sdd|adr|api|test> --task <TASK_ID> [--title <TITLE>]
|
|
268
|
+
acs validate
|
|
269
|
+
acs handoff create --from <ROLE> --to <ROLE> --task <TASK_ID>
|
|
270
|
+
acs handoff check <HANDOFF_ID_OR_PATH>
|
|
271
|
+
acs package --task <TASK_ID> --role <ROLE> [--format markdown|json]
|
|
272
|
+
acs index
|
|
273
|
+
acs doctor
|
|
274
|
+
|
|
275
|
+
Examples:
|
|
276
|
+
acs --version
|
|
277
|
+
acs init
|
|
278
|
+
acs install-skills --agent cursor
|
|
279
|
+
acs install-skills --agent claude
|
|
280
|
+
acs install-skills --agent all --path D:\\my-repo
|
|
281
|
+
acs new srs --task DEMO-0001 --title "Login with OTP"
|
|
282
|
+
acs handoff create --from ba --to sa --task DEMO-0001
|
|
283
|
+
acs package --task DEMO-0001 --role sa
|
|
284
|
+
`);
|
|
285
|
+
}
|
|
286
|
+
function toPosix(value) {
|
|
287
|
+
return value.split(path.sep).join("/");
|
|
288
|
+
}
|
|
289
|
+
main(process.argv.slice(2)).catch((error) => {
|
|
290
|
+
console.error(`ERROR ${error instanceof Error ? error.message : String(error)}`);
|
|
291
|
+
process.exitCode = 1;
|
|
292
|
+
});
|
|
293
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,aAA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AAC,CAAC;IAClC,CAAC;AACH,CAAC;AAED,SAAS,SAAS;IAChB,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;CAuBb,CAAC,CAAC;AACH,CAAC;AAED,SAAS,OAAO,CAAC,KAAa;IAC5B,OAAO,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACzC,CAAC;AAED,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAc,EAAE,EAAE;IACnD,OAAO,CAAC,KAAK,CAAC,SAAS,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACjF,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;AACvB,CAAC,CAAC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agent-context-store",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "acs CLI for Agent Context Store Toolkit.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"bin": {
|
|
8
|
+
"acs": "./dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"main": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"agent-config"
|
|
15
|
+
],
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"agent-context-store-core": "0.1.0"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "tsc -p tsconfig.json"
|
|
24
|
+
}
|
|
25
|
+
}
|