@coda-console/plugin-check 0.5.0 → 0.5.1

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.
@@ -1,7 +1,8 @@
1
1
  // What a step needs of where it runs, written as labels (`coda:runsOn`, GitHub's runs-on; components/workflows/workflow-executors.mjs).
2
2
  import { requireCondition as check } from '../../domain/errors.mjs';
3
3
 
4
- const LABEL = /^[a-z0-9][a-z0-9._-]{0,39}$/;
4
+ // One label: what a machine lists of itself is held to it too (workflow-executors.mjs).
5
+ export const LABEL = /^[a-z0-9][a-z0-9._-]{0,39}$/;
5
6
  // Labels as one set: each as written, once, in order — the key a binding is kept under. `code`: what is wrong when they
6
7
  // are not labels (a workflow's, or a request's).
7
8
  export function executorLabels(value, where, code = 'invalid_input') {
@@ -1,5 +1,5 @@
1
1
  {
2
- "commit": "b11513d3ab47131e55301e98452261ab072912b5",
2
+ "commit": "457eb34a3c054a076cfe070e8890f1b235faeaaf",
3
3
  "packages": {
4
4
  "@0dep/piso": "5.2.0",
5
5
  "@agentclientprotocol/sdk": "1.4.0",
@@ -13,7 +13,7 @@
13
13
  "check/coda/components/plugins/skill-document.mjs": "c5b5e815c42cd836572f7b60e22a46af6ac607fd9df0170fa36f955825636ce6",
14
14
  "check/coda/components/prompt-recovery/prompt-recovery.mjs": "aaed8b0528179ed95558c56b6d95412223d5aa895889e3c2d4265ceb82167aec",
15
15
  "check/coda/components/session-config/commands.mjs": "5ebea8eefedd2a0db01a09ba9241d15ed37c6e37d4aba882504f172cca27e946",
16
- "check/coda/components/workflows/executor-labels.mjs": "648ad8187d0e6e32a1d75d9966f57df6b89efbef11cd4db72e67bb060159bf01",
16
+ "check/coda/components/workflows/executor-labels.mjs": "dceca6ae60c0a4f3c3cc72a6c84f1489831790774c93caab96e4ddb493bc89e1",
17
17
  "check/coda/domain/agent-protocol.mjs": "b3bb79a09738b292a60e430057bb3e9c9949e09564010298b498c880e1c07ec6",
18
18
  "check/coda/domain/duration.mjs": "15dd64ef9b02342ad521c66e5968a569432a89dc7568d11afd3e6f3fe37e104b",
19
19
  "check/coda/domain/errors.mjs": "773c641309a0d19b93c0b3457428d74ecf636454d9fe91cacf3d944b952831dc",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coda-console/plugin-check",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Coda 插件的契约检查:扮演 Coda 读清单、启动 Agent 讲 ACP 与 _coda/wait、读面板。",
5
5
  "license": "MIT",
6
6
  "repository": {