dal-code 1.0.37 → 1.0.38

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 (83) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/core/agent-session.js +1 -1
  3. package/dist/core/auth-storage.js +1 -1
  4. package/dist/core/package-manager.d.ts +4 -0
  5. package/dist/core/package-manager.js +2 -2
  6. package/dist/core/session-manager.d.ts +3 -0
  7. package/dist/core/session-manager.js +12 -12
  8. package/dist/core/settings-diagnostics.js +1 -1
  9. package/dist/core/settings-manager.d.ts +3 -0
  10. package/dist/core/settings-manager.js +1 -1
  11. package/dist/core/shared-data.js +1 -0
  12. package/dist/core/system-prompt.js +10 -10
  13. package/dist/core/trust-manager.js +2 -2
  14. package/dist/dal/reviewed/endorsed-cli.js +1 -0
  15. package/dist/dal/reviewed/endorsed-plan.js +1 -0
  16. package/dist/dal/reviewed/endorsed.js +1 -0
  17. package/dist/dal/reviewed/version.js +1 -0
  18. package/dist/extensions/mcp/config.js +2 -2
  19. package/dist/modes/print-mode.js +5 -5
  20. package/dist/node_modules/@dalcode/dal-bridge/package.json +2 -2
  21. package/dist/node_modules/@dalcode/dal-gateway/package.json +2 -2
  22. package/dist/node_modules/@dalcode/dal-goal/package.json +2 -2
  23. package/dist/node_modules/@dalcode/dal-guard/package.json +4 -4
  24. package/dist/node_modules/@dalcode/dal-guard/src/mode.js +2 -2
  25. package/dist/node_modules/@dalcode/dal-halo/package.json +1 -1
  26. package/dist/node_modules/@dalcode/dal-interactive/package.json +2 -2
  27. package/dist/node_modules/@dalcode/dal-lang/package.json +3 -3
  28. package/dist/node_modules/@dalcode/dal-lsp/package.json +3 -3
  29. package/dist/node_modules/@dalcode/dal-mcp/package.json +5 -5
  30. package/dist/node_modules/@dalcode/dal-mcp/src/config-edit.js +2 -2
  31. package/dist/node_modules/@dalcode/dal-office/package.json +2 -2
  32. package/dist/node_modules/@dalcode/dal-pi-kit/dist/i18n.js +1 -1
  33. package/dist/node_modules/@dalcode/dal-pi-kit/dist/index.js +1 -1
  34. package/dist/node_modules/@dalcode/dal-pi-kit/dist/shared-data.js +1 -0
  35. package/dist/node_modules/@dalcode/dal-pi-kit/package.json +1 -1
  36. package/dist/node_modules/@dalcode/dal-pi-kit/src/i18n.js +1 -1
  37. package/dist/node_modules/@dalcode/dal-pi-kit/src/index.js +1 -1
  38. package/dist/node_modules/@dalcode/dal-pi-kit/src/shared-data.js +1 -0
  39. package/dist/node_modules/@dalcode/dal-plugins/package.json +4 -4
  40. package/dist/node_modules/@dalcode/dal-plugins/src/state.js +2 -2
  41. package/dist/node_modules/@dalcode/dal-review/package.json +3 -3
  42. package/dist/node_modules/@dalcode/dal-rewind/package.json +2 -2
  43. package/dist/node_modules/@dalcode/dal-router/package.json +4 -4
  44. package/dist/node_modules/@dalcode/dal-router/src/config.d.ts +1 -1
  45. package/dist/node_modules/@dalcode/dal-router/src/config.js +2 -2
  46. package/dist/node_modules/@dalcode/dal-router/src/runtime.js +1 -1
  47. package/dist/node_modules/@dalcode/dal-skills/package.json +3 -3
  48. package/dist/node_modules/@dalcode/dal-subagent/package.json +5 -5
  49. package/dist/node_modules/@dalcode/dal-telemetry/package.json +2 -2
  50. package/dist/node_modules/@dalcode/dal-telemetry/src/config.js +2 -2
  51. package/dist/node_modules/@dalcode/dal-terminal/package.json +2 -2
  52. package/dist/node_modules/@dalcode/dal-tool-catalog/package.json +2 -2
  53. package/dist/node_modules/@dalcode/dal-web/package.json +3 -3
  54. package/dist/node_modules/@dalcode/dal-workflow/package.json +2 -2
  55. package/dist/node_modules/@dalcode/deepailab/package.json +3 -3
  56. package/dist/node_modules/@earendil-works/chord/package.json +1 -1
  57. package/dist/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
  58. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  59. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
  60. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
  61. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  62. package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  63. package/dist/node_modules/@earendil-works/pi-ai/dist/utils/overflow.d.ts +1 -1
  64. package/dist/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +1 -1
  65. package/dist/node_modules/@earendil-works/pi-ai/package.json +2 -2
  66. package/dist/node_modules/@earendil-works/pi-client/package.json +3 -3
  67. package/dist/node_modules/@earendil-works/pi-codemode/package.json +1 -1
  68. package/dist/node_modules/@earendil-works/pi-coding-agent/package.json +1 -1
  69. package/dist/node_modules/@earendil-works/pi-mcp/package.json +1 -1
  70. package/dist/node_modules/@earendil-works/pi-protocol/package.json +2 -2
  71. package/dist/node_modules/@earendil-works/pi-server/package.json +3 -3
  72. package/dist/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  73. package/dist/node_modules/@earendil-works/pi-tui/package.json +1 -1
  74. package/dist/package-manager-cli.js +72 -72
  75. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  76. package/examples/extensions/gondolin/package-lock.json +2 -2
  77. package/examples/extensions/gondolin/package.json +1 -1
  78. package/examples/extensions/sandbox/package-lock.json +2 -2
  79. package/examples/extensions/sandbox/package.json +1 -1
  80. package/examples/extensions/with-deps/package-lock.json +2 -2
  81. package/examples/extensions/with-deps/package.json +1 -1
  82. package/npm-shrinkwrap.json +2 -2
  83. package/package.json +1 -1
@@ -1 +1 @@
1
- export*from"./i18n.js";
1
+ export*from"./i18n.js";export*from"./shared-data.js";
@@ -0,0 +1 @@
1
+ var w=Object.defineProperty;var r=(t,e)=>w(t,"name",{value:e,configurable:!0});import{closeSync as S,fchmodSync as p,fsyncSync as h,lstatSync as E,mkdirSync as f,openSync as D,realpathSync as F,renameSync as M,rmdirSync as _,rmSync as u,statSync as m,writeFileSync as k}from"node:fs";import{basename as x,dirname as y,join as A}from"node:path";const T="formatVersion";function Y(t){if(typeof t!="object"||t===null||Array.isArray(t))return 1;const e=t[T];return typeof e=="number"&&Number.isInteger(e)&&e>0?e:1}r(Y,"declaredDataFormat");const s=new Set,d=[];function j(t){s.has(t)||(s.add(t),d.push(t))}r(j,"reportNewerDataFormat");function P(){return d.splice(0)}r(P,"drainNewerDataFormatFiles");function U(t){return s.has(t)}r(U,"isNewerDataFormatFile");function b(t){try{if(E(t).isSymbolicLink())return F(t)}catch{}return t}r(b,"resolveWriteTarget");const g=new Set(["EPERM","EACCES","EBUSY"]);function N(t,e){for(let n=0;;n++)try{M(t,e);return}catch(o){const c=o.code;if(process.platform!=="win32"||!c||!g.has(c)||n>=9)throw o;const i=Date.now()+20*(n+1);for(;Date.now()<i;);}}r(N,"renameWithRetry");function R(t){try{return m(t).mode&511}catch{return}}r(R,"existingMode");function W(t,e,n={}){const o=b(t),c=A(y(o),`.${x(o)}.${process.pid}.${Date.now().toString(36)}${Math.random().toString(36).slice(2,8)}.tmp`),i=R(o),a=D(c,"wx",i??n.mode??420);try{try{i!==void 0&&process.platform!=="win32"&&p(a,i),k(a,e,"utf-8"),h(a)}finally{S(a)}N(c,o)}catch(l){throw u(c,{force:!0}),l}}r(W,"writeFileAtomicSync");const $=1e4,C=1e4;function L(t){try{return m(t).mtimeMs}catch{return}}r(L,"lockMtimeMs");function B(t,e){const n=`${t}.lock`;f(y(t),{recursive:!0});const o=Date.now()+C;for(;;)try{f(n);break}catch(c){if(c.code!=="EEXIST")throw c;const i=L(n);if(i!==void 0&&i<Date.now()-$){u(n,{recursive:!0,force:!0});continue}if(Date.now()>o)throw new Error(`${t} is locked by another process`);const a=Date.now()+15;for(;Date.now()<a;);}try{return e()}finally{try{_(n)}catch{}}}r(B,"withFileLockSync");export{T as DATA_FORMAT_KEY,Y as declaredDataFormat,P as drainNewerDataFormatFiles,U as isNewerDataFormatFile,j as reportNewerDataFormat,B as withFileLockSync,W as writeFileAtomicSync};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalcode/dal-pi-kit",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "private": true,
5
5
  "description": "Shared i18n helpers for DAL pi extensions. No engine peer.",
6
6
  "type": "module",