@hacksmith/doraval 0.2.43 → 0.2.44

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 CHANGED
@@ -168,7 +168,7 @@ Exits with code `1` when errors are found. Pipe `--format json` output to `jq` o
168
168
 
169
169
  ## Providers
170
170
 
171
- Claude Code validators built in. Cursor, Codex, and Windsurf coming next.
171
+ Claude Code, Cursor, Codex, and Copilot CLI validators and scaffolding built in. OpenCode support is experimental.
172
172
 
173
173
  ## Links
174
174
 
package/bin/doraval.js CHANGED
@@ -599,7 +599,7 @@ var init_dist = __esm(() => {
599
599
  var require_package = __commonJS((exports, module) => {
600
600
  module.exports = {
601
601
  name: "@hacksmith/doraval",
602
- version: "0.2.43",
602
+ version: "0.2.44",
603
603
  author: "Saif",
604
604
  repository: {
605
605
  type: "git",
@@ -1719,19 +1719,17 @@ var init_list = __esm(() => {
1719
1719
  if (!args.all) {
1720
1720
  allEntries = allEntries.filter((e) => e.status === "active");
1721
1721
  }
1722
- const staged = [];
1722
+ let staged = [];
1723
1723
  try {
1724
1724
  const pdir = getPendingProjectDir(project);
1725
1725
  if (existsSync4(pdir)) {
1726
1726
  const files = readdirSync(pdir).filter((f) => f.endsWith(".md") && f !== ".gitkeep");
1727
- for (const f of files) {
1727
+ const stagedResults = await Promise.all(files.map(async (f) => {
1728
1728
  const txt = await Bun.file(join3(pdir, f)).text();
1729
1729
  const parsed = parseJournalEntries(txt);
1730
- for (const e of parsed) {
1731
- e._staged = true;
1732
- staged.push(e);
1733
- }
1734
- }
1730
+ return parsed.map((e) => ({ ...e, _staged: true }));
1731
+ }));
1732
+ staged = stagedResults.flat();
1735
1733
  }
1736
1734
  } catch {}
1737
1735
  if (args.format === "json") {
@@ -7746,6 +7744,7 @@ var init_completion = __esm(() => {
7746
7744
  "providers",
7747
7745
  "skill",
7748
7746
  "journal",
7747
+ "ui",
7749
7748
  "claude",
7750
7749
  "codex",
7751
7750
  "cursor",
@@ -7801,7 +7800,7 @@ complete -F _doraval_completions doraval
7801
7800
 
7802
7801
  _doraval() {
7803
7802
  local -a commands sub
7804
- commands=(validate init bump update providers skill journal claude codex cursor copilot)
7803
+ commands=(validate init bump update providers skill journal ui claude codex cursor copilot)
7805
7804
  _arguments -C \\
7806
7805
  '1: :->cmd' \\
7807
7806
  '*::arg:->args'
@@ -7834,7 +7833,7 @@ _doraval "$@"
7834
7833
  } else if (shell === "fish") {
7835
7834
  console.log(`# doraval fish completion
7836
7835
  complete -c doraval -f
7837
- complete -c doraval -n '__fish_use_subcommand' -a 'validate init bump update providers skill journal claude codex cursor copilot'
7836
+ complete -c doraval -n '__fish_use_subcommand' -a 'validate init bump update providers skill journal ui claude codex cursor copilot'
7838
7837
 
7839
7838
  complete -c doraval -n '__fish_seen_subcommand_from skill' -a 'validate drift judge'
7840
7839
  complete -c doraval -n '__fish_seen_subcommand_from journal' -a 'init list context hook update add sync'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hacksmith/doraval",
3
- "version": "0.2.43",
3
+ "version": "0.2.44",
4
4
  "author": "Saif",
5
5
  "repository": {
6
6
  "type": "git",