@retrace-dev/cli 0.1.0 → 0.1.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/dist/index.js +1 -1
- package/dist/remote-store.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -195,7 +195,7 @@ export function buildServer(store = makeStore(), opts = {}) {
|
|
|
195
195
|
project: z.string().optional().describe(`Project name (default: ${DEFAULT_PROJECT}). Omit it — the server pins writes to RETRACE_PROJECT and rejects other names.`),
|
|
196
196
|
action: Action.describe("Verb from the controlled vocabulary"),
|
|
197
197
|
action_detail: z.string().optional().describe("Required when action=other; free-text verb"),
|
|
198
|
-
artifacts: z.array(ArtifactRef).min(1).describe("Artifacts touched, e.g. {id:'repo:
|
|
198
|
+
artifacts: z.array(ArtifactRef).min(1).describe("Artifacts touched, e.g. {id:'repo:my-app#src/main.ts', kind:'file', role:'both'}. role (PROV) = 'used' (input), " +
|
|
199
199
|
"'generated' (output) or 'both'. Omit it and the verb decides: read → used; created → generated; edited/moved/renamed → both; " +
|
|
200
200
|
"executed/sent/received/approved/rejected → used; deleted/other → unspecified. Always set role explicitly for OUTPUTS of an " +
|
|
201
201
|
"executed/sent action (a deployment, a report, a message) — the default treats those refs as inputs."),
|
package/dist/remote-store.js
CHANGED
|
@@ -3,7 +3,7 @@ export function retraceHeaders(token) {
|
|
|
3
3
|
return {
|
|
4
4
|
accept: "application/json",
|
|
5
5
|
"content-type": "application/json",
|
|
6
|
-
"user-agent": "@retrace-dev/cli/0.1.
|
|
6
|
+
"user-agent": "@retrace-dev/cli/0.1.1",
|
|
7
7
|
...(token ? { authorization: `Bearer ${token}` } : {}),
|
|
8
8
|
};
|
|
9
9
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@retrace-dev/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "CLI, MCP server, Git adapter, and local UI for verifiable AI-assisted development provenance",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"main": "dist/index.js",
|
|
16
16
|
"types": "dist/index.d.ts",
|
|
17
|
-
"files": ["dist", "!dist/*.test.js", "!dist/*.test.d.ts", "README.md"],
|
|
17
|
+
"files": ["dist", "!dist/*.test.js", "!dist/*.test.d.ts", "README.md", "LICENSE"],
|
|
18
18
|
"engines": { "node": ">=22" },
|
|
19
19
|
"license": "Apache-2.0",
|
|
20
20
|
"repository": { "type": "git", "url": "git+https://github.com/jordandru/retrace.git", "directory": "packages/mcp-server" },
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
33
|
-
"@retrace-dev/core": "0.1.
|
|
33
|
+
"@retrace-dev/core": "0.1.1",
|
|
34
34
|
"zod": "^3.23.8"
|
|
35
35
|
}
|
|
36
36
|
}
|