@nimtech/nimpress 2.9.0 → 2.9.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/.claude/skills/nimpress/SKILL.md +1 -1
- package/dist/cli.es.js +1 -1
- package/dist/commands.es.js +15 -14
- package/dist/{plugin-HmlfCdpc.js → plugin-B3XIiXAk.js} +1547 -1533
- package/dist/plugin.es.js +1 -1
- package/dist/src/commands/index.d.ts +1 -0
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/server.d.ts +3 -0
- package/dist/src/commands/server.d.ts.map +1 -1
- package/dist/src/modules/harness.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/plugin.es.js
CHANGED
|
@@ -13,7 +13,7 @@ import "markdown-it-container";
|
|
|
13
13
|
import "markdown-it-deflist";
|
|
14
14
|
import "markdown-it-footnote";
|
|
15
15
|
import "markdown-it-task-lists";
|
|
16
|
-
import { C as L, H as O, n as P, I as T, J as V, m as b, y as h, K as x, L as A, F as D, G as F, l as H } from "./plugin-
|
|
16
|
+
import { C as L, H as O, n as P, I as T, J as V, m as b, y as h, K as x, L as A, F as D, G as F, l as H } from "./plugin-B3XIiXAk.js";
|
|
17
17
|
import "zod";
|
|
18
18
|
import "yaml";
|
|
19
19
|
import "shiki";
|
|
@@ -10,5 +10,6 @@ export interface CommandResult {
|
|
|
10
10
|
stdout: string;
|
|
11
11
|
stderr: string;
|
|
12
12
|
}
|
|
13
|
+
export declare const commandsEnabled: boolean;
|
|
13
14
|
export declare function postCommand(command: string, options?: CommandOptions): Promise<CommandResult>;
|
|
14
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,QAAQ,CAAA;AAE/C,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,KAAK,IAAI,CAAA;IACtD,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,QAAQ,CAAA;AAE/C,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,KAAK,IAAI,CAAA;IACtD,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf;AAWD,eAAO,MAAM,eAAe,EAAE,OAAc,CAAA;AAsC5C,wBAAsB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,aAAa,CAAC,CAUvG"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
2
2
|
import { NimpressCommandsConfig } from '../types';
|
|
3
3
|
export declare const commandRoute = "/__nimpress/command";
|
|
4
|
+
export declare const commandsModule = "@nimtech/nimpress/commands";
|
|
5
|
+
export declare const staticCommandsId = "\0virtual:nimpress/commands";
|
|
6
|
+
export declare const staticCommandsSource = "export const commandsEnabled = false\nexport async function postCommand() {\n throw new Error('commands run only under nimpress dev, a static build has no command server')\n}\n";
|
|
4
7
|
export declare function getCommandRefusal(config: NimpressCommandsConfig, command: string, args: string[]): string | null;
|
|
5
8
|
export declare function getCommandHandler(config: NimpressCommandsConfig, cwd: string): (req: IncomingMessage, res: ServerResponse) => void;
|
|
6
9
|
//# sourceMappingURL=server.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/commands/server.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEtD,eAAO,MAAM,YAAY,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/commands/server.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEtD,eAAO,MAAM,YAAY,wBAAwB,CAAA;AAEjD,eAAO,MAAM,cAAc,+BAA+B,CAAA;AAE1D,eAAO,MAAM,gBAAgB,gCAAgC,CAAA;AAE7D,eAAO,MAAM,oBAAoB,sLAIhC,CAAA;AAwBD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,CAKhH;AA0GD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,sBAAsB,EAAE,GAAG,EAAE,MAAM,IACnE,KAAK,eAAe,EAAE,KAAK,cAAc,KAAG,IAAI,CA4BzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harness.d.ts","sourceRoot":"","sources":["../../../src/modules/harness.ts"],"names":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