@monotykamary/dsh 0.1.0 → 0.1.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/lib/bin.js CHANGED
@@ -134,7 +134,6 @@ function parseDshArgs(argv, version) {
134
134
  } catch (error) {
135
135
  return process.exit(error instanceof CommanderError ? error.exitCode : 1);
136
136
  }
137
- /* v8 ignore next -- an action resolves or Commander throws */
138
137
  if (resolved === void 0) throw new Error("dsh: no invocation resolved");
139
138
  return resolved;
140
139
  }
@@ -146,7 +145,6 @@ function parseDshArgs(argv, version) {
146
145
  * `--help`/`--version`/a parse error, so only a valid mode reaches the switch.
147
146
  * @module @monotykamary/dsh/bin
148
147
  */
149
- /* v8 ignore file -- built-bin acceptance exercises this self-executing dispatch. */
150
148
  /** This app's version, read from its checked-in package.json. */
151
149
  function readVersion() {
152
150
  const manifest = JSON.parse(readFileSync(fileURLToPath(new URL("../package.json", import.meta.url)), "utf8"));
@@ -155,7 +153,7 @@ function readVersion() {
155
153
  const invocation = parseDshArgs(process.argv.slice(2), readVersion());
156
154
  switch (invocation.mode) {
157
155
  case "profile": {
158
- const { runProfile } = await import("./profile-boot-nB64ulZn.js");
156
+ const { runProfile } = await import("./profile-boot-BuZ54o2X.js");
159
157
  await runProfile({
160
158
  environment: loadLayeredEnv("dsh"),
161
159
  profile: invocation.profile,
@@ -165,7 +163,7 @@ switch (invocation.mode) {
165
163
  break;
166
164
  }
167
165
  case "plugin": {
168
- const { runPlugin } = await import("./plugin-Cey6G1P7.js");
166
+ const { runPlugin } = await import("./plugin-Cgl0ZnNV.js");
169
167
  process.exit(runPlugin(invocation.profile, invocation.args));
170
168
  break;
171
169
  }
@@ -175,7 +173,7 @@ switch (invocation.mode) {
175
173
  break;
176
174
  }
177
175
  case "dump-config": {
178
- const { runDumpConfig } = await import("./dump-config-COISA6E3.js");
176
+ const { runDumpConfig } = await import("./dump-config-0GRcwOil.js");
179
177
  runDumpConfig(invocation.profile, invocation.defaultOnly, invocation.patches);
180
178
  break;
181
179
  }
@@ -1,4 +1,4 @@
1
- import { i as prepareProfile, n as PROFILE_ROOT_FILENAME, r as homePatchPath } from "./profile-boot-BprVIHkR.js";
1
+ import { i as prepareProfile, n as PROFILE_ROOT_FILENAME, r as homePatchPath } from "./profile-boot-Bt4vObgm.js";
2
2
  import { existsSync } from "node:fs";
3
3
  import { loadOptionalPatches, loadOverlayPatches, renderConfigDump } from "@monotykamary/dsh-app-boot";
4
4
  import { join, resolve } from "node:path";
@@ -11,7 +11,6 @@ import { join, resolve } from "node:path";
11
11
  * @module @monotykamary/dsh/dump-config
12
12
  */
13
13
  const NAME = "dsh";
14
- /* v8 ignore start -- built-bin acceptance drives this boot-free dispatch */
15
14
  /**
16
15
  * Print a profile composition with comments naming each source file and patch layer.
17
16
  * @param profile - the profile name.
@@ -61,6 +60,5 @@ function runDumpConfig(profile, defaultOnly, patches) {
61
60
  }
62
61
  process.stdout.write(renderConfigDump(NAME, join(loaded.dir, PROFILE_ROOT_FILENAME), layers));
63
62
  }
64
- /* v8 ignore stop */
65
63
  //#endregion
66
64
  export { runDumpConfig };
@@ -1,4 +1,4 @@
1
- import { t as INSTALL_ANCHOR } from "./profile-boot-BprVIHkR.js";
1
+ import { t as INSTALL_ANCHOR } from "./profile-boot-Bt4vObgm.js";
2
2
  import { existsSync } from "node:fs";
3
3
  import { DEFAULT_PROFILE_BUNDLES, PROFILE_TEMPLATES, initProfile, readProfileManifest, resolveBundleDir, resolveProfileDir, writeProfileManifest } from "@monotykamary/dsh-app-boot";
4
4
  import { join, resolve } from "node:path";
@@ -27,7 +27,6 @@ function createProcessShutdown(dispose, forceExit = (code) => {
27
27
  let completed = false;
28
28
  let forceExited = false;
29
29
  const clearExitTimeout = () => {
30
- /* v8 ignore else -- shutdown() arms the timer before any asynchronous exit path can run. */
31
30
  if (timeout !== void 0) clearTimeout(timeout);
32
31
  };
33
32
  const forceExitOnce = (code) => {
@@ -0,0 +1,2 @@
1
+ import { a as runProfile } from "./profile-boot-Bt4vObgm.js";
2
+ export { runProfile };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@monotykamary/dsh",
3
3
  "description": "dsh CLI: profile boot, plugin management, and the browser UI alias",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -23,92 +23,96 @@
23
23
  "commander": "^15.0.0",
24
24
  "js-yaml": "^4.2.0",
25
25
  "node-addon-require-builtin": "^0.1.4",
26
- "dsh-fabric": "0.1.4",
27
- "dsh-fovea": "0.4.4",
28
- "dsh-factory": "0.1.0",
29
- "@monotykamary/cordis-plugin-timer": "^1.1.3",
30
- "@monotykamary/cordis-plugin-loader": "^1.0.2",
31
- "@monotykamary/dsh-agent-tool-presentation": "^0.1.0",
26
+ "dsh-tool-repair": "0.1.1",
27
+ "dsh-multiprovider": "0.1.1",
28
+ "dsh-fabric": "0.1.7",
29
+ "dsh-fovea": "0.5.1",
30
+ "dsh-factory": "0.1.4",
32
31
  "@monotykamary/cordis-plugin-hmr": "^1.0.16",
33
- "@monotykamary/dsh-app-boot": "^0.1.0",
34
32
  "@monotykamary/cordis-plugin-include": "^1.0.6",
35
- "@monotykamary/dsh-base": "^0.1.0",
36
- "@monotykamary/dsh-cordis-client-runner": "^0.1.0",
37
- "@monotykamary/dsh-client-ui-agent-preset": "^0.1.0",
38
- "@monotykamary/dsh-command-compact": "^0.1.0",
39
- "@monotykamary/dsh-client-ui-cordis": "^0.1.0",
40
- "@monotykamary/dsh-command-goal": "^0.1.0",
41
- "@monotykamary/dsh-compaction-basic": "^0.1.0",
42
- "@monotykamary/dsh-compaction-tool-result-pruner": "^0.1.0",
43
- "@monotykamary/dsh-goal": "^0.1.0",
44
- "@monotykamary/dsh-goal-round-driver": "^0.1.0",
45
- "@monotykamary/dsh-cmdline": "^0.1.0",
46
- "@monotykamary/dsh-launch-environment": "^0.1.0",
47
- "@monotykamary/dsh-fs-local": "^0.1.0",
48
- "@monotykamary/dsh-headless": "^0.1.0",
49
- "@monotykamary/dsh-mcp-client": "^0.1.0",
50
- "@monotykamary/dsh-home-paths": "^0.1.0",
51
- "@monotykamary/dsh-persona": "^0.1.0",
52
- "@monotykamary/dsh-terminal": "^0.1.0",
53
- "@monotykamary/dsh-plan-mode": "^0.1.0",
54
- "@monotykamary/dsh-terminal-bash": "^0.1.0",
55
- "@monotykamary/dsh-pwsh-sandbox": "^0.1.0",
56
- "@monotykamary/dsh-session-reference": "^0.1.0",
57
- "@monotykamary/dsh-time-context": "^0.1.0",
58
- "@monotykamary/dsh-pwsh-local": "^0.1.0",
59
- "@monotykamary/dsh-skill-filesystem": "^0.1.0",
60
- "@monotykamary/dsh-skill": "^0.1.0",
61
- "@monotykamary/dsh-session-projection": "^0.1.0",
62
- "@monotykamary/dsh-jobs-local": "^0.1.0",
63
- "@monotykamary/dsh-tmux-context": "^0.1.0",
64
- "@monotykamary/dsh-token-meter": "^0.1.0",
65
- "@monotykamary/dsh-tool-bash": "^0.1.0",
66
- "@monotykamary/dsh-tool-bash-persistent": "^0.1.0",
67
- "@monotykamary/dsh-tool-ask-user": "^0.1.0",
68
- "@monotykamary/dsh-tool-pwsh-persistent": "^0.1.0",
69
- "@monotykamary/dsh-tool-cordis": "^0.1.0",
70
- "@monotykamary/dsh-tool-fs": "^0.1.0",
71
- "@monotykamary/dsh-tool-fs-search": "^0.1.0",
72
- "@monotykamary/dsh-tool-pwsh": "^0.1.0",
73
- "@monotykamary/dsh-tool-ralph": "^0.1.0",
74
- "@monotykamary/dsh-tool-goal": "^0.1.0",
75
- "@monotykamary/dsh-tool-skill": "^0.1.0",
76
- "@monotykamary/dsh-schedule": "^0.1.0",
77
- "@monotykamary/dsh-tool-str-replace-editor": "^0.1.0",
78
- "@monotykamary/dsh-tool-subagent-control": "^0.1.0",
79
- "@monotykamary/dsh-tool-subagent": "^0.1.0",
80
- "@monotykamary/dsh-tool-jobs": "^0.1.0",
81
- "@monotykamary/dsh-tool-todo": "^0.1.0",
82
- "@monotykamary/dsh-tool-workflow": "^0.1.0",
83
- "@monotykamary/dsh-web-app": "^0.1.0",
84
- "@monotykamary/dsh-tool-web": "^0.1.0",
85
- "@monotykamary/dsh-workflow-worker-thread": "^0.1.0",
86
- "@monotykamary/dsh-agent-instructions": "^0.1.0",
87
- "@monotykamary/dsh-distribution-update": "^0.1.0",
88
- "@monotykamary/cordis": "^4.0.1"
33
+ "@monotykamary/cordis-plugin-loader": "^1.0.2",
34
+ "@monotykamary/cordis-plugin-timer": "^1.1.3",
35
+ "@monotykamary/dsh-app-boot": "^0.1.2",
36
+ "@monotykamary/dsh-agent-tool-presentation": "^0.1.2",
37
+ "@monotykamary/dsh-cordis-client-runner": "^0.1.2",
38
+ "@monotykamary/dsh-base": "^0.1.2",
39
+ "@monotykamary/dsh-client-ui-agent-preset": "^0.1.2",
40
+ "@monotykamary/dsh-command-compact": "^0.1.2",
41
+ "@monotykamary/dsh-command-goal": "^0.1.2",
42
+ "@monotykamary/dsh-client-ui-cordis": "^0.1.2",
43
+ "@monotykamary/dsh-compaction-basic": "^0.1.2",
44
+ "@monotykamary/dsh-compaction-tool-result-pruner": "^0.1.2",
45
+ "@monotykamary/dsh-goal": "^0.1.2",
46
+ "@monotykamary/dsh-goal-round-driver": "^0.1.2",
47
+ "@monotykamary/dsh-cmdline": "^0.1.2",
48
+ "@monotykamary/dsh-launch-environment": "^0.1.2",
49
+ "@monotykamary/dsh-fs-local": "^0.1.2",
50
+ "@monotykamary/dsh-mcp-client": "^0.1.2",
51
+ "@monotykamary/dsh-home-paths": "^0.1.2",
52
+ "@monotykamary/dsh-persona": "^0.1.2",
53
+ "@monotykamary/dsh-plan-mode": "^0.1.2",
54
+ "@monotykamary/dsh-headless": "^0.1.2",
55
+ "@monotykamary/dsh-terminal": "^0.1.2",
56
+ "@monotykamary/dsh-pwsh-local": "^0.1.2",
57
+ "@monotykamary/dsh-terminal-bash": "^0.1.2",
58
+ "@monotykamary/dsh-pwsh-sandbox": "^0.1.2",
59
+ "@monotykamary/dsh-session-reference": "^0.1.2",
60
+ "@monotykamary/dsh-session-projection": "^0.1.2",
61
+ "@monotykamary/dsh-skill": "^0.1.2",
62
+ "@monotykamary/dsh-time-context": "^0.1.2",
63
+ "@monotykamary/dsh-skill-filesystem": "^0.1.2",
64
+ "@monotykamary/dsh-jobs-local": "^0.1.2",
65
+ "@monotykamary/dsh-token-meter": "^0.1.2",
66
+ "@monotykamary/dsh-tool-ask-user": "^0.1.2",
67
+ "@monotykamary/dsh-tool-bash": "^0.1.2",
68
+ "@monotykamary/dsh-tmux-context": "^0.1.2",
69
+ "@monotykamary/dsh-tool-bash-persistent": "^0.1.2",
70
+ "@monotykamary/dsh-tool-pwsh-persistent": "^0.1.2",
71
+ "@monotykamary/dsh-tool-cordis": "^0.1.2",
72
+ "@monotykamary/dsh-tool-fs": "^0.1.2",
73
+ "@monotykamary/dsh-tool-fs-search": "^0.1.2",
74
+ "@monotykamary/dsh-tool-goal": "^0.1.2",
75
+ "@monotykamary/dsh-tool-pwsh": "^0.1.2",
76
+ "@monotykamary/dsh-tool-ralph": "^0.1.2",
77
+ "@monotykamary/dsh-tool-skill": "^0.1.2",
78
+ "@monotykamary/dsh-schedule": "^0.1.2",
79
+ "@monotykamary/dsh-tool-str-replace-editor": "^0.1.2",
80
+ "@monotykamary/dsh-tool-subagent": "^0.1.2",
81
+ "@monotykamary/dsh-tool-subagent-control": "^0.1.2",
82
+ "@monotykamary/dsh-tool-jobs": "^0.1.2",
83
+ "@monotykamary/dsh-tool-todo": "^0.1.2",
84
+ "@monotykamary/dsh-tool-web": "^0.1.2",
85
+ "@monotykamary/dsh-web-app": "^0.1.2",
86
+ "@monotykamary/dsh-tool-workflow": "^0.1.2",
87
+ "@monotykamary/dsh-agent-instructions": "^0.1.2",
88
+ "@monotykamary/cordis": "^4.0.1",
89
+ "@monotykamary/dsh-workflow-worker-thread": "^0.1.2",
90
+ "@monotykamary/dsh-distribution-update": "^0.1.2"
89
91
  },
90
92
  "devDependencies": {
91
93
  "@types/js-yaml": "^4.0.9",
92
94
  "execa": "^10.0.0",
93
- "@monotykamary/dsh-agent": "^0.1.0",
94
- "@monotykamary/dsh-host-frontend-static": "^0.1.0",
95
- "@monotykamary/dsh-host-webserver": "^0.1.0",
96
- "@monotykamary/dsh-llm": "^0.1.0",
97
- "@monotykamary/dsh-loader-smoke": "^0.1.0",
98
- "@monotykamary/dsh-llm-mock-server": "^0.1.0",
99
- "@monotykamary/dsh-session": "^0.1.0",
100
- "@monotykamary/dsh-host-apiproxy": "^0.1.0",
101
- "@monotykamary/dsh-system-prompt": "^0.1.0",
102
- "@monotykamary/dsh-subagent": "^0.1.0",
103
- "@monotykamary/dsh-settings": "^0.1.0",
104
- "@monotykamary/dsh-tools": "^0.1.0"
95
+ "@monotykamary/dsh-agent": "^0.1.2",
96
+ "@monotykamary/dsh-host-frontend-static": "^0.1.2",
97
+ "@monotykamary/dsh-host-apiproxy": "^0.1.2",
98
+ "@monotykamary/dsh-host-webserver": "^0.1.2",
99
+ "@monotykamary/dsh-llm": "^0.1.2",
100
+ "@monotykamary/dsh-llm-mock-server": "^0.1.2",
101
+ "@monotykamary/dsh-loader-smoke": "^0.1.2",
102
+ "@monotykamary/dsh-settings": "^0.1.2",
103
+ "@monotykamary/dsh-subagent": "^0.1.2",
104
+ "@monotykamary/dsh-session": "^0.1.2",
105
+ "@monotykamary/dsh-system-prompt": "^0.1.2",
106
+ "@monotykamary/dsh-tools": "^0.1.2"
105
107
  },
106
108
  "dsh": {
107
109
  "distribution": {
108
110
  "companions": {
109
- "dsh-fabric": "0.1.4",
110
- "dsh-fovea": "0.4.4",
111
- "dsh-factory": "0.1.0"
111
+ "dsh-tool-repair": "0.1.1",
112
+ "dsh-multiprovider": "0.1.1",
113
+ "dsh-fabric": "0.1.7",
114
+ "dsh-fovea": "0.5.1",
115
+ "dsh-factory": "0.1.4"
112
116
  }
113
117
  }
114
118
  }
@@ -1,2 +0,0 @@
1
- import { a as runProfile } from "./profile-boot-BprVIHkR.js";
2
- export { runProfile };