@rizom/brain 0.2.0-alpha.638 → 0.2.0-alpha.639
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/dist/brain.js +47 -47
- package/dist/chunks/{app-xjww1k54.js → app-n4fn3452.js} +2 -2
- package/dist/chunks/{blog-post-adapter-hp1jpkh5.js → blog-post-adapter-wmaznez3.js} +2 -2
- package/dist/chunks/{index-6hm6arjn.js → index-3mkrcp93.js} +2 -2
- package/dist/chunks/{index-dssbcrs8.js → index-78z40h0p.js} +2 -2
- package/dist/chunks/{index-f3j9ts9d.js → index-agcfmyk2.js} +5 -5
- package/dist/chunks/{index-f3j9ts9d.js.map → index-agcfmyk2.js.map} +6 -6
- package/dist/chunks/{index-txh0swvr.js → index-bqxbzrs0.js} +3 -3
- package/dist/chunks/{index-4w2en9xb.js → index-ger37r63.js} +3 -3
- package/dist/chunks/{index-4w2en9xb.js.map → index-ger37r63.js.map} +1 -1
- package/dist/chunks/{index-6fezwyfd.js → index-x0ameew6.js} +2 -2
- package/dist/chunks/{linkedin-template-dy495kpt.js → linkedin-template-v2rav111.js} +2 -2
- package/dist/chunks/{rss-datasource-ezan9tme.js → rss-datasource-xdcpg5n7.js} +2 -2
- package/dist/entities.js +1 -1
- package/dist/git-broker.js +3 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/interfaces.js +1 -1
- package/dist/model.d.ts +3 -0
- package/dist/model.js +44 -44
- package/dist/model.js.map +3 -3
- package/dist/plugins.d.ts +1 -0
- package/dist/plugins.js +1 -1
- package/dist/services.js +1 -1
- package/dist/ui/{studio-app-ndcrmfzm.js → studio-app-b7p35nrr.js} +2 -2
- package/dist/ui/studio-asset-manifest.json +13 -13
- package/dist/ui/studio-chunks/{account-view-bx624hra.js → account-view-06a2f2at.js} +1 -1
- package/dist/ui/studio-chunks/{main-epetgpas.js → main-2d5rbjdk.js} +1 -1
- package/dist/ui/studio-chunks/{main-xsp6hn6k.js → main-34qtzn9g.js} +1 -1
- package/dist/ui/studio-chunks/{main-spzjxcrk.js → main-3erzpfwb.js} +4 -4
- package/dist/ui/studio-chunks/{main-spzjxcrk.js.map → main-3erzpfwb.js.map} +6 -6
- package/dist/ui/studio-chunks/{studio-chat-workspace-fszz87y5.js → studio-chat-workspace-nyqph20k.js} +1 -1
- package/package.json +1 -1
- /package/dist/chunks/{app-xjww1k54.js.map → app-n4fn3452.js.map} +0 -0
- /package/dist/chunks/{blog-post-adapter-hp1jpkh5.js.map → blog-post-adapter-wmaznez3.js.map} +0 -0
- /package/dist/chunks/{index-6hm6arjn.js.map → index-3mkrcp93.js.map} +0 -0
- /package/dist/chunks/{index-dssbcrs8.js.map → index-78z40h0p.js.map} +0 -0
- /package/dist/chunks/{index-txh0swvr.js.map → index-bqxbzrs0.js.map} +0 -0
- /package/dist/chunks/{index-6fezwyfd.js.map → index-x0ameew6.js.map} +0 -0
- /package/dist/chunks/{linkedin-template-dy495kpt.js.map → linkedin-template-v2rav111.js.map} +0 -0
- /package/dist/chunks/{rss-datasource-ezan9tme.js.map → rss-datasource-xdcpg5n7.js.map} +0 -0
- /package/dist/ui/{studio-app-ndcrmfzm.js.map → studio-app-b7p35nrr.js.map} +0 -0
- /package/dist/ui/studio-chunks/{account-view-bx624hra.js.map → account-view-06a2f2at.js.map} +0 -0
- /package/dist/ui/studio-chunks/{main-epetgpas.js.map → main-2d5rbjdk.js.map} +0 -0
- /package/dist/ui/studio-chunks/{main-xsp6hn6k.js.map → main-34qtzn9g.js.map} +0 -0
- /package/dist/ui/studio-chunks/{studio-chat-workspace-fszz87y5.js.map → studio-chat-workspace-nyqph20k.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -189,6 +189,8 @@ interface SiteLayoutInfo extends SiteMetadata {
|
|
|
189
189
|
url: string;
|
|
190
190
|
label?: string | undefined;
|
|
191
191
|
}> | undefined;
|
|
192
|
+
/** The anchor's photo, as ``; the build writes the image to /images/<id>.webp. */
|
|
193
|
+
photo?: string | undefined;
|
|
192
194
|
}
|
|
193
195
|
/** A page in one of the languages it is built in. */
|
|
194
196
|
interface SiteAlternate {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ea as d,Fa as t}from"./chunks/index-
|
|
2
|
+
import{Ea as d,Fa as t}from"./chunks/index-x0ameew6.js";import{ug as a}from"./chunks/index-agcfmyk2.js";import"./chunks/index-yp4cs2mr.js";import"./chunks/index-pd2bwakt.js";import"./chunks/index-73wgcd6z.js";import"./chunks/index-0a31x08p.js";import"./chunks/index-wy9z16t6.js";import"./chunks/index-49xrgewq.js";import"./chunks/index-150e8xxq.js";function s(e,i){let o=new Set,n=new Set;for(let r of e){if(!t(r))throw Error(`${i} contains a value that was not returned by use()`);if(o.has(r.definition))throw Error(`${i} contains duplicate plugin definition "${r.definition.id}"; include each configured definition only once`);if(n.has(r.definition.id))throw Error(`${i} contains duplicate local plugin id "${r.definition.id}"; give each package definition a unique local id before composing it`);o.add(r.definition),n.add(r.definition.id)}}function l(e){a(e.id,"Bundle id"),s(e.members,`Bundle "${e.id}"`);for(let i of e.config??[])if(!t(i.member))throw Error(`Bundle "${e.id}" config contains a value that was not returned by use()`);for(let i of e.permissions??[])if(!t(i.member))throw Error(`Bundle "${e.id}" permissions contains a value that was not returned by use()`);for(let i of e.evalDisable??[])if(!t(i))throw Error(`Bundle "${e.id}" evalDisable contains a value that was not returned by use()`);return Object.freeze({...e,members:Object.freeze([...e.members]),...e.config?{config:Object.freeze([...e.config])}:{},...e.permissions?{permissions:Object.freeze([...e.permissions])}:{},...e.agentInstructions?{agentInstructions:Object.freeze([...e.agentInstructions])}:{},...e.evalDisable?{evalDisable:Object.freeze([...e.evalDisable])}:{}})}function u(e){if(!e.name.trim())throw Error("Brain name must not be empty");if(e.bundleContract?.trim().length===0)throw Error("Brain bundleContract must not be empty");s(e.plugins,`Brain "${e.name}"`);let i=new Set(e.plugins),o=new Set;for(let n of e.bundles??[]){if(o.has(n.id))throw Error(`Brain "${e.name}" has duplicate bundle "${n.id}"`);o.add(n.id);for(let r of n.members)if(!i.has(r))throw Error(`Brain "${e.name}" bundle "${n.id}" references a plugin outside its catalog`);for(let r of n.config??[])if(!i.has(r.member))throw Error(`Brain "${e.name}" bundle "${n.id}" config references a plugin outside its catalog`);for(let r of n.permissions??[])if(!i.has(r.member))throw Error(`Brain "${e.name}" bundle "${n.id}" permissions reference a plugin outside its catalog`);for(let r of n.evalDisable??[])if(!i.has(r))throw Error(`Brain "${e.name}" bundle "${n.id}" evalDisable references a plugin outside its catalog`)}for(let n of e.evalDisable??[])if(!i.has(n))throw Error(`Brain "${e.name}" evalDisable references a plugin outside its catalog`);return Object.freeze({...e,plugins:Object.freeze([...e.plugins]),...e.bundles?{bundles:Object.freeze([...e.bundles])}:{},...e.agentInstructions?{agentInstructions:Object.freeze([...e.agentInstructions])}:{},...e.evalDisable?{evalDisable:Object.freeze([...e.evalDisable])}:{}})}export{u as defineBrain,l as defineBundle,d as use};
|
|
3
3
|
|
|
4
4
|
//# debugId=B5CEE228644F793664756E2164756E21
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/interfaces.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Kg as n,Wg as o,Xg as i,Yg as r,Zg as s,_g as f}from"./chunks/index-
|
|
2
|
+
import{Kg as n,Wg as o,Xg as i,Yg as r,Zg as s,_g as f}from"./chunks/index-agcfmyk2.js";import"./chunks/index-yp4cs2mr.js";import"./chunks/index-pd2bwakt.js";import"./chunks/index-73wgcd6z.js";import"./chunks/index-0a31x08p.js";import{uu as t}from"./chunks/index-wy9z16t6.js";import{Gu as e}from"./chunks/index-49xrgewq.js";import"./chunks/index-150e8xxq.js";export{t as UserPermissionLevelSchema,n as defineAccountSettings,r as defineDaemon,s as defineInterface,f as defineMessageInterface,i as defineRoute,o as protocol,e as z};
|
|
3
3
|
|
|
4
4
|
//# debugId=FA45C8046F16B48A64756E2164756E21
|
|
5
5
|
//# sourceMappingURL=interfaces.js.map
|
package/dist/model.d.ts
CHANGED
|
@@ -4000,6 +4000,7 @@ interface AnchorProfile {
|
|
|
4000
4000
|
organization?: string | undefined;
|
|
4001
4001
|
description?: string | undefined;
|
|
4002
4002
|
avatar?: string | undefined;
|
|
4003
|
+
photo?: string | undefined;
|
|
4003
4004
|
website?: string | undefined;
|
|
4004
4005
|
email?: string | undefined;
|
|
4005
4006
|
socialLinks?: AnchorProfileSocialLink[] | undefined;
|
|
@@ -5182,6 +5183,8 @@ interface SiteLayoutInfo extends SiteMetadata {
|
|
|
5182
5183
|
url: string;
|
|
5183
5184
|
label?: string | undefined;
|
|
5184
5185
|
}> | undefined;
|
|
5186
|
+
/** The anchor's photo, as ``; the build writes the image to /images/<id>.webp. */
|
|
5187
|
+
photo?: string | undefined;
|
|
5185
5188
|
}
|
|
5186
5189
|
/** A page in one of the languages it is built in. */
|
|
5187
5190
|
interface SiteAlternate {
|