@mccaskie-labs/workbench-config 0.1.32 → 0.1.34
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
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @mccaskie-labs/workbench-config
|
|
2
2
|
|
|
3
|
+
## 0.1.34
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- forms manifest: the same-verdict rule now says to draw a form with renderForm and add both scripts under the page nonce, never hand-written markup or a show-when script.
|
|
8
|
+
|
|
9
|
+
## 0.1.33
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- The `gateway` manifest lists `GET /v1/calls`: the facts of one of the app's own kept AI calls (never its text).
|
|
14
|
+
|
|
3
15
|
## 0.1.32
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/capabilities/forms.json
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
{
|
|
40
40
|
"id": "forms.same-verdict",
|
|
41
41
|
"kind": "must",
|
|
42
|
-
"text": "
|
|
42
|
+
"text": "Draw the form with renderForm (its config block included), then add FORMS_SCRIPT and workbench-ui's FORM_SCRIPT, in that order, under the page's nonce. Never hand-write a form's markup, a second set of rules or a show-when script, so the page and the endpoint reach the same verdict.",
|
|
43
43
|
"enforced_by": "review",
|
|
44
44
|
"probe": "forms.browser"
|
|
45
45
|
},
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"summary": "What every Gateway endpoint shares: project keys by environment and scope, the request and response headers, the monthly budget check and the error codes. Apps hold one Workbench key and never a vendor key.",
|
|
7
7
|
"status": "built",
|
|
8
8
|
"surfaces": {
|
|
9
|
-
"gateway": ["GET /v1/health", "GET /v1/usage", "GET /v1/capabilities"],
|
|
9
|
+
"gateway": ["GET /v1/health", "GET /v1/usage", "GET /v1/capabilities", "GET /v1/calls"],
|
|
10
10
|
"package": ["DEFAULT_GATEWAY_URL"]
|
|
11
11
|
},
|
|
12
12
|
"config": [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const MANIFEST_VERSION: "
|
|
1
|
+
export declare const MANIFEST_VERSION: "d5366f2127fb";
|
|
2
2
|
export declare const capabilities: {
|
|
3
3
|
readonly ai: {
|
|
4
4
|
readonly $schema: "./schema.json";
|
|
@@ -1105,7 +1105,7 @@ export declare const capabilities: {
|
|
|
1105
1105
|
}, {
|
|
1106
1106
|
readonly id: "forms.same-verdict";
|
|
1107
1107
|
readonly kind: "must";
|
|
1108
|
-
readonly text: "
|
|
1108
|
+
readonly text: "Draw the form with renderForm (its config block included), then add FORMS_SCRIPT and workbench-ui's FORM_SCRIPT, in that order, under the page's nonce. Never hand-write a form's markup, a second set of rules or a show-when script, so the page and the endpoint reach the same verdict.";
|
|
1109
1109
|
readonly enforced_by: "review";
|
|
1110
1110
|
readonly probe: "forms.browser";
|
|
1111
1111
|
}, {
|
|
@@ -1325,7 +1325,7 @@ export declare const capabilities: {
|
|
|
1325
1325
|
readonly summary: "What every Gateway endpoint shares: project keys by environment and scope, the request and response headers, the monthly budget check and the error codes. Apps hold one Workbench key and never a vendor key.";
|
|
1326
1326
|
readonly status: "built";
|
|
1327
1327
|
readonly surfaces: {
|
|
1328
|
-
readonly gateway: readonly ["GET /v1/health", "GET /v1/usage", "GET /v1/capabilities"];
|
|
1328
|
+
readonly gateway: readonly ["GET /v1/health", "GET /v1/usage", "GET /v1/capabilities", "GET /v1/calls"];
|
|
1329
1329
|
readonly package: readonly ["DEFAULT_GATEWAY_URL"];
|
|
1330
1330
|
};
|
|
1331
1331
|
readonly config: readonly [{
|
package/dist/capabilities.gen.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by `npm run capabilities:build` from capabilities/*.json. Do not edit.
|
|
2
2
|
// check:capabilities fails in Checks when this file is stale.
|
|
3
|
-
export const MANIFEST_VERSION = "
|
|
3
|
+
export const MANIFEST_VERSION = "d5366f2127fb";
|
|
4
4
|
export const capabilities = {
|
|
5
5
|
"ai": {
|
|
6
6
|
"$schema": "./schema.json",
|
|
@@ -1518,7 +1518,7 @@ export const capabilities = {
|
|
|
1518
1518
|
{
|
|
1519
1519
|
"id": "forms.same-verdict",
|
|
1520
1520
|
"kind": "must",
|
|
1521
|
-
"text": "
|
|
1521
|
+
"text": "Draw the form with renderForm (its config block included), then add FORMS_SCRIPT and workbench-ui's FORM_SCRIPT, in that order, under the page's nonce. Never hand-write a form's markup, a second set of rules or a show-when script, so the page and the endpoint reach the same verdict.",
|
|
1522
1522
|
"enforced_by": "review",
|
|
1523
1523
|
"probe": "forms.browser"
|
|
1524
1524
|
},
|
|
@@ -1819,7 +1819,8 @@ export const capabilities = {
|
|
|
1819
1819
|
"gateway": [
|
|
1820
1820
|
"GET /v1/health",
|
|
1821
1821
|
"GET /v1/usage",
|
|
1822
|
-
"GET /v1/capabilities"
|
|
1822
|
+
"GET /v1/capabilities",
|
|
1823
|
+
"GET /v1/calls"
|
|
1823
1824
|
],
|
|
1824
1825
|
"package": [
|
|
1825
1826
|
"DEFAULT_GATEWAY_URL"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mccaskie-labs/workbench-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
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",
|