@krapht/ork 1.0.0-alpha.15 → 1.0.0-alpha.16

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.
Files changed (46) hide show
  1. package/README.md +10 -4
  2. package/dist/{__build_info__-Bsb1kjgF.mjs → __build_info__-DcRdK0Du.mjs} +25 -6
  3. package/dist/apply-Mb0fNpCX.mjs +17 -0
  4. package/dist/{attach-CPespxlQ.mjs → attach-7lB5_jpr.mjs} +5 -5
  5. package/dist/{attach-BHO3X3cf.mjs → attach-B-FeE1dJ.mjs} +46 -8
  6. package/dist/bin.mjs +238 -369
  7. package/dist/{brief-za0ozN_E.mjs → brief-BvMtIFio.mjs} +4 -4
  8. package/dist/{builtin-files-2bHf76x-.mjs → builtin-files-BRSOObAv.mjs} +1 -1
  9. package/dist/command-tree-BkSYWmYJ.mjs +63 -0
  10. package/dist/{completion-CQ2UYKuJ.mjs → completion-Cgb2qPPh.mjs} +45 -6
  11. package/dist/{context-BNqDw9z1.mjs → context-BN9A2Nnu.mjs} +3 -3
  12. package/dist/{find-BYLlszqj.mjs → find-mLYsR0uC.mjs} +2 -2
  13. package/dist/flags-CdgIH1L6.mjs +230 -0
  14. package/dist/{follow-ups-B4GJ3Vzw.mjs → follow-ups-DxCsOby1.mjs} +59 -24
  15. package/dist/{format-C8MsFj8_.mjs → format-hiDvtNGM.mjs} +17 -4
  16. package/dist/{help-groups-CQ98mLjF.mjs → help-groups-hB6kY34d.mjs} +1 -63
  17. package/dist/{in-a-run-Bp0k0J09.mjs → in-a-run-a447hxq8.mjs} +1 -1
  18. package/dist/{install-DWtXTq4y.mjs → install-23g_1ngs.mjs} +1 -1
  19. package/dist/{limits-B1qzS4cX.mjs → limits-C_Xz_t3C.mjs} +1 -1
  20. package/dist/{mcp-BOrVkyhN.mjs → mcp-CWng9I9n.mjs} +6 -6
  21. package/dist/{once-C1fL3GVo.mjs → once-lvwcWfVf.mjs} +3 -3
  22. package/dist/{pause-DOMK-R8V.mjs → pause-Cy11KrXK.mjs} +3 -3
  23. package/dist/{post-BzA6Qobq.mjs → post-C9soCx7i.mjs} +5 -3
  24. package/dist/print-BaWiWf4v.mjs +19 -0
  25. package/dist/project-records-BRiyQzUo.mjs +230 -0
  26. package/dist/{relay-OWuu4fib.mjs → relay-C0M1TWMB.mjs} +1 -1
  27. package/dist/{run--4-1xAF2.mjs → run-B-j3Qxqc.mjs} +26 -13
  28. package/dist/{run-CiPsW9Kf.mjs → run-D_u9V_Ve.mjs} +1 -1
  29. package/dist/{send-CnNNW-ot.mjs → send-qBxj0JbJ.mjs} +2 -2
  30. package/dist/{src-B9zWIVqo.mjs → src-CXBmaGwS.mjs} +93 -72
  31. package/dist/{src-DcrhgipG.mjs → src-DHDQ0itC.mjs} +91 -42
  32. package/dist/{src-Dr_fTSu-.mjs → src-DN-RPsil.mjs} +781 -502
  33. package/dist/{src-DQKz2eOH.mjs → src-nXLIwDrt.mjs} +9 -12
  34. package/dist/{store-oKJ-cCf3.mjs → store-Dyr1mP8K.mjs} +1 -1
  35. package/dist/ui/assets/app-BPSCxb_l.css +1 -0
  36. package/dist/ui/assets/{app-Drp8Dm9y.js → app-CnNRowFn.js} +40 -40
  37. package/dist/ui/assets/{index-BtwkftKe.js → index-CVzwYlz3.js} +2 -2
  38. package/dist/ui/index.html +1 -1
  39. package/dist/{ui-CzKlsCnm.mjs → ui-DLrSt5ny.mjs} +3 -3
  40. package/dist/{usage-DHGNk2JL.mjs → usage-CxmpYYO4.mjs} +61 -107
  41. package/dist/{validate-Bs_gg22g.mjs → validate-BVrT43GO.mjs} +35 -8
  42. package/dist/{watch-CCCfw3n7.mjs → watch-mkLm4t9D.mjs} +5 -5
  43. package/dist/{workflows-CW28ZU-z.mjs → workflows-Bvl2Fquu.mjs} +2 -2
  44. package/dist/{worktrees-CyE8aF6j.mjs → worktrees-DOOCoS2w.mjs} +49 -20
  45. package/package.json +8 -4
  46. package/dist/ui/assets/app-Bdc6OBeZ.css +0 -1
@@ -1,9 +1,9 @@
1
- import { At as walkSummary, Br as WorkflowEditSchema, C as capsHere, Cn as liveStatus, Ct as explainWorkflowText, D as runningScript, Dr as placeFor, E as runningRunIds, En as runStatus, Er as placeFiles, H as isNodeEvent, Hn as END_KINDS, Hr as newWorkflowText, In as loadProject, Jn as planPost, Jr as parseWorkflow, Mn as nestItems, Mr as inside, N as triggersReport, O as detectInstaller, Ot as checkWorkflowText, Pr as LESSON_CAP_TOKENS, S as usageReport, Sn as tellLiveRun, Sr as loadAgents, T as releaseNotes, Tn as pausedOf, U as openStore, Ur as readDocument, V as activeTree, Vr as applyEdits, W as storePath, Xn as sendPost, Yn as runGh, Zr as EdgeInputSchema, _ as keyOf, _n as linkNodes, _t as followEvents, a as planRemove, b as stepPrunes, bn as requestPause, bt as limitsReport, d as planLine, ei as expandEdge, en as nodeSays, f as removeRefusal, g as cleanStep, gt as detachRun, h as applyClean, i as lostWork, jr as workflowDirOf, kn as processAlive, kr as runDirOf, kt as walkChecks, l as labelOf, ln as startFollowUpChecks, lt as answerDecision, mn as DEFAULT_FOLLOW_UPS_RULE, mt as resumable, ni as NodeSchema, o as projectHead, on as checkFollowUpsDue, or as readCondition, p as stateParts, pn as liveSessionOf, pt as detachResume, qn as DISCUSSIONS, qr as renderJsonSchema, r as applyRemove, s as readWorktrees, u as mergeStateOf, ut as pendingDecisions, v as planClean, vn as unlinkNodes, w as planUpgrade, xn as requestStop, y as stepActs, yn as requestContinue, zn as endOf, zr as skillsIn } from "./src-Dr_fTSu-.mjs";
2
- import { a as acceptItem, c as feedbackActions, i as recordNote, l as openFixRun, n as previewPost, o as lessonPlaceOf, s as placeOf$1, t as runInstall } from "./install-DWtXTq4y.mjs";
3
- import { _ as dueCause, a as registryShown, c as fetchLatest, d as readUpdateCache, f as refreshUpdateCache, g as changeFollowUp, h as nodeSession, i as registryOf, l as newerVersion, m as writeUpdateCache, o as updateSwitchOff, p as updateCachePath, s as checkDue, v as findFollowUp, y as followUpActions } from "./__build_info__-Bsb1kjgF.mjs";
4
- import { t as postFollowUpMessage } from "./post-BzA6Qobq.mjs";
5
- import { t as builtinProblem } from "./builtin-files-2bHf76x-.mjs";
6
- import { n as newRunId, t as findRun } from "./find-BYLlszqj.mjs";
1
+ import { $n as DISCUSSIONS, Cn as linkNodes, D as triggersReport, Dn as requestStop, En as requestPause, F as activeTree, Fn as processAlive, Gn as endOf, Gt as applyClean, Hn as loadProject, I as isNodeEvent, Ir as runDirOf, Jn as END_KINDS, Jr as applyEdits, Jt as planClean, Kr as skillsIn, Kt as cleanStep, L as openStore, Mn as runStatus, Nr as placeFiles, On as tellLiveRun, Pr as placeFor, R as storePath, Rn as nestItems, Rr as workflowDirOf, S as detectInstaller, St as walkSummary, Tn as requestContinue, Vr as LESSON_CAP_TOKENS, Xr as readDocument, Xt as stepPrunes, Yr as newWorkflowText, Yt as stepActs, _ as capsHere, a as planRemove, an as nodeSays, b as runningRunIds, bn as DEFAULT_FOLLOW_UPS_RULE, bt as checkWorkflowText, d as planLine, ei as renderJsonSchema, er as planPost, f as removeRefusal, fn as checkFollowUpsDue, fr as readCondition, g as usageReport, hn as startFollowUpChecks, ht as explainWorkflowText, i as lostWork, ii as EdgeInputSchema, jn as pausedOf, kn as liveStatus, kr as loadAgents, l as labelOf, li as NodeSchema, lt as detachRun, nr as sendPost, nt as answerDecision, o as projectHead, ot as detachResume, p as stateParts, pt as limitsReport, qr as WorkflowEditSchema, qt as keyOf, r as applyRemove, rt as pendingDecisions, s as readWorktrees, si as expandEdge, st as resumable, ti as parseWorkflow, tr as runGh, u as mergeStateOf, ut as followEvents, v as planUpgrade, wn as unlinkNodes, x as runningScript, xt as walkChecks, y as releaseNotes, yn as liveSessionOf, zr as inside } from "./src-DN-RPsil.mjs";
2
+ import { a as acceptItem, c as feedbackActions, i as recordNote, l as openFixRun, n as previewPost, o as lessonPlaceOf, s as placeOf$1, t as runInstall } from "./install-23g_1ngs.mjs";
3
+ import { _ as dueCause, a as registryShown, c as fetchLatest, d as readUpdateCache, f as refreshUpdateCache, g as changeFollowUp, h as nodeSession, i as registryOf, l as newerVersion, m as writeUpdateCache, o as updateSwitchOff, p as updateCachePath, s as checkDue, v as findFollowUp, y as followUpActions } from "./__build_info__-DcRdK0Du.mjs";
4
+ import { t as postFollowUpMessage } from "./post-C9soCx7i.mjs";
5
+ import { t as builtinProblem } from "./builtin-files-BRSOObAv.mjs";
6
+ import { n as newRunId, t as findRun } from "./find-mLYsR0uC.mjs";
7
7
  import path from "node:path";
8
8
  import { z } from "zod";
9
9
  import { chmodSync, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
@@ -1108,17 +1108,14 @@ const checkTool = (context) => tool("check", "Checks a workflow as `ork validate
1108
1108
  return answer({
1109
1109
  errors: count("error"),
1110
1110
  warnings: count("warning"),
1111
- diagnostics: diagnostics.map(({ severity, code, message, line, column }) => line === void 0 ? {
1111
+ diagnostics: diagnostics.map(({ severity, code, message, file, line, column }) => Object.assign({
1112
1112
  severity,
1113
1113
  code,
1114
1114
  message
1115
- } : {
1116
- severity,
1117
- code,
1118
- message,
1115
+ }, file === void 0 ? {} : { file }, line === void 0 ? {} : {
1119
1116
  line,
1120
1117
  column
1121
- }),
1118
+ })),
1122
1119
  walk: walk === void 0 ? null : walkSummary(walk),
1123
1120
  ...args.paths === true && walk !== void 0 ? { endings: walk.endings.slice(0, MOST_ENDINGS) } : {}
1124
1121
  });
@@ -1,4 +1,4 @@
1
- import { U as openStore } from "./src-Dr_fTSu-.mjs";
1
+ import { L as openStore } from "./src-DN-RPsil.mjs";
2
2
  // src/store.ts
3
3
  /**
4
4
  * @file Opening the user's store (`~/.ork/state.db`) for the length of one