@gonovus-ai/spec-flow-cli 0.6.2 → 0.7.0
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 +48 -4
- package/dist/authentication-command-topology.js.map +1 -1
- package/dist/bin.js.map +1 -1
- package/dist/cli.js +879 -295
- package/dist/cli.js.map +1 -1
- package/dist/client-identity.d.ts +1 -1
- package/dist/client-identity.js +3 -1
- package/dist/client-identity.js.map +1 -1
- package/dist/commands/work-item-output.d.ts +19 -5
- package/dist/commands/work-item-output.js +47 -9
- package/dist/commands/work-item-output.js.map +1 -1
- package/dist/credential-store.js +6 -7
- package/dist/credential-store.js.map +1 -1
- package/dist/custom-field-color-commands.js +13 -3
- package/dist/custom-field-color-commands.js.map +1 -1
- package/dist/default-api-origin.js.map +1 -1
- package/dist/github-account-commands.js +116 -20
- package/dist/github-account-commands.js.map +1 -1
- package/dist/github-connection-commands.js +284 -36
- package/dist/github-connection-commands.js.map +1 -1
- package/dist/github-import-commands.js +41 -11
- package/dist/github-import-commands.js.map +1 -1
- package/dist/http-origin.js +1 -1
- package/dist/http-origin.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +103 -35
- package/dist/index.js.map +1 -1
- package/dist/input/text-source.js +8 -2
- package/dist/input/text-source.js.map +1 -1
- package/dist/node-version.js.map +1 -1
- package/dist/product-map-commands.js +220 -37
- package/dist/product-map-commands.js.map +1 -1
- package/dist/program.js +5 -2
- package/dist/program.js.map +1 -1
- package/dist/project-administration-commands.js +36 -8
- package/dist/project-administration-commands.js.map +1 -1
- package/dist/runtime/errors.js +21 -3
- package/dist/runtime/errors.js.map +1 -1
- package/dist/runtime/execute.js +16 -2
- package/dist/runtime/execute.js.map +1 -1
- package/dist/runtime/identity.d.ts +8 -80
- package/dist/runtime/identity.js +21 -4
- package/dist/runtime/identity.js.map +1 -1
- package/dist/runtime/output.js +6 -1
- package/dist/runtime/output.js.map +1 -1
- package/dist/runtime/session.js +44 -11
- package/dist/runtime/session.js.map +1 -1
- package/dist/screen-image-commands.js +66 -14
- package/dist/screen-image-commands.js.map +1 -1
- package/dist/spec-discussion-commands.js +87 -24
- package/dist/spec-discussion-commands.js.map +1 -1
- package/dist/spec-owner-commands.js +22 -7
- package/dist/spec-owner-commands.js.map +1 -1
- package/dist/user-api-key-commands.js +92 -20
- package/dist/user-api-key-commands.js.map +1 -1
- package/dist/work-item-asset-commands.js +23 -6
- package/dist/work-item-asset-commands.js.map +1 -1
- package/dist/work-item-delivery-commands.d.ts +3 -0
- package/dist/work-item-delivery-commands.js +135 -0
- package/dist/work-item-delivery-commands.js.map +1 -0
- package/dist/work-item-exchange-file.js +22 -8
- package/dist/work-item-exchange-file.js.map +1 -1
- package/dist/work-item-query-commands.js +420 -14
- package/dist/work-item-query-commands.js.map +1 -1
- package/dist/work-item-resource-link-commands.js +105 -28
- package/dist/work-item-resource-link-commands.js.map +1 -1
- package/dist/work-item-thread-commands.d.ts +3 -0
- package/dist/work-item-thread-commands.js +101 -0
- package/dist/work-item-thread-commands.js.map +1 -0
- package/dist/work-item-watcher-commands.d.ts +20 -0
- package/dist/work-item-watcher-commands.js +93 -0
- package/dist/work-item-watcher-commands.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -597,7 +597,7 @@ Import accepts a JSON file with a `tasks` array, at most 1000 tasks and 1 MiB.
|
|
|
597
597
|
File Project metadata is descriptive; `--project-id` always selects the target.
|
|
598
598
|
The server applies ordinary creation and assignment authorization, membership,
|
|
599
599
|
workflow, default Custom Field, and identity rules. Unknown statuses become
|
|
600
|
-
|
|
600
|
+
the Project's real Backlog column; unknown priorities become `no-priority`; absent or empty priority
|
|
601
601
|
becomes `low`. Labels are exported but not imported, matching pinned Kaneo;
|
|
602
602
|
nonempty imported labels produce an explicit warning.
|
|
603
603
|
|
|
@@ -887,7 +887,12 @@ specflow work-item view list --project-id PROJECT
|
|
|
887
887
|
specflow work-item view save --project-id PROJECT --input '{"id":"UUID","name":"Mine","layout":"list","groupedByStatus":false,"filters":{"assignees":[],"customFields":{},"dueDates":[],"labels":[],"priorities":[],"search":"","sortBy":"number","sortOrder":"asc","statuses":[]}}'
|
|
888
888
|
specflow work-item view save --project-id PROJECT --input '<complete view JSON without version>' --expected-version '"1"'
|
|
889
889
|
specflow work-item statistics --project-id PROJECT --query '{"view":"list","assignee":"USER_ID","priority":"high,urgent"}'
|
|
890
|
-
specflow workspace my-work-items --workspace-id WORKSPACE --limit 50 [--cursor CURSOR]
|
|
890
|
+
specflow workspace my-work-items --workspace-id WORKSPACE --limit 50 [--cursor CURSOR] [--query '{"scope":"created","project":"PAY,CHK","status":["In review","Backlog"],"completed":"pastWeek"}']
|
|
891
|
+
specflow workspace my-work-items-statistics --workspace-id WORKSPACE [--query '<same selection>']
|
|
892
|
+
specflow workspace my-work-items-filter-options --workspace-id WORKSPACE
|
|
893
|
+
specflow workspace my-work-items-view list --workspace-id WORKSPACE
|
|
894
|
+
specflow workspace my-work-items-view save --workspace-id WORKSPACE --view-id UUID --input '{"name":"Mine","layout":"board","position":0,"filters":{"scope":"assigned","projects":[],"assignees":[],"customFields":{},"dueDates":[],"labels":[],"priorities":[],"search":"","sortBy":"dueDate","sortOrder":"asc","statuses":[]},"display":null}' [--expected-version 1]
|
|
895
|
+
specflow workspace my-work-items-view delete --workspace-id WORKSPACE --view-id UUID --expected-version 2
|
|
891
896
|
specflow work-item-custom-field create --project-id PROJECT --name Risk --type dropdown --option High --option Low --option-colors '["danger",null]'
|
|
892
897
|
specflow work-item-custom-field option-colors --project-id PROJECT --field-id FIELD --colors '["warning",null]' --expected-version '"1"' --idempotency-key UUID
|
|
893
898
|
specflow work-item-custom-field option-colors --project-id PROJECT --field-id FIELD --clear --expected-version '"2"' --idempotency-key UUID
|
|
@@ -902,8 +907,14 @@ there is no client page counting. Query accepts existing server selection keys:
|
|
|
902
907
|
`view`, `repositoryConnectionId`, `assignee`, `customFields`, `due`, `dueAfter`,
|
|
903
908
|
`dueBefore`, `label`, `priority`, `search`, `sortBy`, `sortOrder`, `startAfter`,
|
|
904
909
|
`startBefore`, `status`. CSV and customFields JSON strings retain server semantics.
|
|
905
|
-
|
|
906
|
-
|
|
910
|
+
My Work Items reads the current User's work in every readable Active Project as one
|
|
911
|
+
`workItems` page in a global order, with `nextCursor` and `hiddenCompleted`; retain the
|
|
912
|
+
server cursor. `scope` is `assigned` (default) or `created`; `completed` defaults to
|
|
913
|
+
`none` (unfinished work). Statuses are merged names (same-named columns across
|
|
914
|
+
Projects are one status) and `customFields` keys are `type:name`. Statistics and
|
|
915
|
+
filter options use the same selection. Personal views belong to the caller alone;
|
|
916
|
+
`--view-id` is a new UUID or a built-in id (`assigned`, `created`, `due-this-week`)
|
|
917
|
+
whose saved row overrides that built-in view.
|
|
907
918
|
Colors align one-to-one with dropdown options; null entries clear individual colors,
|
|
908
919
|
`--clear` clears all. The server validates color values, lengths and field type.
|
|
909
920
|
Assistant can discover views, statistics/trends, option colors and my unfinished
|
|
@@ -988,3 +999,36 @@ never fetch a newer version and overwrite automatically. Honor `retryAfter` on 4
|
|
|
988
999
|
`LOCAL_OUTPUT_FAILED` means local formatting/output failed after possible server
|
|
989
1000
|
success: read the resource before deliberately retrying. It never permits a blind
|
|
990
1001
|
write retry. Diagnostics stay on stderr and stdout remains business JSON.
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
### Workflow lifecycle and archive commands
|
|
1005
|
+
|
|
1006
|
+
Workflow Columns persist category (`backlog`, `unstarted`, `started`, `completed`,
|
|
1007
|
+
`canceled`) independently of icon (`backlog`, `todo`, `in-progress`, `in-review`,
|
|
1008
|
+
`done`, `canceled`, `duplicate`). Read-only `isFinal` means completed category.
|
|
1009
|
+
Use `workflow-column create/update --category ... --icon ...`; `--clear-icon`
|
|
1010
|
+
resets the icon to its category default. The former `--final`/`--not-final` write
|
|
1011
|
+
flags are replaced by `--category`. New Projects seed seven stable default slugs;
|
|
1012
|
+
creation without status goes to Backlog. Archive is a separate command:
|
|
1013
|
+
|
|
1014
|
+
```sh
|
|
1015
|
+
specflow work-item archive --project-id PROJECT --work-item-id APP-1 --expected-version '"3"'
|
|
1016
|
+
specflow work-item unarchive --project-id PROJECT --work-item-id APP-1 --expected-version '"4"'
|
|
1017
|
+
```
|
|
1018
|
+
|
|
1019
|
+
Both commands reuse the generated key on the bounded transport retry; they never
|
|
1020
|
+
reread and overwrite a newer version. Unarchive restores the retained column
|
|
1021
|
+
identity or falls back to the first unstarted column. If no such column exists,
|
|
1022
|
+
read the workflow and fix it before retrying. Numeric status keys belong to the
|
|
1023
|
+
frontend and bind stable default slugs, not column order. Personal status queries
|
|
1024
|
+
use the column name `Backlog`; only archive retains the virtual filter syntax.
|
|
1025
|
+
|
|
1026
|
+
### Agent display identity
|
|
1027
|
+
|
|
1028
|
+
`specflow --server https://your-specflow.example auth login --agent cursor`
|
|
1029
|
+
records the host on the new CLI Session. Supported display identifiers are
|
|
1030
|
+
`claude-code`, `codex`, `cursor`, `gemini-cli`, and `other`. The explicit option
|
|
1031
|
+
overrides environment detection. It is optional client-reported provenance, not
|
|
1032
|
+
an authenticated Agent identity or permission grant; every operation still acts
|
|
1033
|
+
with the approving User's current authority. Account Connect an Agent displays
|
|
1034
|
+
this metadata and can revoke that Session independently.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication-command-topology.js","sourceRoot":"","sources":["../src/authentication-command-topology.ts"],"names":[],"mappings":"AAQA,MAAM,UAAU,gCAAgC,
|
|
1
|
+
{"version":3,"file":"authentication-command-topology.js","sourceRoot":"","sources":["../src/authentication-command-topology.ts"],"names":[],"mappings":"AAQA,MAAM,UAAU,gCAAgC,CAAC,OAAgB;IAC/D,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC;IAC5E,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,6BAA6B,CAAC;QACvE,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,gCAAgC,CAAC;QAC5E,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,iCAAiC,CAAC;KAC9E,CAAC;AACJ,CAAC"}
|
package/dist/bin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bin.js","sourceRoot":"","sources":["../src/bin.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE;IAC9B,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACrB,OAAO,CAAC,MAAM,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"bin.js","sourceRoot":"","sources":["../src/bin.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE;IAC9B,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACrB,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,oGAAoG,EAAE,MAAM,EAAE,mBAAmB,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,CAChO,CAAC;AACJ,CAAC,CAAC,CAAC;AACH,OAAO,CAAC,QAAQ,GAAG,MAAM,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"}
|