lua-cli 3.53.0 → 3.55.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/dist/api-exports.d.ts +212 -88
- package/dist/api-exports.js +682 -48
- package/dist/api-exports.js.map +1 -1
- package/dist/index.js +2840 -599
- package/dist/index.js.map +1 -1
- package/dist/voice/test/index.d.ts +97 -72
- package/dist/workflow-builder.d.ts +22 -0
- package/dist/workflow-builder.js +584 -7
- package/dist/workflow-builder.js.map +1 -1
- package/docs/API_REFERENCE.md +23 -0
- package/docs/CLI_REFERENCE.md +14 -0
- package/docs/README.md +3 -3
- package/docs/api/Data.md +19 -4
- package/docs/api/LuaTool.md +124 -82
- package/docs/api/LuaWebhook.md +1 -1
- package/package.json +3 -2
- package/template/README.md +2 -0
- package/template/package.json +1 -1
- package/template-web-app/app.ts +5 -0
- package/template-web-app/web/package.json +2 -3
- package/template-web-app/web/src/index.css +0 -2
- package/template-web-app/web/src/main.tsx +1 -9
|
@@ -8,9 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@base-ui/react": "~1.8.0",
|
|
11
|
-
"@lua-ai-global/app-
|
|
12
|
-
"@lua-ai-global/
|
|
13
|
-
"@lua-ai-global/ui": "~0.2.3",
|
|
11
|
+
"@lua-ai-global/app-client": "~0.1.0",
|
|
12
|
+
"@lua-ai-global/ui": "~0.3.0",
|
|
14
13
|
"@phosphor-icons/react": "~2.1.10",
|
|
15
14
|
"react": "~19.3.0",
|
|
16
15
|
"react-dom": "~19.3.0"
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
@import '@lua-ai-global/ui/styles.css';
|
|
2
|
-
/* The agent pane's styles: after the design system's, on its tokens. */
|
|
3
|
-
@import '@lua-ai-global/app-chat/styles.css';
|
|
4
2
|
/* Tailwind scans the design system's compiled components for the classes they use. */
|
|
5
3
|
@source '../node_modules/@lua-ai-global/ui/dist';
|
|
@@ -2,19 +2,11 @@ import { StrictMode } from 'react';
|
|
|
2
2
|
import { createRoot } from 'react-dom/client';
|
|
3
3
|
import { App } from './App';
|
|
4
4
|
import { lua } from '@lua-ai-global/app-client';
|
|
5
|
-
import { AgentPaneLayout } from '@lua-ai-global/app-chat';
|
|
6
5
|
import './index.css';
|
|
7
6
|
|
|
8
|
-
// Theme follows the shell: first from the bootstrap, then from the host's `init`.
|
|
9
|
-
document.documentElement.classList.toggle('dark', lua.theme === 'dark');
|
|
10
|
-
lua.onInit((init) => document.documentElement.classList.toggle('dark', init.theme === 'dark'));
|
|
11
|
-
|
|
12
7
|
createRoot(document.getElementById('root')!).render(
|
|
13
8
|
<StrictMode>
|
|
14
|
-
|
|
15
|
-
<AgentPaneLayout>
|
|
16
|
-
<App />
|
|
17
|
-
</AgentPaneLayout>
|
|
9
|
+
<App />
|
|
18
10
|
</StrictMode>
|
|
19
11
|
);
|
|
20
12
|
void lua.start();
|