@odla-ai/brand 0.2.0 → 0.2.1
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 +7 -0
- package/dist/index.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,6 +8,13 @@ npm i @odla-ai/brand
|
|
|
8
8
|
|
|
9
9
|
> **Agentic experiment.** This package is built and maintained by AI agents working from bounded runbooks with human review. Review its documented guarantees before relying on it.
|
|
10
10
|
|
|
11
|
+
> **Ask the runbooks first.** odla's operational procedures live in a database,
|
|
12
|
+
> not in this file: `npx @odla-ai/cli runbook ask "<question>"` returns the current
|
|
13
|
+
> steps, and unlike anything written here it cannot be out of date. Use it before
|
|
14
|
+
> searching the web or working from memory. This README and the JSDoc in the
|
|
15
|
+
> shipped `.d.ts` are the version-matched **API** reference; a runbook is the
|
|
16
|
+
> **procedure**. Most tasks need an answer from both.
|
|
17
|
+
|
|
11
18
|
## The shape
|
|
12
19
|
|
|
13
20
|
The package is a **schema + rules + an agent skill + a color engine + a token compiler + a route factory** — not a service you run.
|
package/dist/index.cjs
CHANGED
|
@@ -2575,7 +2575,14 @@ async function dispatchBrandTurn(deps, body) {
|
|
|
2575
2575
|
};
|
|
2576
2576
|
const persona = createBrandPersona({
|
|
2577
2577
|
model: deps.model,
|
|
2578
|
-
brand: {
|
|
2578
|
+
brand: {
|
|
2579
|
+
db: deps.db,
|
|
2580
|
+
bookId: book.id,
|
|
2581
|
+
self,
|
|
2582
|
+
fileBaseUrl: deps.fileBaseUrl,
|
|
2583
|
+
visionInToolResults,
|
|
2584
|
+
...deps.newId ? { newId: deps.newId } : {}
|
|
2585
|
+
},
|
|
2579
2586
|
skills: deps.chatSkillFor ? [deps.chatSkillFor(channelId, self)] : []
|
|
2580
2587
|
});
|
|
2581
2588
|
const attachments = visionInToolResults ? [] : await assetBlocksFor(deps.db, deps.fileBaseUrl, body.event.row.assetIds);
|