@emblemvault/hustle-react 1.4.2 → 1.4.4
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/browser/hustle-react.js +173 -6
- package/dist/browser/hustle-react.js.map +1 -1
- package/dist/components/index.cjs +149 -6
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +149 -6
- package/dist/components/index.js.map +1 -1
- package/dist/hooks/index.cjs +24 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.cts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +24 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/{hustle-S48t4lTZ.d.cts → hustle-C0Ltl5k4.d.cts} +27 -0
- package/dist/{hustle-S48t4lTZ.d.ts → hustle-C0Ltl5k4.d.ts} +27 -0
- package/dist/index.cjs +173 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +173 -6
- package/dist/index.js.map +1 -1
- package/dist/plugins/index.cjs +9 -0
- package/dist/plugins/index.cjs.map +1 -1
- package/dist/plugins/index.js +9 -0
- package/dist/plugins/index.js.map +1 -1
- package/dist/providers/index.cjs +24 -0
- package/dist/providers/index.cjs.map +1 -1
- package/dist/providers/index.d.cts +1 -1
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +24 -0
- package/dist/providers/index.js.map +1 -1
- package/package.json +1 -1
package/dist/plugins/index.cjs
CHANGED
|
@@ -1398,6 +1398,15 @@ Executors run in the browser context with full access to:
|
|
|
1398
1398
|
- **window.__hustleListPlugins()** - List all installed plugins
|
|
1399
1399
|
- **window.__hustleGetPlugin(name)** - Get a specific plugin by name
|
|
1400
1400
|
|
|
1401
|
+
### Hustle Settings Globals (Read/Write)
|
|
1402
|
+
- **window.__hustleGetModel()** - Get the current model override (empty string = server default)
|
|
1403
|
+
- **window.__hustleSetModel(model)** - Set the model override (e.g., "anthropic/claude-3-opus")
|
|
1404
|
+
- **window.__hustleGetSystemPrompt()** - Get the current system prompt override
|
|
1405
|
+
- **window.__hustleSetSystemPrompt(prompt)** - Set the system prompt override
|
|
1406
|
+
- **window.__hustleGetSkipServerPrompt()** - Get whether server prompt is skipped (boolean)
|
|
1407
|
+
- **window.__hustleSetSkipServerPrompt(skip)** - Set whether to skip server prompt
|
|
1408
|
+
- **window.__hustleGetModels()** - Get list of available models (read-only)
|
|
1409
|
+
|
|
1401
1410
|
### DOM Manipulation Examples
|
|
1402
1411
|
Create a modal: document.createElement('div'), style it, append to document.body
|
|
1403
1412
|
Add event listeners: element.addEventListener('click', handler)
|