create-pracht 0.6.2 → 0.6.3
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 +1 -1
- package/skills/add-capabilities/SKILL.md +2 -0
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -314,6 +314,8 @@ import { capabilities, useCapability } from "virtual:pracht/capabilities";
|
|
|
314
314
|
const result = await capabilities.notes.search({ query: "roadmap" });
|
|
315
315
|
```
|
|
316
316
|
|
|
317
|
+
Unresolvable in TS? Add `"@pracht/vite-plugin/virtual"` to tsconfig `types`.
|
|
318
|
+
|
|
317
319
|
```tsx
|
|
318
320
|
// One contract for the human form and the agent tool.
|
|
319
321
|
<Form capability="notes.create" onCapabilityResult={(result) => { /* … */ }}>
|
package/src/index.js
CHANGED
|
@@ -1094,7 +1094,7 @@ function createBaseTSConfig(_adapter) {
|
|
|
1094
1094
|
skipLibCheck: true,
|
|
1095
1095
|
strict: true,
|
|
1096
1096
|
target: "ES2022",
|
|
1097
|
-
types: ["vite/client"],
|
|
1097
|
+
types: ["vite/client", "@pracht/vite-plugin/virtual"],
|
|
1098
1098
|
verbatimModuleSyntax: true,
|
|
1099
1099
|
},
|
|
1100
1100
|
};
|