docks-kit 0.15.2 → 0.15.3
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/AGENTS.md +21 -15
- package/README.md +33 -31
- package/cli/docs/flags.md +0 -1
- package/cli/docs/install.md +28 -13
- package/cli/docs/overview.md +2 -2
- package/cli/docs/platforms.md +5 -2
- package/cli/docs/sync-layers.md +3 -4
- package/cli/docs/toolchain.md +26 -34
- package/cli/src/commands/docs.ts +3 -3
- package/cli/src/commands/sync.ts +0 -5
- package/cli/src/commands/toolchain.ts +4 -7
- package/cli/src/commands/update.ts +77 -26
- package/cli/src/engine-native/DESIGN.md +31 -22
- package/cli/src/engine-native/bun.ts +10 -8
- package/cli/src/engine-native/claudeRuntime.ts +17 -9
- package/cli/src/engine-native/claudeSync.ts +52 -24
- package/cli/src/engine-native/codexSync.ts +10 -5
- package/cli/src/engine-native/deps.ts +27 -88
- package/cli/src/engine-native/exec.ts +41 -10
- package/cli/src/engine-native/index.ts +0 -2
- package/cli/src/engine-native/modes.ts +23 -14
- package/cli/src/engine-native/os/darwin.ts +62 -0
- package/cli/src/engine-native/os/index.ts +42 -0
- package/cli/src/engine-native/os/linux.ts +62 -0
- package/cli/src/engine-native/os/targets.ts +73 -0
- package/cli/src/engine-native/os/types.ts +75 -0
- package/cli/src/engine-native/os/windows.ts +176 -0
- package/cli/src/engine-native/parseArgs.ts +0 -4
- package/cli/src/engine-native/services.ts +0 -6
- package/cli/src/engine-native/skillsSync.ts +125 -77
- package/cli/src/engine-native/toolchain.ts +4 -150
- package/cli/src/engine.ts +3 -2
- package/cli/src/generated/sotPayload.ts +6 -6
- package/cli/src/manifests.ts +12 -2
- package/docks-kit +1 -1
- package/docks-kit.ps1 +123 -0
- package/package.json +9 -5
- package/cli/src/engine-native/os.ts +0 -16
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docks-kit",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
4
4
|
"description": "Portable AI coding agent config kit — SoT sync engine + typed CLI for Claude Code, Codex, and universal agent skills",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"os": [
|
|
8
8
|
"linux",
|
|
9
|
-
"darwin"
|
|
9
|
+
"darwin",
|
|
10
|
+
"win32"
|
|
10
11
|
],
|
|
11
12
|
"repository": {
|
|
12
13
|
"type": "git",
|
|
@@ -20,26 +21,29 @@
|
|
|
20
21
|
"cli/docs",
|
|
21
22
|
"cli/tsconfig.json",
|
|
22
23
|
"docks-kit",
|
|
24
|
+
"docks-kit.ps1",
|
|
23
25
|
"AGENTS.md",
|
|
24
26
|
"README.md"
|
|
25
27
|
],
|
|
26
28
|
"scripts": {
|
|
27
29
|
"typecheck": "tsc --noEmit -p cli",
|
|
28
30
|
"build:binaries": "bash cli/build-binaries.sh",
|
|
31
|
+
"smoke:native": "bun cli/scripts/native-smoke.ts",
|
|
29
32
|
"check:generated": "bun cli/scripts/generate-sot-payload.ts --check",
|
|
30
33
|
"prepack": "bun run check:generated",
|
|
31
34
|
"golden:dryrun": "bun cli/test/golden-dryrun.ts",
|
|
32
35
|
"golden:mutation": "bun cli/test/golden-mutation.ts",
|
|
33
36
|
"test:unit": "vitest run",
|
|
34
37
|
"test:runtime:posix": "bun cli/test/statusline-runtime-smoke.mjs posix",
|
|
38
|
+
"test:runtime:windows": "bun cli/test/statusline-runtime-smoke.mjs windows",
|
|
35
39
|
"test:ci": "bun run check:generated && bun run typecheck && bun run test:unit && bun run test:runtime:posix && bun run golden:dryrun && bun run golden:mutation"
|
|
36
40
|
},
|
|
37
41
|
"dependencies": {
|
|
38
|
-
"@effect/platform-bun": "4.0.0-
|
|
39
|
-
"effect": "4.0.0-
|
|
42
|
+
"@effect/platform-bun": "4.0.0-rc.109",
|
|
43
|
+
"effect": "4.0.0-rc.109"
|
|
40
44
|
},
|
|
41
45
|
"devDependencies": {
|
|
42
|
-
"@effect/vitest": "4.0.0-
|
|
46
|
+
"@effect/vitest": "4.0.0-rc.109",
|
|
43
47
|
"@types/bun": "^1.3.0",
|
|
44
48
|
"typescript": "7.0.2",
|
|
45
49
|
"vitest": "4.1.10"
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Platform capability seam (Output Policy in DESIGN.md). Per-tool package
|
|
3
|
-
* identifiers stay in deps.ts; symlink handling stays try-then-fallback at
|
|
4
|
-
* the call site (capability-driven, not predicted).
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export type PlatformName = "linux" | "darwin" | "unknown"
|
|
8
|
-
|
|
9
|
-
export function rawPlatform(): NodeJS.Platform {
|
|
10
|
-
return process.platform
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export function platformName(pf: NodeJS.Platform = rawPlatform()): PlatformName {
|
|
14
|
-
return pf === "linux" ? "linux" : pf === "darwin" ? "darwin" : "unknown"
|
|
15
|
-
}
|
|
16
|
-
|