@columenlabs/lumen-ai 0.1.213 → 0.1.215
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 +3 -3
- package/dist/assistant/engine.d.ts +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -125,8 +125,8 @@ The panel's composer lists what can follow three keys as they are typed. The kit
|
|
|
125
125
|
```
|
|
126
126
|
|
|
127
127
|
A command that acts in the browser (opens a page, sets a filter) goes on the panel instead: `LumenAssistant` (or `useLumenAssistantDock`) takes `commands`, each `{ name, about, args?, options?, run }`; `run` returns text to send, or nothing when it acted itself, and `options` lists choices for its words as they are typed.
|
|
128
|
-
-
|
|
129
|
-
-
|
|
128
|
+
- **`#` a tier.** `#` lists the app's tiers; the pick is a chip and goes with that message only (`tier`). A higher tier takes it as a task in its own section of the chat; the same or a lower one answers it.
|
|
129
|
+
- **`@` a thing.** `@` lists what the person can point at, a group per source; each pick is a chip and goes with the message as a ref (`kind`, `label` and whatever finds it), which the model reads before the message. Standing sources go on the panel (`sources`); a page adds its own while it is shown:
|
|
130
130
|
|
|
131
131
|
```tsx
|
|
132
132
|
import { useAssistantSource } from '@columenlabs/lumen-ui/assistant';
|
|
@@ -143,7 +143,7 @@ The panel's composer lists what can follow three keys as they are typed. The kit
|
|
|
143
143
|
|
|
144
144
|
`target` lights the thing on screen while its row is hovered. A page's source replaces a standing one with the same `id`.
|
|
145
145
|
|
|
146
|
-
Text the person highlights on the page is offered first under
|
|
146
|
+
Text the person highlights on the page is offered first under `@` (Selected text), with where it sits from the nearest `data-assistant-where` attribute. To hand a highlight over from the page, an Ask button calls `composeAssistant({ refs: [selectionRef({ text, where })], text: '' })` (or any refs and text): the panel opens with the chips in the composer, focused for the person to finish.
|
|
147
147
|
|
|
148
148
|
### Bearings
|
|
149
149
|
|
|
@@ -180,7 +180,7 @@ export interface AgentTurnInput {
|
|
|
180
180
|
message: string;
|
|
181
181
|
context?: AssistantMessage['context'];
|
|
182
182
|
refs?: AssistantMessage['refs'];
|
|
183
|
-
/** The tier the person picked for this message (
|
|
183
|
+
/** The tier the person picked for this message (`#`). */
|
|
184
184
|
tier?: string;
|
|
185
185
|
/** The browser's IANA zone, for the bearings. */
|
|
186
186
|
time_zone?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@columenlabs/lumen-ai",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.215",
|
|
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",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"@ai-sdk/openai": "4.0.108",
|
|
53
53
|
"@anthropic-ai/sdk": "0.133.0",
|
|
54
54
|
"@cloudflare/think": "0.23.0",
|
|
55
|
-
"@columenlabs/lumen-ops": "0.1.
|
|
56
|
-
"@columenlabs/lumen-ui-types": "0.1.
|
|
55
|
+
"@columenlabs/lumen-ops": "0.1.215",
|
|
56
|
+
"@columenlabs/lumen-ui-types": "0.1.215",
|
|
57
57
|
"agents": "0.32.0",
|
|
58
58
|
"ai": "7.0.162",
|
|
59
59
|
"just-bash": "3.6.0",
|