@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.
@@ -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 ["ai", "analytics", "country", "database", "email", "email-inbound", "image-search", "images", "strings", "ui"];
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 = ["ai", "analytics", "country", "database", "email", "email-inbound", "image-search", "images", "strings", "ui"];
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 offer the standard version instead; never ask for a key in chat. Record the picked draft's request id, model and cost in the answers file.",
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",
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",