@astralbeam/sdk 0.1.0 → 0.3.0
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 +33 -21
- package/dist/client.d.ts +7 -7
- package/dist/client.js +1 -1
- package/dist/{core-9Q6FGvSX.js → core-BVlttAaO.js} +18 -6
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/debug-DyjRg3e0.js +1 -0
- package/dist/{index-BBBBbB1x.d.ts → index-DtIS-V14.d.ts} +3 -3
- package/dist/react.d.ts +4 -4
- package/dist/react.js +4 -4
- package/dist/server.d.ts +37 -19
- package/dist/server.js +60 -48
- package/dist/widget-CncI3L44.js +79 -0
- package/package.json +1 -1
- package/dist/debug-DBysy3en.js +0 -1
- package/dist/widget-C7XKsfTv.js +0 -79
package/package.json
CHANGED
package/dist/debug-DBysy3en.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=`AstralBeam`,t=`Ask the assistant`,n=`It can answer questions and act through this app's own tools and widgets.`,r=`https://app.astralbeam.ai/api/chat`,i=`/api/astralbeam/token`,a=`system`,o=`astralbeam-root`,s=e=>`background:${e};color:#fff;border-radius:3px;padding:1px 5px`,c=`${s(`#7c3aed`)};font-weight:600`,l={mount:`#7c3aed`,auth:`#be185d`,theme:`#8b5cf6`,send:`#2563eb`,run:`#0891b2`,stream:`#0e7490`,text:`#16a34a`,reasoning:`#64748b`,tool:`#d97706`,widget:`#db2777`,attachment:`#0d9488`,sandbox:`#0369a1`,questionnaire:`#9333ea`,status:`#475569`,error:`#dc2626`};function u(e){if(e)return(e,t,n)=>{console.log(`%cAstralBeam%c ${new Date().toISOString().slice(11,19)} %c${e}%c ${t}`,c,`color:#94a3b8;font-weight:400`,s(l[e]),``,...n===void 0?[]:[n])}}export{t as a,o as c,n as i,i as n,r as o,a as r,e as s,u as t};
|