@emblemvault/hustle-react 1.4.3 → 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 +33 -0
- package/dist/browser/hustle-react.js.map +1 -1
- package/dist/components/index.cjs +9 -0
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +9 -0
- 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.js +24 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/index.cjs +33 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +33 -0
- 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.js +24 -0
- package/dist/providers/index.js.map +1 -1
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -1751,6 +1751,15 @@ Executors run in the browser context with full access to:
|
|
|
1751
1751
|
- **window.__hustleListPlugins()** - List all installed plugins
|
|
1752
1752
|
- **window.__hustleGetPlugin(name)** - Get a specific plugin by name
|
|
1753
1753
|
|
|
1754
|
+
### Hustle Settings Globals (Read/Write)
|
|
1755
|
+
- **window.__hustleGetModel()** - Get the current model override (empty string = server default)
|
|
1756
|
+
- **window.__hustleSetModel(model)** - Set the model override (e.g., "anthropic/claude-3-opus")
|
|
1757
|
+
- **window.__hustleGetSystemPrompt()** - Get the current system prompt override
|
|
1758
|
+
- **window.__hustleSetSystemPrompt(prompt)** - Set the system prompt override
|
|
1759
|
+
- **window.__hustleGetSkipServerPrompt()** - Get whether server prompt is skipped (boolean)
|
|
1760
|
+
- **window.__hustleSetSkipServerPrompt(skip)** - Set whether to skip server prompt
|
|
1761
|
+
- **window.__hustleGetModels()** - Get list of available models (read-only)
|
|
1762
|
+
|
|
1754
1763
|
### DOM Manipulation Examples
|
|
1755
1764
|
Create a modal: document.createElement('div'), style it, append to document.body
|
|
1756
1765
|
Add event listeners: element.addEventListener('click', handler)
|