@dot-skill/workspace 0.4.3 → 0.5.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/README.md +45 -0
- package/dist/index.js +2 -1
- package/package.json +20 -5
package/README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# `@dot-skill/workspace`
|
|
2
|
+
|
|
3
|
+
Local working tree for authoring `.skill` packages — sections, stage, compile, checkpoint, and mint.
|
|
4
|
+
|
|
5
|
+
Git-like layout under `.skill/`. Agents propose sections; humans stage and approve; compile produces a continuity draft or a release package.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm i @dot-skill/workspace
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Typically used via [`skillerr`](https://www.npmjs.com/package/skillerr) (`skill init`, `propose`, `checkpoint`, `compile`, `load`).
|
|
14
|
+
|
|
15
|
+
## Layout
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
.skill/
|
|
19
|
+
config.json
|
|
20
|
+
sections/*.json
|
|
21
|
+
index.json # staged ids
|
|
22
|
+
HEAD.json
|
|
23
|
+
objects/*.skill
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
| Concept | Command (CLI) |
|
|
27
|
+
|---------|----------------|
|
|
28
|
+
| init | `skill init` |
|
|
29
|
+
| propose | `skill propose` (agent + `SKILL_HOST`) |
|
|
30
|
+
| stage | `skill add` |
|
|
31
|
+
| status | `skill status` |
|
|
32
|
+
| handoff | `skill checkpoint` |
|
|
33
|
+
| release | `skill compile --approve --mint` |
|
|
34
|
+
| resume | `skill load` |
|
|
35
|
+
|
|
36
|
+
## Related
|
|
37
|
+
|
|
38
|
+
- [`@dot-skill/core`](https://www.npmjs.com/package/@dot-skill/core) — compile / mint
|
|
39
|
+
- [`skillerr`](https://www.npmjs.com/package/skillerr) — public install / user-facing CLI
|
|
40
|
+
|
|
41
|
+
Docs: [WORKSPACE.md](https://github.com/dot-skill/dot-skill/blob/main/docs/WORKSPACE.md) · [CONTINUITY.md](https://github.com/dot-skill/dot-skill/blob/main/docs/CONTINUITY.md)
|
|
42
|
+
|
|
43
|
+
## License
|
|
44
|
+
|
|
45
|
+
MIT
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,8 @@ function id(prefix) {
|
|
|
22
22
|
export function requireAgentHost(host) {
|
|
23
23
|
const h = host ?? process.env.SKILL_HOST;
|
|
24
24
|
if (!isValidAgentHost(h)) {
|
|
25
|
-
throw new Error("AI agent provenance required. Set SKILL_HOST=cursor|ollama|lmstudio|llama-cpp|custom-agent|…
|
|
25
|
+
throw new Error("AI agent provenance required. Set SKILL_HOST=cursor|ollama|lmstudio|llama-cpp|custom-agent|… " +
|
|
26
|
+
"(not human/cli/shell/manual). Env alone never yields verified_issuer trust.");
|
|
26
27
|
}
|
|
27
28
|
return h;
|
|
28
29
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dot-skill/workspace",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Local workspace for sections, stage, compile, checkpoint, and mint",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Bharat Dudeja",
|
|
8
8
|
"url": "https://github.com/bharatdudeja13-cmd"
|
|
9
9
|
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"skill",
|
|
12
|
+
"dot-skill",
|
|
13
|
+
".skill",
|
|
14
|
+
"ai-agents",
|
|
15
|
+
"agent-skills",
|
|
16
|
+
"workspace",
|
|
17
|
+
"continuity"
|
|
18
|
+
],
|
|
10
19
|
"type": "module",
|
|
11
20
|
"main": "./dist/index.js",
|
|
12
21
|
"types": "./dist/index.d.ts",
|
|
@@ -18,6 +27,10 @@
|
|
|
18
27
|
"url": "https://github.com/dot-skill/dot-skill.git",
|
|
19
28
|
"directory": "packages/workspace"
|
|
20
29
|
},
|
|
30
|
+
"homepage": "https://github.com/dot-skill/dot-skill#readme",
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://github.com/dot-skill/dot-skill/issues"
|
|
33
|
+
},
|
|
21
34
|
"exports": {
|
|
22
35
|
".": {
|
|
23
36
|
"types": "./dist/index.d.ts",
|
|
@@ -25,15 +38,17 @@
|
|
|
25
38
|
}
|
|
26
39
|
},
|
|
27
40
|
"files": [
|
|
28
|
-
"dist"
|
|
41
|
+
"dist",
|
|
42
|
+
"README.md",
|
|
43
|
+
"LICENSE"
|
|
29
44
|
],
|
|
30
45
|
"scripts": {
|
|
31
46
|
"build": "rm -rf dist && tsc -p tsconfig.json",
|
|
32
47
|
"prepack": "npm run build"
|
|
33
48
|
},
|
|
34
49
|
"dependencies": {
|
|
35
|
-
"@dot-skill/core": "^0.
|
|
36
|
-
"@dot-skill/protocol": "^0.
|
|
50
|
+
"@dot-skill/core": "^0.5.0",
|
|
51
|
+
"@dot-skill/protocol": "^0.5.0"
|
|
37
52
|
},
|
|
38
53
|
"devDependencies": {
|
|
39
54
|
"@types/node": "^22.15.21",
|