@agent-ix/quoin 0.12.0 → 0.12.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/{base-DGA47VMM.js → base-CVgcB7WY.js} +1 -1
- package/dist/cli.d.ts +15 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +11 -7
- package/dist/commands/catalog/list.js +2 -2
- package/dist/commands/catalog/show.js +2 -2
- package/dist/commands/catalog/validate.js +2 -2
- package/dist/commands/config/doctor.js +1 -1
- package/dist/commands/config/edit.js +1 -1
- package/dist/commands/config/get.js +1 -1
- package/dist/commands/config/set.js +1 -1
- package/dist/commands/matrix.js +1 -1
- package/dist/commands/module/ensure-defaults.js +3 -3
- package/dist/commands/module/install.js +2 -2
- package/dist/commands/module/list.js +2 -2
- package/dist/commands/module/remove.js +2 -2
- package/dist/commands/review.js +1 -1
- package/dist/commands/to-plan.js +1 -1
- package/dist/commands/update.js +2 -2
- package/dist/commands/write.js +3 -3
- package/dist/{flow-command-CPS23AjI.js → flow-command-C6aaG6Jf.js} +1 -1
- package/dist/hooks/command-not-found.d.ts +23 -0
- package/dist/hooks/command-not-found.d.ts.map +1 -0
- package/dist/hooks/command-not-found.js +8 -0
- package/dist/index.js +6 -6
- package/dist/{modules-CCvL41O_.js → modules-BORtSWpQ.js} +2 -2
- package/dist/{plugins-ByvihMa0.js → plugins-SrgT7Vs-.js} +1 -1
- package/dist/{version-Be_NtSa4.js → version-BWpgJrPz.js} +1 -1
- package/dist/{write-xs9kemgB.js → write-R0lAN4cR.js} +1 -1
- package/package.json +5 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./version-
|
|
1
|
+
import { t as e } from "./version-BWpgJrPz.js";
|
|
2
2
|
import { BaseCommand as t, maybeOfferUpdate as n } from "@agent-ix/ix-cli-core";
|
|
3
3
|
import { existsSync as r, readFileSync as i, readdirSync as a, statSync as o } from "node:fs";
|
|
4
4
|
import { basename as s, join as c, resolve as l } from "node:path";
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { RunnerLoadOptions } from '@agent-ix/ix-cli-core';
|
|
2
2
|
export { packageVersion, resolveVersion } from './version.js';
|
|
3
|
+
/**
|
|
4
|
+
* Root usage: the bin name plus the top-level command ids oclif discovered.
|
|
5
|
+
*
|
|
6
|
+
* Built from the resolved config rather than a hand-maintained string, so a
|
|
7
|
+
* command added to `dist/commands` (or contributed by a core plugin) appears
|
|
8
|
+
* here without a second edit — the failure mode FR-003's delegation to oclif
|
|
9
|
+
* exists to avoid.
|
|
10
|
+
*/
|
|
11
|
+
export declare function rootUsage(config: {
|
|
12
|
+
bin: string;
|
|
13
|
+
commands: ReadonlyArray<{
|
|
14
|
+
id: string;
|
|
15
|
+
hidden?: boolean;
|
|
16
|
+
}>;
|
|
17
|
+
}): string;
|
|
3
18
|
export declare function isVersionRequest(argv: readonly string[]): boolean;
|
|
4
19
|
/**
|
|
5
20
|
* quoin entry point.
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAIpE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAIpE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9D;;;;;;;GAOG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,aAAa,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CAC3D,GAAG,MAAM,CAST;AASD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAEjE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,IAAI,CACxB,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,CAAC,EAAE,iBAAiB,GAC1B,OAAO,CAAC,IAAI,CAAC,CAMf"}
|
package/dist/cli.js
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
import { n as e, t } from "./version-
|
|
1
|
+
import { n as e, t } from "./version-BWpgJrPz.js";
|
|
2
2
|
import { run as n } from "@agent-ix/ix-cli-core";
|
|
3
3
|
//#region src/cli.ts
|
|
4
|
-
|
|
4
|
+
function r(e) {
|
|
5
|
+
let t = [...new Set(e.commands.filter((e) => !e.hidden).map((e) => e.id.split(":")[0]))].sort();
|
|
6
|
+
return `Usage: ${e.bin} <command> [options]\n\nCommands: ${t.join(", ")}\n\nRun \`${e.bin} <command> --help\` for details.`;
|
|
7
|
+
}
|
|
8
|
+
var i = new Set([
|
|
5
9
|
"--version",
|
|
6
10
|
"-v",
|
|
7
11
|
"version"
|
|
8
12
|
]);
|
|
9
|
-
function
|
|
10
|
-
return e.length > 0 &&
|
|
13
|
+
function a(e) {
|
|
14
|
+
return e.length > 0 && i.has(e[0]);
|
|
11
15
|
}
|
|
12
|
-
async function
|
|
13
|
-
if (
|
|
16
|
+
async function o(e, r) {
|
|
17
|
+
if (a(e)) {
|
|
14
18
|
console.log(t());
|
|
15
19
|
return;
|
|
16
20
|
}
|
|
17
21
|
await n(e, r);
|
|
18
22
|
}
|
|
19
23
|
//#endregion
|
|
20
|
-
export {
|
|
24
|
+
export { a as isVersionRequest, o as main, t as packageVersion, e as resolveVersion, r as rootUsage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as e, t } from "../../base-
|
|
2
|
-
import { n } from "../../modules-
|
|
1
|
+
import { o as e, t } from "../../base-CVgcB7WY.js";
|
|
2
|
+
import { n } from "../../modules-BORtSWpQ.js";
|
|
3
3
|
import { Flags as r } from "@oclif/core";
|
|
4
4
|
//#region src/commands/catalog/list.ts
|
|
5
5
|
var i = class i extends t {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, o as t, t as n } from "../../base-
|
|
2
|
-
import { n as r } from "../../modules-
|
|
1
|
+
import { i as e, o as t, t as n } from "../../base-CVgcB7WY.js";
|
|
2
|
+
import { n as r } from "../../modules-BORtSWpQ.js";
|
|
3
3
|
import { Args as i, Flags as a } from "@oclif/core";
|
|
4
4
|
//#region src/commands/catalog/show.ts
|
|
5
5
|
var o = class o extends n {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as e, t } from "../../base-
|
|
2
|
-
import { n } from "../../modules-
|
|
1
|
+
import { o as e, t } from "../../base-CVgcB7WY.js";
|
|
2
|
+
import { n } from "../../modules-BORtSWpQ.js";
|
|
3
3
|
import { Flags as r } from "@oclif/core";
|
|
4
4
|
//#region src/commands/catalog/validate.ts
|
|
5
5
|
var i = class i extends t {
|
package/dist/commands/matrix.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "../../base-
|
|
2
|
-
import { r as t } from "../../plugins-
|
|
3
|
-
import { n } from "../../modules-
|
|
1
|
+
import { t as e } from "../../base-CVgcB7WY.js";
|
|
2
|
+
import { r as t } from "../../plugins-SrgT7Vs-.js";
|
|
3
|
+
import { n } from "../../modules-BORtSWpQ.js";
|
|
4
4
|
//#region src/commands/module/ensure-defaults.ts
|
|
5
5
|
var r = class r extends e {
|
|
6
6
|
static summary = "Idempotently install the default spec module set.";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../base-
|
|
2
|
-
import { n as t } from "../../plugins-
|
|
1
|
+
import { t as e } from "../../base-CVgcB7WY.js";
|
|
2
|
+
import { n as t } from "../../plugins-SrgT7Vs-.js";
|
|
3
3
|
import { Args as n } from "@oclif/core";
|
|
4
4
|
//#region src/commands/module/install.ts
|
|
5
5
|
var r = class r extends e {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../base-
|
|
2
|
-
import { r as t } from "../../plugins-
|
|
1
|
+
import { t as e } from "../../base-CVgcB7WY.js";
|
|
2
|
+
import { r as t } from "../../plugins-SrgT7Vs-.js";
|
|
3
3
|
//#region src/commands/module/list.ts
|
|
4
4
|
var n = class n extends e {
|
|
5
5
|
static summary = "List installed spec modules.";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../base-
|
|
2
|
-
import { a as t } from "../../plugins-
|
|
1
|
+
import { t as e } from "../../base-CVgcB7WY.js";
|
|
2
|
+
import { a as t } from "../../plugins-SrgT7Vs-.js";
|
|
3
3
|
import { Args as n } from "@oclif/core";
|
|
4
4
|
//#region src/commands/module/remove.ts
|
|
5
5
|
var r = class r extends e {
|
package/dist/commands/review.js
CHANGED
package/dist/commands/to-plan.js
CHANGED
package/dist/commands/update.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../version-
|
|
2
|
-
import { t } from "../base-
|
|
1
|
+
import { t as e } from "../version-BWpgJrPz.js";
|
|
2
|
+
import { t } from "../base-CVgcB7WY.js";
|
|
3
3
|
import { runSelfUpdate as n } from "@agent-ix/ix-cli-core";
|
|
4
4
|
import { Flags as r } from "@oclif/core";
|
|
5
5
|
//#region src/commands/update.ts
|
package/dist/commands/write.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as e, t } from "../base-
|
|
2
|
-
import { n } from "../modules-
|
|
3
|
-
import { n as r, r as i, t as a } from "../write-
|
|
1
|
+
import { o as e, t } from "../base-CVgcB7WY.js";
|
|
2
|
+
import { n } from "../modules-BORtSWpQ.js";
|
|
3
|
+
import { n as r, r as i, t as a } from "../write-R0lAN4cR.js";
|
|
4
4
|
import { Args as o, Flags as s } from "@oclif/core";
|
|
5
5
|
//#region src/commands/write.ts
|
|
6
6
|
var c = class c extends t {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Hook } from '@oclif/core';
|
|
2
|
+
/**
|
|
3
|
+
* `command_not_found` hook — attach the root usage to an unknown command
|
|
4
|
+
* (FR-005-AC-1).
|
|
5
|
+
*
|
|
6
|
+
* The hand-rolled dispatcher FR-026 replaced printed usage on an unknown
|
|
7
|
+
* command. The oclif runner reports only `command <x> not found`, which names
|
|
8
|
+
* the mistake but not the remedy, leaving NFR-003 unmet on the one path a
|
|
9
|
+
* mistyping user is guaranteed to hit.
|
|
10
|
+
*
|
|
11
|
+
* This is oclif's own extension point for that: `Config.runCommand` invokes it
|
|
12
|
+
* when no command matches, and rethrows a hook failure in place of its default
|
|
13
|
+
* error. So the message is fixed where oclif expects it to be fixed — no error
|
|
14
|
+
* sniffing (the thrown `CLIError` carries no stable discriminator), and no
|
|
15
|
+
* bypassing `execute`, whose `flush()` the shipped bin needs so piped output is
|
|
16
|
+
* not truncated on exit.
|
|
17
|
+
*
|
|
18
|
+
* It fires on the library path too: `run(argv, config)` reaches the same
|
|
19
|
+
* `Config.runCommand`.
|
|
20
|
+
*/
|
|
21
|
+
declare const hook: Hook<"command_not_found">;
|
|
22
|
+
export default hook;
|
|
23
|
+
//# sourceMappingURL=command-not-found.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-not-found.d.ts","sourceRoot":"","sources":["../../src/hooks/command-not-found.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,IAAI,EAAE,MAAM,aAAa,CAAC;AAIhD;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,mBAAmB,CAKnC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { rootUsage as e } from "../cli.js";
|
|
2
|
+
import { Errors as t } from "@oclif/core";
|
|
3
|
+
//#region src/hooks/command-not-found.ts
|
|
4
|
+
var n = async function(n) {
|
|
5
|
+
throw new t.CLIError(`command ${n.id} not found\n\n${e(this.config)}`, { exit: 2 });
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as default };
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e, t } from "./version-
|
|
1
|
+
import { n as e, t } from "./version-BWpgJrPz.js";
|
|
2
2
|
import { isVersionRequest as n, main as r } from "./cli.js";
|
|
3
|
-
import { i, n as a, o, r as s, t as c } from "./base-
|
|
4
|
-
import { a as l, i as u, n as d, r as f } from "./plugins-
|
|
5
|
-
import { n as p, t as m } from "./modules-
|
|
3
|
+
import { i, n as a, o, r as s, t as c } from "./base-CVgcB7WY.js";
|
|
4
|
+
import { a as l, i as u, n as d, r as f } from "./plugins-SrgT7Vs-.js";
|
|
5
|
+
import { n as p, t as m } from "./modules-BORtSWpQ.js";
|
|
6
6
|
import { i as h, n as g, r as _, t as v } from "./config-schema-Dp-vlxuR.js";
|
|
7
|
-
import { a as y, i as b, n as x, o as S, r as C, t as w } from "./write-
|
|
8
|
-
import { t as T } from "./flow-command-
|
|
7
|
+
import { a as y, i as b, n as x, o as S, r as C, t as w } from "./write-R0lAN4cR.js";
|
|
8
|
+
import { t as T } from "./flow-command-C6aaG6Jf.js";
|
|
9
9
|
export { T as FlowCommand, v as QUOIN_ENV_BINDINGS, g as QUOIN_PLUGIN_ID, c as QuoinCommand, _ as QuoinConfigSchema, b as UNRESOLVED_ORG_MESSAGE, w as createAuthoringPack, a as defaultModuleRoots, m as defaultModulesManifest, p as ensureDefaultModules, s as filamentModulesDir, i as findCatalogEntry, x as formatAuthoringPack, d as installPlugin, n as isVersionRequest, h as ixSchema, f as listPlugins, o as loadCatalog, r as main, y as originOrg, t as packageVersion, u as parseSourceArg, C as parseTypeList, l as removePlugin, S as resolveOrg, e as resolveVersion };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e } from "./base-
|
|
2
|
-
import { t } from "./plugins-
|
|
1
|
+
import { a as e } from "./base-CVgcB7WY.js";
|
|
2
|
+
import { t } from "./plugins-SrgT7Vs-.js";
|
|
3
3
|
import { readFileSync as n } from "node:fs";
|
|
4
4
|
import { dirname as r, join as i } from "node:path";
|
|
5
5
|
import { fileURLToPath as a } from "node:url";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, r as t } from "./base-
|
|
1
|
+
import { a as e, r as t } from "./base-CVgcB7WY.js";
|
|
2
2
|
import { existsSync as n, readFileSync as r, rmSync as i } from "node:fs";
|
|
3
3
|
import { basename as a, join as o } from "node:path";
|
|
4
4
|
import { parse as s } from "yaml";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./base-
|
|
1
|
+
import { i as e } from "./base-CVgcB7WY.js";
|
|
2
2
|
import { n as t, r as n, t as r } from "./config-schema-Dp-vlxuR.js";
|
|
3
3
|
import { ConfigService as i } from "@agent-ix/ix-cli-core";
|
|
4
4
|
import { existsSync as a, readFileSync as o, statSync as s } from "node:fs";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-ix/quoin",
|
|
3
3
|
"description": "Spec-driven development for Claude Code — author validated, ISO/IEC/IEEE 29148-aligned specs, then plan and build against them.",
|
|
4
|
-
"version": "0.12.
|
|
4
|
+
"version": "0.12.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
@@ -42,7 +42,10 @@
|
|
|
42
42
|
},
|
|
43
43
|
"plugins": [
|
|
44
44
|
"@agent-ix/filament-plan-sync"
|
|
45
|
-
]
|
|
45
|
+
],
|
|
46
|
+
"hooks": {
|
|
47
|
+
"command_not_found": "./dist/hooks/command-not-found"
|
|
48
|
+
}
|
|
46
49
|
},
|
|
47
50
|
"packageManager": "pnpm@10.33.4",
|
|
48
51
|
"scripts": {
|