@demicodes/shell 0.13.0 → 0.14.1

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/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as HostProcess, c as HostSpawnHandle, i as HostFileSystem, l as HostSpawnParams, n as HostDirent, o as HostProcessOutputChunk, r as HostFileStat, s as HostSpawnExit, t as Host, u as HostStore } from "./host-DIg4RxcL.mjs";
2
2
  import { HostBackedFileSystem, VirtualFileSystemNode, VirtualFileSystemProvider, virtualDirectory, virtualFile } from "./host-fs.mjs";
3
- import { _ as runRegisteredCommand, a as CommandIO, c as CommandRegistry, d as CommandStdin, f as CommandStorage, g as renderCommandHelp, h as parseCommandInput, i as CommandExecutionContext, l as CommandRunContext, m as emptyStdin, n as COMMAND_HELP_DEFAULTS, o as CommandInputSpec, p as ParsedCommandInput, r as Command, s as CommandOutputSpec, t as AgentSessionCommandStorage, u as CommandRunResult } from "./storage-ylShLr2v.mjs";
3
+ import { _ as runRegisteredCommand, a as CommandIO, c as CommandRegistry, d as CommandStdin, f as CommandStorage, g as renderCommandHelp, h as parseCommandInput, i as CommandExecutionContext, l as CommandRunContext, m as emptyStdin, n as COMMAND_HELP_DEFAULTS, o as CommandInputSpec, p as ParsedCommandInput, r as Command, s as CommandOutputSpec, t as AgentSessionCommandStorage, u as CommandRunResult } from "./storage-CNMBL9_j.mjs";
4
4
  import { CommandName } from "@demicodes/just-bash/commands";
5
5
  import { Interpreter, InterpreterState } from "@demicodes/just-bash/interpreter";
6
6
  import { CommandRegistry as CommandRegistry$1, ExecResult } from "@demicodes/just-bash/types";
package/dist/index.mjs CHANGED
@@ -115,7 +115,6 @@ function emptyStdin() {
115
115
  };
116
116
  }
117
117
  const EXECUTION_ONLY_FIELDS = [
118
- "effects",
119
118
  "successOutput",
120
119
  "failureOutput",
121
120
  "input",
@@ -275,7 +274,6 @@ function renderCommandHelp(command, parentPath = "") {
275
274
  if (command.run) {
276
275
  lines.push("", "Usage:");
277
276
  lines.push("", ` ${path}`);
278
- if (command.effects) lines.push(` Effects: ${command.effects}`);
279
277
  if (command.successOutput) lines.push(` Success output: ${command.successOutput}`);
280
278
  else if (command.output?.json) lines.push(" Success output: raw text by default; machine-readable JSON when --json is passed");
281
279
  if (command.failureOutput) lines.push(` Failure output: ${command.failureOutput}`);
@@ -19,7 +19,6 @@ interface Command {
19
19
  * Execution-only fields below are only meaningful when `run` is set.
20
20
  */
21
21
  run?: (ctx: CommandRunContext) => Promise<CommandRunResult> | CommandRunResult;
22
- effects?: string;
23
22
  successOutput?: string;
24
23
  failureOutput?: string;
25
24
  input?: CommandInputSpec;
@@ -1,2 +1,2 @@
1
- import { t as AgentSessionCommandStorage } from "./storage-ylShLr2v.mjs";
1
+ import { t as AgentSessionCommandStorage } from "./storage-CNMBL9_j.mjs";
2
2
  export { AgentSessionCommandStorage };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@demicodes/shell",
3
3
  "description": "Sandboxable bash engine and Host contract for Demi.",
4
- "version": "0.13.0",
4
+ "version": "0.14.1",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "exports": {
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@demicodes/just-bash": "^3.0.1-demi.5",
23
- "@demicodes/utils": "^0.13.0",
23
+ "@demicodes/utils": "^0.14.1",
24
24
  "zod": "^4.0.0"
25
25
  },
26
26
  "license": "Apache-2.0",