@columenlabs/lumen-ai 0.1.84 → 0.1.85
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/assistant/engine.js +3 -1
- package/package.json +3 -3
package/dist/assistant/engine.js
CHANGED
|
@@ -661,7 +661,7 @@ export class Assistant {
|
|
|
661
661
|
}
|
|
662
662
|
const page = this.cardNews(doc) +
|
|
663
663
|
(req.refs?.length
|
|
664
|
-
? `The person points at: ${JSON.stringify(req.refs).slice(0, 16000)}\n\n`
|
|
664
|
+
? `The person points at these parts: they are what "this" means, and when the person asks for a change they are the only parts to change. Read anything else you need (the rest of the page, other records, your tools) for context, but leave it as it is unless they ask.\n${JSON.stringify(req.refs).slice(0, 16000)}\n\n`
|
|
665
665
|
: '') +
|
|
666
666
|
(req.context
|
|
667
667
|
? `Page: ${req.context.label}${req.context.note === undefined ? '' : `\n${JSON.stringify(req.context.note).slice(0, 4000)}`}\n\n`
|
|
@@ -787,6 +787,8 @@ export class Assistant {
|
|
|
787
787
|
'A tool marked DRAFT ONLY makes a card the person saves or dismisses; it changes nothing by itself. Say what the card will do; never claim it is done. The next message tells you how each card ended.',
|
|
788
788
|
'A tool marked WRITES AT ONCE makes its change when you call it; the person can undo it from the chat. Change only what they asked for, and say what you changed.',
|
|
789
789
|
];
|
|
790
|
+
if (main)
|
|
791
|
+
lines.push(`You run on the ${main.tier.label} tier: ${main.model.label}, from ${PROVIDERS[main.model.provider].label}. Say so when asked which tier or model you are.`);
|
|
790
792
|
if (!fns.size)
|
|
791
793
|
lines.push('No tools are on now: the person can turn them on in Settings ▸ Tools.');
|
|
792
794
|
if (failed)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@columenlabs/lumen-ai",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.85",
|
|
4
4
|
"description": "Lumen's assistant and agent parts: a chat assistant's server (Claude tiers, tools over MCP, the web, hand off, spend caps), serving an MCP server from a Worker, read-only tool sets and metered tool calls.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@anthropic-ai/sdk": "0.133.0",
|
|
44
|
-
"@columenlabs/lumen-ops": "0.1.
|
|
45
|
-
"@columenlabs/lumen-ui-types": "0.1.
|
|
44
|
+
"@columenlabs/lumen-ops": "0.1.85",
|
|
45
|
+
"@columenlabs/lumen-ui-types": "0.1.85",
|
|
46
46
|
"openai": "7.32.0",
|
|
47
47
|
"zod": "^4.3.6"
|
|
48
48
|
},
|