@illalabs/interfaces 0.0.0 → 0.1.0-canary.48bfe253

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.
Files changed (117) hide show
  1. package/LICENSE +17 -2
  2. package/README.md +98 -1
  3. package/dist/errors/endpoints/chat/ChatBaseError.d.ts +8 -0
  4. package/dist/errors/endpoints/chat/ChatBaseError.d.ts.map +1 -0
  5. package/dist/errors/endpoints/chat/ChatBaseError.js +2 -0
  6. package/dist/errors/endpoints/chat/ChatBaseError.js.map +1 -0
  7. package/dist/errors/endpoints/chat/index.d.ts +6 -0
  8. package/dist/errors/endpoints/chat/index.d.ts.map +1 -0
  9. package/dist/errors/endpoints/chat/index.js +2 -0
  10. package/dist/errors/endpoints/chat/index.js.map +1 -0
  11. package/dist/errors/endpoints/executionChecker/ExecutionCheckerBaseError.d.ts +10 -0
  12. package/dist/errors/endpoints/executionChecker/ExecutionCheckerBaseError.d.ts.map +1 -0
  13. package/dist/errors/endpoints/executionChecker/ExecutionCheckerBaseError.js +2 -0
  14. package/dist/errors/endpoints/executionChecker/ExecutionCheckerBaseError.js.map +1 -0
  15. package/dist/errors/endpoints/executionChecker/index.d.ts +3 -0
  16. package/dist/errors/endpoints/executionChecker/index.d.ts.map +1 -0
  17. package/dist/errors/endpoints/executionChecker/index.js +2 -0
  18. package/dist/errors/endpoints/executionChecker/index.js.map +1 -0
  19. package/dist/errors/index.d.ts +5 -0
  20. package/dist/errors/index.d.ts.map +1 -0
  21. package/dist/errors/index.js +3 -0
  22. package/dist/errors/index.js.map +1 -0
  23. package/dist/external.d.ts +4 -0
  24. package/dist/external.d.ts.map +1 -0
  25. package/dist/external.js +4 -0
  26. package/dist/external.js.map +1 -0
  27. package/dist/index.d.ts +2 -0
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/index.js +2 -0
  30. package/dist/index.js.map +1 -0
  31. package/dist/interfaces/autoRouter.d.ts +34 -0
  32. package/dist/interfaces/autoRouter.d.ts.map +1 -0
  33. package/dist/interfaces/autoRouter.js +2 -0
  34. package/dist/interfaces/autoRouter.js.map +1 -0
  35. package/dist/interfaces/base.d.ts +15 -0
  36. package/dist/interfaces/base.d.ts.map +1 -0
  37. package/dist/interfaces/base.js +2 -0
  38. package/dist/interfaces/base.js.map +1 -0
  39. package/dist/interfaces/chat/index.d.ts +3 -0
  40. package/dist/interfaces/chat/index.d.ts.map +1 -0
  41. package/dist/interfaces/chat/index.js +3 -0
  42. package/dist/interfaces/chat/index.js.map +1 -0
  43. package/dist/interfaces/chat/request.d.ts +11 -0
  44. package/dist/interfaces/chat/request.d.ts.map +1 -0
  45. package/dist/interfaces/chat/request.js +2 -0
  46. package/dist/interfaces/chat/request.js.map +1 -0
  47. package/dist/interfaces/chat/response.d.ts +22 -0
  48. package/dist/interfaces/chat/response.d.ts.map +1 -0
  49. package/dist/interfaces/chat/response.js +2 -0
  50. package/dist/interfaces/chat/response.js.map +1 -0
  51. package/dist/interfaces/executionChecker/index.d.ts +3 -0
  52. package/dist/interfaces/executionChecker/index.d.ts.map +1 -0
  53. package/dist/interfaces/executionChecker/index.js +3 -0
  54. package/dist/interfaces/executionChecker/index.js.map +1 -0
  55. package/dist/interfaces/executionChecker/request.d.ts +16 -0
  56. package/dist/interfaces/executionChecker/request.d.ts.map +1 -0
  57. package/dist/interfaces/executionChecker/request.js +3 -0
  58. package/dist/interfaces/executionChecker/request.js.map +1 -0
  59. package/dist/interfaces/executionChecker/response.d.ts +32 -0
  60. package/dist/interfaces/executionChecker/response.d.ts.map +1 -0
  61. package/dist/interfaces/executionChecker/response.js +2 -0
  62. package/dist/interfaces/executionChecker/response.js.map +1 -0
  63. package/dist/interfaces/index.d.ts +4 -0
  64. package/dist/interfaces/index.d.ts.map +1 -0
  65. package/dist/interfaces/index.js +4 -0
  66. package/dist/interfaces/index.js.map +1 -0
  67. package/dist/internal.d.ts +5 -0
  68. package/dist/internal.d.ts.map +1 -0
  69. package/dist/internal.js +5 -0
  70. package/dist/internal.js.map +1 -0
  71. package/dist/schemas/chatContext.d.ts +337 -0
  72. package/dist/schemas/chatContext.d.ts.map +1 -0
  73. package/dist/schemas/chatContext.js +7 -0
  74. package/dist/schemas/chatContext.js.map +1 -0
  75. package/dist/schemas/chatRequestBody.d.ts +324 -0
  76. package/dist/schemas/chatRequestBody.d.ts.map +1 -0
  77. package/dist/schemas/chatRequestBody.js +14 -0
  78. package/dist/schemas/chatRequestBody.js.map +1 -0
  79. package/dist/schemas/executionCheckerQueryParams.d.ts +40 -0
  80. package/dist/schemas/executionCheckerQueryParams.d.ts.map +1 -0
  81. package/dist/schemas/executionCheckerQueryParams.js +18 -0
  82. package/dist/schemas/executionCheckerQueryParams.js.map +1 -0
  83. package/dist/schemas/index.d.ts +8 -0
  84. package/dist/schemas/index.d.ts.map +1 -0
  85. package/dist/schemas/index.js +8 -0
  86. package/dist/schemas/index.js.map +1 -0
  87. package/dist/schemas/messages.d.ts +252 -0
  88. package/dist/schemas/messages.d.ts.map +1 -0
  89. package/dist/schemas/messages.js +65 -0
  90. package/dist/schemas/messages.js.map +1 -0
  91. package/dist/schemas/toolAutorouter.d.ts +156 -0
  92. package/dist/schemas/toolAutorouter.d.ts.map +1 -0
  93. package/dist/schemas/toolAutorouter.js +37 -0
  94. package/dist/schemas/toolAutorouter.js.map +1 -0
  95. package/dist/schemas/userContext.d.ts +11 -0
  96. package/dist/schemas/userContext.d.ts.map +1 -0
  97. package/dist/schemas/userContext.js +8 -0
  98. package/dist/schemas/userContext.js.map +1 -0
  99. package/dist/types/index.d.ts +3 -0
  100. package/dist/types/index.d.ts.map +1 -0
  101. package/dist/types/index.js +3 -0
  102. package/dist/types/index.js.map +1 -0
  103. package/dist/types/messages.d.ts +9 -0
  104. package/dist/types/messages.d.ts.map +1 -0
  105. package/dist/types/messages.js +2 -0
  106. package/dist/types/messages.js.map +1 -0
  107. package/dist/types/toolAutorouter.d.ts +7 -0
  108. package/dist/types/toolAutorouter.d.ts.map +1 -0
  109. package/dist/types/toolAutorouter.js +2 -0
  110. package/dist/types/toolAutorouter.js.map +1 -0
  111. package/dist/utils/constants.d.ts +78 -0
  112. package/dist/utils/constants.d.ts.map +1 -0
  113. package/dist/utils/constants.js +57 -0
  114. package/dist/utils/constants.js.map +1 -0
  115. package/package.json +40 -5
  116. package/index.d.ts +0 -1
  117. package/index.js +0 -1
@@ -0,0 +1,9 @@
1
+ import type { TypeOf } from "zod";
2
+ import { CoreMessageSchema, HistorySchema, ToolCallPartSchema, ToolErrorPartSchema, ToolIncompletePartSchema, ToolResultSchema } from "../internal.js";
3
+ export type ToolCallType = TypeOf<typeof ToolCallPartSchema>;
4
+ export type ToolIncompletePartType = TypeOf<typeof ToolIncompletePartSchema>;
5
+ export type ToolErrorPartType = TypeOf<typeof ToolErrorPartSchema>;
6
+ export type ToolResultType = TypeOf<typeof ToolResultSchema>;
7
+ export type MessageHistoryType = TypeOf<typeof HistorySchema>;
8
+ export type MessageType = TypeOf<typeof CoreMessageSchema>;
9
+ //# sourceMappingURL=messages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/types/messages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AAElC,OAAO,EACH,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,EACnB,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE7D,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE7E,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEnE,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE7D,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AAE9D,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { CoreMessageSchema, HistorySchema, ToolCallPartSchema, ToolErrorPartSchema, ToolIncompletePartSchema, ToolResultSchema, } from "../internal.js";
2
+ //# sourceMappingURL=messages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.js","sourceRoot":"","sources":["../../src/types/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,GACnB,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { TypeOf } from "zod";
2
+ import { AutoRouterConfigSchema, DeFiConfigSchema, SwapBridgeProviderSchema, ToolAutorouterSchema } from "../internal.js";
3
+ export type ToolAutorouterRequest = TypeOf<typeof ToolAutorouterSchema>;
4
+ export type AutoRouterConfigType = TypeOf<typeof AutoRouterConfigSchema>;
5
+ export type LendingProviderType = TypeOf<typeof DeFiConfigSchema>;
6
+ export type SwapBridgeProviderType = TypeOf<typeof SwapBridgeProviderSchema>;
7
+ //# sourceMappingURL=toolAutorouter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolAutorouter.d.ts","sourceRoot":"","sources":["../../src/types/toolAutorouter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AAElC,OAAO,EACH,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,EACvB,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACxE,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAClE,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { AutoRouterConfigSchema, DeFiConfigSchema, SwapBridgeProviderSchema, ToolAutorouterSchema, } from "../internal.js";
2
+ //# sourceMappingURL=toolAutorouter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolAutorouter.js","sourceRoot":"","sources":["../../src/types/toolAutorouter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,GACvB,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,78 @@
1
+ export declare const LENDING_PROVIDERS: readonly ["aave"];
2
+ export declare const SWAP_BRIDGE_PROVIDERS: readonly ["lifi"];
3
+ export declare const EXCHANGE_RATE_PROVIDERS: readonly ["coinMarketCap"];
4
+ /**
5
+ * Canonical definition of chains with id and name.
6
+ * We use `as const` to preserve literal types at the type level.
7
+ * `satisfies` ensures the shape without widening types.
8
+ */
9
+ export declare const SUPPORTED_CHAINS_WITH_IDS: readonly [{
10
+ readonly id: 1;
11
+ readonly name: "Ethereum";
12
+ }, {
13
+ readonly id: 137;
14
+ readonly name: "Polygon";
15
+ }, {
16
+ readonly id: 10;
17
+ readonly name: "Optimism";
18
+ }, {
19
+ readonly id: 8453;
20
+ readonly name: "Base";
21
+ }, {
22
+ readonly id: 42161;
23
+ readonly name: "Arbitrum";
24
+ }, {
25
+ readonly id: 43114;
26
+ readonly name: "Avalanche";
27
+ }, {
28
+ readonly id: 56;
29
+ readonly name: "BSC";
30
+ }];
31
+ /** Derived union types */
32
+ export type SupportedChainWithId = (typeof SUPPORTED_CHAINS_WITH_IDS)[number];
33
+ export type SupportedChainId = SupportedChainWithId["id"];
34
+ export type SupportedChain = SupportedChainWithId["name"];
35
+ /** Arrays runtime but with precise types */
36
+ export declare const SUPPORTED_CHAIN_IDS: SupportedChainId[];
37
+ export declare const SUPPORTED_CHAINS: SupportedChain[];
38
+ /**
39
+ * Const list of all supported actions with their schemas
40
+ */
41
+ export declare const SUPPORTED_ACTIONS: readonly ["tokenTransfer", "swapOrBridge", "exchangeRate", "getWalletBalance", "defiFetchListings", "defiPositions", "defiSupply", "defiWithdraw"];
42
+ export declare const SUPPORTED_WALLET_BALANCE_PROVIDERS: readonly ["moralis"];
43
+ export type SupportedAction = (typeof SUPPORTED_ACTIONS)[number];
44
+ export type SupportedLendingProvider = (typeof LENDING_PROVIDERS)[number];
45
+ export type SupportedSwapBridgeProvider = (typeof SWAP_BRIDGE_PROVIDERS)[number];
46
+ export type SupportedWalletBalanceProvider = (typeof SUPPORTED_WALLET_BALANCE_PROVIDERS)[number];
47
+ export type SupportedExchangeRateProvider = (typeof EXCHANGE_RATE_PROVIDERS)[number];
48
+ export declare const CHECKABLE_ACTIONS: readonly ["swapOrBridge", "defiSupply", "defiWithdraw"];
49
+ export type CheckableAction = (typeof CHECKABLE_ACTIONS)[number];
50
+ /**
51
+ * Union type of all providers that support execution checking
52
+ */
53
+ export type ExecutionCheckableProvider = (typeof LENDING_PROVIDERS)[number] | (typeof SWAP_BRIDGE_PROVIDERS)[number];
54
+ /**
55
+ * Supported model providers
56
+ */
57
+ export declare const SUPPORTED_MODEL_PROVIDERS: readonly ["openai", "openrouter"];
58
+ /**
59
+ * Type representing supported model providers
60
+ */
61
+ export type SupportedModelProvider = (typeof SUPPORTED_MODEL_PROVIDERS)[number];
62
+ /**
63
+ * Supported OpenRouter models
64
+ */
65
+ export declare const SUPPORTED_OPENROUTER_MODELS: readonly ["anthropic/claude-sonnet-4.5", "google/gemini-2.5-pro", "openai/gpt-5", "qwen/qwen3-vl-30b-a3b-thinking"];
66
+ /**
67
+ * Type representing supported OpenRouter models
68
+ */
69
+ export type SupportedOpenRouterModel = (typeof SUPPORTED_OPENROUTER_MODELS)[number];
70
+ /**
71
+ * Supported OpenAI models
72
+ */
73
+ export declare const SUPPORTED_OPENAI_MODELS: readonly ["gpt-4o", "gpt-4o-mini", "gpt-5"];
74
+ /**
75
+ * Type representing supported OpenAI models
76
+ */
77
+ export type SupportedOpenAIModel = (typeof SUPPORTED_OPENAI_MODELS)[number];
78
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,mBAAmC,CAAC;AAElE,eAAO,MAAM,qBAAqB,mBAAmC,CAAC;AAEtE,eAAO,MAAM,uBAAuB,4BAA4C,CAAC;AAEjF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;EAQsB,CAAC;AAE7D,0BAA0B;AAC1B,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC;AAC9E,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;AAC1D,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAC;AAE1D,4CAA4C;AAC5C,eAAO,MAAM,mBAAmB,EAAE,gBAAgB,EAA+C,CAAC;AAElG,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAAiD,CAAC;AAE/F;;GAEG;AACH,eAAO,MAAM,iBAAiB,oJASnB,CAAC;AAEZ,eAAO,MAAM,kCAAkC,sBAAsC,CAAC;AAEtF,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AACjE,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAC1E,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AACjF,MAAM,MAAM,8BAA8B,GAAG,CAAC,OAAO,kCAAkC,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjG,MAAM,MAAM,6BAA6B,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErF,eAAO,MAAM,iBAAiB,yDAInB,CAAC;AAEZ,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAChC,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,GAClC,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,yBAAyB,mCAAoC,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,2BAA2B,qHAK9B,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpF;;GAEG;AACH,eAAO,MAAM,uBAAuB,6CAA8C,CAAC;AAEnF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,57 @@
1
+ export const LENDING_PROVIDERS = Object.freeze(["aave"]);
2
+ export const SWAP_BRIDGE_PROVIDERS = Object.freeze(["lifi"]);
3
+ export const EXCHANGE_RATE_PROVIDERS = Object.freeze(["coinMarketCap"]);
4
+ /**
5
+ * Canonical definition of chains with id and name.
6
+ * We use `as const` to preserve literal types at the type level.
7
+ * `satisfies` ensures the shape without widening types.
8
+ */
9
+ export const SUPPORTED_CHAINS_WITH_IDS = [
10
+ { id: 1, name: "Ethereum" },
11
+ { id: 137, name: "Polygon" },
12
+ { id: 10, name: "Optimism" },
13
+ { id: 8453, name: "Base" },
14
+ { id: 42161, name: "Arbitrum" },
15
+ { id: 43114, name: "Avalanche" },
16
+ { id: 56, name: "BSC" },
17
+ ];
18
+ /** Arrays runtime but with precise types */
19
+ export const SUPPORTED_CHAIN_IDS = SUPPORTED_CHAINS_WITH_IDS.map((c) => c.id);
20
+ export const SUPPORTED_CHAINS = SUPPORTED_CHAINS_WITH_IDS.map((c) => c.name);
21
+ /**
22
+ * Const list of all supported actions with their schemas
23
+ */
24
+ export const SUPPORTED_ACTIONS = Object.freeze([
25
+ "tokenTransfer",
26
+ "swapOrBridge",
27
+ "exchangeRate",
28
+ "getWalletBalance",
29
+ "defiFetchListings",
30
+ "defiPositions",
31
+ "defiSupply",
32
+ "defiWithdraw",
33
+ ]);
34
+ export const SUPPORTED_WALLET_BALANCE_PROVIDERS = Object.freeze(["moralis"]);
35
+ export const CHECKABLE_ACTIONS = Object.freeze([
36
+ "swapOrBridge",
37
+ "defiSupply",
38
+ "defiWithdraw",
39
+ ]);
40
+ /**
41
+ * Supported model providers
42
+ */
43
+ export const SUPPORTED_MODEL_PROVIDERS = ["openai", "openrouter"];
44
+ /**
45
+ * Supported OpenRouter models
46
+ */
47
+ export const SUPPORTED_OPENROUTER_MODELS = [
48
+ "anthropic/claude-sonnet-4.5",
49
+ "google/gemini-2.5-pro",
50
+ "openai/gpt-5",
51
+ "qwen/qwen3-vl-30b-a3b-thinking",
52
+ ];
53
+ /**
54
+ * Supported OpenAI models
55
+ */
56
+ export const SUPPORTED_OPENAI_MODELS = ["gpt-4o", "gpt-4o-mini", "gpt-5"];
57
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +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,IAAI,EAAE,UAAU,EAAE;IAC5B,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE;IAC1B,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE;IAC/B,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE;IAChC,EAAE,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;CACiC,CAAC;AAO7D,4CAA4C;AAC5C,MAAM,CAAC,MAAM,mBAAmB,GAAuB,yBAAyB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAElG,MAAM,CAAC,MAAM,gBAAgB,GAAqB,yBAAyB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAE/F;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC3C,eAAe;IACf,cAAc;IACd,cAAc;IACd,kBAAkB;IAClB,mBAAmB;IACnB,eAAe;IACf,YAAY;IACZ,cAAc;CACR,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,kCAAkC,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAU,CAAC,CAAC;AAStF,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC3C,cAAc;IACd,YAAY;IACZ,cAAc;CACR,CAAC,CAAC;AAWZ;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,QAAQ,EAAE,YAAY,CAAU,CAAC;AAO3E;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACvC,6BAA6B;IAC7B,uBAAuB;IACvB,cAAc;IACd,gCAAgC;CAC1B,CAAC;AAOX;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,QAAQ,EAAE,aAAa,EAAE,OAAO,CAAU,CAAC"}
package/package.json CHANGED
@@ -1,11 +1,46 @@
1
1
  {
2
2
  "name": "@illalabs/interfaces",
3
- "version": "0.0.0",
4
- "description": "Placeholder package. Real code coming soon.",
3
+ "version": "0.1.0-canary.48bfe253",
4
+ "description": "ILLA interfaces and types",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/IllaLabs/api.git"
8
+ },
5
9
  "license": "MIT",
6
- "main": "index.js",
7
- "types": "index.d.ts",
10
+ "author": "Wonderland",
11
+ "type": "module",
12
+ "main": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "directories": {
15
+ "src": "src"
16
+ },
17
+ "files": [
18
+ "dist/*",
19
+ "package.json",
20
+ "!**/*.tsbuildinfo"
21
+ ],
22
+ "dependencies": {
23
+ "@ai-sdk/provider-utils": "3.0.12",
24
+ "zod": "3.23.8"
25
+ },
26
+ "devDependencies": {
27
+ "viem": "2.26.2"
28
+ },
29
+ "peerDependencies": {
30
+ "viem": "2.26.x"
31
+ },
8
32
  "publishConfig": {
9
33
  "access": "public"
34
+ },
35
+ "scripts": {
36
+ "build": "tsc -p tsconfig.build.json",
37
+ "check-types": "tsc --noEmit -p ./tsconfig.json",
38
+ "clean": "rm -rf dist/",
39
+ "format": "prettier --check \"{src,test}/**/*.{js,ts,json}\"",
40
+ "format:fix": "prettier --write \"{src,test}/**/*.{js,ts,json}\"",
41
+ "lint": "eslint \"{src,test}/**/*.{js,ts,json}\"",
42
+ "lint:fix": "pnpm lint --fix",
43
+ "test": "vitest run --config vitest.config.ts --passWithNoTests",
44
+ "test:cov": "vitest run --config vitest.config.ts --coverage"
10
45
  }
11
- }
46
+ }
package/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
package/index.js DELETED
@@ -1 +0,0 @@
1
- export {};