@zibby/skill-ids 0.2.8 → 2.0.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +22 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zibby/skill-ids",
3
- "version": "0.2.8",
3
+ "version": "2.0.0",
4
4
  "description": "Single authoritative Zibby skill-id map (zero-dep leaf). The one source of truth for well-known skill ids — every consumer (agent-workflow, core, skills, backend, templates) imports it, so the ids can never drift.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -75,6 +75,17 @@ export const SKILL_IDS = Object.freeze({
75
75
  // (integration 'lark'); backend REQUIRED_INTEGRATION_MAP: 'lark-docs' →
76
76
  // INTEGRATIONS.LARK.
77
77
  LARK_DOCS: 'lark-docs',
78
+ // `lark-attendance` — READ-ONLY Lark/Feishu attendance (考勤) discovery + read
79
+ // (larkAttendanceSkill, served over MCP as mcp__larkattendance__* tools).
80
+ // AGENT-DRIVEN by design: the model lists the tenant's 考勤组, lists the
81
+ // available statistic fields (which include a per-tenant 自定义字段 group that
82
+ // exists nowhere in our source) and picks columns from the prompt — so no
83
+ // group name or field code is ever hard-coded. REUSES the ACCOUNT-LEVEL Lark
84
+ // app (integration 'lark_docs') because attendance is tenant-wide while Lark
85
+ // CHAT connects per project; backend REQUIRED_INTEGRATION_MAP:
86
+ // 'lark-attendance' → INTEGRATIONS.LARK_DOCS. That app must also carry the
87
+ // attendance:* scopes.
88
+ LARK_ATTENDANCE: 'lark-attendance',
78
89
  // `doc_source` — INTEGRATION-GATE MARKER (like `circleci`), not a runtime MCP
79
90
  // skill: no skill registers under this id (the resolver warns + skips it).
80
91
  // Declaring it gates deploy on a document source via the OR-group
@@ -185,6 +196,17 @@ export const SKILL_IDS = Object.freeze({
185
196
  // user connection required → UNGATED (auths with the run's own project token,
186
197
  // like kv-memory / dataset-store). Backed by artifactSkill in @zibby/skills.
187
198
  ARTIFACT: 'artifact',
199
+ // `report-check` — DATA-DRIVEN pre-flight for a page that renders data, run
200
+ // BEFORE artifact_publish. Compares the rendered HTML against the data it was
201
+ // built from: a table short of records, a bar whose length is not proportional
202
+ // to its datum, a printed number that is not that datum, a width the CSS
203
+ // cascade throws away, placeholder residue in visible text. Deliberately
204
+ // DISJOINT from backend/src/utils/artifact-validate.js, which owns document
205
+ // SHAPE (that gate stays the one authority on markup and is not restated).
206
+ // Tier ① and pure — no network, no credentials, no env — so it runs in the
207
+ // Fargate run container and the Copilot Lambda alike. Backed by
208
+ // reportCheckSkill in @zibby/skills.
209
+ REPORT_CHECK: 'report-check',
188
210
  });
189
211
 
190
212
  /**