dal-code 1.0.59 → 1.0.61
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/CHANGELOG.md +8 -0
- package/dist/bundle/chunks/account-REEBP4XX.js +1 -0
- package/dist/bundle/chunks/{anthropic-messages-HVFHIIGX.js → anthropic-messages-FFHN77YO.js} +1 -1
- package/dist/bundle/chunks/{azure-openai-responses-RMWKIGFW.js → azure-openai-responses-XMVXFFRW.js} +1 -1
- package/dist/bundle/chunks/bedrock-converse-stream.js +1 -1
- package/dist/bundle/chunks/{chunk-TPOKZ2EU.js → chunk-3UVUVPDJ.js} +1 -1
- package/dist/bundle/chunks/{chunk-IONGABQF.js → chunk-46A3CZG4.js} +1 -1
- package/dist/bundle/chunks/{chunk-BBNE2TWS.js → chunk-4PE5FX77.js} +1 -1
- package/dist/bundle/chunks/{chunk-4BOWD7PQ.js → chunk-5DM5CSLU.js} +1 -1
- package/dist/bundle/chunks/chunk-5VVKJ7N6.js +9 -0
- package/dist/bundle/chunks/chunk-7FEAO2PW.js +2 -0
- package/dist/bundle/chunks/{chunk-HF334NQU.js → chunk-B66W54NL.js} +1 -1
- package/dist/bundle/chunks/chunk-CVSK7HIR.js +1 -0
- package/dist/bundle/chunks/{chunk-VDPDHGGJ.js → chunk-DM37LCOU.js} +1 -1
- package/dist/bundle/chunks/{chunk-PMFHJN7I.js → chunk-HDE7XZW5.js} +1 -1
- package/dist/bundle/chunks/{chunk-MPLE6M5C.js → chunk-KV7HXJIS.js} +1 -1
- package/dist/bundle/chunks/{chunk-4PBY6OYS.js → chunk-LBVJMXG6.js} +1 -1
- package/dist/bundle/chunks/{chunk-F5SIUTR7.js → chunk-LGD3AMTG.js} +1 -1
- package/dist/bundle/chunks/{chunk-KT7CXVDN.js → chunk-M4QINYHM.js} +9 -9
- package/dist/bundle/chunks/{chunk-YOQ3KBG5.js → chunk-MOBJIVPU.js} +1 -1
- package/dist/bundle/chunks/{chunk-KQRRELCF.js → chunk-NBRVYUIG.js} +1 -1
- package/dist/bundle/chunks/{chunk-AL3DFAIM.js → chunk-NRQYSXAU.js} +1 -1
- package/dist/bundle/chunks/{chunk-GZJEAFRS.js → chunk-O4KJ5UE4.js} +1 -1
- package/dist/bundle/chunks/{chunk-IKSSB5ZJ.js → chunk-OLTY5TDX.js} +1 -1
- package/dist/bundle/chunks/{chunk-R47JBGS3.js → chunk-QM5JU2GS.js} +1 -1
- package/dist/bundle/chunks/{chunk-XQF5XDEM.js → chunk-RRAXQWE3.js} +2 -2
- package/dist/bundle/chunks/{chunk-J6H2LYOZ.js → chunk-TLYT7KXA.js} +1 -1
- package/dist/bundle/chunks/{chunk-QU2VEHMW.js → chunk-XIF7O6UG.js} +3 -3
- package/dist/bundle/chunks/{chunk-F52JQCLE.js → chunk-XKOYUKPQ.js} +1 -1
- package/dist/bundle/chunks/{chunk-X63WCLSX.js → chunk-ZLZHK7BO.js} +274 -274
- package/dist/bundle/chunks/{chunk-C5ELI234.js → chunk-ZVMXRMIH.js} +1 -1
- package/dist/bundle/chunks/{cli-BFWJUYZ5.js → cli-4VML7NOW.js} +1 -1
- package/dist/bundle/chunks/cli-RJETLDQ5.js +30 -0
- package/dist/bundle/chunks/{cloudflare-workers-ai-system-one-RXFI2EBV.js → cloudflare-workers-ai-system-one-63ASD4MS.js} +1 -1
- package/dist/bundle/chunks/{easter-egg-3d-W2F3ROZ6.js → easter-egg-3d-JQUBBOXE.js} +1 -1
- package/dist/bundle/chunks/{execute-NJRE4WBO.js → execute-ZIFT667Q.js} +1 -1
- package/dist/bundle/chunks/{google-generative-ai-5F5544G4.js → google-generative-ai-4T6TSKGZ.js} +1 -1
- package/dist/bundle/chunks/{google-vertex-4PSVELDG.js → google-vertex-Z2AJIOKJ.js} +1 -1
- package/dist/bundle/chunks/{llama-cpp-classify-IPNT4VOW.js → llama-cpp-classify-UD7L3OEZ.js} +1 -1
- package/dist/bundle/chunks/{mcp-F3BQ6MQW.js → mcp-7W2PZMFF.js} +1 -1
- package/dist/bundle/chunks/{mistral-conversations-RSYLYGE4.js → mistral-conversations-W4M2WAFU.js} +1 -1
- package/dist/bundle/chunks/{office-UBOUFRAU.js → office-FIY2WQ2K.js} +1 -1
- package/dist/bundle/chunks/oidc-WQ64R7RE.js +1 -0
- package/dist/bundle/chunks/{openai-codex-responses-OKPZLYIS.js → openai-codex-responses-NYZACUJQ.js} +1 -1
- package/dist/bundle/chunks/{openai-completions-BFCQZRZ2.js → openai-completions-GOZT4TOU.js} +1 -1
- package/dist/bundle/chunks/{openai-decisions-RJ4MH5XI.js → openai-decisions-ZJSAGWHI.js} +1 -1
- package/dist/bundle/chunks/{openai-responses-PT5MXG3Q.js → openai-responses-ZVECOLDP.js} +1 -1
- package/dist/bundle/chunks/{openrouter-images-ICCH2YHW.js → openrouter-images-BOGEFLXU.js} +1 -1
- package/dist/bundle/chunks/{pi-messages-Z2XWHIYT.js → pi-messages-XDGHAFKO.js} +1 -1
- package/dist/bundle/chunks/{review-WTYIVWYR.js → review-ESZWG3ID.js} +1 -1
- package/dist/bundle/chunks/{router-V3EIAYOF.js → router-ZQ7UPIHA.js} +1 -1
- package/dist/bundle/chunks/{runtime-FNCZJKOC.js → runtime-KHMBKDP7.js} +1 -1
- package/dist/bundle/chunks/{sdk-32L63XRF.js → sdk-6F6YIKOL.js} +1 -1
- package/dist/bundle/chunks/src-TVUSERYE.js +3 -0
- package/dist/bundle/chunks/{sync-Z5USQ7AN.js → sync-F7N6C6RF.js} +1 -1
- package/dist/bundle/chunks/{typesafe-system-one-6UYWINOZ.js → typesafe-system-one-NSQNXICI.js} +1 -1
- package/dist/bundle/chunks/{usage-JODQIC2H.js → usage-5VHK66HK.js} +1 -1
- package/dist/bundle/chunks/{virtual-modules-ERCLFZEY.js → virtual-modules-ABFE2KKD.js} +1 -1
- package/dist/bundle/cli-runtime.js +1 -1
- package/dist/bundle/index.js +1 -1
- package/dist/bundle/rpc-entry.js +1 -1
- package/dist/config.d.ts +1 -0
- package/dist/config.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/main.js +4 -4
- package/dist/node_modules/@dalcode/dal-advisor/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-awake/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-bridge/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-bridge/src/index.js +1 -1
- package/dist/node_modules/@dalcode/dal-capabilities/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-codeindex/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-compat/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-dap/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-gateway/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-goal/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-guard/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-guard/src/attribution.js +1 -1
- package/dist/node_modules/@dalcode/dal-guard/src/index.js +4 -4
- package/dist/node_modules/@dalcode/dal-halo/package.json +1 -1
- package/dist/node_modules/@dalcode/dal-interactive/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-lang/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-learn/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-lsp/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-mcp/package.json +6 -6
- package/dist/node_modules/@dalcode/dal-office/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-pi-kit/dist/i18n.js +4 -4
- package/dist/node_modules/@dalcode/dal-pi-kit/package.json +1 -1
- package/dist/node_modules/@dalcode/dal-pi-kit/src/i18n.js +4 -4
- package/dist/node_modules/@dalcode/dal-plugins/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-recall/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-remote/package.json +3 -2
- package/dist/node_modules/@dalcode/dal-remote/src/account.js +2 -0
- package/dist/node_modules/@dalcode/dal-remote/src/cli.js +13 -13
- package/dist/node_modules/@dalcode/dal-remote/src/install.js +2 -2
- package/dist/node_modules/@dalcode/dal-remote/src/spec.js +1 -1
- package/dist/node_modules/@dalcode/dal-review/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-rewind/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-router/package.json +6 -6
- package/dist/node_modules/@dalcode/dal-rtk/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-skills/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-statusline/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-structured/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-subagent/package.json +5 -5
- package/dist/node_modules/@dalcode/dal-sync/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-telemetry/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-terminal/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-tool-catalog/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-usage/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-web/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-workflow/package.json +2 -2
- package/dist/node_modules/@dalcode/deepailab/package.json +3 -3
- package/dist/node_modules/@earendil-works/pi-agent-core/package.json +3 -3
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/version.d.ts +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/version.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/package.json +3 -3
- package/dist/node_modules/@earendil-works/pi-codemode/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-coding-agent/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-mcp/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-schema/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/gondolin/package-lock.json +2 -2
- package/examples/extensions/gondolin/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/bundle/chunks/chunk-WLQ33LIH.js +0 -9
- package/dist/bundle/chunks/cli-NQ7B7BGV.js +0 -30
|
@@ -5,4 +5,4 @@ var b=Object.defineProperty;var r=(e,o)=>b(e,"name",{value:o,configurable:!0});i
|
|
|
5
5
|
|
|
6
6
|
${t}`);return o.join(`
|
|
7
7
|
|
|
8
|
-
`)}r(I,"renderSystemMessageUpdate");function P(e,o,i=e.length){return`${e.slice(o,i)} `.slice(0,-1)}r(P,"ownedSlice");var s="1.0.
|
|
8
|
+
`)}r(I,"renderSystemMessageUpdate");function P(e,o,i=e.length){return`${e.slice(o,i)} `.slice(0,-1)}r(P,"ownedSlice");var s="1.0.61",T={name:"dal",url:"https://deepailab.ai",categories:["cli-agent"]},l="dal",M="integrate.api.nvidia.com",R="opencode.ai";function p(...e){let o;for(let i of e)i&&(o={...o},i.userAgent!==void 0&&(o.userAgent=i.userAgent),i.attribution!==void 0&&(o.attribution=i.attribution),i.version!==void 0&&(o.version=i.version));return o}r(p,"mergeClientIdentity");function f(e){return e?.version??s}r(f,"getClientVersion");function $(){if(typeof process>"u")return;let e=process.versions;if(e?.bun)return`bun/${e.bun}`;if(e?.node)return`node/${process.version}`}r($,"runtimeDescription");function g(e){let o=e?.userAgent??"detailed";if(typeof o=="object")return o.custom;if(o==="short")return l;let i=`${l}/${f(e)}`,a=$();return a?`${i} (${process.platform}; ${a}; ${process.arch})`:`${i} (browser)`}r(g,"formatUserAgent");function d(e,o){try{return new URL(e).hostname===o}catch{return!1}}r(d,"matchesHost");function S(e){return e.provider==="openrouter"||e.baseUrl.includes("openrouter.ai")}r(S,"isOpenRouter");function U(e){return e.provider==="nvidia"||d(e.baseUrl,M)}r(U,"isNvidiaNim");function v(e){return e.provider==="opencode"||e.provider==="opencode-go"||d(e.baseUrl,R)}r(v,"isOpenCode");function h(e,o){let i=o?.attribution;if(!i)return{};let{name:a,url:t,categories:n}=i;return S(e)?{"HTTP-Referer":t,"X-OpenRouter-Title":a,...n===void 0||n.length===0?{}:{"X-OpenRouter-Categories":n.join(",")}}:U(e)?{"X-BILLING-INVOKE-ORIGIN":a.charAt(0).toUpperCase()+a.slice(1)}:v(e)?{"x-opencode-client":a}:{}}r(h,"getAttributionHeaders");function m(e,o){return o&&v(e)?{"x-opencode-session":o}:void 0}r(m,"getOpenCodeSessionHeaders");function N(e,o){return{"User-Agent":g(o),...h(e,o)}}r(N,"getIdentityHeaders");function C(e){return"setProvider"in e&&"deleteProvider"in e&&"clearProviders"in e}r(C,"isMutableModels");function D(e,o){let i=r(t=>({...t,identity:p(o,t?.identity)}),"withIdentity"),a={getProviders:r(()=>e.getProviders(),"getProviders"),getProvider:r(t=>e.getProvider(t),"getProvider"),getModels:r(t=>e.getModels(t),"getModels"),getModel:r((t,n)=>e.getModel(t,n),"getModel"),getModelsOfType:r((t,n)=>e.getModelsOfType(t,n),"getModelsOfType"),getModelOfType:r((t,n,u)=>e.getModelOfType(t,n,u),"getModelOfType"),getAllModels:r(t=>e.getAllModels(t),"getAllModels"),refresh:r(t=>e.refresh(t),"refresh"),checkAuth:r((t,n)=>e.checkAuth(t,n),"checkAuth"),getAvailable:r((t,n)=>e.getAvailable(t,n),"getAvailable"),getAvailableOfType:r((t,n,u)=>e.getAvailableOfType(t,n,u),"getAvailableOfType"),getAllAvailable:r((t,n)=>e.getAllAvailable(t,n),"getAllAvailable"),getAuth:e.getAuth.bind(e),login:r((t,n,u,A)=>e.login(t,n,u,A),"login"),logout:r((t,n)=>e.logout(t,n),"logout"),stream:r((t,n,u)=>e.stream(t,n,i(u)),"stream"),complete:r((t,n,u)=>e.complete(t,n,i(u)),"complete"),streamSimple:r((t,n,u)=>e.streamSimple(t,n,i(u)),"streamSimple"),completeSimple:r((t,n,u)=>e.completeSimple(t,n,i(u)),"completeSimple"),streamDeferred:r((t,n,u)=>e.streamDeferred(t,n,i(u)),"streamDeferred"),fetchDeferred:r((t,n,u)=>e.fetchDeferred(t,n,i(u)),"fetchDeferred"),cancelDeferred:r((t,n,u)=>e.cancelDeferred(t,n,i(u)),"cancelDeferred"),generateImages:r((t,n,u)=>e.generateImages(t,n,i(u)),"generateImages"),classify:r((t,n,u)=>e.classify(t,n,i(u)),"classify")};return C(e)?{...a,setProvider:r(t=>e.setProvider(t),"setProvider"),deleteProvider:r(t=>e.deleteProvider(t),"deleteProvider"),clearProviders:r(()=>e.clearProviders(),"clearProviders")}:a}r(D,"withClientIdentity");export{s as PI_AI_VERSION,T as PI_ATTRIBUTION,c as contentText,g as formatUserAgent,h as getAttributionHeaders,f as getClientVersion,N as getIdentityHeaders,m as getOpenCodeSessionHeaders,y as getSystemMessageText,p as mergeClientIdentity,P as ownedSlice,I as renderSystemMessageUpdate,D as withClientIdentity};
|