@illalabs/interfaces 0.3.0-canary.f3dad1f7 → 0.3.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/schemas/chatContext.d.ts +3 -0
- package/dist/schemas/chatContext.d.ts.map +1 -1
- package/dist/schemas/chatRequestBody.d.ts +12 -0
- package/dist/schemas/chatRequestBody.d.ts.map +1 -1
- package/dist/schemas/messages.d.ts +473 -0
- package/dist/schemas/messages.d.ts.map +1 -1
- package/dist/schemas/messages.js +64 -0
- package/dist/schemas/messages.js.map +1 -1
- package/dist/schemas/modelContext.d.ts +3 -3
- package/dist/schemas/telemetryEvents.d.ts +1302 -44
- package/dist/schemas/telemetryEvents.d.ts.map +1 -1
- package/dist/schemas/telemetryEvents.js +4 -18
- package/dist/schemas/telemetryEvents.js.map +1 -1
- package/dist/schemas/userContext.d.ts +3 -0
- package/dist/schemas/userContext.d.ts.map +1 -1
- package/dist/schemas/userContext.js +4 -0
- package/dist/schemas/userContext.js.map +1 -1
- package/dist/tools/IllaToolError.d.ts +6 -2
- package/dist/tools/IllaToolError.d.ts.map +1 -1
- package/dist/tools/IllaToolError.js +6 -2
- package/dist/tools/IllaToolError.js.map +1 -1
- package/dist/tools/IllaToolOutcome.js +1 -1
- package/dist/tools/IllaToolOutcome.js.map +1 -1
- package/dist/types/actions/inputs.d.ts +6 -2
- package/dist/types/actions/inputs.d.ts.map +1 -1
- package/dist/types/actions/outputs.d.ts +19 -1
- package/dist/types/actions/outputs.d.ts.map +1 -1
- package/dist/types/actions/tools/getWalletBalanceAction.d.ts +3 -1
- package/dist/types/actions/tools/getWalletBalanceAction.d.ts.map +1 -1
- package/dist/types/actions/tools/index.d.ts +12 -0
- package/dist/types/actions/tools/index.d.ts.map +1 -1
- package/dist/types/actions/tools/polymarketPostOrderAction.d.ts +81 -0
- package/dist/types/actions/tools/polymarketPostOrderAction.d.ts.map +1 -0
- package/dist/types/actions/tools/polymarketPostOrderAction.js +2 -0
- package/dist/types/actions/tools/polymarketPostOrderAction.js.map +1 -0
- package/dist/types/actions/tools/predictionMarketsBetAction.d.ts +19 -0
- package/dist/types/actions/tools/predictionMarketsBetAction.d.ts.map +1 -0
- package/dist/types/actions/tools/predictionMarketsBetAction.js +2 -0
- package/dist/types/actions/tools/predictionMarketsBetAction.js.map +1 -0
- package/dist/types/actions/tools/predictionMarketsFetchAction.d.ts +21 -0
- package/dist/types/actions/tools/predictionMarketsFetchAction.d.ts.map +1 -0
- package/dist/types/actions/tools/predictionMarketsFetchAction.js +2 -0
- package/dist/types/actions/tools/predictionMarketsFetchAction.js.map +1 -0
- package/dist/types/actions/tools/predictionMarketsPositionsAction.d.ts +25 -0
- package/dist/types/actions/tools/predictionMarketsPositionsAction.d.ts.map +1 -0
- package/dist/types/actions/tools/predictionMarketsPositionsAction.js +2 -0
- package/dist/types/actions/tools/predictionMarketsPositionsAction.js.map +1 -0
- package/dist/utils/constants.d.ts +5 -3
- package/dist/utils/constants.d.ts.map +1 -1
- package/dist/utils/constants.js +11 -1
- package/dist/utils/constants.js.map +1 -1
- package/package.json +1 -1
package/dist/utils/constants.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export const LENDING_PROVIDERS = Object.freeze(["aave"]);
|
|
2
2
|
export const SWAP_BRIDGE_PROVIDERS = Object.freeze(["lifi"]);
|
|
3
3
|
export const EXCHANGE_RATE_PROVIDERS = Object.freeze(["coinMarketCap"]);
|
|
4
|
+
export const PREDICTION_MARKET_PROVIDERS = Object.freeze(["polymarket"]);
|
|
4
5
|
/**
|
|
5
6
|
* Canonical definition of chains with id and name.
|
|
6
7
|
* We use `as const` to preserve literal types at the type level.
|
|
@@ -31,8 +32,12 @@ export const SUPPORTED_ACTIONS = Object.freeze([
|
|
|
31
32
|
"defiWithdraw",
|
|
32
33
|
"swap",
|
|
33
34
|
"bridge",
|
|
35
|
+
"predictionMarketsFetch",
|
|
36
|
+
"predictionMarketsBet",
|
|
37
|
+
"predictionMarketsPositions",
|
|
38
|
+
"polymarketPostOrder",
|
|
34
39
|
]);
|
|
35
|
-
export const SUPPORTED_WALLET_BALANCE_PROVIDERS = Object.freeze(["moralis"]);
|
|
40
|
+
export const SUPPORTED_WALLET_BALANCE_PROVIDERS = Object.freeze(["moralis", "polymarket"]);
|
|
36
41
|
export const CHECKABLE_ACTIONS = Object.freeze([
|
|
37
42
|
"swap",
|
|
38
43
|
"bridge",
|
|
@@ -52,6 +57,11 @@ export const SUPPORTED_OPENROUTER_MODELS = [
|
|
|
52
57
|
"openai/gpt-5",
|
|
53
58
|
"qwen/qwen3-vl-30b-a3b-thinking",
|
|
54
59
|
"openai/gpt-5-mini",
|
|
60
|
+
"moonshotai/kimi-k2-thinking",
|
|
61
|
+
"google/gemini-3-flash-preview",
|
|
62
|
+
"z-ai/glm-4.7-flash",
|
|
63
|
+
"anthropic/claude-haiku-4.5",
|
|
64
|
+
"deepseek/deepseek-v3.2",
|
|
55
65
|
];
|
|
56
66
|
/**
|
|
57
67
|
* Supported OpenAI models
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAU,CAAC,CAAC;AAElE,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAU,CAAC,CAAC;AAEtE,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,eAAe,CAAU,CAAC,CAAC;AAEjF;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACrC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE;IAC3B,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE;IAC5B,EAAE,EAAE,EAAE,EAAE,EAAE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