openfeel 1.5.8 → 1.5.11
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 +2 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +2 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/chore.d.ts +7 -0
- package/dist/commands/chore.d.ts.map +1 -1
- package/dist/commands/chore.js +43 -3
- package/dist/commands/chore.js.map +1 -1
- package/dist/commands/dashboard.d.ts +42 -0
- package/dist/commands/dashboard.d.ts.map +1 -0
- package/dist/commands/dashboard.js +170 -0
- package/dist/commands/dashboard.js.map +1 -0
- package/dist/commands/flow.d.ts +8 -0
- package/dist/commands/flow.d.ts.map +1 -1
- package/dist/commands/flow.js +2 -1
- package/dist/commands/flow.js.map +1 -1
- package/dist/commands/knowledge.d.ts.map +1 -1
- package/dist/commands/knowledge.js.map +1 -1
- package/dist/commands/shared/json-output.d.ts.map +1 -1
- package/dist/commands/shared/json-output.js +1 -0
- package/dist/commands/shared/json-output.js.map +1 -1
- package/dist/core/artifact-graph/graph.d.ts.map +1 -1
- package/dist/core/dashboard/aggregate.d.ts +146 -0
- package/dist/core/dashboard/aggregate.d.ts.map +1 -0
- package/dist/core/dashboard/aggregate.js +231 -0
- package/dist/core/dashboard/aggregate.js.map +1 -0
- package/dist/core/dashboard/render.d.ts +12 -0
- package/dist/core/dashboard/render.d.ts.map +1 -0
- package/dist/core/dashboard/render.js +506 -0
- package/dist/core/dashboard/render.js.map +1 -0
- package/dist/core/flow-manager.d.ts.map +1 -1
- package/dist/core/flow-manager.js +1 -12
- package/dist/core/flow-manager.js.map +1 -1
- package/dist/core/i18n-data/en.d.ts +6 -0
- package/dist/core/i18n-data/en.d.ts.map +1 -1
- package/dist/core/i18n-data/en.js +63 -1
- package/dist/core/i18n-data/en.js.map +1 -1
- package/dist/core/i18n-data/zh-CN.d.ts +6 -0
- package/dist/core/i18n-data/zh-CN.d.ts.map +1 -1
- package/dist/core/i18n-data/zh-CN.js +63 -1
- package/dist/core/i18n-data/zh-CN.js.map +1 -1
- package/dist/core/i18n.js +4 -4
- package/dist/core/i18n.js.map +1 -1
- package/dist/core/migrate.d.ts +1 -1
- package/dist/core/migrate.d.ts.map +1 -1
- package/dist/core/migrate.js +4 -4
- package/dist/core/migrate.js.map +1 -1
- package/dist/core/public-logger.js +1 -1
- package/dist/core/public-logger.js.map +1 -1
- package/dist/core/template-loader.d.ts.map +1 -1
- package/dist/core/template-loader.js +46 -14
- package/dist/core/template-loader.js.map +1 -1
- package/dist/core/update.d.ts.map +1 -1
- package/dist/core/update.js +42 -10
- package/dist/core/update.js.map +1 -1
- package/dist/core/workspace/identity.js.map +1 -1
- package/dsh/ADAPTER.md +72 -13
- package/dsh/README.md +20 -11
- package/dsh/cordis.patch.yml +23 -3
- package/dsh/lib/adapters/guard-state.js +326 -0
- package/dsh/lib/adapters/session-cwd-registry.js +82 -0
- package/dsh/lib/adapters/sessions.js +7 -3
- package/dsh/lib/adapters/workflow-gate.js +52 -2
- package/dsh/lib/adapters/workspace.js +4 -2
- package/dsh/lib/guard.js +2732 -206
- package/dsh/lib/index.js +48 -4
- package/dsh/lib/tools/index.js +54 -1
- package/dsh/package.json +2 -2
- package/package.json +1 -1
|
@@ -25,6 +25,12 @@ export declare const setup: I18nDomain;
|
|
|
25
25
|
export declare const metrics: I18nDomain;
|
|
26
26
|
export declare const repl: I18nDomain;
|
|
27
27
|
export declare const req: I18nDomain;
|
|
28
|
+
/**
|
|
29
|
+
* Property names inside this domain always carry the `html.` prefix and `key` holds the full
|
|
30
|
+
* `dashboard.html.*` key; a bare `title` property would map to `dashboard.title` and silently
|
|
31
|
+
* collide with op-003's command copy keys (same domain).
|
|
32
|
+
*/
|
|
33
|
+
export declare const dashboard: I18nDomain;
|
|
28
34
|
export declare const allDomains: Array<{
|
|
29
35
|
name: string;
|
|
30
36
|
domain: I18nDomain;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/core/i18n-data/en.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/core/i18n-data/en.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG7C,eAAO,MAAM,MAAM,EAAE,UAgCpB,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,UAgXlB,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,UAyBlB,CAAC;AAGF,eAAO,MAAM,MAAM,EAAE,UAmCpB,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,UA8CrB,CAAC;AAGF,eAAO,MAAM,KAAK,EAAE,UAqCnB,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,UAsClB,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,UAiCvB,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,UAcrB,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,UAAe,CAAC;AAGtC,eAAO,MAAM,IAAI,EAAE,UAMlB,CAAC;AAGF,eAAO,MAAM,YAAY,EAAE,UAAe,CAAC;AAG3C,eAAO,MAAM,IAAI,EAAE,UAoBlB,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,UAsXlB,CAAC;AAGF,eAAO,MAAM,MAAM,EAAE,UA+BpB,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,UA4BrB,CAAC;AAGF,eAAO,MAAM,KAAK,EAAE,UAqBnB,CAAC;AAGF,eAAO,MAAM,KAAK,EAAE,UAiCnB,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,UAUrB,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,UAMlB,CAAC;AAGF,eAAO,MAAM,GAAG,EAAE,UA4GjB,CAAC;AAGF;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,UA4CvB,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,UAAU,CAAA;CAAE,CAuBlE,CAAC"}
|
|
@@ -365,8 +365,13 @@ export const flow = {
|
|
|
365
365
|
'chore.endTmpl': { key: 'flow.chore.endTmpl', zh: '', en: '✓ Chore closed ({id})' },
|
|
366
366
|
'chore.noActiveTmpl': { key: 'flow.chore.noActiveTmpl', zh: '', en: 'No active chore (nothing to close).' },
|
|
367
367
|
'chore.busyTmpl': { key: 'flow.chore.busyTmpl', zh: '', en: 'Active stage(s) present ({stages}); chore is only for micro-changes without an active stage. Use a fast/full stage.' },
|
|
368
|
-
'chore.needNote': { key: 'flow.chore.needNote', zh: '', en: 'Usage: openfeel chore "<note>" [--ttl-min
|
|
368
|
+
'chore.needNote': { key: 'flow.chore.needNote', zh: '', en: 'Usage: openfeel chore "<note>" [--ttl-min 1..30] [--source]; or `--end` / `--status`. Chore is human-only (open it from an external terminal); by default only docs/static assets are writable — add `--source` to allow source writes.' },
|
|
369
|
+
'chore.sourceStartedTmpl': { key: 'flow.chore.sourceStartedTmpl', zh: '', en: '✓ Chore opened (source writes explicitly allowed): {note} ({id}; source and docs writable for {ttl} min; close with `openfeel chore --end`)' },
|
|
370
|
+
'chore.ttlTooLong': { key: 'flow.chore.ttlTooLong', zh: '', en: '`--ttl-min` is above the cap: a chore window lasts at most {max} min (narrowed policy); it can only be shortened to 1..{max} min.' },
|
|
371
|
+
'chore.ttlInvalid': { key: 'flow.chore.ttlInvalid', zh: '', en: '`--ttl-min` is invalid: only an integer in 1..{max} is accepted (e.g. `--ttl-min 10`); no window was opened.' },
|
|
369
372
|
'chore.statusActiveTmpl': { key: 'flow.chore.statusActiveTmpl', zh: '', en: 'Chore active: {id} — {note} (expires {expires})' },
|
|
373
|
+
'chore.statusSourceAllowedTmpl': { key: 'flow.chore.statusSourceAllowedTmpl', zh: '', en: 'Source writes: allowed (`--source`); {remaining} min left.' },
|
|
374
|
+
'chore.statusSourceDeniedTmpl': { key: 'flow.chore.statusSourceDeniedTmpl', zh: '', en: 'Source writes: not allowed (default window covers docs/static assets only); {remaining} min left. To change source, the human must run `openfeel chore --source "<note>"` from an external terminal.' },
|
|
370
375
|
'chore.statusExpiredTmpl': { key: 'flow.chore.statusExpiredTmpl', zh: '', en: 'Chore expired: {id} (reopen, or use the static-asset/doc channel).' },
|
|
371
376
|
'chore.statusNoneTmpl': { key: 'flow.chore.statusNoneTmpl', zh: '', en: 'No chore (static assets/docs remain writable when no stage is active).' },
|
|
372
377
|
// dev status sync (v1.5.0)
|
|
@@ -791,6 +796,11 @@ export const help = {
|
|
|
791
796
|
'project': { key: 'help.project', zh: '', en: 'Project management and overview' },
|
|
792
797
|
'project.overview': { key: 'help.project.overview', zh: '', en: 'Scan project structure in real-time, output structured overview' },
|
|
793
798
|
'project.overview.json': { key: 'help.project.overview.json', zh: '', en: 'Output as JSON (single JSON document with schemaVersion)' },
|
|
799
|
+
// dashboard (v1.5.10 / stage-125 op-003)
|
|
800
|
+
'dashboard': { key: 'help.dashboard', zh: '', en: 'Generate the project dashboard (single-file HTML snapshot; zero external links, zero scripts)' },
|
|
801
|
+
'dashboard.json': { key: 'help.dashboard.json', zh: '', en: 'Output as JSON (single JSON document with schemaVersion)' },
|
|
802
|
+
'dashboard.out': { key: 'help.dashboard.out', zh: '', en: 'Output file path (default <project root>/.openfeel/tmp/dashboard.html)' },
|
|
803
|
+
'dashboard.open': { key: 'help.dashboard.open', zh: '', en: 'Open the generated dashboard in the system default browser (opens the default artifact when --out is omitted)' },
|
|
794
804
|
'plan': { key: 'help.plan', zh: '', en: 'Plan management' },
|
|
795
805
|
'plan.stage': { key: 'help.plan.stage', zh: '', en: 'Work stage management' },
|
|
796
806
|
'plan.stage.add': { key: 'help.plan.stage.add', zh: '', en: 'Add a work stage (full entry: creates dir + overview/status + registers flow.json)' },
|
|
@@ -1250,6 +1260,57 @@ export const req = {
|
|
|
1250
1260
|
'rollover.notInVersionTmpl': { key: 'req.rollover.notInVersionTmpl', zh: '', en: '{id} targets version {current}, not {from}; cannot roll over' },
|
|
1251
1261
|
'rollover.terminalTmpl': { key: 'req.rollover.terminalTmpl', zh: '', en: '{id} is in a terminal status ({status}); cannot roll over' },
|
|
1252
1262
|
};
|
|
1263
|
+
/* ==================== dashboard domain: dashboard HTML rendering copy (v1.5.10 / stage-125 op-002) ==================== */
|
|
1264
|
+
/**
|
|
1265
|
+
* Property names inside this domain always carry the `html.` prefix and `key` holds the full
|
|
1266
|
+
* `dashboard.html.*` key; a bare `title` property would map to `dashboard.title` and silently
|
|
1267
|
+
* collide with op-003's command copy keys (same domain).
|
|
1268
|
+
*/
|
|
1269
|
+
export const dashboard = {
|
|
1270
|
+
// Document title
|
|
1271
|
+
'html.title': { key: 'dashboard.html.title', zh: '', en: 'OpenFeel Project Dashboard' },
|
|
1272
|
+
// KPI strip (5)
|
|
1273
|
+
'html.kpi.total': { key: 'dashboard.html.kpi.total', zh: '', en: 'Requirements' },
|
|
1274
|
+
'html.kpi.done': { key: 'dashboard.html.kpi.done', zh: '', en: 'Done' },
|
|
1275
|
+
'html.kpi.activeStages': { key: 'dashboard.html.kpi.activeStages', zh: '', en: 'Active stages' },
|
|
1276
|
+
'html.kpi.blockingReviews': { key: 'dashboard.html.kpi.blockingReviews', zh: '', en: 'Blocking reviews' },
|
|
1277
|
+
'html.kpi.archived': { key: 'dashboard.html.kpi.archived', zh: '', en: 'Archived versions' },
|
|
1278
|
+
// Section titles (7)
|
|
1279
|
+
'html.section.requirements': { key: 'dashboard.html.section.requirements', zh: '', en: 'Requirement board' },
|
|
1280
|
+
'html.section.stages': { key: 'dashboard.html.section.stages', zh: '', en: 'Stages' },
|
|
1281
|
+
'html.section.releases': { key: 'dashboard.html.section.releases', zh: '', en: 'Release gates' },
|
|
1282
|
+
'html.section.archived': { key: 'dashboard.html.section.archived', zh: '', en: 'Archive history' },
|
|
1283
|
+
'html.section.blockingReviews': { key: 'dashboard.html.section.blockingReviews', zh: '', en: 'Blocking reviews' },
|
|
1284
|
+
'html.section.health': { key: 'dashboard.html.section.health', zh: '', en: 'Pipeline health' },
|
|
1285
|
+
'html.section.metrics': { key: 'dashboard.html.section.metrics', zh: '', en: 'Metrics' },
|
|
1286
|
+
// Table headers (9)
|
|
1287
|
+
'html.th.requirement': { key: 'dashboard.html.th.requirement', zh: '', en: 'Requirement' },
|
|
1288
|
+
'html.th.status': { key: 'dashboard.html.th.status', zh: '', en: 'Status' },
|
|
1289
|
+
'html.th.priority': { key: 'dashboard.html.th.priority', zh: '', en: 'Priority' },
|
|
1290
|
+
'html.th.version': { key: 'dashboard.html.th.version', zh: '', en: 'Version' },
|
|
1291
|
+
'html.th.owner': { key: 'dashboard.html.th.owner', zh: '', en: 'Owner' },
|
|
1292
|
+
'html.th.phase': { key: 'dashboard.html.th.phase', zh: '', en: 'Phase' },
|
|
1293
|
+
'html.th.ops': { key: 'dashboard.html.th.ops', zh: '', en: 'Ops progress' },
|
|
1294
|
+
'html.th.count': { key: 'dashboard.html.th.count', zh: '', en: 'Count' },
|
|
1295
|
+
'html.th.stage': { key: 'dashboard.html.th.stage', zh: '', en: 'Stage ID' },
|
|
1296
|
+
// Empty state + "no unfinished items" (2)
|
|
1297
|
+
'html.empty': { key: 'dashboard.html.empty', zh: '', en: '(no data)' },
|
|
1298
|
+
'html.none': { key: 'dashboard.html.none', zh: '', en: '—' },
|
|
1299
|
+
// Footer (4)
|
|
1300
|
+
'html.footer.generatedAt': { key: 'dashboard.html.footer.generatedAt', zh: '', en: 'Generated at' },
|
|
1301
|
+
'html.footer.generator': { key: 'dashboard.html.footer.generator', zh: '', en: 'Generator' },
|
|
1302
|
+
'html.footer.projectRoot': { key: 'dashboard.html.footer.projectRoot', zh: '', en: 'Project root' },
|
|
1303
|
+
'html.footer.note': { key: 'dashboard.html.footer.note', zh: '', en: 'This file is a server-rendered single-file snapshot dashboard: no external links, no network requests, no executable scripts.' },
|
|
1304
|
+
// Command copy (v1.5.10 / stage-125 op-003; property name is the `dashboard.*` key tail, no html. prefix)
|
|
1305
|
+
'title': { key: 'dashboard.title', zh: '', en: 'OpenFeel Project Dashboard' },
|
|
1306
|
+
'statsTmpl': { key: 'dashboard.statsTmpl', zh: '', en: 'Requirements {requirements} / Stages {stages} / Blocking reviews {blockingReviews}' },
|
|
1307
|
+
'writtenTmpl': { key: 'dashboard.writtenTmpl', zh: '', en: 'Dashboard written: {path}' },
|
|
1308
|
+
'openFailedTmpl': { key: 'dashboard.openFailedTmpl', zh: '', en: 'Could not open the browser automatically: {path}' },
|
|
1309
|
+
'jsonOutConflict': { key: 'dashboard.jsonOutConflict', zh: '', en: '--json and --out cannot be combined (--json emits a single document and writes no file)' },
|
|
1310
|
+
'jsonOpenConflict': { key: 'dashboard.jsonOpenConflict', zh: '', en: '--json and --open cannot be combined (--json starts no external process)' },
|
|
1311
|
+
'outEmpty': { key: 'dashboard.outEmpty', zh: '', en: 'The --out path must not be empty' },
|
|
1312
|
+
'outIsDirectory': { key: 'dashboard.outIsDirectory', zh: '', en: 'The --out path is an existing directory: {path}' },
|
|
1313
|
+
};
|
|
1253
1314
|
/* ==================== 聚合导出 ==================== */
|
|
1254
1315
|
export const allDomains = [
|
|
1255
1316
|
{ name: 'common', domain: common },
|
|
@@ -1273,5 +1334,6 @@ export const allDomains = [
|
|
|
1273
1334
|
{ name: 'metrics', domain: metrics },
|
|
1274
1335
|
{ name: 'repl', domain: repl },
|
|
1275
1336
|
{ name: 'req', domain: req },
|
|
1337
|
+
{ name: 'dashboard', domain: dashboard },
|
|
1276
1338
|
];
|
|
1277
1339
|
//# sourceMappingURL=en.js.map
|