dsh-pstack 0.2.1 → 0.2.2
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/pstack/skills/poteto-mode/scripts/check-plan.test.mjs +1 -1
- package/dist/pstack/skills/poteto-mode/scripts/watch-pr/github.test.mjs +1 -1
- package/dist/pstack/skills/poteto-mode/scripts/worktree-audit.mjs +1 -1
- package/dist/pstack/skills/statechart/scripts/run.mjs +3 -3
- package/dist/pstack/skills/statechart/scripts/statechart.mjs +1 -1
- package/dist/pstack/skills/statechart/scripts/statechart.test.mjs +2 -2
- package/dist/pstack/skills/statechart/scripts/worker.mjs +1 -1
- package/package.json +11 -10
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { expect } from "./expect.mjs";
|
|
2
2
|
import "./support.mjs";
|
|
3
|
+
import { spawnSync } from "node:child_process";
|
|
3
4
|
import { mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
4
5
|
import { tmpdir } from "node:os";
|
|
5
6
|
import { join } from "node:path";
|
|
6
|
-
import { spawnSync } from "node:child_process";
|
|
7
7
|
import { test } from "node:test";
|
|
8
8
|
// runtime/skills/poteto-mode/scripts/check-plan.test.ts
|
|
9
9
|
const checker = join(import.meta.dirname, "check-plan.mjs");
|
|
@@ -3,10 +3,10 @@ import "../support.mjs";
|
|
|
3
3
|
import { parsePrNumber } from "./types.mjs";
|
|
4
4
|
import { ChecksUnavailable, WatcherQueryError, buildReviewThreads, mapRollupNode, orderStack, parseFastCheck, parsePullRequest, parseReviewThreadPage, resolveChecks, resolveContext, resolveReviewThreads } from "./github.mjs";
|
|
5
5
|
import { failedCheck, fakeReader, passingCheck, pendingCheck } from "./fakes.test-helper.mjs";
|
|
6
|
+
import { spawnSync } from "node:child_process";
|
|
6
7
|
import { mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
7
8
|
import { tmpdir } from "node:os";
|
|
8
9
|
import { join } from "node:path";
|
|
9
|
-
import { spawnSync } from "node:child_process";
|
|
10
10
|
import { describe, it } from "node:test";
|
|
11
11
|
// runtime/skills/poteto-mode/scripts/watch-pr/github.test.ts
|
|
12
12
|
const githubModule = JSON.stringify(import.meta.dirname + (import.meta.url.endsWith(".ts") ? "/github.ts" : "/github.mjs"));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { execFileSync } from "node:child_process";
|
|
1
2
|
import { lstatSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
2
3
|
import { isAbsolute, resolve, sep } from "node:path";
|
|
3
|
-
import { execFileSync } from "node:child_process";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
// runtime/skills/poteto-mode/scripts/worktree-audit.ts
|
|
6
6
|
/**
|
|
@@ -10,13 +10,13 @@ import { readTrace } from "./frontends/trace.mjs";
|
|
|
10
10
|
import { readVerdict } from "./frontends/verdict.mjs";
|
|
11
11
|
import { addPast, deadEnds, finder, lasso, mark } from "./passes/annotate.mjs";
|
|
12
12
|
import { pathGraph } from "./passes/paths.mjs";
|
|
13
|
+
import { Buffer } from "node:buffer";
|
|
14
|
+
import { execFile, spawn } from "node:child_process";
|
|
15
|
+
import { randomBytes } from "node:crypto";
|
|
13
16
|
import fs from "node:fs";
|
|
14
17
|
import os from "node:os";
|
|
15
18
|
import path from "node:path";
|
|
16
|
-
import { execFile, spawn } from "node:child_process";
|
|
17
19
|
import { inspect } from "node:util";
|
|
18
|
-
import { Buffer } from "node:buffer";
|
|
19
|
-
import { randomBytes } from "node:crypto";
|
|
20
20
|
// runtime/skills/statechart/scripts/run.ts
|
|
21
21
|
function* fileLines(file) {
|
|
22
22
|
const fd = fs.openSync(file, "r");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { killGroup, messageOf } from "./run.mjs";
|
|
3
|
+
import { spawn } from "node:child_process";
|
|
3
4
|
import fs from "node:fs";
|
|
4
5
|
import os from "node:os";
|
|
5
6
|
import path from "node:path";
|
|
6
|
-
import { spawn } from "node:child_process";
|
|
7
7
|
import { parseArgs } from "node:util";
|
|
8
8
|
// runtime/skills/statechart/scripts/statechart.ts
|
|
9
9
|
const USAGE = `Usage: statechart SPEC.tla [--config FILE] [--view FILE] [--out DIR]
|
|
@@ -6,13 +6,13 @@ import { parseValue } from "./frontends/value.mjs";
|
|
|
6
6
|
import { readMessages } from "./frontends/messages.mjs";
|
|
7
7
|
import { readChecks } from "./frontends/spec.mjs";
|
|
8
8
|
import { checkView, json } from "./frontends/view.mjs";
|
|
9
|
+
import { spawnSync } from "node:child_process";
|
|
9
10
|
import { chmodSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, rmSync, writeFileSync } from "node:fs";
|
|
10
11
|
import { tmpdir } from "node:os";
|
|
11
12
|
import { join } from "node:path";
|
|
12
|
-
import { spawnSync } from "node:child_process";
|
|
13
|
-
import { test } from "node:test";
|
|
14
13
|
import { inspect } from "node:util";
|
|
15
14
|
import assert from "node:assert/strict";
|
|
15
|
+
import { test } from "node:test";
|
|
16
16
|
// runtime/skills/statechart/scripts/statechart.test.ts
|
|
17
17
|
const invariant = {
|
|
18
18
|
kind: "invariant",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { compile } from "./pipeline.mjs";
|
|
2
2
|
import { check, messageOf } from "./run.mjs";
|
|
3
3
|
import { checkView } from "./frontends/view.mjs";
|
|
4
|
+
import { Buffer } from "node:buffer";
|
|
4
5
|
import fs from "node:fs";
|
|
5
6
|
import path from "node:path";
|
|
6
7
|
import { inspect } from "node:util";
|
|
7
8
|
import { pathToFileURL } from "node:url";
|
|
8
|
-
import { Buffer } from "node:buffer";
|
|
9
9
|
// runtime/skills/statechart/scripts/worker.ts
|
|
10
10
|
const [stage, specFile, configFile, viewFile] = process.argv.slice(2);
|
|
11
11
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-pstack",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "pstack for DeepSeek Harness: rigorous agent workflows ported from cursor/plugins.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-skills",
|
|
@@ -48,7 +48,16 @@
|
|
|
48
48
|
"./locale/*.json": "./locale/*.json"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
+
"commander": "14.0.0"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@deepseek-ai/cordis": "~4.0.6-alpha.1",
|
|
51
55
|
"@deepseek-ai/dsh-agent": "0.2.2-alpha.2",
|
|
56
|
+
"@deepseek-ai/dsh-api-gateway": "0.2.2-alpha.2",
|
|
57
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-alpha.2",
|
|
58
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.2-alpha.2",
|
|
59
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-alpha.2",
|
|
60
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-alpha.2",
|
|
52
61
|
"@deepseek-ai/dsh-jobs": "0.2.2-alpha.2",
|
|
53
62
|
"@deepseek-ai/dsh-llm": "0.2.2-alpha.2",
|
|
54
63
|
"@deepseek-ai/dsh-session": "0.2.2-alpha.2",
|
|
@@ -57,16 +66,8 @@
|
|
|
57
66
|
"@deepseek-ai/dsh-system-prompt": "0.2.2-alpha.2",
|
|
58
67
|
"@deepseek-ai/dsh-tools": "0.2.2-alpha.2",
|
|
59
68
|
"@deepseek-ai/dsh-typert-protocol": "0.2.2-alpha.2",
|
|
60
|
-
"@deepseek-ai/dsh-working-directory": "0.2.2-alpha.2",
|
|
61
|
-
"commander": "14.0.0"
|
|
62
|
-
},
|
|
63
|
-
"devDependencies": {
|
|
64
|
-
"@deepseek-ai/dsh-api-gateway": "0.2.2-alpha.2",
|
|
65
|
-
"@deepseek-ai/dsh-client-locale": "0.2.2-alpha.2",
|
|
66
|
-
"@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.2-alpha.2",
|
|
67
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-alpha.2",
|
|
68
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-alpha.2",
|
|
69
69
|
"@deepseek-ai/dsh-typert-registry": "0.2.2-alpha.2",
|
|
70
|
+
"@deepseek-ai/dsh-working-directory": "0.2.2-alpha.2",
|
|
70
71
|
"@types/node": "^24.1.0",
|
|
71
72
|
"@types/react": "~18.3.1",
|
|
72
73
|
"@types/react-dom": "~18.3.0",
|