gm-skill 2.0.1351 → 2.0.1353
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/bin/bootstrap.js +1 -1
- package/bin/plugkit-supervisor.js +1 -1
- package/bin/plugkit.version +1 -1
- package/bin/plugkit.wasm.sha256 +1 -1
- package/gm-plugkit/bootstrap.js +1 -1
- package/gm-plugkit/package.json +1 -1
- package/gm-plugkit/plugkit-wasm-wrapper.js +1 -1
- package/gm-plugkit/supervisor.js +1 -1
- package/gm.json +2 -2
- package/lib/browser-spool-handler.js +1 -1
- package/lib/browser.js +1 -1
- package/lib/codeinsight.js +1 -1
- package/lib/daemon-bootstrap.js +1 -1
- package/lib/git.js +1 -1
- package/lib/learning.js +1 -1
- package/lib/skill-bootstrap.js +1 -1
- package/lib/spool-dispatch.js +1 -1
- package/package.json +1 -1
package/bin/bootstrap.js
CHANGED
|
@@ -170,7 +170,7 @@ function obsEvent(subsystem, event, fields) {
|
|
|
170
170
|
if (process.env.GM_LOG_DISABLE) return;
|
|
171
171
|
try {
|
|
172
172
|
const root = process.env.GM_LOG_DIR
|
|
173
|
-
|| path.join(os.homedir(), '.gm-log');
|
|
173
|
+
|| path.join(os.homedir(), '.claude', 'gm-log');
|
|
174
174
|
const day = new Date().toISOString().slice(0, 10);
|
|
175
175
|
const dir = path.join(root, day);
|
|
176
176
|
fs.mkdirSync(dir, { recursive: true });
|
|
@@ -15,7 +15,7 @@ const SHUTDOWN_REASON_PATH = path.join(spoolDir, '.shutdown-reason.json');
|
|
|
15
15
|
const SUPERVISOR_STATUS_PATH = path.join(spoolDir, '.supervisor-status.json');
|
|
16
16
|
const SUPERVISOR_PID_PATH = path.join(spoolDir, '.supervisor.pid');
|
|
17
17
|
const LOG_PATH = path.join(spoolDir, '.watcher.log');
|
|
18
|
-
const GM_LOG_ROOT = process.env.GM_LOG_DIR || path.join(os.homedir(), '.gm-log');
|
|
18
|
+
const GM_LOG_ROOT = process.env.GM_LOG_DIR || path.join(os.homedir(), '.claude', 'gm-log');
|
|
19
19
|
|
|
20
20
|
const HEARTBEAT_STALE_MS = 60_000;
|
|
21
21
|
const HEALTH_POLL_MS = 5_000;
|
package/bin/plugkit.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.510
|
package/bin/plugkit.wasm.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b94cb1a78578e3293b1f674a7ebd6861890fd4ffa765a4aa582d5b20d4b9bc95 plugkit.wasm
|
package/gm-plugkit/bootstrap.js
CHANGED
|
@@ -45,7 +45,7 @@ function log(msg) {
|
|
|
45
45
|
function obsEvent(subsystem, event, fields) {
|
|
46
46
|
if (process.env.GM_LOG_DISABLE) return;
|
|
47
47
|
try {
|
|
48
|
-
const root = process.env.GM_LOG_DIR || path.join(os.homedir(), '.gm-log');
|
|
48
|
+
const root = process.env.GM_LOG_DIR || path.join(os.homedir(), '.claude', 'gm-log');
|
|
49
49
|
const day = new Date().toISOString().slice(0, 10);
|
|
50
50
|
const dir = path.join(root, day);
|
|
51
51
|
fs.mkdirSync(dir, { recursive: true });
|
package/gm-plugkit/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-plugkit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1353",
|
|
4
4
|
"description": "Bootstrap and daemon-spawn tool for gm plugkit binary. Downloads the correct platform binary, verifies SHA256, and starts the spool watcher daemon. Includes plugkit-wasm-wrapper for WASM-based spool watching.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -29,7 +29,7 @@ const GM_TOOLS_ROOT = resolveGmToolsRoot();
|
|
|
29
29
|
const KV_DIR = path.join(GM_TOOLS_ROOT, 'kv');
|
|
30
30
|
fs.mkdirSync(KV_DIR, { recursive: true });
|
|
31
31
|
|
|
32
|
-
const GM_LOG_ROOT = process.env.GM_LOG_DIR || path.join(os.homedir(), '.gm-log');
|
|
32
|
+
const GM_LOG_ROOT = process.env.GM_LOG_DIR || path.join(os.homedir(), '.claude', 'gm-log');
|
|
33
33
|
const ORCHESTRATOR_VERBS = new Set(['instruction', 'transition', 'phase-status', 'prd-add', 'prd-resolve', 'prd-list', 'mutable-add', 'mutable-resolve', 'mutable-list', 'memorize-fire', 'residual-scan', 'auto-recall']);
|
|
34
34
|
|
|
35
35
|
const TURN_IDLE_MS = 30_000;
|
package/gm-plugkit/supervisor.js
CHANGED
|
@@ -14,7 +14,7 @@ const STATUS_PATH = path.join(spoolDir, '.status.json');
|
|
|
14
14
|
const SHUTDOWN_REASON_PATH = path.join(spoolDir, '.shutdown-reason.json');
|
|
15
15
|
const SUPERVISOR_PATH = path.join(spoolDir, '.supervisor.json');
|
|
16
16
|
const LOG_PATH = path.join(spoolDir, '.watcher.log');
|
|
17
|
-
const GM_LOG_ROOT = process.env.GM_LOG_DIR || path.join(os.homedir(), '.gm-log');
|
|
17
|
+
const GM_LOG_ROOT = process.env.GM_LOG_DIR || path.join(os.homedir(), '.claude', 'gm-log');
|
|
18
18
|
|
|
19
19
|
const POLL_INTERVAL_MS = 10_000;
|
|
20
20
|
const STATUS_STALE_MS = 30_000;
|
package/gm.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1353",
|
|
4
4
|
"description": "Spool-dispatch orchestration engine with unified state machine, skills, and automated git enforcement",
|
|
5
5
|
"author": "AnEntrypoint",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"publishConfig": {
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
|
-
"plugkitVersion": "0.1.
|
|
20
|
+
"plugkitVersion": "0.1.510"
|
|
21
21
|
}
|
package/lib/browser.js
CHANGED
|
@@ -3,7 +3,7 @@ const path = require('path');
|
|
|
3
3
|
const os = require('os');
|
|
4
4
|
const spool = require('./spool.js');
|
|
5
5
|
|
|
6
|
-
const LOG_DIR = path.join(os.homedir(), '.gm-log');
|
|
6
|
+
const LOG_DIR = path.join(os.homedir(), '.claude', 'gm-log');
|
|
7
7
|
const SESSION_STATE_DIR = path.join(os.homedir(), '.gm', 'browser-sessions');
|
|
8
8
|
|
|
9
9
|
function emitBrowserEvent(severity, message, details) {
|
package/lib/codeinsight.js
CHANGED
|
@@ -10,7 +10,7 @@ const REQUEST_TIMEOUT_MS = 30000;
|
|
|
10
10
|
function emitEvent(severity, message, details = {}) {
|
|
11
11
|
try {
|
|
12
12
|
const date = new Date().toISOString().split('T')[0];
|
|
13
|
-
const logDir = path.join(os.homedir(), '.gm-log', date);
|
|
13
|
+
const logDir = path.join(os.homedir(), '.claude', 'gm-log', date);
|
|
14
14
|
if (!fs.existsSync(logDir)) fs.mkdirSync(logDir, { recursive: true });
|
|
15
15
|
const entry = { ts: new Date().toISOString(), severity, message, ...details };
|
|
16
16
|
fs.appendFileSync(path.join(logDir, 'codeinsight.jsonl'), JSON.stringify(entry) + '\n');
|
package/lib/daemon-bootstrap.js
CHANGED
|
@@ -37,7 +37,7 @@ function shellQuoteWin(cmdOrArg) {
|
|
|
37
37
|
return `"${s.replace(/"/g, '\\"')}"`;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
const LOG_DIR = path.join(os.homedir(), '.gm-log');
|
|
40
|
+
const LOG_DIR = path.join(os.homedir(), '.claude', 'gm-log');
|
|
41
41
|
const GM_STATE_DIR = path.join(os.homedir(), '.gm');
|
|
42
42
|
|
|
43
43
|
function emitDaemonEvent(daemon, severity, message, details) {
|
package/lib/git.js
CHANGED
|
@@ -6,7 +6,7 @@ const GIT_USER = 'lanmower';
|
|
|
6
6
|
const GIT_EMAIL = 'almagestfraternite@gmail.com';
|
|
7
7
|
|
|
8
8
|
function emitGitEvent(severity, message, data = {}) {
|
|
9
|
-
const logDir = path.join(os.homedir(), '.gm-log', new Date().toISOString().split('T')[0]);
|
|
9
|
+
const logDir = path.join(os.homedir(), '.claude', 'gm-log', new Date().toISOString().split('T')[0]);
|
|
10
10
|
if (!fs.existsSync(logDir)) {
|
|
11
11
|
try { fs.mkdirSync(logDir, { recursive: true }); } catch (e) {}
|
|
12
12
|
}
|
package/lib/learning.js
CHANGED
|
@@ -5,7 +5,7 @@ const spool = require('./spool.js');
|
|
|
5
5
|
|
|
6
6
|
const RS_LEARN_HOST = '127.0.0.1';
|
|
7
7
|
const RS_LEARN_PORT = 4801;
|
|
8
|
-
const LOG_DIR = path.join(os.homedir(), '.gm-log');
|
|
8
|
+
const LOG_DIR = path.join(os.homedir(), '.claude', 'gm-log');
|
|
9
9
|
|
|
10
10
|
let daemonBootstrap = null;
|
|
11
11
|
function getDaemonBootstrap() {
|
package/lib/skill-bootstrap.js
CHANGED
|
@@ -20,7 +20,7 @@ const PLUGKIT_WASM_WRAPPER = path.join(PLUGKIT_TOOLS_DIR, 'plugkit-wasm-wrapper.
|
|
|
20
20
|
const PLUGKIT_SUPERVISOR = path.join(PLUGKIT_TOOLS_DIR, 'plugkit-supervisor.js');
|
|
21
21
|
const BOOTSTRAP_STATUS_FILE = path.join(os.homedir(), '.gm', 'bootstrap-status.json');
|
|
22
22
|
const BOOTSTRAP_ERROR_FILE = path.join(os.homedir(), '.gm', 'bootstrap-error.json');
|
|
23
|
-
const LOG_DIR = path.join(os.homedir(), '.gm-log');
|
|
23
|
+
const LOG_DIR = path.join(os.homedir(), '.claude', 'gm-log');
|
|
24
24
|
|
|
25
25
|
function getPlugkitPath() {
|
|
26
26
|
return PLUGKIT_WASM_PATH;
|
package/lib/spool-dispatch.js
CHANGED
|
@@ -3,7 +3,7 @@ const path = require('path');
|
|
|
3
3
|
const os = require('os');
|
|
4
4
|
const { spawnSync } = require('child_process');
|
|
5
5
|
|
|
6
|
-
const GM_LOG_ROOT = process.env.GM_LOG_DIR || path.join(os.homedir(), '.gm-log');
|
|
6
|
+
const GM_LOG_ROOT = process.env.GM_LOG_DIR || path.join(os.homedir(), '.claude', 'gm-log');
|
|
7
7
|
|
|
8
8
|
function logDeviation(event, fields) {
|
|
9
9
|
if (process.env.GM_LOG_DISABLE) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-skill",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1353",
|
|
4
4
|
"description": "Canonical universal harness — AI-native software engineering via skill-driven orchestration; bootstraps plugkit for task execution and session isolation. Install in any AI coding agent host.",
|
|
5
5
|
"author": "AnEntrypoint",
|
|
6
6
|
"license": "MIT",
|