@12ui/design 0.2.27 → 0.2.28
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/README.md +72 -87
- package/SKILL.md +5 -5
- package/dist/branch-completion.d.ts.map +1 -1
- package/dist/branch-completion.js +37 -14
- package/dist/branch-completion.js.map +1 -1
- package/dist/branch-execution.d.ts.map +1 -1
- package/dist/branch-execution.js +28 -8
- package/dist/branch-execution.js.map +1 -1
- package/dist/branch-identity.d.ts +10 -4
- package/dist/branch-identity.d.ts.map +1 -1
- package/dist/branch-identity.js +9 -6
- package/dist/branch-identity.js.map +1 -1
- package/dist/branch-page-conversion.d.ts +9 -8
- package/dist/branch-page-conversion.d.ts.map +1 -1
- package/dist/branch-page-conversion.js +8 -2
- package/dist/branch-page-conversion.js.map +1 -1
- package/dist/branch-page-packaging.d.ts +31 -0
- package/dist/branch-page-packaging.d.ts.map +1 -0
- package/dist/branch-page-packaging.js +86 -0
- package/dist/branch-page-packaging.js.map +1 -0
- package/dist/branch-plan.d.ts +6 -0
- package/dist/branch-plan.d.ts.map +1 -1
- package/dist/branch-plan.js +6 -1
- package/dist/branch-plan.js.map +1 -1
- package/dist/branch-progress.d.ts +22 -0
- package/dist/branch-progress.d.ts.map +1 -1
- package/dist/branch-progress.js +33 -8
- package/dist/branch-progress.js.map +1 -1
- package/dist/branch-run-record.d.ts +9 -0
- package/dist/branch-run-record.d.ts.map +1 -1
- package/dist/branch-run-record.js.map +1 -1
- package/dist/branch-status.d.ts +2 -0
- package/dist/branch-status.d.ts.map +1 -1
- package/dist/branch-status.js +60 -15
- package/dist/branch-status.js.map +1 -1
- package/dist/branch-winner.d.ts +13 -15
- package/dist/branch-winner.d.ts.map +1 -1
- package/dist/branch-winner.js +25 -77
- package/dist/branch-winner.js.map +1 -1
- package/dist/cli-auth-command.d.ts.map +1 -1
- package/dist/cli-auth-command.js +5 -0
- package/dist/cli-auth-command.js.map +1 -1
- package/dist/cli-auth-onboarding.d.ts +12 -0
- package/dist/cli-auth-onboarding.d.ts.map +1 -0
- package/dist/cli-auth-onboarding.js +21 -0
- package/dist/cli-auth-onboarding.js.map +1 -0
- package/dist/cli-branch-command.d.ts +14 -19
- package/dist/cli-branch-command.d.ts.map +1 -1
- package/dist/cli-branch-command.js +207 -137
- package/dist/cli-branch-command.js.map +1 -1
- package/dist/cli-capabilities.d.ts +10 -51
- package/dist/cli-capabilities.d.ts.map +1 -1
- package/dist/cli-capabilities.js +13 -26
- package/dist/cli-capabilities.js.map +1 -1
- package/dist/cli-cli-command.d.ts +3 -0
- package/dist/cli-cli-command.d.ts.map +1 -1
- package/dist/cli-cli-command.js +15 -3
- package/dist/cli-cli-command.js.map +1 -1
- package/dist/cli-conversion-derivation.d.ts +30 -0
- package/dist/cli-conversion-derivation.d.ts.map +1 -0
- package/dist/{cli-export-command.js → cli-conversion-derivation.js} +178 -110
- package/dist/cli-conversion-derivation.js.map +1 -0
- package/dist/cli-conversion-output-directory.d.ts +5 -0
- package/dist/cli-conversion-output-directory.d.ts.map +1 -0
- package/dist/{cli-export-output-directory.js → cli-conversion-output-directory.js} +10 -10
- package/dist/cli-conversion-output-directory.js.map +1 -0
- package/dist/cli-convert-command.d.ts +9 -0
- package/dist/cli-convert-command.d.ts.map +1 -1
- package/dist/cli-convert-command.js +528 -158
- package/dist/cli-convert-command.js.map +1 -1
- package/dist/cli-corpus-command.d.ts.map +1 -1
- package/dist/cli-corpus-command.js +77 -10
- package/dist/cli-corpus-command.js.map +1 -1
- package/dist/cli-corpus-reference-downloads.d.ts +5 -0
- package/dist/cli-corpus-reference-downloads.d.ts.map +1 -1
- package/dist/cli-corpus-reference-downloads.js +18 -7
- package/dist/cli-corpus-reference-downloads.js.map +1 -1
- package/dist/cli-corpus-run.d.ts +9 -0
- package/dist/cli-corpus-run.d.ts.map +1 -1
- package/dist/cli-corpus-run.js +18 -0
- package/dist/cli-corpus-run.js.map +1 -1
- package/dist/cli-detach.d.ts +12 -4
- package/dist/cli-detach.d.ts.map +1 -1
- package/dist/cli-detach.js +49 -17
- package/dist/cli-detach.js.map +1 -1
- package/dist/cli-draft-command.d.ts +44 -61
- package/dist/cli-draft-command.d.ts.map +1 -1
- package/dist/cli-draft-command.js +307 -180
- package/dist/cli-draft-command.js.map +1 -1
- package/dist/cli-help/conversion.d.ts +30 -0
- package/dist/cli-help/conversion.d.ts.map +1 -0
- package/dist/cli-help/conversion.js +55 -0
- package/dist/cli-help/conversion.js.map +1 -0
- package/dist/cli-help/design.d.ts +74 -0
- package/dist/cli-help/design.d.ts.map +1 -0
- package/dist/cli-help/design.js +131 -0
- package/dist/cli-help/design.js.map +1 -0
- package/dist/cli-help/index.d.ts +224 -0
- package/dist/cli-help/index.d.ts.map +1 -0
- package/dist/cli-help/index.js +32 -0
- package/dist/cli-help/index.js.map +1 -0
- package/dist/cli-help/meta.d.ts +24 -0
- package/dist/cli-help/meta.d.ts.map +1 -0
- package/dist/cli-help/meta.js +30 -0
- package/dist/cli-help/meta.js.map +1 -0
- package/dist/cli-help/render.d.ts +4 -0
- package/dist/cli-help/render.d.ts.map +1 -0
- package/dist/cli-help/render.js +28 -0
- package/dist/cli-help/render.js.map +1 -0
- package/dist/cli-help/setup.d.ts +93 -0
- package/dist/cli-help/setup.d.ts.map +1 -0
- package/dist/cli-help/setup.js +142 -0
- package/dist/cli-help/setup.js.map +1 -0
- package/dist/cli-help/types.d.ts +10 -0
- package/dist/cli-help/types.d.ts.map +1 -0
- package/dist/cli-help/types.js +2 -0
- package/dist/cli-help/types.js.map +1 -0
- package/dist/cli-next-command.d.ts +11 -8
- package/dist/cli-next-command.d.ts.map +1 -1
- package/dist/cli-next-command.js +288 -88
- package/dist/cli-next-command.js.map +1 -1
- package/dist/cli-output-paths.d.ts +2 -23
- package/dist/cli-output-paths.d.ts.map +1 -1
- package/dist/cli-output-paths.js +2 -36
- package/dist/cli-output-paths.js.map +1 -1
- package/dist/cli-package-command.d.ts +1 -0
- package/dist/cli-package-command.d.ts.map +1 -1
- package/dist/cli-package-command.js +107 -34
- package/dist/cli-package-command.js.map +1 -1
- package/dist/cli-pending-auth.d.ts +20 -0
- package/dist/cli-pending-auth.d.ts.map +1 -0
- package/dist/cli-pending-auth.js +160 -0
- package/dist/cli-pending-auth.js.map +1 -0
- package/dist/cli-progress.d.ts +256 -75
- package/dist/cli-progress.d.ts.map +1 -1
- package/dist/cli-progress.js +425 -98
- package/dist/cli-progress.js.map +1 -1
- package/dist/cli-run.d.ts +2 -0
- package/dist/cli-run.d.ts.map +1 -1
- package/dist/cli-run.js +56 -75
- package/dist/cli-run.js.map +1 -1
- package/dist/cli-skill-command.d.ts +3 -0
- package/dist/cli-skill-command.d.ts.map +1 -1
- package/dist/cli-skill-command.js +26 -3
- package/dist/cli-skill-command.js.map +1 -1
- package/dist/cli-usage.d.ts +17 -8
- package/dist/cli-usage.d.ts.map +1 -1
- package/dist/cli-usage.js +55 -40
- package/dist/cli-usage.js.map +1 -1
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +8 -2
- package/dist/config.js.map +1 -1
- package/dist/conversion-client.d.ts +4 -0
- package/dist/conversion-client.d.ts.map +1 -1
- package/dist/conversion-client.js.map +1 -1
- package/dist/conversion-outputs.d.ts +11 -0
- package/dist/conversion-outputs.d.ts.map +1 -1
- package/dist/conversion-outputs.js +13 -1
- package/dist/conversion-outputs.js.map +1 -1
- package/dist/conversion-receipt.d.ts +1 -1
- package/dist/conversion-receipt.js +1 -1
- package/dist/conversion-recovery.d.ts +20 -0
- package/dist/conversion-recovery.d.ts.map +1 -0
- package/dist/conversion-recovery.js +61 -0
- package/dist/conversion-recovery.js.map +1 -0
- package/dist/conversion-status-contract.js +1 -1
- package/dist/conversion-status-contract.js.map +1 -1
- package/dist/credential-setup.d.ts +9 -1
- package/dist/credential-setup.d.ts.map +1 -1
- package/dist/credential-setup.js +13 -1
- package/dist/credential-setup.js.map +1 -1
- package/dist/draft-adoption.d.ts +9 -3
- package/dist/draft-adoption.d.ts.map +1 -1
- package/dist/draft-adoption.js +26 -41
- package/dist/draft-adoption.js.map +1 -1
- package/dist/draft-identity.d.ts +9 -12
- package/dist/draft-identity.d.ts.map +1 -1
- package/dist/draft-identity.js +0 -0
- package/dist/draft-identity.js.map +1 -1
- package/dist/draft-run.d.ts +9 -19
- package/dist/draft-run.d.ts.map +1 -1
- package/dist/draft-run.js +67 -95
- package/dist/draft-run.js.map +1 -1
- package/dist/draft-workspace.d.ts +26 -18
- package/dist/draft-workspace.d.ts.map +1 -1
- package/dist/draft-workspace.js +16 -5
- package/dist/draft-workspace.js.map +1 -1
- package/dist/hosted-draft-identity.d.ts +20 -0
- package/dist/hosted-draft-identity.d.ts.map +1 -0
- package/dist/hosted-draft-identity.js +30 -0
- package/dist/hosted-draft-identity.js.map +1 -0
- package/dist/hosted-draft-run.d.ts +60 -0
- package/dist/hosted-draft-run.d.ts.map +1 -0
- package/dist/hosted-draft-run.js +97 -0
- package/dist/hosted-draft-run.js.map +1 -0
- package/dist/legacy-codex-cleanup.d.ts +13 -0
- package/dist/legacy-codex-cleanup.d.ts.map +1 -1
- package/dist/legacy-codex-cleanup.js +83 -0
- package/dist/legacy-codex-cleanup.js.map +1 -1
- package/dist/legacy-skill-catalog.d.ts +2 -2
- package/dist/legacy-skill-catalog.d.ts.map +1 -1
- package/dist/legacy-skill-catalog.js +76 -5
- package/dist/legacy-skill-catalog.js.map +1 -1
- package/dist/login-auth.d.ts +38 -0
- package/dist/login-auth.d.ts.map +1 -1
- package/dist/login-auth.js +67 -16
- package/dist/login-auth.js.map +1 -1
- package/dist/mcp-tool-definitions.js +1 -1
- package/dist/mcp-tool-definitions.js.map +1 -1
- package/dist/next-target.d.ts +1 -4
- package/dist/next-target.d.ts.map +1 -1
- package/dist/next-target.js +5 -9
- package/dist/next-target.js.map +1 -1
- package/dist/next-wait-lease.d.ts +17 -0
- package/dist/next-wait-lease.d.ts.map +1 -0
- package/dist/next-wait-lease.js +92 -0
- package/dist/next-wait-lease.js.map +1 -0
- package/dist/package-client.d.ts +30 -0
- package/dist/package-client.d.ts.map +1 -1
- package/dist/package-client.js.map +1 -1
- package/dist/package-submission.d.ts +17 -0
- package/dist/package-submission.d.ts.map +1 -1
- package/dist/package-submission.js +13 -0
- package/dist/package-submission.js.map +1 -1
- package/dist/pending-auth-store.d.ts +15 -0
- package/dist/pending-auth-store.d.ts.map +1 -0
- package/dist/pending-auth-store.js +90 -0
- package/dist/pending-auth-store.js.map +1 -0
- package/dist/responsive-quality.d.ts +2 -2
- package/dist/responsive-quality.js +2 -2
- package/dist/run-journal-commands.d.ts.map +1 -1
- package/dist/run-journal-commands.js +30 -78
- package/dist/run-journal-commands.js.map +1 -1
- package/dist/run-journal-in-flight.d.ts +2 -2
- package/dist/run-journal-in-flight.d.ts.map +1 -1
- package/dist/run-journal-in-flight.js +0 -0
- package/dist/run-journal-in-flight.js.map +1 -1
- package/dist/skill-installer.d.ts +2 -2
- package/dist/skill-installer.d.ts.map +1 -1
- package/dist/skill-installer.js +2 -2
- package/dist/skill-installer.js.map +1 -1
- package/open-design.json +3 -3
- package/package.json +1 -1
- package/skills/12ui-design/SKILL.md +62 -0
- package/skills/12ui-design/agents/openai.yaml +6 -0
- package/skills/12ui-design/inspire.md +11 -0
- package/dist/cli-create-command.d.ts +0 -59
- package/dist/cli-create-command.d.ts.map +0 -1
- package/dist/cli-create-command.js +0 -354
- package/dist/cli-create-command.js.map +0 -1
- package/dist/cli-export-command.d.ts +0 -26
- package/dist/cli-export-command.d.ts.map +0 -1
- package/dist/cli-export-command.js.map +0 -1
- package/dist/cli-export-output-directory.d.ts +0 -5
- package/dist/cli-export-output-directory.d.ts.map +0 -1
- package/dist/cli-export-output-directory.js.map +0 -1
- package/dist/cli-image-batch-command.d.ts +0 -29
- package/dist/cli-image-batch-command.d.ts.map +0 -1
- package/dist/cli-image-batch-command.js +0 -236
- package/dist/cli-image-batch-command.js.map +0 -1
- package/dist/cli-image-batch-materialize.d.ts +0 -27
- package/dist/cli-image-batch-materialize.d.ts.map +0 -1
- package/dist/cli-image-batch-materialize.js +0 -41
- package/dist/cli-image-batch-materialize.js.map +0 -1
- package/dist/cli-image-batch-resume.d.ts +0 -36
- package/dist/cli-image-batch-resume.d.ts.map +0 -1
- package/dist/cli-image-batch-resume.js +0 -176
- package/dist/cli-image-batch-resume.js.map +0 -1
- package/dist/cli-image-command.d.ts +0 -10
- package/dist/cli-image-command.d.ts.map +0 -1
- package/dist/cli-image-command.js +0 -106
- package/dist/cli-image-command.js.map +0 -1
- package/dist/cli-select-command.d.ts +0 -16
- package/dist/cli-select-command.d.ts.map +0 -1
- package/dist/cli-select-command.js +0 -60
- package/dist/cli-select-command.js.map +0 -1
- package/dist/create-identity.d.ts +0 -25
- package/dist/create-identity.d.ts.map +0 -1
- package/dist/create-identity.js +0 -0
- package/dist/create-identity.js.map +0 -1
- package/dist/draft-prompts.d.ts +0 -35
- package/dist/draft-prompts.d.ts.map +0 -1
- package/dist/draft-prompts.js +0 -51
- package/dist/draft-prompts.js.map +0 -1
- package/dist/image-batch-status.d.ts +0 -42
- package/dist/image-batch-status.d.ts.map +0 -1
- package/dist/image-batch-status.js +0 -143
- package/dist/image-batch-status.js.map +0 -1
- package/dist/image-generation-batch-attempt.d.ts +0 -28
- package/dist/image-generation-batch-attempt.d.ts.map +0 -1
- package/dist/image-generation-batch-attempt.js +0 -48
- package/dist/image-generation-batch-attempt.js.map +0 -1
- package/dist/image-generation-batch-manifest.d.ts +0 -25
- package/dist/image-generation-batch-manifest.d.ts.map +0 -1
- package/dist/image-generation-batch-manifest.js +0 -97
- package/dist/image-generation-batch-manifest.js.map +0 -1
- package/dist/image-generation-completion.d.ts +0 -43
- package/dist/image-generation-completion.d.ts.map +0 -1
- package/dist/image-generation-completion.js +0 -54
- package/dist/image-generation-completion.js.map +0 -1
- package/dist/image-generation-error.d.ts +0 -3
- package/dist/image-generation-error.d.ts.map +0 -1
- package/dist/image-generation-error.js +0 -30
- package/dist/image-generation-error.js.map +0 -1
- package/dist/image-generation-evidence.d.ts +0 -43
- package/dist/image-generation-evidence.d.ts.map +0 -1
- package/dist/image-generation-evidence.js +0 -28
- package/dist/image-generation-evidence.js.map +0 -1
- package/dist/image-generation-fs.d.ts +0 -3
- package/dist/image-generation-fs.d.ts.map +0 -1
- package/dist/image-generation-fs.js +0 -23
- package/dist/image-generation-fs.js.map +0 -1
- package/dist/image-generation-output.d.ts +0 -3
- package/dist/image-generation-output.d.ts.map +0 -1
- package/dist/image-generation-output.js +0 -51
- package/dist/image-generation-output.js.map +0 -1
- package/dist/image-generation-request.d.ts +0 -43
- package/dist/image-generation-request.d.ts.map +0 -1
- package/dist/image-generation-request.js +0 -52
- package/dist/image-generation-request.js.map +0 -1
- package/dist/image-generation-resume.d.ts +0 -49
- package/dist/image-generation-resume.d.ts.map +0 -1
- package/dist/image-generation-resume.js +0 -96
- package/dist/image-generation-resume.js.map +0 -1
- package/dist/image-generation-run.d.ts +0 -46
- package/dist/image-generation-run.d.ts.map +0 -1
- package/dist/image-generation-run.js +0 -158
- package/dist/image-generation-run.js.map +0 -1
- package/dist/image-generation-staging.d.ts +0 -25
- package/dist/image-generation-staging.d.ts.map +0 -1
- package/dist/image-generation-staging.js +0 -80
- package/dist/image-generation-staging.js.map +0 -1
- package/dist/image-generation-usage.d.ts +0 -75
- package/dist/image-generation-usage.d.ts.map +0 -1
- package/dist/image-generation-usage.js +0 -219
- package/dist/image-generation-usage.js.map +0 -1
- package/dist/image-provider-preflight.d.ts +0 -21
- package/dist/image-provider-preflight.d.ts.map +0 -1
- package/dist/image-provider-preflight.js +0 -184
- package/dist/image-provider-preflight.js.map +0 -1
- package/dist/selection-record.d.ts +0 -97
- package/dist/selection-record.d.ts.map +0 -1
- package/dist/selection-record.js +0 -138
- package/dist/selection-record.js.map +0 -1
- package/skills/design/SKILL.md +0 -116
- package/skills/design/agents/openai.yaml +0 -8
- package/skills/design/assets/large-logo.svg +0 -3
- package/skills/design/assets/small-400px.png +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const META_HELP = {
|
|
2
|
+
capabilities: {
|
|
3
|
+
summary: 'Print the machine-readable 12ui capability contract as JSON.',
|
|
4
|
+
sections: [{
|
|
5
|
+
heading: 'Includes',
|
|
6
|
+
items: [
|
|
7
|
+
'Accepted inputs and outputs, models, limits, responsive qualities, project profiles, duration hints, journals, receipts, and concurrency.',
|
|
8
|
+
'This is local and read-only; it performs no authentication, generation, conversion, or update check.',
|
|
9
|
+
],
|
|
10
|
+
}],
|
|
11
|
+
},
|
|
12
|
+
mcp: {
|
|
13
|
+
summary: 'Start the 12ui Model Context Protocol server over stdin and stdout.',
|
|
14
|
+
sections: [{
|
|
15
|
+
heading: 'Behavior',
|
|
16
|
+
items: [
|
|
17
|
+
'Exposes conversion, corpus, draft-status, and branch-status tools to an MCP client.',
|
|
18
|
+
'Runs until the client disconnects. This is a JSON-RPC transport command, not an interactive terminal interface.',
|
|
19
|
+
],
|
|
20
|
+
}],
|
|
21
|
+
},
|
|
22
|
+
version: {
|
|
23
|
+
summary: 'Print the installed 12ui package version.',
|
|
24
|
+
sections: [{
|
|
25
|
+
heading: 'Notes',
|
|
26
|
+
items: ['Reads the running package identity locally; it does not contact the service or check for updates.'],
|
|
27
|
+
}],
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../src/cli-help/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,YAAY,EAAE;QACZ,OAAO,EAAE,8DAA8D;QACvE,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,UAAU;gBACnB,KAAK,EAAE;oBACL,2IAA2I;oBAC3I,sGAAsG;iBACvG;aACF,CAAC;KACH;IACD,GAAG,EAAE;QACH,OAAO,EAAE,qEAAqE;QAC9E,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,UAAU;gBACnB,KAAK,EAAE;oBACL,qFAAqF;oBACrF,iHAAiH;iBAClH;aACF,CAAC;KACH;IACD,OAAO,EAAE;QACP,OAAO,EAAE,2CAA2C;QACpD,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,OAAO;gBAChB,KAAK,EAAE,CAAC,mGAAmG,CAAC;aAC7G,CAAC;KACH;CACgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../src/cli-help/render.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAqBjD,iFAAiF;AACjF,eAAO,MAAM,iBAAiB,GAAI,SAAS,cAAc,KAAG,MAS3D,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const HELP_WIDTH = 100;
|
|
2
|
+
const wrap = (text, firstPrefix = '', continuationPrefix = firstPrefix) => {
|
|
3
|
+
const words = text.trim().split(/\s+/u);
|
|
4
|
+
const lines = [];
|
|
5
|
+
let line = firstPrefix;
|
|
6
|
+
for (const word of words) {
|
|
7
|
+
const separator = line === firstPrefix ? '' : ' ';
|
|
8
|
+
if (line.length > firstPrefix.length && line.length + separator.length + word.length > HELP_WIDTH) {
|
|
9
|
+
lines.push(line);
|
|
10
|
+
line = `${continuationPrefix}${word}`;
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
line += `${separator}${word}`;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
lines.push(line);
|
|
17
|
+
return lines;
|
|
18
|
+
};
|
|
19
|
+
/** Render contextual prose for a terminal without wrapping invocation syntax. */
|
|
20
|
+
export const renderHelpContext = (context) => ([
|
|
21
|
+
...wrap(context.summary),
|
|
22
|
+
...(context.sections ?? []).flatMap((section) => [
|
|
23
|
+
'',
|
|
24
|
+
`${section.heading}:`,
|
|
25
|
+
...section.items.flatMap((item) => wrap(item, ' - ', ' ')),
|
|
26
|
+
]),
|
|
27
|
+
].join('\n'));
|
|
28
|
+
//# sourceMappingURL=render.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.js","sourceRoot":"","sources":["../../src/cli-help/render.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,GAAG,GAAG,CAAC;AAEvB,MAAM,IAAI,GAAG,CAAC,IAAY,EAAE,WAAW,GAAG,EAAE,EAAE,kBAAkB,GAAG,WAAW,EAAY,EAAE;IAC1F,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACxC,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,IAAI,IAAI,GAAG,WAAW,CAAC;IACvB,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,SAAS,GAAG,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC;QAClD,IAAI,IAAI,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,GAAG,UAAU,EAAE,CAAC;YAClG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACjB,IAAI,GAAG,GAAG,kBAAkB,GAAG,IAAI,EAAE,CAAC;QACxC,CAAC;aAAM,CAAC;YACN,IAAI,IAAI,GAAG,SAAS,GAAG,IAAI,EAAE,CAAC;QAChC,CAAC;IACH,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjB,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,iFAAiF;AACjF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,OAAuB,EAAU,EAAE,CAAC,CACpE;IACE,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;IACxB,GAAG,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC;QAC/C,EAAE;QACF,GAAG,OAAO,CAAC,OAAO,GAAG;QACrB,GAAG,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;KAC/D,CAAC;CACH,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export declare const SETUP_HELP: {
|
|
2
|
+
readonly auth: {
|
|
3
|
+
readonly summary: "Manage the personal 12ui credential saved on this machine.";
|
|
4
|
+
readonly sections: readonly [{
|
|
5
|
+
readonly heading: "Actions";
|
|
6
|
+
readonly items: readonly ["login — approve or import an API key, verify it, and save it locally.", "status — verify the saved key and show its account, scopes, origin, and quota.", "logout — revoke the saved key and remove the local copy."];
|
|
7
|
+
}];
|
|
8
|
+
};
|
|
9
|
+
readonly 'auth login': {
|
|
10
|
+
readonly summary: "Connect this machine to a personal 12ui account.";
|
|
11
|
+
readonly sections: readonly [{
|
|
12
|
+
readonly heading: "What it does";
|
|
13
|
+
readonly items: readonly ["Opens device approval, waits for authorization, verifies the new credential, and saves it locally.", "With --api-key, imports and verifies that key instead of opening browser approval."];
|
|
14
|
+
}, {
|
|
15
|
+
readonly heading: "Key options";
|
|
16
|
+
readonly items: readonly ["--login-origin selects the authentication service; --origin selects the 12ui API saved with the key.", "--key-name sets the human-readable credential label."];
|
|
17
|
+
}];
|
|
18
|
+
};
|
|
19
|
+
readonly 'auth status': {
|
|
20
|
+
readonly summary: "Verify the saved credential and report the account it belongs to.";
|
|
21
|
+
readonly sections: readonly [{
|
|
22
|
+
readonly heading: "Reports";
|
|
23
|
+
readonly items: readonly ["Account and credential IDs, granted scopes, the saved API origin, and conversion quota when available.", "--json writes only the structured status object. This command checks the saved key, not an ephemeral --api-key."];
|
|
24
|
+
}];
|
|
25
|
+
};
|
|
26
|
+
readonly 'auth logout': {
|
|
27
|
+
readonly summary: "Disconnect the saved personal 12ui credential.";
|
|
28
|
+
readonly sections: readonly [{
|
|
29
|
+
readonly heading: "What it does";
|
|
30
|
+
readonly items: readonly ["Revokes the credential remotely, then removes the local credential file.", "If remote revocation fails, the local credential is retained so the failure can be resolved safely."];
|
|
31
|
+
}];
|
|
32
|
+
};
|
|
33
|
+
readonly cli: {
|
|
34
|
+
readonly summary: "Manage the durable pinned 12ui launcher.";
|
|
35
|
+
readonly sections: readonly [{
|
|
36
|
+
readonly heading: "Actions";
|
|
37
|
+
readonly items: readonly ["install — pin this released CLI version into the managed launcher.", "status — show the pinned version, launcher path, and managed data root.", "These commands do not install agent skills or change authentication."];
|
|
38
|
+
}];
|
|
39
|
+
};
|
|
40
|
+
readonly 'cli install': {
|
|
41
|
+
readonly summary: "Make the exact CLI release currently running available as the durable `12ui` command.";
|
|
42
|
+
readonly sections: readonly [{
|
|
43
|
+
readonly heading: "What it changes";
|
|
44
|
+
readonly items: readonly ["Installs the running package into the managed version directory, updates the launcher, and verifies its version.", "It does not check for a newer release, install skills, or connect an account."];
|
|
45
|
+
}];
|
|
46
|
+
};
|
|
47
|
+
readonly 'cli status': {
|
|
48
|
+
readonly summary: "Inspect the managed 12ui installation on this machine.";
|
|
49
|
+
readonly sections: readonly [{
|
|
50
|
+
readonly heading: "Reports";
|
|
51
|
+
readonly items: readonly ["The pinned package version, launcher path, and managed data root.", "--json emits the same local inventory as structured data; this is not a network update or service-health check."];
|
|
52
|
+
}];
|
|
53
|
+
};
|
|
54
|
+
readonly skill: {
|
|
55
|
+
readonly summary: "Manage the bundled design skill for supported coding agents.";
|
|
56
|
+
readonly sections: readonly [{
|
|
57
|
+
readonly heading: "Actions";
|
|
58
|
+
readonly items: readonly ["install — install the skill and ensure the CLI and authentication are ready.", "status — inspect skill, enablement, and credential-file state.", "print — write the bundled SKILL.md to stdout.", "remove — remove the skill while retaining the CLI and credentials."];
|
|
59
|
+
}, {
|
|
60
|
+
readonly heading: "Targets";
|
|
61
|
+
readonly items: readonly ["Without --client, every detected Codex, Claude Code, Grok, Cursor, Antigravity, and Copilot installation is targeted.", "--home selects a custom client home and therefore requires --client."];
|
|
62
|
+
}];
|
|
63
|
+
};
|
|
64
|
+
readonly 'skill install': {
|
|
65
|
+
readonly summary: "Install the bundled design skill into selected or detected coding-agent clients.";
|
|
66
|
+
readonly sections: readonly [{
|
|
67
|
+
readonly heading: "What it does";
|
|
68
|
+
readonly items: readonly ["Installs the skill transactionally, pins the CLI, enables Codex installations, and authenticates required scopes.", "--skip-auth leaves authentication untouched. --force replaces a conflicting unrecognized or locally modified skill."];
|
|
69
|
+
}];
|
|
70
|
+
};
|
|
71
|
+
readonly 'skill status': {
|
|
72
|
+
readonly summary: "Inspect installed design skills without changing them.";
|
|
73
|
+
readonly sections: readonly [{
|
|
74
|
+
readonly heading: "Reports";
|
|
75
|
+
readonly items: readonly ["Each target is current, different, or not installed; Codex targets also report whether the skill is enabled.", "Credential status means a credential file exists. Use `12ui auth status` to verify that credential live."];
|
|
76
|
+
}];
|
|
77
|
+
};
|
|
78
|
+
readonly 'skill print': {
|
|
79
|
+
readonly summary: "Write the exact bundled design SKILL.md to stdout.";
|
|
80
|
+
readonly sections: readonly [{
|
|
81
|
+
readonly heading: "Notes";
|
|
82
|
+
readonly items: readonly ["This performs no client discovery, installation, authentication, or network request."];
|
|
83
|
+
}];
|
|
84
|
+
};
|
|
85
|
+
readonly 'skill remove': {
|
|
86
|
+
readonly summary: "Remove the design skill from selected or detected coding-agent clients.";
|
|
87
|
+
readonly sections: readonly [{
|
|
88
|
+
readonly heading: "Important";
|
|
89
|
+
readonly items: readonly ["The pinned CLI and saved credentials are retained.", "The resolved design-skill directory is removed even when its contents differ from the bundled skill; inspect status first."];
|
|
90
|
+
}];
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
//# sourceMappingURL=setup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/cli-help/setup.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4IY,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
export const SETUP_HELP = {
|
|
2
|
+
auth: {
|
|
3
|
+
summary: 'Manage the personal 12ui credential saved on this machine.',
|
|
4
|
+
sections: [{
|
|
5
|
+
heading: 'Actions',
|
|
6
|
+
items: [
|
|
7
|
+
'login — approve or import an API key, verify it, and save it locally.',
|
|
8
|
+
'status — verify the saved key and show its account, scopes, origin, and quota.',
|
|
9
|
+
'logout — revoke the saved key and remove the local copy.',
|
|
10
|
+
],
|
|
11
|
+
}],
|
|
12
|
+
},
|
|
13
|
+
'auth login': {
|
|
14
|
+
summary: 'Connect this machine to a personal 12ui account.',
|
|
15
|
+
sections: [
|
|
16
|
+
{
|
|
17
|
+
heading: 'What it does',
|
|
18
|
+
items: [
|
|
19
|
+
'Opens device approval, waits for authorization, verifies the new credential, and saves it locally.',
|
|
20
|
+
'With --api-key, imports and verifies that key instead of opening browser approval.',
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
heading: 'Key options',
|
|
25
|
+
items: [
|
|
26
|
+
'--login-origin selects the authentication service; --origin selects the 12ui API saved with the key.',
|
|
27
|
+
'--key-name sets the human-readable credential label.',
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
'auth status': {
|
|
33
|
+
summary: 'Verify the saved credential and report the account it belongs to.',
|
|
34
|
+
sections: [{
|
|
35
|
+
heading: 'Reports',
|
|
36
|
+
items: [
|
|
37
|
+
'Account and credential IDs, granted scopes, the saved API origin, and conversion quota when available.',
|
|
38
|
+
'--json writes only the structured status object. This command checks the saved key, not an ephemeral --api-key.',
|
|
39
|
+
],
|
|
40
|
+
}],
|
|
41
|
+
},
|
|
42
|
+
'auth logout': {
|
|
43
|
+
summary: 'Disconnect the saved personal 12ui credential.',
|
|
44
|
+
sections: [{
|
|
45
|
+
heading: 'What it does',
|
|
46
|
+
items: [
|
|
47
|
+
'Revokes the credential remotely, then removes the local credential file.',
|
|
48
|
+
'If remote revocation fails, the local credential is retained so the failure can be resolved safely.',
|
|
49
|
+
],
|
|
50
|
+
}],
|
|
51
|
+
},
|
|
52
|
+
cli: {
|
|
53
|
+
summary: 'Manage the durable pinned 12ui launcher.',
|
|
54
|
+
sections: [{
|
|
55
|
+
heading: 'Actions',
|
|
56
|
+
items: [
|
|
57
|
+
'install — pin this released CLI version into the managed launcher.',
|
|
58
|
+
'status — show the pinned version, launcher path, and managed data root.',
|
|
59
|
+
'These commands do not install agent skills or change authentication.',
|
|
60
|
+
],
|
|
61
|
+
}],
|
|
62
|
+
},
|
|
63
|
+
'cli install': {
|
|
64
|
+
summary: 'Make the exact CLI release currently running available as the durable `12ui` command.',
|
|
65
|
+
sections: [{
|
|
66
|
+
heading: 'What it changes',
|
|
67
|
+
items: [
|
|
68
|
+
'Installs the running package into the managed version directory, updates the launcher, and verifies its version.',
|
|
69
|
+
'It does not check for a newer release, install skills, or connect an account.',
|
|
70
|
+
],
|
|
71
|
+
}],
|
|
72
|
+
},
|
|
73
|
+
'cli status': {
|
|
74
|
+
summary: 'Inspect the managed 12ui installation on this machine.',
|
|
75
|
+
sections: [{
|
|
76
|
+
heading: 'Reports',
|
|
77
|
+
items: [
|
|
78
|
+
'The pinned package version, launcher path, and managed data root.',
|
|
79
|
+
'--json emits the same local inventory as structured data; this is not a network update or service-health check.',
|
|
80
|
+
],
|
|
81
|
+
}],
|
|
82
|
+
},
|
|
83
|
+
skill: {
|
|
84
|
+
summary: 'Manage the bundled design skill for supported coding agents.',
|
|
85
|
+
sections: [
|
|
86
|
+
{
|
|
87
|
+
heading: 'Actions',
|
|
88
|
+
items: [
|
|
89
|
+
'install — install the skill and ensure the CLI and authentication are ready.',
|
|
90
|
+
'status — inspect skill, enablement, and credential-file state.',
|
|
91
|
+
'print — write the bundled SKILL.md to stdout.',
|
|
92
|
+
'remove — remove the skill while retaining the CLI and credentials.',
|
|
93
|
+
],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
heading: 'Targets',
|
|
97
|
+
items: [
|
|
98
|
+
'Without --client, every detected Codex, Claude Code, Grok, Cursor, Antigravity, and Copilot installation is targeted.',
|
|
99
|
+
'--home selects a custom client home and therefore requires --client.',
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
},
|
|
104
|
+
'skill install': {
|
|
105
|
+
summary: 'Install the bundled design skill into selected or detected coding-agent clients.',
|
|
106
|
+
sections: [{
|
|
107
|
+
heading: 'What it does',
|
|
108
|
+
items: [
|
|
109
|
+
'Installs the skill transactionally, pins the CLI, enables Codex installations, and authenticates required scopes.',
|
|
110
|
+
'--skip-auth leaves authentication untouched. --force replaces a conflicting unrecognized or locally modified skill.',
|
|
111
|
+
],
|
|
112
|
+
}],
|
|
113
|
+
},
|
|
114
|
+
'skill status': {
|
|
115
|
+
summary: 'Inspect installed design skills without changing them.',
|
|
116
|
+
sections: [{
|
|
117
|
+
heading: 'Reports',
|
|
118
|
+
items: [
|
|
119
|
+
'Each target is current, different, or not installed; Codex targets also report whether the skill is enabled.',
|
|
120
|
+
'Credential status means a credential file exists. Use `12ui auth status` to verify that credential live.',
|
|
121
|
+
],
|
|
122
|
+
}],
|
|
123
|
+
},
|
|
124
|
+
'skill print': {
|
|
125
|
+
summary: 'Write the exact bundled design SKILL.md to stdout.',
|
|
126
|
+
sections: [{
|
|
127
|
+
heading: 'Notes',
|
|
128
|
+
items: ['This performs no client discovery, installation, authentication, or network request.'],
|
|
129
|
+
}],
|
|
130
|
+
},
|
|
131
|
+
'skill remove': {
|
|
132
|
+
summary: 'Remove the design skill from selected or detected coding-agent clients.',
|
|
133
|
+
sections: [{
|
|
134
|
+
heading: 'Important',
|
|
135
|
+
items: [
|
|
136
|
+
'The pinned CLI and saved credentials are retained.',
|
|
137
|
+
'The resolved design-skill directory is removed even when its contents differ from the bundled skill; inspect status first.',
|
|
138
|
+
],
|
|
139
|
+
}],
|
|
140
|
+
},
|
|
141
|
+
};
|
|
142
|
+
//# sourceMappingURL=setup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../src/cli-help/setup.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE;QACJ,OAAO,EAAE,4DAA4D;QACrE,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,SAAS;gBAClB,KAAK,EAAE;oBACL,uEAAuE;oBACvE,gFAAgF;oBAChF,0DAA0D;iBAC3D;aACF,CAAC;KACH;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,kDAAkD;QAC3D,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,cAAc;gBACvB,KAAK,EAAE;oBACL,oGAAoG;oBACpG,oFAAoF;iBACrF;aACF;YACD;gBACE,OAAO,EAAE,aAAa;gBACtB,KAAK,EAAE;oBACL,sGAAsG;oBACtG,sDAAsD;iBACvD;aACF;SACF;KACF;IACD,aAAa,EAAE;QACb,OAAO,EAAE,mEAAmE;QAC5E,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,SAAS;gBAClB,KAAK,EAAE;oBACL,wGAAwG;oBACxG,iHAAiH;iBAClH;aACF,CAAC;KACH;IACD,aAAa,EAAE;QACb,OAAO,EAAE,gDAAgD;QACzD,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,cAAc;gBACvB,KAAK,EAAE;oBACL,0EAA0E;oBAC1E,qGAAqG;iBACtG;aACF,CAAC;KACH;IACD,GAAG,EAAE;QACH,OAAO,EAAE,0CAA0C;QACnD,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,SAAS;gBAClB,KAAK,EAAE;oBACL,oEAAoE;oBACpE,yEAAyE;oBACzE,sEAAsE;iBACvE;aACF,CAAC;KACH;IACD,aAAa,EAAE;QACb,OAAO,EAAE,uFAAuF;QAChG,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,iBAAiB;gBAC1B,KAAK,EAAE;oBACL,kHAAkH;oBAClH,+EAA+E;iBAChF;aACF,CAAC;KACH;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,wDAAwD;QACjE,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,SAAS;gBAClB,KAAK,EAAE;oBACL,mEAAmE;oBACnE,iHAAiH;iBAClH;aACF,CAAC;KACH;IACD,KAAK,EAAE;QACL,OAAO,EAAE,8DAA8D;QACvE,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,SAAS;gBAClB,KAAK,EAAE;oBACL,8EAA8E;oBAC9E,gEAAgE;oBAChE,+CAA+C;oBAC/C,oEAAoE;iBACrE;aACF;YACD;gBACE,OAAO,EAAE,SAAS;gBAClB,KAAK,EAAE;oBACL,uHAAuH;oBACvH,sEAAsE;iBACvE;aACF;SACF;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,kFAAkF;QAC3F,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,cAAc;gBACvB,KAAK,EAAE;oBACL,mHAAmH;oBACnH,qHAAqH;iBACtH;aACF,CAAC;KACH;IACD,cAAc,EAAE;QACd,OAAO,EAAE,wDAAwD;QACjE,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,SAAS;gBAClB,KAAK,EAAE;oBACL,8GAA8G;oBAC9G,0GAA0G;iBAC3G;aACF,CAAC;KACH;IACD,aAAa,EAAE;QACb,OAAO,EAAE,oDAAoD;QAC7D,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,OAAO;gBAChB,KAAK,EAAE,CAAC,sFAAsF,CAAC;aAChG,CAAC;KACH;IACD,cAAc,EAAE;QACd,OAAO,EAAE,yEAAyE;QAClF,QAAQ,EAAE,CAAC;gBACT,OAAO,EAAE,WAAW;gBACpB,KAAK,EAAE;oBACL,oDAAoD;oBACpD,4HAA4H;iBAC7H;aACF,CAAC;KACH;CACgC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type CliHelpSection = {
|
|
2
|
+
heading: string;
|
|
3
|
+
items: readonly string[];
|
|
4
|
+
};
|
|
5
|
+
export type CliHelpContext = {
|
|
6
|
+
summary: string;
|
|
7
|
+
sections?: readonly CliHelpSection[];
|
|
8
|
+
};
|
|
9
|
+
export type CliHelpCatalog = Readonly<Record<string, CliHelpContext>>;
|
|
10
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/cli-help/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/cli-help/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { type CliFlags } from './cli-arguments.js';
|
|
2
|
+
import { type LongRunningProgressObservation } from './cli-progress.js';
|
|
2
3
|
import { type NextTarget } from './next-target.js';
|
|
3
4
|
import type { RunJournalNotes } from './run-journal.js';
|
|
4
5
|
/**
|
|
5
6
|
* `12ui next` — one command for "what is happening and what do I do".
|
|
6
7
|
*
|
|
7
|
-
* WHY IT EXISTS AS A MERGE, NOT AN ADDITION.
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* `--json` they advertised. A measured wave typed `draft status` eighteen times
|
|
12
|
-
* and `image batch-status` once on one run and still ended with
|
|
13
|
-
* `next_action_offered: false` while paid work was in flight. Adding a sixth
|
|
14
|
-
* spelling would have made that worse; the four are gone and this replaces them.
|
|
8
|
+
* WHY IT EXISTS AS A MERGE, NOT AN ADDITION. Status used to be split by
|
|
9
|
+
* subsystem and argument shape, and several spellings ignored the `--json`
|
|
10
|
+
* they advertised. One positional target now covers draft, branch, hosted, and
|
|
11
|
+
* conversion work while the retired subsystem spellings stay gone.
|
|
15
12
|
*
|
|
16
13
|
* THREE THINGS IT ALWAYS REPORTS, because each one was a measured failure:
|
|
17
14
|
* - the state, from the run's own durable records rather than a directory listing;
|
|
@@ -51,6 +48,12 @@ export type NextReport = {
|
|
|
51
48
|
runId?: string;
|
|
52
49
|
/** The underlying status record, unchanged, for anything that parsed it before. */
|
|
53
50
|
detail: unknown;
|
|
51
|
+
/** The run is incomplete but waiting cannot advance it; execute nextCommand. */
|
|
52
|
+
recoverable?: boolean;
|
|
53
|
+
/** Bare --wait never sets this; only an explicit caller deadline can. */
|
|
54
|
+
deadlineReached?: boolean;
|
|
55
|
+
/** Structured facts consumed by the one progress renderer. */
|
|
56
|
+
progress: LongRunningProgressObservation;
|
|
54
57
|
};
|
|
55
58
|
export type NextCommandDependencies = {
|
|
56
59
|
journal?: RunJournalNotes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-next-command.d.ts","sourceRoot":"","sources":["../src/cli-next-command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cli-next-command.d.ts","sourceRoot":"","sources":["../src/cli-next-command.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2B,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAG5E,OAAO,EAQL,KAAK,8BAA8B,EACpC,MAAM,mBAAmB,CAAC;AAY3B,OAAO,EAAqB,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAQxD;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,MAAM,MAAM,UAAU,GAAG;IACvB,mDAAmD;IACnD,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2EAA2E;IAC3E,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,4EAA4E;IAC5E,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;;;OAOG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,MAAM,EAAE,OAAO,CAAC;IAChB,gFAAgF;IAChF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,yEAAyE;IACzE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,8DAA8D;IAC9D,QAAQ,EAAE,8BAA8B,CAAC;CAC1C,CAAC;AAyYF,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,gBAAgB,MAAM,GAAG,SAAS,EAClC,OAAO,QAAQ,EACf,eAAc,uBAA4B,KACzC,OAAO,CAAC,UAAU,CAqHpB,CAAC"}
|