@copilotkit/shared 1.10.6-next.4 → 1.10.6-next.5
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/CHANGELOG.md +6 -0
- package/dist/{chunk-X3BLWW3G.mjs → chunk-4UJLRJVN.mjs} +2 -2
- package/dist/{chunk-WEICJJQI.mjs → chunk-6XOX33UK.mjs} +2 -2
- package/dist/{chunk-WEICJJQI.mjs.map → chunk-6XOX33UK.mjs.map} +1 -1
- package/dist/{chunk-I7VDHNQ4.mjs → chunk-U47FCSS2.mjs} +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/telemetry/index.js +1 -1
- package/dist/telemetry/index.js.map +1 -1
- package/dist/telemetry/index.mjs +2 -2
- package/dist/telemetry/scarf-client.js +1 -1
- package/dist/telemetry/scarf-client.js.map +1 -1
- package/dist/telemetry/scarf-client.mjs +1 -1
- package/dist/telemetry/telemetry-client.js +1 -1
- package/dist/telemetry/telemetry-client.js.map +1 -1
- package/dist/telemetry/telemetry-client.mjs +2 -2
- package/dist/types/action.d.ts +1 -0
- package/dist/types/action.js.map +1 -1
- package/dist/utils/errors.js +1 -1
- package/dist/utils/errors.js.map +1 -1
- package/dist/utils/errors.mjs +3 -3
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +3 -3
- package/package.json +1 -1
- package/src/types/action.ts +1 -0
- /package/dist/{chunk-X3BLWW3G.mjs.map → chunk-4UJLRJVN.mjs.map} +0 -0
- /package/dist/{chunk-I7VDHNQ4.mjs.map → chunk-U47FCSS2.mjs.map} +0 -0
package/src/types/action.ts
CHANGED
|
@@ -85,6 +85,7 @@ export type Action<T extends Parameter[] | [] = []> = {
|
|
|
85
85
|
handler?: T extends []
|
|
86
86
|
? () => any | Promise<any>
|
|
87
87
|
: (args: MappedParameterTypes<T>) => any | Promise<any>;
|
|
88
|
+
additionalConfig?: Record<string, any>;
|
|
88
89
|
};
|
|
89
90
|
|
|
90
91
|
// This is the original "ceiling is being raised" version of MappedParameterTypes.
|
|
File without changes
|
|
File without changes
|