runpane 2.4.178 → 2.4.180
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/cli.d.ts.map +1 -1
- package/dist/cli.js +12 -7
- package/dist/cli.js.map +1 -1
- package/dist/daemonClient.d.ts +2 -1
- package/dist/daemonClient.d.ts.map +1 -1
- package/dist/daemonClient.js +49 -15
- package/dist/daemonClient.js.map +1 -1
- package/dist/docs-index.json +1 -1
- package/dist/errors.d.ts +20 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +44 -0
- package/dist/errors.js.map +1 -0
- package/dist/generated/contract.d.ts +8 -1
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +10 -2
- package/dist/generated/contract.js.map +1 -1
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +17 -1
- package/dist/mcp.js.map +1 -1
- package/package.json +1 -1
package/dist/errors.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How runpane reports a failure, to people and agents alike: `message` says what happened, why
|
|
3
|
+
* (the underlying reason, kept), and what was or was not changed; `next` is the exact step to take.
|
|
4
|
+
* See "How Pane reports errors" in CONTRIBUTING.md.
|
|
5
|
+
*/
|
|
6
|
+
export interface RunpaneFailure {
|
|
7
|
+
code: string;
|
|
8
|
+
message: string;
|
|
9
|
+
next?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class RunpaneError extends Error {
|
|
12
|
+
readonly code: string;
|
|
13
|
+
readonly next?: string | undefined;
|
|
14
|
+
constructor(code: string, message: string, next?: string | undefined);
|
|
15
|
+
}
|
|
16
|
+
/** Any thrown value as a failure. Errors that carry a string `code` or `next` (Node, daemon, RunpaneError) keep them. */
|
|
17
|
+
export declare function describeFailure(cause: unknown): RunpaneFailure;
|
|
18
|
+
/** People read stderr; with --json, stdout also carries `{ ok: false, error: { code, message, next } }`. */
|
|
19
|
+
export declare function printFailure(cause: unknown, json: boolean): void;
|
|
20
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,YAAa,SAAQ,KAAK;IAEnC,QAAQ,CAAC,IAAI,EAAE,MAAM;IAErB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM;gBAFb,IAAI,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACN,IAAI,CAAC,EAAE,MAAM,YAAA;CAKzB;AAED,yHAAyH;AACzH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,cAAc,CAM9D;AAYD,4GAA4G;AAC5G,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,CAIhE"}
|
package/dist/errors.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RunpaneError = void 0;
|
|
4
|
+
exports.describeFailure = describeFailure;
|
|
5
|
+
exports.printFailure = printFailure;
|
|
6
|
+
const boundaryDecoder_1 = require("./boundaryDecoder");
|
|
7
|
+
class RunpaneError extends Error {
|
|
8
|
+
code;
|
|
9
|
+
next;
|
|
10
|
+
constructor(code, message, next) {
|
|
11
|
+
super(message);
|
|
12
|
+
this.code = code;
|
|
13
|
+
this.next = next;
|
|
14
|
+
this.name = 'RunpaneError';
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.RunpaneError = RunpaneError;
|
|
18
|
+
/** Any thrown value as a failure. Errors that carry a string `code` or `next` (Node, daemon, RunpaneError) keep them. */
|
|
19
|
+
function describeFailure(cause) {
|
|
20
|
+
if (!(cause instanceof Error))
|
|
21
|
+
return { code: 'ERR_RUNPANE_FAILED', message: String(cause) };
|
|
22
|
+
const { code, next } = errorFieldsOf(cause);
|
|
23
|
+
const failure = { code: code ?? 'ERR_RUNPANE_FAILED', message: cause.message };
|
|
24
|
+
if (next)
|
|
25
|
+
failure.next = next;
|
|
26
|
+
return failure;
|
|
27
|
+
}
|
|
28
|
+
const errorFieldsSchema = boundaryDecoder_1.boundary.object({ code: boundaryDecoder_1.boundary.optional(boundaryDecoder_1.boundary.string), next: boundaryDecoder_1.boundary.optional(boundaryDecoder_1.boundary.string) });
|
|
29
|
+
function errorFieldsOf(error) {
|
|
30
|
+
try {
|
|
31
|
+
return (0, boundaryDecoder_1.decodeBoundary)(error, errorFieldsSchema);
|
|
32
|
+
}
|
|
33
|
+
catch {
|
|
34
|
+
return {};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
/** People read stderr; with --json, stdout also carries `{ ok: false, error: { code, message, next } }`. */
|
|
38
|
+
function printFailure(cause, json) {
|
|
39
|
+
const failure = describeFailure(cause);
|
|
40
|
+
if (json)
|
|
41
|
+
process.stdout.write(`${JSON.stringify({ ok: false, error: failure }, null, 2)}\n`);
|
|
42
|
+
process.stderr.write(`${failure.next ? `${failure.message}\nNext: ${failure.next}` : failure.message}\n`);
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":";;;AAyBA,0CAMC;AAaD,oCAIC;AAhDD,uDAA6D;AAa7D,MAAa,YAAa,SAAQ,KAAK;IAE1B;IAEA;IAHX,YACW,IAAY,EACrB,OAAe,EACN,IAAa;QAEtB,KAAK,CAAC,OAAO,CAAC,CAAC;QAJN,SAAI,GAAJ,IAAI,CAAQ;QAEZ,SAAI,GAAJ,IAAI,CAAS;QAGtB,IAAI,CAAC,I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C;IAC9F,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,OAAO,WAAW,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,IAAI,CAAC,CAAC;AAC5G,CAAC"}
|
|
@@ -1365,6 +1365,7 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1365
1365
|
readonly jsonSchemas: {
|
|
1366
1366
|
readonly error: {
|
|
1367
1367
|
readonly type: "object";
|
|
1368
|
+
readonly description: "A failed command under --json, printed on stdout with a non-zero exit. The same message, plus a Next line, goes to stderr.";
|
|
1368
1369
|
readonly required: readonly ["ok", "error"];
|
|
1369
1370
|
readonly properties: {
|
|
1370
1371
|
readonly ok: {
|
|
@@ -1372,13 +1373,19 @@ export declare const RUNPANE_CONTRACT: {
|
|
|
1372
1373
|
};
|
|
1373
1374
|
readonly error: {
|
|
1374
1375
|
readonly type: "object";
|
|
1375
|
-
readonly required: readonly ["message"];
|
|
1376
|
+
readonly required: readonly ["code", "message"];
|
|
1376
1377
|
readonly properties: {
|
|
1377
1378
|
readonly message: {
|
|
1378
1379
|
readonly type: "string";
|
|
1380
|
+
readonly description: "What happened, why, and what was or was not changed.";
|
|
1379
1381
|
};
|
|
1380
1382
|
readonly code: {
|
|
1381
1383
|
readonly type: "string";
|
|
1384
|
+
readonly description: "Stable identifier to branch on, such as ENOENT or ERR_UNKNOWN_CHANNEL. ERR_RUNPANE_FAILED when the failure has no specific code.";
|
|
1385
|
+
};
|
|
1386
|
+
readonly next: {
|
|
1387
|
+
readonly type: "string";
|
|
1388
|
+
readonly description: "The step to take next, when one is known.";
|
|
1382
1389
|
};
|
|
1383
1390
|
};
|
|
1384
1391
|
readonly additionalProperties: false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/generated/contract.ts"],"names":[],"mappings":"AAEA,eAAO,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361
5361
|
"error": {
|
|
5362
5362
|
"type": "object",
|
|
5363
|
+
"description": "A failed command under --json, printed on stdout with a non-zero exit. The same message, plus a Next line, goes to stderr.",
|
|
5363
5364
|
"required": [
|
|
5364
5365
|
"ok",
|
|
5365
5366
|
"error"
|
|
@@ -5371,14 +5372,21 @@ exports.RUNPANE_CONTRACT = {
|
|
|
5371
5372
|
"error": {
|
|
5372
5373
|
"type": "object",
|
|
5373
5374
|
"required": [
|
|
5375
|
+
"code",
|
|
5374
5376
|
"message"
|
|
5375
5377
|
],
|
|
5376
5378
|
"properties": {
|
|
5377
5379
|
"message": {
|
|
5378
|
-
"type": "string"
|
|
5380
|
+
"type": "string",
|
|
5381
|
+
"description": "What happened, why, and what was or was not changed."
|
|
5379
5382
|
},
|
|
5380
5383
|
"code": {
|
|
5381
|
-
"type": "string"
|
|
5384
|
+
"type": "string",
|
|
5385
|
+
"description": "Stable identifier to branch on, such as ENOENT or ERR_UNKNOWN_CHANNEL. ERR_RUNPANE_FAILED when the failure has no specific code."
|
|
5386
|
+
},
|
|
5387
|
+
"next": {
|
|
5388
|
+
"type": "string",
|
|
5389
|
+
"description": "The step to take next, when one is known."
|
|
5382
5390
|
}
|
|
5383
5391
|
},
|
|
5384
5392
|
"additionalProperties": false
|