@power-plant/ai-sdk 0.0.12 → 0.0.13
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/README.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ The Power Plant monorepo is a collection of packages that are designed to work t
|
|
|
33
33
|
|
|
34
34
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
35
35
|
|
|
36
|
-
[](https://docs.stormsoftware.com/projects/power-plant) [](http://commitizen.github.io/cz-cli/)  
|
|
37
37
|
|
|
38
38
|
<!-- prettier-ignore-start -->
|
|
39
39
|
<!-- markdownlint-disable -->
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@power-plant/
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@power-plant/core"),t=require("ai"),n=require("zod/mini"),r;async function i(){return r??=(0,e.createExecute)(),r}const a=n.z.object({generator:n.z.string(),spec:n.z.any(),options:n.z.optional(n.z.record(n.z.string(),n.z.any()))}),o=(0,t.tool)({description:`Generate text (including source code, documentation, and more) with Power Plant generators.`,inputSchema:a,execute:async({generator:e,spec:t,options:n})=>(await i())(e,{...n,spec:t})});exports.generate=o;
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;cAgCM,aAAW,EAAA;;;;GAIf,EAAA,KAAA;KAEG,gBAAgB,EAAE,aAAa;cAEvB,UASP,KAAK"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{createExecute as e}from"@power-plant/core";import{tool as t}from"ai";import{z as n}from"zod/mini";let r;async function i(){return r??=e(),r}const a=t({description:`Generate text (including source code, documentation, and more) with Power Plant generators.`,inputSchema:n.object({generator:n.string(),spec:n.any(),options:n.optional(n.record(n.string(),n.any()))}),execute:async({generator:e,spec:t,options:n})=>(await i())(e,{...n,spec:t})});export{a as generate};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@power-plant/ai-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "☢️ An AI SDK tool that allows AI models to leverage Power Plant generators to enhance their capabilities",
|
|
6
6
|
"keywords": ["ai", "ai-sdk", "power-plant", "storm-software"],
|
|
@@ -64,8 +64,7 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@ai-sdk/provider": "^4.0.3",
|
|
66
66
|
"@ai-sdk/provider-utils": "^5.0.11",
|
|
67
|
-
"@power-plant/
|
|
68
|
-
"@power-plant/core": "^0.0.16",
|
|
67
|
+
"@power-plant/core": "^0.0.17",
|
|
69
68
|
"@stryke/string-format": "^0.17.37",
|
|
70
69
|
"@stryke/type-checks": "^0.6.28",
|
|
71
70
|
"@stryke/types": "^0.12.23",
|
|
@@ -78,5 +77,5 @@
|
|
|
78
77
|
"typescript": "^6.0.3"
|
|
79
78
|
},
|
|
80
79
|
"publishConfig": { "access": "public" },
|
|
81
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "7346b39899095e30744680cd9994a6c229d4f16a"
|
|
82
81
|
}
|