@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.js
CHANGED
|
@@ -1396,6 +1396,15 @@ Executors run in the browser context with full access to:
|
|
|
1396
1396
|
- **window.__hustleListPlugins()** - List all installed plugins
|
|
1397
1397
|
- **window.__hustleGetPlugin(name)** - Get a specific plugin by name
|
|
1398
1398
|
|
|
1399
|
+
### Hustle Settings Globals (Read/Write)
|
|
1400
|
+
- **window.__hustleGetModel()** - Get the current model override (empty string = server default)
|
|
1401
|
+
- **window.__hustleSetModel(model)** - Set the model override (e.g., "anthropic/claude-3-opus")
|
|
1402
|
+
- **window.__hustleGetSystemPrompt()** - Get the current system prompt override
|
|
1403
|
+
- **window.__hustleSetSystemPrompt(prompt)** - Set the system prompt override
|
|
1404
|
+
- **window.__hustleGetSkipServerPrompt()** - Get whether server prompt is skipped (boolean)
|
|
1405
|
+
- **window.__hustleSetSkipServerPrompt(skip)** - Set whether to skip server prompt
|
|
1406
|
+
- **window.__hustleGetModels()** - Get list of available models (read-only)
|
|
1407
|
+
|
|
1399
1408
|
### DOM Manipulation Examples
|
|
1400
1409
|
Create a modal: document.createElement('div'), style it, append to document.body
|
|
1401
1410
|
Add event listeners: element.addEventListener('click', handler)
|