@mccaskie-labs/workbench-config 0.2.3 → 0.2.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 +12 -0
- package/capabilities/ai.json +183 -3
- package/capabilities/analytics.json +47 -3
- package/capabilities/country.json +160 -3
- package/capabilities/image-search.json +154 -3
- package/capabilities/images.json +192 -3
- package/capabilities/ui.json +27 -2
- package/dist/capabilities.gen.d.ts +602 -7
- package/dist/capabilities.gen.js +759 -13
- package/dist/capability-schema.d.ts +1 -1
- package/dist/capability-schema.js +1 -1
- package/dist/skills.js +1 -1
- package/package.json +1 -1
|
@@ -401,7 +401,7 @@ export type Offer = z.infer<typeof offer>;
|
|
|
401
401
|
* 11 November 2026: every shared tool ships its questions). The list only
|
|
402
402
|
* shrinks; a new component can't join it.
|
|
403
403
|
*/
|
|
404
|
-
export declare const OFFER_PENDING: readonly ["
|
|
404
|
+
export declare const OFFER_PENDING: readonly ["database", "email", "email-inbound", "strings"];
|
|
405
405
|
export interface ManifestProblem {
|
|
406
406
|
file: string;
|
|
407
407
|
check: "schema" | "proof" | "ids" | "surfaces" | "errors" | "generated";
|
|
@@ -267,7 +267,7 @@ export const capabilitySchema = z.strictObject(baseShape).superRefine((m, ctx) =
|
|
|
267
267
|
* 11 November 2026: every shared tool ships its questions). The list only
|
|
268
268
|
* shrinks; a new component can't join it.
|
|
269
269
|
*/
|
|
270
|
-
export const OFFER_PENDING = ["
|
|
270
|
+
export const OFFER_PENDING = ["database", "email", "email-inbound", "strings"];
|
|
271
271
|
function checkOffer(file, component, o, seen) {
|
|
272
272
|
const problems = [];
|
|
273
273
|
const named = new Map();
|
package/dist/skills.js
CHANGED
|
@@ -79,7 +79,7 @@ function draftsBlock(d) {
|
|
|
79
79
|
"",
|
|
80
80
|
`Offer ${d.count} examples of ${d.of} to pick from, at most ${d.max_rounds} round${d.max_rounds === 1 ? "" : "s"}. Make them with \`${d.command}\`: it calls the Workbench Gateway (${d.surface}${d.alias ? `, \`${d.alias}\`` : ""}, job \`${d.job}\`) with the project's development key from \`.dev.vars\`, spends from the development budget, and prints what each round cost. Tell the client the cost it prints.`,
|
|
81
81
|
"",
|
|
82
|
-
"Never write drafts yourself and never call a vendor directly. If the command says there is no development key, say so and
|
|
82
|
+
"Never write drafts yourself and never call a vendor directly. If the command says there is no development key, say so and go on without drafts: the standard version, or the client's own wording or picture. Never ask for a key in chat. Keep the client's choice with the pick command the command prints, which records its request ids, model and cost.",
|
|
83
83
|
].join("\n");
|
|
84
84
|
}
|
|
85
85
|
/** A guide's text as a section of a skill: its title dropped, its headings one level down. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mccaskie-labs/workbench-config",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Workbench app configuration: WORKBENCH_ENV, typed variables that fail by name, secrets that are never printed, and the capabilities manifest.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|