dal-code 1.0.49 → 1.0.50

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 (62) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/node_modules/@dalcode/dal-advisor/package.json +3 -3
  3. package/dist/node_modules/@dalcode/dal-awake/package.json +2 -2
  4. package/dist/node_modules/@dalcode/dal-bridge/package.json +2 -2
  5. package/dist/node_modules/@dalcode/dal-capabilities/package.json +4 -4
  6. package/dist/node_modules/@dalcode/dal-codeindex/package.json +2 -2
  7. package/dist/node_modules/@dalcode/dal-compat/package.json +2 -2
  8. package/dist/node_modules/@dalcode/dal-dap/package.json +2 -2
  9. package/dist/node_modules/@dalcode/dal-gateway/package.json +2 -2
  10. package/dist/node_modules/@dalcode/dal-goal/package.json +3 -3
  11. package/dist/node_modules/@dalcode/dal-guard/package.json +4 -4
  12. package/dist/node_modules/@dalcode/dal-halo/package.json +1 -1
  13. package/dist/node_modules/@dalcode/dal-interactive/package.json +2 -2
  14. package/dist/node_modules/@dalcode/dal-lang/package.json +3 -3
  15. package/dist/node_modules/@dalcode/dal-learn/package.json +2 -2
  16. package/dist/node_modules/@dalcode/dal-lsp/package.json +4 -4
  17. package/dist/node_modules/@dalcode/dal-mcp/package.json +6 -6
  18. package/dist/node_modules/@dalcode/dal-office/package.json +2 -2
  19. package/dist/node_modules/@dalcode/dal-pi-kit/dist/i18n.js +1 -1
  20. package/dist/node_modules/@dalcode/dal-pi-kit/package.json +1 -1
  21. package/dist/node_modules/@dalcode/dal-pi-kit/src/i18n.js +1 -1
  22. package/dist/node_modules/@dalcode/dal-plugins/package.json +4 -4
  23. package/dist/node_modules/@dalcode/dal-recall/package.json +2 -2
  24. package/dist/node_modules/@dalcode/dal-remote/package.json +2 -2
  25. package/dist/node_modules/@dalcode/dal-review/package.json +3 -3
  26. package/dist/node_modules/@dalcode/dal-rewind/package.json +2 -2
  27. package/dist/node_modules/@dalcode/dal-router/package.json +6 -6
  28. package/dist/node_modules/@dalcode/dal-rtk/package.json +2 -2
  29. package/dist/node_modules/@dalcode/dal-skills/package.json +3 -3
  30. package/dist/node_modules/@dalcode/dal-statusline/package.json +2 -2
  31. package/dist/node_modules/@dalcode/dal-structured/package.json +2 -2
  32. package/dist/node_modules/@dalcode/dal-subagent/package.json +5 -5
  33. package/dist/node_modules/@dalcode/dal-sync/package.json +4 -4
  34. package/dist/node_modules/@dalcode/dal-telemetry/package.json +4 -4
  35. package/dist/node_modules/@dalcode/dal-terminal/package.json +2 -2
  36. package/dist/node_modules/@dalcode/dal-tool-catalog/package.json +2 -2
  37. package/dist/node_modules/@dalcode/dal-usage/package.json +2 -2
  38. package/dist/node_modules/@dalcode/dal-web/package.json +3 -3
  39. package/dist/node_modules/@dalcode/dal-workflow/package.json +2 -2
  40. package/dist/node_modules/@dalcode/dal-workflow/src/image-budget.js +1 -0
  41. package/dist/node_modules/@dalcode/dal-workflow/src/index.js +4 -4
  42. package/dist/node_modules/@dalcode/deepailab/package.json +3 -3
  43. package/dist/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
  44. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  45. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  46. package/dist/node_modules/@earendil-works/pi-ai/dist/utils/version.d.ts +1 -1
  47. package/dist/node_modules/@earendil-works/pi-ai/dist/utils/version.js +1 -1
  48. package/dist/node_modules/@earendil-works/pi-ai/package.json +2 -2
  49. package/dist/node_modules/@earendil-works/pi-codemode/package.json +1 -1
  50. package/dist/node_modules/@earendil-works/pi-coding-agent/package.json +1 -1
  51. package/dist/node_modules/@earendil-works/pi-mcp/package.json +1 -1
  52. package/dist/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  53. package/dist/node_modules/@earendil-works/pi-tui/package.json +1 -1
  54. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  55. package/examples/extensions/gondolin/package-lock.json +2 -2
  56. package/examples/extensions/gondolin/package.json +1 -1
  57. package/examples/extensions/sandbox/package-lock.json +2 -2
  58. package/examples/extensions/sandbox/package.json +1 -1
  59. package/examples/extensions/with-deps/package-lock.json +2 -2
  60. package/examples/extensions/with-deps/package.json +1 -1
  61. package/npm-shrinkwrap.json +2 -2
  62. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-plugins",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -20,9 +20,9 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@dalcode/dal-pi-kit": "1.0.49",
24
- "@dalcode/dal-skills": "1.0.49",
25
- "@dalcode/deepailab": "1.0.49",
23
+ "@dalcode/dal-pi-kit": "1.0.50",
24
+ "@dalcode/dal-skills": "1.0.50",
25
+ "@dalcode/deepailab": "1.0.50",
26
26
  "typebox": "1.3.27"
27
27
  },
28
28
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-recall",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "description": "Search past sessions: a local full-text index of earlier conversations the model can query with session_search. Adapted from @henryqw/pi-session-recall 5.1.4 (MIT).",
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@dalcode/dal-pi-kit": "1.0.49",
23
+ "@dalcode/dal-pi-kit": "1.0.50",
24
24
  "typebox": "1.3.27"
25
25
  },
26
26
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-remote",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "description": "`dal remote enable|disable|status|pair|logs`: installs the phone daemon (a pinned, integrity-checked npm package) and runs it as a systemd user service or a launchd agent, so the DAL Code phone app can reach this machine.",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  ]
20
20
  },
21
21
  "dependencies": {
22
- "@dalcode/dal-pi-kit": "1.0.49"
22
+ "@dalcode/dal-pi-kit": "1.0.50"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@earendil-works/pi-coding-agent": "^1.0.9"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-review",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "description": "Code review: a read-only reviewer sub-agent over uncommitted changes, a base branch, a commit, a PR or a supplied diff, returning structured, deduplicated findings. /review in the TUI, dal -p, RPC and the SDK.",
6
6
  "type": "module",
@@ -19,8 +19,8 @@
19
19
  ]
20
20
  },
21
21
  "dependencies": {
22
- "@dalcode/dal-pi-kit": "1.0.49",
23
- "@dalcode/dal-subagent": "1.0.49",
22
+ "@dalcode/dal-pi-kit": "1.0.50",
23
+ "@dalcode/dal-subagent": "1.0.50",
24
24
  "typebox": "1.3.7"
25
25
  },
26
26
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-rewind",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "description": "Git checkpoints for DAL: a snapshot after every turn that changes files, /rewind, Esc+Esc, safe restore, undo. Adapted from pi-rewind 0.5.0 (MIT, arpagon).",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@dalcode/dal-pi-kit": "1.0.49"
24
+ "@dalcode/dal-pi-kit": "1.0.50"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@earendil-works/pi-coding-agent": "^1.0.9"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-router",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -29,11 +29,11 @@
29
29
  ]
30
30
  },
31
31
  "dependencies": {
32
- "@dalcode/dal-guard": "1.0.49",
33
- "@dalcode/dal-pi-kit": "1.0.49",
34
- "@dalcode/dal-tool-catalog": "1.0.49",
35
- "@dalcode/deepailab": "1.0.49",
36
- "@earendil-works/pi-tui": "1.0.49"
32
+ "@dalcode/dal-guard": "1.0.50",
33
+ "@dalcode/dal-pi-kit": "1.0.50",
34
+ "@dalcode/dal-tool-catalog": "1.0.50",
35
+ "@dalcode/deepailab": "1.0.50",
36
+ "@earendil-works/pi-tui": "1.0.50"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@earendil-works/pi-coding-agent": "^1.0.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-rtk",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "description": "Uses rtk, when the user has installed it, to compress the output of shell commands the agent runs. Does nothing when rtk is not installed; never installs it.",
6
6
  "type": "module",
@@ -18,7 +18,7 @@
18
18
  ]
19
19
  },
20
20
  "dependencies": {
21
- "@dalcode/dal-pi-kit": "1.0.49"
21
+ "@dalcode/dal-pi-kit": "1.0.50"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@earendil-works/pi-coding-agent": "^1.0.9"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-skills",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -22,8 +22,8 @@
22
22
  ]
23
23
  },
24
24
  "dependencies": {
25
- "@dalcode/dal-pi-kit": "1.0.49",
26
- "@dalcode/deepailab": "1.0.49",
25
+ "@dalcode/dal-pi-kit": "1.0.50",
26
+ "@dalcode/deepailab": "1.0.50",
27
27
  "typebox": "1.3.7"
28
28
  },
29
29
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-statusline",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "description": "A scriptable status line under the footer: a template or a command of the user's choosing. Grown from the status-line and custom-footer extension examples.",
6
6
  "type": "module",
@@ -18,7 +18,7 @@
18
18
  ]
19
19
  },
20
20
  "dependencies": {
21
- "@dalcode/dal-pi-kit": "1.0.49"
21
+ "@dalcode/dal-pi-kit": "1.0.50"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@earendil-works/pi-coding-agent": "^1.0.9"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-structured",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "description": "dal -p --output-schema: the final answer as JSON that matches a JSON Schema, with a non-zero exit when it does not. Grown from the structured-output extension example.",
6
6
  "type": "module",
@@ -18,7 +18,7 @@
18
18
  ]
19
19
  },
20
20
  "dependencies": {
21
- "@dalcode/dal-pi-kit": "1.0.49",
21
+ "@dalcode/dal-pi-kit": "1.0.50",
22
22
  "typebox": "1.3.27"
23
23
  },
24
24
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-subagent",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -18,10 +18,10 @@
18
18
  ]
19
19
  },
20
20
  "dependencies": {
21
- "@dalcode/dal-pi-kit": "1.0.49",
22
- "@dalcode/dal-guard": "1.0.49",
23
- "@earendil-works/pi-agent-core": "1.0.49",
24
- "@earendil-works/pi-ai": "1.0.49",
21
+ "@dalcode/dal-pi-kit": "1.0.50",
22
+ "@dalcode/dal-guard": "1.0.50",
23
+ "@earendil-works/pi-agent-core": "1.0.50",
24
+ "@earendil-works/pi-ai": "1.0.50",
25
25
  "typebox": "1.3.7"
26
26
  },
27
27
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-sync",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "description": "Opt-in sync of personal skills and personal lessons through the signed-in DeepAILab account, so other computers pick them up (/sync).",
6
6
  "license": "MIT",
@@ -21,9 +21,9 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@dalcode/dal-learn": "1.0.49",
25
- "@dalcode/dal-pi-kit": "1.0.49",
26
- "@dalcode/deepailab": "1.0.49"
24
+ "@dalcode/dal-learn": "1.0.50",
25
+ "@dalcode/dal-pi-kit": "1.0.50",
26
+ "@dalcode/deepailab": "1.0.50"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@earendil-works/pi-coding-agent": "^1.0.9"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-telemetry",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -25,9 +25,9 @@
25
25
  ]
26
26
  },
27
27
  "dependencies": {
28
- "@dalcode/dal-learn": "1.0.49",
29
- "@dalcode/dal-pi-kit": "1.0.49",
30
- "@dalcode/deepailab": "1.0.49"
28
+ "@dalcode/dal-learn": "1.0.50",
29
+ "@dalcode/dal-pi-kit": "1.0.50",
30
+ "@dalcode/deepailab": "1.0.50"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@earendil-works/pi-coding-agent": "^1.0.9"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-terminal",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "description": "Host terminal context: a terminal_read tool and @terminal mentions, registered only when the embedding host advertises the terminal capability.",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  ]
20
20
  },
21
21
  "dependencies": {
22
- "@dalcode/dal-pi-kit": "1.0.49",
22
+ "@dalcode/dal-pi-kit": "1.0.50",
23
23
  "typebox": "1.3.7"
24
24
  },
25
25
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-tool-catalog",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -19,7 +19,7 @@
19
19
  ]
20
20
  },
21
21
  "dependencies": {
22
- "@dalcode/dal-pi-kit": "1.0.49",
22
+ "@dalcode/dal-pi-kit": "1.0.50",
23
23
  "typebox": "1.3.7"
24
24
  },
25
25
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-usage",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "description": "/usage: tokens and cost across all sessions, by day, model and project, with sub-agent spend counted once. Adapted from @tmustier/pi-usage-extension 0.9.5 (MIT).",
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@dalcode/dal-pi-kit": "1.0.49"
23
+ "@dalcode/dal-pi-kit": "1.0.50"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@earendil-works/pi-coding-agent": "^1.0.9"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-web",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -24,8 +24,8 @@
24
24
  ]
25
25
  },
26
26
  "dependencies": {
27
- "@dalcode/dal-pi-kit": "1.0.49",
28
- "@dalcode/deepailab": "1.0.49",
27
+ "@dalcode/dal-pi-kit": "1.0.50",
28
+ "@dalcode/deepailab": "1.0.50",
29
29
  "typebox": "1.3.27",
30
30
  "unpdf": "1.8.1"
31
31
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-workflow",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -17,7 +17,7 @@
17
17
  ]
18
18
  },
19
19
  "dependencies": {
20
- "@dalcode/dal-pi-kit": "1.0.49",
20
+ "@dalcode/dal-pi-kit": "1.0.50",
21
21
  "typebox": "1.3.27"
22
22
  },
23
23
  "peerDependencies": {
@@ -0,0 +1 @@
1
+ var F=Object.defineProperty;var n=(e,t)=>F(e,"name",{value:t,configurable:!0});var d=Object.defineProperty,s=n((e,t)=>d(e,"name",{value:t,configurable:!0}),"i");import{tm as l}from"@dalcode/dal-pi-kit";const B=3;function g(){return l("[\u8F83\u65E9\u7684\u56FE\u7247\u5DF2\u4ECE\u4E0A\u4E0B\u6587\u79FB\u9664\u4EE5\u51CF\u5C0F\u8BF7\u6C42\uFF1B\u9700\u8981\u518D\u770B\u5C31\u91CD\u65B0\u8BFB\u53D6\u90A3\u4E2A\u6587\u4EF6\u3002]")}n(g,"p"),s(g,"imageBudgetNote");function c(e,t=B){let u=0,m=!1;const o=[...e];for(let a=o.length-1;a>=0;a--){const i=o[a];if(i.role!=="toolResult"||!i.content.some(r=>r.type==="image"))continue;if(u<t){u++;continue}const f=i.content.filter(r=>r.type!=="image");o[a]={...i,content:[...f,{type:"text",text:g()}]},m=!0}return m?o:void 0}n(c,"f"),s(c,"withImageBudget");function E(e){e.on("context",async t=>{const u=c(t.messages);return u?{messages:u}:void 0})}n(E,"y"),s(E,"registerImageBudget");export{B as IMAGE_BUDGET_KEEP,g as imageBudgetNote,E as registerImageBudget,c as withImageBudget};
@@ -1,5 +1,5 @@
1
- var A=Object.defineProperty;var m=(o,s)=>A(o,"name",{value:s,configurable:!0});var _=Object.defineProperty,u=m((o,s)=>_(o,"name",{value:s,configurable:!0}),"a");import{t as a}from"@dalcode/dal-pi-kit";import{registerAnnounceCheck as f}from"./announce-check.js";import{isTestFile as c,testProofNote as d}from"./test-proof-note.js";import{registerCheckIn as S}from"./check-in.js";import{registerCompletionCheck as T}from"./completion-check.js";import{registerDeliverableScope as O}from"./deliverable-scope.js";import{registerLeanCode as R}from"./lean-code.js";import{registerTaskLedger as h}from"./ledger.js";import{registerLoopGuard as g}from"./loop-guard.js";import{registerNotify as F}from"./notify.js";import{registerPlanMode as L}from"./plan-mode.js";import{registerTestProofNote as N}from"./test-proof-note.js";import{formatTodo as G,registerTodo as k}from"./todo.js";import{registerTruncationCheck as D}from"./truncation-check.js";import{registerVerifyCheck as M}from"./verify-check.js";import{registerWorkingContract as x}from"./working-contract.js";import{ANNOUNCE_CHECK_MESSAGE as I,announceCheckText as K,OFFER_CHECK_MESSAGE as U,offerCheckText as B,trailingAnnouncement as H,trailingOffer as P}from"./announce-check.js";import{CHECK_IN_AFTER as y,CHECK_IN_MESSAGE as $,checkInText as v,silentToolRounds as b}from"./check-in.js";import{COMPLETION_CHECK_MESSAGE as V,claimsAllDone as W,completionCheckText as j}from"./completion-check.js";import{DELIVERABLE_SCOPE_RULES as w,namedMaterialFiles as q}from"./deliverable-scope.js";import{LEAN_CODE_FLAG as Y,LEAN_CODE_RULE as z,leanCodeEnabled as Q}from"./lean-code.js";import{TASK_LEDGER_MESSAGE as X,taskLedgerText as Z}from"./ledger.js";import{LOOP_GUARD_AFTER as J,LOOP_GUARD_MESSAGE as oo,loopGuardText as eo,repeatedRounds as so}from"./loop-guard.js";import{planModeBlockReason as ao}from"./plan-mode.js";import{extractPlanSteps as to,isReadOnlyCommand as ro,markCompletedSteps as Eo}from"./plan-utils.js";import{DEFAULT_TODO_ENGINE as io,todoEngine as no}from"./todo.js";import{replaySnapshot as mo,snapshotTodos as uo,writeSnapshot as Co}from"./todo-snapshot.js";import{TRUNCATION_CHECK_MESSAGE as po}from"./truncation-check.js";import{uncheckedWrites as lo,VERIFY_CHECK_MESSAGE as Ao,verifyCheckText as _o}from"./verify-check.js";import{WORKING_CONTRACT_RULES as fo}from"./working-contract.js";function C(o){const s=L(o),i=k(o);F(o),S(o),g(o),T(o,()=>i.todos()),f(o),M(o),D(o),N(o),h(o,()=>i.todos()),R(o),x(o),O(o),o.registerCommand("todos",{description:a("\u67E5\u770B\u5F53\u524D\u7684\u5F85\u529E\u6E05\u5355\u548C\u8BA1\u5212\u8FDB\u5EA6"),handler:u(async(co,p)=>{const t=[],r=s.executingSteps();if(r.length>0){const n=r.filter(e=>e.completed).length;t.push([`${a("\u6267\u884C\u8BA1\u5212")} ${n}/${r.length}`,...r.map(e=>`${e.completed?"\u2713":"\u25CB"} ${e.step}. ${e.text}`)].join(`
2
- `))}const E=i.todos();if(E.length>0){const n=E.filter(e=>e.status==="done").length;t.push([`${a("\u5F85\u529E")} ${n}/${E.length}`,...E.map(G)].join(`
3
- `))}const l=s.available?a("\u8FD8\u6CA1\u6709\u5F85\u529E\u3002\u53EF\u4EE5\u8BA9 DAL \u5148\u5217\u4E2A\u8BA1\u5212\uFF0C\u6216\u7528 /plan \u8FDB\u5165\u8BA1\u5212\u6A21\u5F0F\u3002"):a("\u8FD8\u6CA1\u6709\u5F85\u529E\u3002\u53EF\u4EE5\u8BA9 DAL \u5148\u5217\u4E2A\u8BA1\u5212\u3002");p.ui.notify(t.length>0?t.join(`
1
+ var A=Object.defineProperty;var m=(e,s)=>A(e,"name",{value:s,configurable:!0});var _=Object.defineProperty,u=m((e,s)=>_(e,"name",{value:s,configurable:!0}),"a");import{t as o}from"@dalcode/dal-pi-kit";import{registerAnnounceCheck as f}from"./announce-check.js";import{isTestFile as d,testProofNote as c}from"./test-proof-note.js";import{registerCheckIn as S}from"./check-in.js";import{registerCompletionCheck as T}from"./completion-check.js";import{registerDeliverableScope as g}from"./deliverable-scope.js";import{registerImageBudget as h}from"./image-budget.js";import{registerLeanCode as O}from"./lean-code.js";import{registerTaskLedger as R}from"./ledger.js";import{registerLoopGuard as G}from"./loop-guard.js";import{registerNotify as L}from"./notify.js";import{registerPlanMode as N}from"./plan-mode.js";import{registerTestProofNote as F}from"./test-proof-note.js";import{formatTodo as D,registerTodo as k}from"./todo.js";import{registerTruncationCheck as I}from"./truncation-check.js";import{registerVerifyCheck as M}from"./verify-check.js";import{registerWorkingContract as B}from"./working-contract.js";import{ANNOUNCE_CHECK_MESSAGE as x,announceCheckText as K,OFFER_CHECK_MESSAGE as U,offerCheckText as P,trailingAnnouncement as H,trailingOffer as y}from"./announce-check.js";import{CHECK_IN_AFTER as $,CHECK_IN_MESSAGE as v,checkInText as b,silentToolRounds as W}from"./check-in.js";import{COMPLETION_CHECK_MESSAGE as j,claimsAllDone as w,completionCheckText as V}from"./completion-check.js";import{DELIVERABLE_SCOPE_RULES as Y,namedMaterialFiles as J}from"./deliverable-scope.js";import{IMAGE_BUDGET_KEEP as Q,imageBudgetNote as Z,withImageBudget as z}from"./image-budget.js";import{LEAN_CODE_FLAG as q,LEAN_CODE_RULE as X,leanCodeEnabled as ee}from"./lean-code.js";import{TASK_LEDGER_MESSAGE as ae,taskLedgerText as se}from"./ledger.js";import{LOOP_GUARD_AFTER as oe,LOOP_GUARD_MESSAGE as te,loopGuardText as re,repeatedRounds as Ee}from"./loop-guard.js";import{planModeBlockReason as ie}from"./plan-mode.js";import{extractPlanSteps as ne,isReadOnlyCommand as me,markCompletedSteps as ue}from"./plan-utils.js";import{DEFAULT_TODO_ENGINE as Ce,todoEngine as pe}from"./todo.js";import{replaySnapshot as le,snapshotTodos as Ae,writeSnapshot as _e}from"./todo-snapshot.js";import{TRUNCATION_CHECK_MESSAGE as fe}from"./truncation-check.js";import{uncheckedWrites as de,VERIFY_CHECK_MESSAGE as ce,verifyCheckText as Se}from"./verify-check.js";import{WORKING_CONTRACT_RULES as Te}from"./working-contract.js";function C(e){const s=N(e),i=k(e);L(e),S(e),G(e),h(e),T(e,()=>i.todos()),f(e),M(e),I(e),F(e),R(e,()=>i.todos()),O(e),B(e),g(e),e.registerCommand("todos",{description:o("\u67E5\u770B\u5F53\u524D\u7684\u5F85\u529E\u6E05\u5355\u548C\u8BA1\u5212\u8FDB\u5EA6"),handler:u(async(ge,p)=>{const t=[],r=s.executingSteps();if(r.length>0){const n=r.filter(a=>a.completed).length;t.push([`${o("\u6267\u884C\u8BA1\u5212")} ${n}/${r.length}`,...r.map(a=>`${a.completed?"\u2713":"\u25CB"} ${a.step}. ${a.text}`)].join(`
2
+ `))}const E=i.todos();if(E.length>0){const n=E.filter(a=>a.status==="done").length;t.push([`${o("\u5F85\u529E")} ${n}/${E.length}`,...E.map(D)].join(`
3
+ `))}const l=s.available?o("\u8FD8\u6CA1\u6709\u5F85\u529E\u3002\u53EF\u4EE5\u8BA9 DAL \u5148\u5217\u4E2A\u8BA1\u5212\uFF0C\u6216\u7528 /plan \u8FDB\u5165\u8BA1\u5212\u6A21\u5F0F\u3002"):o("\u8FD8\u6CA1\u6709\u5F85\u529E\u3002\u53EF\u4EE5\u8BA9 DAL \u5148\u5217\u4E2A\u8BA1\u5212\u3002");p.ui.notify(t.length>0?t.join(`
4
4
 
5
- `):l,"info")},"handler")})}m(C,"u"),u(C,"dalWorkflow");export{I as ANNOUNCE_CHECK_MESSAGE,y as CHECK_IN_AFTER,$ as CHECK_IN_MESSAGE,V as COMPLETION_CHECK_MESSAGE,io as DEFAULT_TODO_ENGINE,w as DELIVERABLE_SCOPE_RULES,Y as LEAN_CODE_FLAG,z as LEAN_CODE_RULE,J as LOOP_GUARD_AFTER,oo as LOOP_GUARD_MESSAGE,U as OFFER_CHECK_MESSAGE,X as TASK_LEDGER_MESSAGE,po as TRUNCATION_CHECK_MESSAGE,Ao as VERIFY_CHECK_MESSAGE,fo as WORKING_CONTRACT_RULES,K as announceCheckText,v as checkInText,W as claimsAllDone,j as completionCheckText,C as default,to as extractPlanSteps,ro as isReadOnlyCommand,c as isTestFile,Q as leanCodeEnabled,eo as loopGuardText,Eo as markCompletedSteps,q as namedMaterialFiles,B as offerCheckText,ao as planModeBlockReason,so as repeatedRounds,mo as replaySnapshot,b as silentToolRounds,uo as snapshotTodos,Z as taskLedgerText,d as testProofNote,no as todoEngine,H as trailingAnnouncement,P as trailingOffer,lo as uncheckedWrites,_o as verifyCheckText,Co as writeSnapshot};
5
+ `):l,"info")},"handler")})}m(C,"R"),u(C,"dalWorkflow");export{x as ANNOUNCE_CHECK_MESSAGE,$ as CHECK_IN_AFTER,v as CHECK_IN_MESSAGE,j as COMPLETION_CHECK_MESSAGE,Ce as DEFAULT_TODO_ENGINE,Y as DELIVERABLE_SCOPE_RULES,Q as IMAGE_BUDGET_KEEP,q as LEAN_CODE_FLAG,X as LEAN_CODE_RULE,oe as LOOP_GUARD_AFTER,te as LOOP_GUARD_MESSAGE,U as OFFER_CHECK_MESSAGE,ae as TASK_LEDGER_MESSAGE,fe as TRUNCATION_CHECK_MESSAGE,ce as VERIFY_CHECK_MESSAGE,Te as WORKING_CONTRACT_RULES,K as announceCheckText,b as checkInText,w as claimsAllDone,V as completionCheckText,C as default,ne as extractPlanSteps,Z as imageBudgetNote,me as isReadOnlyCommand,d as isTestFile,ee as leanCodeEnabled,re as loopGuardText,ue as markCompletedSteps,J as namedMaterialFiles,P as offerCheckText,ie as planModeBlockReason,Ee as repeatedRounds,le as replaySnapshot,W as silentToolRounds,Ae as snapshotTodos,se as taskLedgerText,c as testProofNote,pe as todoEngine,H as trailingAnnouncement,y as trailingOffer,de as uncheckedWrites,Se as verifyCheckText,z as withImageBudget,_e as writeSnapshot};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/deepailab",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -20,8 +20,8 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@dalcode/dal-pi-kit": "1.0.49",
24
- "@earendil-works/pi-ai": "1.0.49"
23
+ "@dalcode/dal-pi-kit": "1.0.50",
24
+ "@earendil-works/pi-ai": "1.0.50"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@earendil-works/pi-coding-agent": "^1.0.9"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-agent-core",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@
17
17
  "README.md"
18
18
  ],
19
19
  "dependencies": {
20
- "@earendil-works/pi-ai": "1.0.49",
20
+ "@earendil-works/pi-ai": "1.0.50",
21
21
  "typebox": "1.3.27"
22
22
  },
23
23
  "keywords": [
@@ -1 +1 @@
1
- {"schemaVersion":6,"generatedAt":"2026-10-25T22:13:47.767Z","structureHash":"97bd540b339f2ded92fff2923011f2a4ad662ec3b8cf2ed3e6140ec2148018e2","files":{"amazon-bedrock.json":"5c5a40b2ad4456a7f478aab32f10b2dad5a9dee93184eb38c98721c10fe49ba2","ant-ling.json":"628feab3ef6c7d80ce96f75999804e1d9f05fec3851e5302e30fff3b69db90f6","anthropic.json":"91f5da01452c7746645d3405bc91e09f849e4e4687c7c7ff22d8976eafe64b87","azure.json":"3b008f124eb5089ecf37b918545b5b4da1c842b982383d4b4b4b32383adcc6ca","baseten.json":"5bd3c98c61769388b3724368ef964d16b7a58e41a6edcf4ebceb9d4ac0a21d3b","cerebras.json":"2eb969b2956844f9a641d3de52c19f1791293c58f607282fb3b0ebfe85ff66f8","cloudflare-ai-gateway.json":"6c4f293c27f26a7b005fdd2ea3059668836a5c21097d7df1a03ec03ca540c091","cloudflare-workers-ai.json":"36c80c7d7606465001706d5b5d8612d825d8c501d20efb994599960693d37d43","deepseek.json":"10a296fb3e898f7715c80890c8af0af4f5fd58f22dbcd6612fdc5d762157ccdc","fireworks.json":"dae512231a827203db11907889cf235fda8ea4ee10447d6376d83ed712b372a2","github-copilot.json":"b6bf50b945113db1e6cd504b67a68670c4e29380c4e2bdf16ab091eb181be498","google-vertex.json":"564d692a4292ef12e98c8ec056a39948ea64e10851f5ddaaebcc37b585545231","google.json":"b61fb0e27da5be60e1112e46955c5923656cb4d62bb221f834a9463d764ef5de","groq.json":"087df37206e9eed8b10f1e558e4c496289bef60074b7e8afba4f20fb102b4ec2","huggingface.json":"2c78f762f4aa8d0e351f53d4c3fa971557175f315f1c6e3c63ddb45dd764151b","kimi-coding.json":"b3f6fb3a680c2b1d0ec916994c854e57987ef683a7d8c658c71d902f39d20c0e","meta.json":"563f5ec07973f52ab8c3eb26ef91a36ad8a79e950b37174935666cdcb624bf35","minimax-cn.json":"fa15d1f67a07046d38e191af9bd97ed922ba45a99a11af4ad281151cc6b762aa","minimax.json":"1e0459dda3858ea24151182106fc4179b95f43a0a8dffc1c3d2e7db4c2d9206e","mistral.json":"8b6dbb21d6794d3ef606147ac7b05c355748a640224da9072f1081a908fe444f","moonshotai-cn.json":"5be617337de4518bfa908ad10cab88b8fcf8d798f8052a4d5389a36a798cc2b1","moonshotai.json":"1bda72d49b76f59d9482bcb5b10a66aabba0f737e6b95edeeb8a6298cbefd389","nvidia.json":"6f66192c21788b4555f7e77bd7c14201172edf355be8d318f96ff8d0d6921054","openai-codex.json":"533e0ddd7d212fa8433b974b19613301b093f171541e4f4e1fea1962e68928ad","openai.json":"cf5e119eb05f47bbf1dbad179de6a07b904bf7673e96691be72ab0b1fe40a781","opencode-go.json":"1cc101f9ce56b71d51e2dc062a9ad88389c0e123c757a5b2ef5a872980ebf522","opencode.json":"9129a2dec632e36e853edd5a385a2a7084555fd94ed4c3293f32e2afeafad523","openrouter.json":"0a40875d3bf7484c74a1140a82a1b1cfe13db4e66d12e462d573579f3df84a99","qwen-token-plan-cn.json":"64427a6adeb3e7dd1857d68bef9bb12097632b646ed151b740e209143e31341e","qwen-token-plan-individual.json":"0fb7cf64faf39d1a3b0a884210a86c87084b805eda15644f5f39293287b959dd","qwen-token-plan.json":"37b9a76c54090228d1026a8f0fcb4d304b00d64b1a3a94cb2ae6e677d2c52b13","radius.json":"49da11ea2e6881e72b3cc32b05f5326cf539332896b47751636f4c19a69911c4","together.json":"2a28fa1978c996ac0a7f0fc07f0c98a37dbf282afe77c0f141dab0c36791ef83","typesafe.json":"631b03f70597ad656e8f45a393ab46bd4137459b9b499708ac3d5d9d9decd3f2","vercel-ai-gateway.json":"042a576e9a805bfb8c498effca9fef183bd683a48c325d5b5c05ec66249ae1f6","xai.json":"59f8a7bdf14e79ba1b0d0a37e56251bbf100420bdac7d6af5942508fdb990f11","xiaomi-token-plan-ams.json":"bfd33741da693bdb8e8ebd4e7b90c3e90820aa18432ad081a5a98db13c6bd296","xiaomi-token-plan-cn.json":"4b61d78feae3a926fda918c3fd3a9afaf2ca60c1bba0af8270a5398fb50a983e","xiaomi-token-plan-sgp.json":"b05a197ce24fd69fc9440f4ba929984ac7a0fefbe8083268734b422e721987ec","xiaomi.json":"495b5fddf3c3ec8904fecc15c4c19536f4961dce7b51512b6909d2df2e739824","zai-coding-cn.json":"cc9e0768e726ef55d2b7af853ac5f3585dc72575932cb38840a3877d18736b78","zai.json":"58e6642fdfb736f0b9a4a277c760c536a3cea66a030abbfb2615f7b2851d5c6f"}}
1
+ {"schemaVersion":6,"generatedAt":"2026-10-26T01:44:26.207Z","structureHash":"97bd540b339f2ded92fff2923011f2a4ad662ec3b8cf2ed3e6140ec2148018e2","files":{"amazon-bedrock.json":"5c5a40b2ad4456a7f478aab32f10b2dad5a9dee93184eb38c98721c10fe49ba2","ant-ling.json":"628feab3ef6c7d80ce96f75999804e1d9f05fec3851e5302e30fff3b69db90f6","anthropic.json":"91f5da01452c7746645d3405bc91e09f849e4e4687c7c7ff22d8976eafe64b87","azure.json":"3b008f124eb5089ecf37b918545b5b4da1c842b982383d4b4b4b32383adcc6ca","baseten.json":"5bd3c98c61769388b3724368ef964d16b7a58e41a6edcf4ebceb9d4ac0a21d3b","cerebras.json":"2eb969b2956844f9a641d3de52c19f1791293c58f607282fb3b0ebfe85ff66f8","cloudflare-ai-gateway.json":"6c4f293c27f26a7b005fdd2ea3059668836a5c21097d7df1a03ec03ca540c091","cloudflare-workers-ai.json":"36c80c7d7606465001706d5b5d8612d825d8c501d20efb994599960693d37d43","deepseek.json":"10a296fb3e898f7715c80890c8af0af4f5fd58f22dbcd6612fdc5d762157ccdc","fireworks.json":"dae512231a827203db11907889cf235fda8ea4ee10447d6376d83ed712b372a2","github-copilot.json":"b6bf50b945113db1e6cd504b67a68670c4e29380c4e2bdf16ab091eb181be498","google-vertex.json":"564d692a4292ef12e98c8ec056a39948ea64e10851f5ddaaebcc37b585545231","google.json":"b61fb0e27da5be60e1112e46955c5923656cb4d62bb221f834a9463d764ef5de","groq.json":"087df37206e9eed8b10f1e558e4c496289bef60074b7e8afba4f20fb102b4ec2","huggingface.json":"2c78f762f4aa8d0e351f53d4c3fa971557175f315f1c6e3c63ddb45dd764151b","kimi-coding.json":"b3f6fb3a680c2b1d0ec916994c854e57987ef683a7d8c658c71d902f39d20c0e","meta.json":"563f5ec07973f52ab8c3eb26ef91a36ad8a79e950b37174935666cdcb624bf35","minimax-cn.json":"fa15d1f67a07046d38e191af9bd97ed922ba45a99a11af4ad281151cc6b762aa","minimax.json":"1e0459dda3858ea24151182106fc4179b95f43a0a8dffc1c3d2e7db4c2d9206e","mistral.json":"8b6dbb21d6794d3ef606147ac7b05c355748a640224da9072f1081a908fe444f","moonshotai-cn.json":"5be617337de4518bfa908ad10cab88b8fcf8d798f8052a4d5389a36a798cc2b1","moonshotai.json":"1bda72d49b76f59d9482bcb5b10a66aabba0f737e6b95edeeb8a6298cbefd389","nvidia.json":"6f66192c21788b4555f7e77bd7c14201172edf355be8d318f96ff8d0d6921054","openai-codex.json":"533e0ddd7d212fa8433b974b19613301b093f171541e4f4e1fea1962e68928ad","openai.json":"cf5e119eb05f47bbf1dbad179de6a07b904bf7673e96691be72ab0b1fe40a781","opencode-go.json":"1cc101f9ce56b71d51e2dc062a9ad88389c0e123c757a5b2ef5a872980ebf522","opencode.json":"9129a2dec632e36e853edd5a385a2a7084555fd94ed4c3293f32e2afeafad523","openrouter.json":"875eaa41c2eb8dd999c159501f494ea45a619a01809f0443e308a12a45ca2890","qwen-token-plan-cn.json":"64427a6adeb3e7dd1857d68bef9bb12097632b646ed151b740e209143e31341e","qwen-token-plan-individual.json":"0fb7cf64faf39d1a3b0a884210a86c87084b805eda15644f5f39293287b959dd","qwen-token-plan.json":"37b9a76c54090228d1026a8f0fcb4d304b00d64b1a3a94cb2ae6e677d2c52b13","radius.json":"49da11ea2e6881e72b3cc32b05f5326cf539332896b47751636f4c19a69911c4","together.json":"2a28fa1978c996ac0a7f0fc07f0c98a37dbf282afe77c0f141dab0c36791ef83","typesafe.json":"631b03f70597ad656e8f45a393ab46bd4137459b9b499708ac3d5d9d9decd3f2","vercel-ai-gateway.json":"042a576e9a805bfb8c498effca9fef183bd683a48c325d5b5c05ec66249ae1f6","xai.json":"59f8a7bdf14e79ba1b0d0a37e56251bbf100420bdac7d6af5942508fdb990f11","xiaomi-token-plan-ams.json":"bfd33741da693bdb8e8ebd4e7b90c3e90820aa18432ad081a5a98db13c6bd296","xiaomi-token-plan-cn.json":"4b61d78feae3a926fda918c3fd3a9afaf2ca60c1bba0af8270a5398fb50a983e","xiaomi-token-plan-sgp.json":"b05a197ce24fd69fc9440f4ba929984ac7a0fefbe8083268734b422e721987ec","xiaomi.json":"495b5fddf3c3ec8904fecc15c4c19536f4961dce7b51512b6909d2df2e739824","zai-coding-cn.json":"cc9e0768e726ef55d2b7af853ac5f3585dc72575932cb38840a3877d18736b78","zai.json":"58e6642fdfb736f0b9a4a277c760c536a3cea66a030abbfb2615f7b2851d5c6f"}}