@ixo/oracle-runtime-workers 0.40.1 → 0.41.1
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/package.json +3 -3
- package/src/index.ts +2 -0
- package/src/plugins/asks/asks.plugin.ts +226 -0
- package/src/plugins/asks/attach.ts +342 -0
- package/src/plugins/asks/connection-do.ts +69 -0
- package/src/plugins/asks/connection.ts +368 -0
- package/src/plugins/asks/guide.ts +18 -0
- package/src/plugins/asks/index.ts +5 -0
- package/src/plugins/asks/oauth.ts +381 -0
- package/src/plugins/asks/routes.ts +258 -0
- package/src/plugins/asks/skill-pick.ts +114 -0
- package/src/plugins/asks/skills.bundled.json +27 -0
- package/src/plugins/asks/skills.ts +200 -0
- package/src/plugins/asks/testing.ts +146 -0
- package/src/plugins/asks/tools.ts +739 -0
- package/src/plugins/index.ts +8 -0
package/src/plugins/index.ts
CHANGED
|
@@ -15,11 +15,16 @@ export { HubActionsPlugin } from './hub-actions/hub-actions.plugin';
|
|
|
15
15
|
* `createOracleWorker({ plugins })` — plugins whose env keys are absent are
|
|
16
16
|
* skipped by their `autoDetect`.
|
|
17
17
|
*
|
|
18
|
+
* asks.world (`AsksPlugin`) self-gates on `ASKS_TOKEN_KEY`, `ORACLE_PUBLIC_URL`
|
|
19
|
+
* and `NETWORK`; the host also binds and exports `AsksConnectionDO`
|
|
20
|
+
* (`docs/asks.md`).
|
|
21
|
+
*
|
|
18
22
|
* Shipped but opt-in (not in the bundle): `IxoTransactionPlugin`, which asks
|
|
19
23
|
* the user's Portal wallet to sign chain transactions; an oracle adds
|
|
20
24
|
* `new IxoTransactionPlugin()` itself.
|
|
21
25
|
*/
|
|
22
26
|
import type { OraclePlugin } from '../plugin-api/oracle-plugin';
|
|
27
|
+
import { AsksPlugin } from './asks';
|
|
23
28
|
import { ComposioPlugin } from './composio';
|
|
24
29
|
import { EditorPlugin } from './editor';
|
|
25
30
|
import { TasksPlugin } from './tasks'; // pre-constructed object (defineOraclePlugin)
|
|
@@ -35,6 +40,7 @@ import { AttachmentsPlugin } from './attachments';
|
|
|
35
40
|
import { MatrixGroupChatsPlugin } from './matrix-group-chats';
|
|
36
41
|
import { PodCreatorPlugin } from './pod-creator';
|
|
37
42
|
|
|
43
|
+
export * from './asks';
|
|
38
44
|
export * from './composio';
|
|
39
45
|
export * from './editor';
|
|
40
46
|
export * from './flows';
|
|
@@ -64,6 +70,7 @@ export const aguiPlugin = new AGUIPlugin();
|
|
|
64
70
|
export const attachmentsPlugin = new AttachmentsPlugin();
|
|
65
71
|
export const matrixGroupChatsPlugin = new MatrixGroupChatsPlugin();
|
|
66
72
|
export const podCreatorPlugin = new PodCreatorPlugin();
|
|
73
|
+
export const asksPlugin = new AsksPlugin();
|
|
67
74
|
/** TasksPlugin is already an object (defineOraclePlugin), not a class. */
|
|
68
75
|
export const tasksPlugin = TasksPlugin;
|
|
69
76
|
|
|
@@ -90,4 +97,5 @@ export const BUNDLED_WORKERS_PLUGINS = [
|
|
|
90
97
|
attachmentsPlugin,
|
|
91
98
|
matrixGroupChatsPlugin,
|
|
92
99
|
podCreatorPlugin,
|
|
100
|
+
asksPlugin,
|
|
93
101
|
] as const satisfies readonly OraclePlugin[];
|