@arcticdata/dsh-datarc-assistant 26.39.0 → 26.39.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.
Files changed (149) hide show
  1. package/README.md +45 -10
  2. package/api-operations.js +404 -0
  3. package/client.js +452 -87
  4. package/cordis.patch.yml +4 -4
  5. package/entry/SKILL.md +34 -0
  6. package/icon.png +0 -0
  7. package/index.js +35 -47
  8. package/locale/en.json +6 -6
  9. package/locale/zh.json +6 -6
  10. package/native-api.mjs +326 -0
  11. package/native-contracts.js +195 -0
  12. package/native-execution.js +184 -0
  13. package/native-runner.mjs +107 -0
  14. package/native-state.js +67 -0
  15. package/native-tools.js +241 -0
  16. package/operations.js +1260 -0
  17. package/package.json +65 -51
  18. package/{skills → runtime}/datarc-access-permissions/SKILL.md +30 -30
  19. package/{skills → runtime}/datarc-access-permissions/references/api.md +31 -31
  20. package/{skills → runtime}/datarc-access-permissions/references/write-order.md +16 -16
  21. package/{skills → runtime}/datarc-analysis-report/SKILL.md +125 -125
  22. package/{skills → runtime}/datarc-analysis-report/agents/openai.yaml +6 -6
  23. package/{skills → runtime}/datarc-analysis-report/references/analyst-frameworks.md +215 -215
  24. package/{skills → runtime}/datarc-analysis-report/references/api-contracts.md +478 -478
  25. package/{skills → runtime}/datarc-analysis-report/references/direct-card-fallback-design.md +66 -66
  26. package/{skills → runtime}/datarc-analysis-report/references/human-in-the-loop.md +142 -142
  27. package/{skills → runtime}/datarc-analysis-report/references/loop-personalization-policy.md +138 -138
  28. package/{skills → runtime}/datarc-analysis-report/references/manifest-example.json +779 -779
  29. package/{skills → runtime}/datarc-analysis-report/references/narrative-schema.md +160 -160
  30. package/{skills → runtime}/datarc-analysis-report/references/question-syntax.md +151 -151
  31. package/{skills → runtime}/datarc-analysis-report/scripts/run_analysis_report.py +2225 -2225
  32. package/{skills → runtime}/datarc-analysis-report/scripts/run_dataseek_cards.py +1914 -1914
  33. package/{skills → runtime}/datarc-analysis-report/scripts/test_run_analysis_report.py +5295 -5295
  34. package/{skills → runtime}/datarc-data-search/SKILL.md +243 -243
  35. package/{skills → runtime}/datarc-data-search/scripts/calculate.py +116 -116
  36. package/{skills → runtime}/datarc-data-search/scripts/data-search.mjs +628 -628
  37. package/{skills/datarc-dataseek-search → runtime/datarc-data-search}/scripts/datarc-client.mjs +464 -464
  38. package/{skills → runtime}/datarc-data-search/scripts/search-result.mjs +211 -211
  39. package/{skills → runtime}/datarc-dataseek-batch-evaluation/SKILL.md +59 -59
  40. package/{skills → runtime}/datarc-dataseek-batch-evaluation/references/artifacts.md +36 -36
  41. package/{skills → runtime}/datarc-dataseek-batch-evaluation/references/equivalence.md +30 -30
  42. package/{skills/datarc-data-search → runtime/datarc-dataseek-batch-evaluation}/scripts/datarc-client.mjs +464 -464
  43. package/{skills → runtime}/datarc-dataseek-batch-evaluation/scripts/dataseek-batch-evaluation.mjs +1020 -1020
  44. package/{skills → runtime}/datarc-dataseek-search/SKILL.md +96 -96
  45. package/{skills/datarc-dataseek-batch-evaluation → runtime/datarc-dataseek-search}/scripts/datarc-client.mjs +464 -464
  46. package/{skills → runtime}/datarc-dataseek-search/scripts/dataseek-search.mjs +257 -257
  47. package/{skills → runtime}/datarc-dataseek-semantic-debugging/SKILL.md +44 -44
  48. package/{skills → runtime}/datarc-dataseek-semantic-debugging/agents/openai.yaml +4 -4
  49. package/{skills → runtime}/datarc-dataseek-semantic-debugging/evals/evals.json +165 -165
  50. package/{skills → runtime}/datarc-dataseek-semantic-debugging/references/dataset.md +77 -77
  51. package/{skills → runtime}/datarc-dataseek-semantic-debugging/references/input-and-resolution.md +93 -93
  52. package/{skills → runtime}/datarc-dataseek-semantic-debugging/references/interventions.md +64 -64
  53. package/{skills → runtime}/datarc-dataseek-semantic-debugging/references/knowledge-and-prompts.md +47 -47
  54. package/{skills → runtime}/datarc-dataseek-semantic-debugging/references/rollback.md +11 -11
  55. package/{skills → runtime}/datarc-dataseek-semantic-debugging/references/verification-and-rollback.md +95 -95
  56. package/{skills → runtime}/datarc-dataseek-semantic-debugging/scripts/semantic-debugging.mjs +29 -29
  57. package/{skills → runtime}/datarc-dataseek-testset-generation/SKILL.md +47 -47
  58. package/{skills → runtime}/datarc-dataseek-testset-generation/scripts/datarc-client.mjs +464 -464
  59. package/{skills → runtime}/datarc-dataseek-testset-generation/scripts/dataseek-testset-generation.mjs +526 -526
  60. package/{skills → runtime}/datarc-datasource/SKILL.md +97 -97
  61. package/{skills → runtime}/datarc-oauth/SKILL.md +50 -50
  62. package/{skills → runtime}/datarc-oauth/scripts/auth.mjs +192 -192
  63. package/{skills → runtime}/datarc-oauth/scripts/credentials.mjs +237 -237
  64. package/{skills → runtime}/datarc-report-add-card/SKILL.md +90 -90
  65. package/{skills → runtime}/datarc-report-add-card/agents/openai.yaml +4 -4
  66. package/runtime/datarc-report-add-card/scripts/datarc-client.mjs +464 -0
  67. package/{skills → runtime}/datarc-report-add-card/scripts/report-card.mjs +439 -439
  68. package/{skills → runtime}/datarc-semantic-alias/SKILL.md +20 -20
  69. package/{skills → runtime}/datarc-semantic-alias/scripts/alias-plan.mjs +422 -422
  70. package/{skills → runtime}/datarc-semantic-alias/scripts/alias.mjs +11 -11
  71. package/{skills → runtime}/datarc-semantic-calibration/SKILL.md +20 -20
  72. package/{skills → runtime}/datarc-semantic-calibration/scripts/calibration-plan.mjs +683 -683
  73. package/{skills → runtime}/datarc-semantic-calibration/scripts/calibration.mjs +11 -11
  74. package/{skills → runtime}/datarc-semantic-core/SKILL.md +12 -12
  75. package/{skills → runtime}/datarc-semantic-core/scripts/artifact-journal.mjs +853 -830
  76. package/{skills → runtime}/datarc-semantic-core/scripts/canonical.mjs +48 -48
  77. package/{skills → runtime}/datarc-semantic-core/scripts/case-model.mjs +608 -608
  78. package/{skills → runtime}/datarc-semantic-core/scripts/cli.mjs +180 -180
  79. package/{skills → runtime}/datarc-semantic-core/scripts/datarc-client.mjs +180 -180
  80. package/{skills → runtime}/datarc-semantic-core/scripts/interpretation-pairs.mjs +57 -57
  81. package/{skills → runtime}/datarc-semantic-core/scripts/interventions.mjs +693 -693
  82. package/{skills → runtime}/datarc-semantic-core/scripts/live-resolution.mjs +305 -305
  83. package/{skills → runtime}/datarc-semantic-core/scripts/model-scope.mjs +49 -49
  84. package/{skills → runtime}/datarc-semantic-core/scripts/reproduction.mjs +330 -330
  85. package/{skills → runtime}/datarc-semantic-core/scripts/semantic-cli.mjs +799 -740
  86. package/{skills → runtime}/datarc-semantic-core/scripts/shared.mjs +312 -312
  87. package/{skills → runtime}/datarc-semantic-core/scripts/verification.mjs +1111 -1014
  88. package/{skills → runtime}/datarc-semantic-dataset/SKILL.md +20 -20
  89. package/{skills → runtime}/datarc-semantic-dataset/scripts/dataset-plan.mjs +749 -749
  90. package/{skills → runtime}/datarc-semantic-dataset/scripts/dataset-preflight.mjs +813 -813
  91. package/{skills → runtime}/datarc-semantic-dataset/scripts/dataset.mjs +11 -11
  92. package/{skills → runtime}/datarc-semantic-knowledge/SKILL.md +38 -38
  93. package/{skills → runtime}/datarc-semantic-knowledge/references/knowledge-drafts.md +61 -61
  94. package/{skills → runtime}/datarc-semantic-knowledge/references/knowledge-generation.json +16 -16
  95. package/{skills → runtime}/datarc-semantic-knowledge/scripts/knowledge-draft.mjs +347 -347
  96. package/{skills → runtime}/datarc-semantic-knowledge/scripts/knowledge-plan.mjs +848 -848
  97. package/{skills → runtime}/datarc-semantic-knowledge/scripts/knowledge.mjs +31 -31
  98. package/{skills → runtime}/datarc-semantic-prompt/SKILL.md +20 -20
  99. package/{skills → runtime}/datarc-semantic-prompt/scripts/prompt-plan.mjs +598 -447
  100. package/{skills → runtime}/datarc-semantic-prompt/scripts/prompt.mjs +15 -15
  101. package/{skills → runtime}/datarc-semantic-synonym/SKILL.md +20 -20
  102. package/{skills → runtime}/datarc-semantic-synonym/scripts/synonym-plan.mjs +688 -688
  103. package/{skills → runtime}/datarc-semantic-synonym/scripts/synonym.mjs +11 -11
  104. package/{skills → runtime}/datarc-viz-analysis-report/SKILL.md +108 -108
  105. package/{skills → runtime}/datarc-viz-analysis-report/assets/LICENSE-echarts.md +8 -8
  106. package/{skills → runtime}/datarc-viz-analysis-report/assets/echarts.min.js +45 -45
  107. package/{skills → runtime}/datarc-viz-analysis-report/references/api-contracts.md +163 -163
  108. package/{skills → runtime}/datarc-viz-analysis-report/references/derivation-log.md +157 -157
  109. package/{skills → runtime}/datarc-viz-analysis-report/references/evidence-framework.md +76 -76
  110. package/{skills → runtime}/datarc-viz-analysis-report/references/html-template.md +92 -92
  111. package/{skills → runtime}/datarc-viz-analysis-report/references/provenance-format.md +56 -56
  112. package/{skills → runtime}/datarc-viz-analysis-report/references/question-syntax.md +151 -151
  113. package/{skills → runtime}/datarc-viz-analysis-report/scripts/render_viz_report.py +1708 -1708
  114. package/{skills → runtime}/datarc-viz-analysis-report/scripts/test_render_viz_report.py +964 -964
  115. package/{skills → runtime}/datarc-workspace-configuration/SKILL.md +59 -59
  116. package/{skills → runtime}/datarc-workspace-configuration/references/artifacts.md +75 -75
  117. package/{skills → runtime}/datarc-workspace-configuration/references/verification.md +20 -20
  118. package/{skills → runtime}/datarc-workspace-configuration/scripts/configuration.mjs +722 -662
  119. package/{skills → runtime}/datarc-workspace-context/SKILL.md +43 -43
  120. package/{skills → runtime}/datarc-workspace-context/agents/openai.yaml +4 -4
  121. package/{skills → runtime}/datarc-workspace-context/scripts/datarc-client.mjs +31 -31
  122. package/{skills → runtime}/datarc-workspace-context/scripts/query-display.mjs +114 -114
  123. package/{skills → runtime}/datarc-workspace-context/scripts/workspace-context.mjs +58 -58
  124. package/{skills → runtime}/datarc-workspace-custom-tables/SKILL.md +89 -89
  125. package/{skills → runtime}/datarc-workspace-custom-tables/scripts/datarc-client.mjs +165 -165
  126. package/{skills → runtime}/datarc-workspace-custom-tables/scripts/workspace-custom-tables.mjs +601 -601
  127. package/{skills → runtime}/datarc-workspace-keywords/SKILL.md +197 -197
  128. package/{skills → runtime}/datarc-workspace-keywords/agents/openai.yaml +4 -4
  129. package/{skills → runtime}/datarc-workspace-keywords/references/api-fields.md +79 -79
  130. package/{skills → runtime}/datarc-workspace-keywords/references/derived-measures.md +177 -177
  131. package/{skills → runtime}/datarc-workspace-keywords/scripts/datarc-client.mjs +145 -145
  132. package/{skills → runtime}/datarc-workspace-keywords/scripts/workspace-keywords.mjs +2421 -2421
  133. package/{skills → runtime}/datarc-workspace-membership/SKILL.md +29 -29
  134. package/{skills → runtime}/datarc-workspace-membership/references/api.md +19 -19
  135. package/{skills → runtime}/datarc-workspace-modeling/SKILL.md +209 -209
  136. package/{skills → runtime}/datarc-workspace-modeling/agents/openai.yaml +4 -4
  137. package/{skills → runtime}/datarc-workspace-modeling/references/join-preview.md +38 -38
  138. package/{skills → runtime}/datarc-workspace-modeling/references/model-plan.md +300 -300
  139. package/{skills → runtime}/datarc-workspace-modeling/references/model-tags.md +95 -95
  140. package/{skills → runtime}/datarc-workspace-modeling/references/modeling-contract.json +29 -29
  141. package/{skills → runtime}/datarc-workspace-modeling/references/modeling-fixtures.json +2423 -2423
  142. package/{skills → runtime}/datarc-workspace-modeling/scripts/datarc-client.mjs +137 -137
  143. package/{skills → runtime}/datarc-workspace-modeling/scripts/workspace-model-tags.mjs +238 -238
  144. package/{skills → runtime}/datarc-workspace-modeling/scripts/workspace-modeling.mjs +1261 -1261
  145. package/skills-provider.js +51 -0
  146. package/workflow-index.json +434 -0
  147. package/icon.svg +0 -4
  148. package/skills/datarc-report-add-card/scripts/datarc-client.mjs +0 -464
  149. package/skills-index.json +0 -194
@@ -0,0 +1,51 @@
1
+ import { readFile } from "node:fs/promises";
2
+ import { fileURLToPath } from "node:url";
3
+
4
+ export const inject = ["skills"];
5
+ const name = "datarc-assistant";
6
+ const invocation = { modelInvocable: true, userInvocable: false };
7
+
8
+ // Both the Host and the isolated business preset expose this same single entry.
9
+ export function apply(ctx) {
10
+ return ctx.skills.registerProvider(() => ({
11
+ name: "datarc-entry",
12
+ async list({ signal } = {}) {
13
+ const index = JSON.parse(
14
+ await readFile(new URL("./workflow-index.json", import.meta.url), {
15
+ encoding: "utf8",
16
+ signal,
17
+ }),
18
+ );
19
+ return [
20
+ {
21
+ name,
22
+ description: index.entry.description,
23
+ invocation,
24
+ provider: "datarc-entry",
25
+ source: "bundled",
26
+ rank: 600,
27
+ locator: name,
28
+ path: fileURLToPath(new URL("./entry/SKILL.md", import.meta.url)),
29
+ resourceBase: {
30
+ kind: "directory",
31
+ path: fileURLToPath(new URL("./entry/", import.meta.url)),
32
+ },
33
+ },
34
+ ];
35
+ },
36
+ async get(candidate, { signal } = {}) {
37
+ if (candidate.name !== name || candidate.locator !== name)
38
+ return undefined;
39
+ const text = await readFile(
40
+ new URL("./entry/SKILL.md", import.meta.url),
41
+ { encoding: "utf8", signal },
42
+ );
43
+ const { locator, rank, ...definition } = candidate;
44
+ return {
45
+ ...definition,
46
+ invocation,
47
+ content: text.replace(/^---\r?\n[\s\S]*?\r?\n---(?:\r?\n|$)/, ""),
48
+ };
49
+ },
50
+ }));
51
+ }
@@ -0,0 +1,434 @@
1
+ {
2
+ "entry": {
3
+ "name": "datarc-assistant",
4
+ "description": "北极九章(datarc)业务数据与工作区管理的统一入口。用于查数、连续追问、比较趋势、导出、生成系统或HTML报告,以及管理模型、指标、成员、权限、数据源和语义配置。宿主可信上下文确认实际使用 datarc 专属预设时,普通业务问数默认北极九章,不重复确认平台;其他预设下目标不明仍先判别平台,不默认接管。用户明确指定其他平台或本地文件时遵从。内部按任务读取流程并调用原生业务工具,用户无需指定技能或输入命令。",
5
+ "invocation": {
6
+ "modelInvocable": true,
7
+ "userInvocable": false
8
+ }
9
+ },
10
+ "workflows": [
11
+ {
12
+ "name": "datarc-access-permissions",
13
+ "description": "管理北极九章(datarc)工作区成员和用户组的数据权限,以及权限映射表。用于批量配置模型、列、行权限或按用户属性更新映射表;工作区成员、角色和用户组管理请使用当前工作区管理入口;账号创建不在本技能范围。",
14
+ "invocation": {
15
+ "modelInvocable": true,
16
+ "userInvocable": true
17
+ }
18
+ },
19
+ {
20
+ "name": "datarc-analysis-report",
21
+ "description": "在北极九章(datarc)工作区新建私有多章节系统报告(Pinboard),验证后返回工作区报告链接。用户提出经营复盘、专题分析等分析报告需求时使用;未指明交付形态时先问一次要工作区系统报告还是离线 HTML,选 HTML 时移交 datarc-viz-analysis-report。",
22
+ "invocation": {
23
+ "modelInvocable": true,
24
+ "userInvocable": true
25
+ }
26
+ },
27
+ {
28
+ "name": "datarc-data-search",
29
+ "description": "北极九章(datarc)模型驱动的数据搜索与分析技能。复用同一会话已确认的工作区、模型和结果,按需补查,以 Python 计算临时占比和同环比,检查自然语言问题的分词质量,处理模糊词、一词多义和未知词,将问题拆为单个、并列或链式查询,并通过脚本一次性完成 ask、首张直接结果卡片取数、智能解释、预览、导出和本地下载。用于用户要求筛选、分组、统计、排序、排名、趋势、对比、占比、分析或下载工作区数据时;不负责发现工作区或修改模型及业务数据。",
30
+ "invocation": {
31
+ "modelInvocable": true,
32
+ "userInvocable": true
33
+ }
34
+ },
35
+ {
36
+ "name": "datarc-dataseek-batch-evaluation",
37
+ "description": "批量回归评估北极九章(datarc)DataSeek 对 CSV 问题的理解步骤、最终问题 Token 及其 Word;调用真实 DataSeek、保留原始列、自动跳过完全一致项,并由大模型判断非完全一致结果是否逻辑等价。用于批量测试、回归验收和定位理解流程偏差,不用于生成测试集或修改语义配置。",
38
+ "invocation": {
39
+ "modelInvocable": true,
40
+ "userInvocable": true
41
+ }
42
+ },
43
+ {
44
+ "name": "datarc-dataseek-search",
45
+ "description": "北极九章(datarc)DataSeek 会话搜索技能。调用网页 DataSeek 内部 API,支持上下文追问、parallel 并列查询、chained 链式查询、多卡片预览、分页、完整文件导出、重试与取消。普通模型发现、字段探索、维度值和单轮查询优先使用 datarc-data-search。",
46
+ "invocation": {
47
+ "modelInvocable": true,
48
+ "userInvocable": true
49
+ }
50
+ },
51
+ {
52
+ "name": "datarc-dataseek-semantic-debugging",
53
+ "description": "Use when an administrator supplies mapping lists, a current or reported DataSeek mismatch, colloquial or abbreviated field or value terms, fixed semantic bundles, reusable entity sets, or a DataSeek mismatch caused by a contextual rule that may require Knowledge and Prompt bridging.",
54
+ "invocation": {
55
+ "modelInvocable": true,
56
+ "userInvocable": true
57
+ }
58
+ },
59
+ {
60
+ "name": "datarc-dataseek-testset-generation",
61
+ "description": "为北极九章(datarc)DataSeek 生成批量测试集:可由大模型结合工作区从零构造问题,也可读取已有 CSV 的问题列;逐题调用真实 DataSeek,并输出理解 JSON、最终问题 Token 和 Token Word。用于准备回归测试输入,不用于判断测试结果或修改语义配置。",
62
+ "invocation": {
63
+ "modelInvocable": true,
64
+ "userInvocable": true
65
+ }
66
+ },
67
+ {
68
+ "name": "datarc-datasource",
69
+ "description": "安全配置、验证或切换北极九章(datarc)工作区的数据源。用户要求为指定名称的工作区配置数据库类型和连接信息时使用;在写入前读取现有配置、隐藏密码、明确说明替换影响并取得用户二次确认。",
70
+ "invocation": {
71
+ "modelInvocable": true,
72
+ "userInvocable": true
73
+ }
74
+ },
75
+ {
76
+ "name": "datarc-oauth",
77
+ "description": "北极九章(datarc)业务用户网页授权登录、工作区级凭据配置与接口错误处理。优先复用已有凭据;缺失时通过服务网址发起网页授权,自动领取个人令牌并保存,处理认证失效、权限不足及服务异常。",
78
+ "invocation": {
79
+ "modelInvocable": true,
80
+ "userInvocable": true
81
+ }
82
+ },
83
+ {
84
+ "name": "datarc-report-add-card",
85
+ "description": "将北极九章(datarc)已有查询结果中的一张数据卡保存到可编辑报告,或新建报告后加入并返回链接。用于“把刚才第二张图放进新周报”等明确保存现有结果的请求。",
86
+ "invocation": {
87
+ "modelInvocable": true,
88
+ "userInvocable": true
89
+ }
90
+ },
91
+ {
92
+ "name": "datarc-semantic-alias",
93
+ "description": "alias 语义干预子 skill。scripts/alias.mjs 注册本 kind(alias)的 plan/apply/verify/rollback;独立运行,脚本依赖 datarc-semantic-core,名称选择依赖 datarc-workspace-context。",
94
+ "invocation": {
95
+ "modelInvocable": true,
96
+ "userInvocable": true
97
+ }
98
+ },
99
+ {
100
+ "name": "datarc-semantic-calibration",
101
+ "description": "calibration 语义干预子 skill。scripts/calibration.mjs 注册本 kind(semantic_calibration)的 plan/apply/verify/rollback;独立运行,脚本依赖 datarc-semantic-core,名称选择依赖 datarc-workspace-context。",
102
+ "invocation": {
103
+ "modelInvocable": true,
104
+ "userInvocable": true
105
+ }
106
+ },
107
+ {
108
+ "name": "datarc-semantic-core",
109
+ "description": "Shared runtime and CLI framework for the datarc semantic-debugging skill family. Installed alongside the datarc-* semantic sub-skills, which import its scripts.",
110
+ "invocation": {
111
+ "modelInvocable": true,
112
+ "userInvocable": true
113
+ }
114
+ },
115
+ {
116
+ "name": "datarc-semantic-dataset",
117
+ "description": "dataset 语义干预子 skill。scripts/dataset.mjs 注册本 kind(dataset)的 plan/apply/verify/rollback;独立运行,脚本依赖 datarc-semantic-core,名称选择依赖 datarc-workspace-context。",
118
+ "invocation": {
119
+ "modelInvocable": true,
120
+ "userInvocable": true
121
+ }
122
+ },
123
+ {
124
+ "name": "datarc-semantic-knowledge",
125
+ "description": "北极九章(datarc)工作区知识管理。将自然语言业务口径和分析习惯整理为多用途、带模型范围的知识草稿,确认方案后保存、验证和精确回滚。用于管理员维护共享知识,依赖 datarc-semantic-core 与 datarc-semantic-prompt。",
126
+ "invocation": {
127
+ "modelInvocable": true,
128
+ "userInvocable": true
129
+ }
130
+ },
131
+ {
132
+ "name": "datarc-semantic-prompt",
133
+ "description": "prompt 语义干预子 skill。scripts/prompt.mjs 注册 prompt_bridge + knowledge 两类;独立运行,依赖 datarc-semantic-core 与 datarc-semantic-knowledge。",
134
+ "invocation": {
135
+ "modelInvocable": true,
136
+ "userInvocable": true
137
+ }
138
+ },
139
+ {
140
+ "name": "datarc-semantic-synonym",
141
+ "description": "synonym 语义干预子 skill。scripts/synonym.mjs 注册本 kind(dimension_value_synonym)的 plan/apply/verify/rollback;独立运行,脚本依赖 datarc-semantic-core,名称选择依赖 datarc-workspace-context。",
142
+ "invocation": {
143
+ "modelInvocable": true,
144
+ "userInvocable": true
145
+ }
146
+ },
147
+ {
148
+ "name": "datarc-viz-analysis-report",
149
+ "description": "在北极九章(datarc)生成可离线打开的单文件交互式 HTML 分析报告。用户提出分析报告需求时使用;未指明交付形态时先问一次要离线 HTML 文件还是工作区系统报告,选系统报告时移交 datarc-analysis-report。明确要 HTML、离线文件或自行组装交互图表时直接开工。",
150
+ "invocation": {
151
+ "modelInvocable": true,
152
+ "userInvocable": true
153
+ }
154
+ },
155
+ {
156
+ "name": "datarc-workspace-configuration",
157
+ "description": "为北极九章工作区复杂配置生成可确认的方案文档,并在配置后执行真实搜索验收、生成附证据的简短报告。用于跨技能配置、用户要求先出方案或配置后验证;配置写入仍由对应业务技能完成。",
158
+ "invocation": {
159
+ "modelInvocable": true,
160
+ "userInvocable": true
161
+ }
162
+ },
163
+ {
164
+ "name": "datarc-workspace-context",
165
+ "description": "北极九章(datarc)工作区名称发现与查询上下文技能。在任何查询、报告或配置任务尚未确定工作区时,先读取可访问工作区名称并让用户选择,内部解析 ID;选定后可读取模型、指标、维度及示例。不修改工作区或执行数据查询。",
166
+ "invocation": {
167
+ "modelInvocable": true,
168
+ "userInvocable": true
169
+ }
170
+ },
171
+ {
172
+ "name": "datarc-workspace-custom-tables",
173
+ "description": "在北极九章(datarc)工作区创建和维护 SQL 自定义表,支持试跑 SQL、查看字段与样例、修改 SQL、改名及模型引用影响检查。用于准备可复用的查询来源;不创建数据库物理表,不写入业务数据。",
174
+ "invocation": {
175
+ "modelInvocable": true,
176
+ "userInvocable": true
177
+ }
178
+ },
179
+ {
180
+ "name": "datarc-workspace-keywords",
181
+ "description": "当用户要求在北极九章(datarc)工作区查询、创建、修改或删除指标、维度、时间维度、维度表,编辑维度英文回显名,调整维度值可搜索状态,或在基础模型完成后创建衍生指标时使用。修改单个模型字段绑定或关联时使用 datarc-workspace-modeling。",
182
+ "invocation": {
183
+ "modelInvocable": true,
184
+ "userInvocable": true
185
+ }
186
+ },
187
+ {
188
+ "name": "datarc-workspace-membership",
189
+ "description": "管理北极九章(datarc)工作区中的已有用户、成员角色、用户组及组成员关系。用于批量拉人入区、设置普通用户或管理员、分配用户组;账号创建和密码管理不在本技能范围。",
190
+ "invocation": {
191
+ "modelInvocable": true,
192
+ "userInvocable": true
193
+ }
194
+ },
195
+ {
196
+ "name": "datarc-workspace-modeling",
197
+ "description": "当用户要求在北极九章(datarc)工作区创建或修改数据模型、从数据库表发现事实表和维表、批量建模并复用工作区语义资源,或明确要求管理模型标签及关联时使用。独立维护工作区关键词或创建衍生指标时使用 datarc-workspace-keywords。",
198
+ "invocation": {
199
+ "modelInvocable": true,
200
+ "userInvocable": true
201
+ }
202
+ }
203
+ ],
204
+ "documents": [
205
+ {
206
+ "workflow": "datarc-access-permissions",
207
+ "path": "datarc-access-permissions/references/api.md"
208
+ },
209
+ {
210
+ "workflow": "datarc-access-permissions",
211
+ "path": "datarc-access-permissions/references/write-order.md"
212
+ },
213
+ {
214
+ "workflow": "datarc-access-permissions",
215
+ "path": "datarc-access-permissions/SKILL.md"
216
+ },
217
+ {
218
+ "workflow": "datarc-analysis-report",
219
+ "path": "datarc-analysis-report/references/analyst-frameworks.md"
220
+ },
221
+ {
222
+ "workflow": "datarc-analysis-report",
223
+ "path": "datarc-analysis-report/references/api-contracts.md"
224
+ },
225
+ {
226
+ "workflow": "datarc-analysis-report",
227
+ "path": "datarc-analysis-report/references/direct-card-fallback-design.md"
228
+ },
229
+ {
230
+ "workflow": "datarc-analysis-report",
231
+ "path": "datarc-analysis-report/references/human-in-the-loop.md"
232
+ },
233
+ {
234
+ "workflow": "datarc-analysis-report",
235
+ "path": "datarc-analysis-report/references/loop-personalization-policy.md"
236
+ },
237
+ {
238
+ "workflow": "datarc-analysis-report",
239
+ "path": "datarc-analysis-report/references/narrative-schema.md"
240
+ },
241
+ {
242
+ "workflow": "datarc-analysis-report",
243
+ "path": "datarc-analysis-report/references/question-syntax.md"
244
+ },
245
+ {
246
+ "workflow": "datarc-analysis-report",
247
+ "path": "datarc-analysis-report/SKILL.md"
248
+ },
249
+ {
250
+ "workflow": "datarc-data-search",
251
+ "path": "datarc-data-search/SKILL.md"
252
+ },
253
+ {
254
+ "workflow": "datarc-dataseek-batch-evaluation",
255
+ "path": "datarc-dataseek-batch-evaluation/references/artifacts.md"
256
+ },
257
+ {
258
+ "workflow": "datarc-dataseek-batch-evaluation",
259
+ "path": "datarc-dataseek-batch-evaluation/references/equivalence.md"
260
+ },
261
+ {
262
+ "workflow": "datarc-dataseek-batch-evaluation",
263
+ "path": "datarc-dataseek-batch-evaluation/SKILL.md"
264
+ },
265
+ {
266
+ "workflow": "datarc-dataseek-search",
267
+ "path": "datarc-dataseek-search/SKILL.md"
268
+ },
269
+ {
270
+ "workflow": "datarc-dataseek-semantic-debugging",
271
+ "path": "datarc-dataseek-semantic-debugging/references/dataset.md"
272
+ },
273
+ {
274
+ "workflow": "datarc-dataseek-semantic-debugging",
275
+ "path": "datarc-dataseek-semantic-debugging/references/input-and-resolution.md"
276
+ },
277
+ {
278
+ "workflow": "datarc-dataseek-semantic-debugging",
279
+ "path": "datarc-dataseek-semantic-debugging/references/interventions.md"
280
+ },
281
+ {
282
+ "workflow": "datarc-dataseek-semantic-debugging",
283
+ "path": "datarc-dataseek-semantic-debugging/references/knowledge-and-prompts.md"
284
+ },
285
+ {
286
+ "workflow": "datarc-dataseek-semantic-debugging",
287
+ "path": "datarc-dataseek-semantic-debugging/references/rollback.md"
288
+ },
289
+ {
290
+ "workflow": "datarc-dataseek-semantic-debugging",
291
+ "path": "datarc-dataseek-semantic-debugging/references/verification-and-rollback.md"
292
+ },
293
+ {
294
+ "workflow": "datarc-dataseek-semantic-debugging",
295
+ "path": "datarc-dataseek-semantic-debugging/SKILL.md"
296
+ },
297
+ {
298
+ "workflow": "datarc-dataseek-testset-generation",
299
+ "path": "datarc-dataseek-testset-generation/SKILL.md"
300
+ },
301
+ {
302
+ "workflow": "datarc-datasource",
303
+ "path": "datarc-datasource/SKILL.md"
304
+ },
305
+ {
306
+ "workflow": "datarc-oauth",
307
+ "path": "datarc-oauth/SKILL.md"
308
+ },
309
+ {
310
+ "workflow": "datarc-report-add-card",
311
+ "path": "datarc-report-add-card/SKILL.md"
312
+ },
313
+ {
314
+ "workflow": "datarc-semantic-alias",
315
+ "path": "datarc-semantic-alias/SKILL.md"
316
+ },
317
+ {
318
+ "workflow": "datarc-semantic-calibration",
319
+ "path": "datarc-semantic-calibration/SKILL.md"
320
+ },
321
+ {
322
+ "workflow": "datarc-semantic-core",
323
+ "path": "datarc-semantic-core/SKILL.md"
324
+ },
325
+ {
326
+ "workflow": "datarc-semantic-dataset",
327
+ "path": "datarc-semantic-dataset/SKILL.md"
328
+ },
329
+ {
330
+ "workflow": "datarc-semantic-knowledge",
331
+ "path": "datarc-semantic-knowledge/references/knowledge-drafts.md"
332
+ },
333
+ {
334
+ "workflow": "datarc-semantic-knowledge",
335
+ "path": "datarc-semantic-knowledge/SKILL.md"
336
+ },
337
+ {
338
+ "workflow": "datarc-semantic-prompt",
339
+ "path": "datarc-semantic-prompt/SKILL.md"
340
+ },
341
+ {
342
+ "workflow": "datarc-semantic-synonym",
343
+ "path": "datarc-semantic-synonym/SKILL.md"
344
+ },
345
+ {
346
+ "workflow": "datarc-viz-analysis-report",
347
+ "path": "datarc-viz-analysis-report/assets/LICENSE-echarts.md"
348
+ },
349
+ {
350
+ "workflow": "datarc-viz-analysis-report",
351
+ "path": "datarc-viz-analysis-report/references/api-contracts.md"
352
+ },
353
+ {
354
+ "workflow": "datarc-viz-analysis-report",
355
+ "path": "datarc-viz-analysis-report/references/derivation-log.md"
356
+ },
357
+ {
358
+ "workflow": "datarc-viz-analysis-report",
359
+ "path": "datarc-viz-analysis-report/references/evidence-framework.md"
360
+ },
361
+ {
362
+ "workflow": "datarc-viz-analysis-report",
363
+ "path": "datarc-viz-analysis-report/references/html-template.md"
364
+ },
365
+ {
366
+ "workflow": "datarc-viz-analysis-report",
367
+ "path": "datarc-viz-analysis-report/references/provenance-format.md"
368
+ },
369
+ {
370
+ "workflow": "datarc-viz-analysis-report",
371
+ "path": "datarc-viz-analysis-report/references/question-syntax.md"
372
+ },
373
+ {
374
+ "workflow": "datarc-viz-analysis-report",
375
+ "path": "datarc-viz-analysis-report/SKILL.md"
376
+ },
377
+ {
378
+ "workflow": "datarc-workspace-configuration",
379
+ "path": "datarc-workspace-configuration/references/artifacts.md"
380
+ },
381
+ {
382
+ "workflow": "datarc-workspace-configuration",
383
+ "path": "datarc-workspace-configuration/references/verification.md"
384
+ },
385
+ {
386
+ "workflow": "datarc-workspace-configuration",
387
+ "path": "datarc-workspace-configuration/SKILL.md"
388
+ },
389
+ {
390
+ "workflow": "datarc-workspace-context",
391
+ "path": "datarc-workspace-context/SKILL.md"
392
+ },
393
+ {
394
+ "workflow": "datarc-workspace-custom-tables",
395
+ "path": "datarc-workspace-custom-tables/SKILL.md"
396
+ },
397
+ {
398
+ "workflow": "datarc-workspace-keywords",
399
+ "path": "datarc-workspace-keywords/references/api-fields.md"
400
+ },
401
+ {
402
+ "workflow": "datarc-workspace-keywords",
403
+ "path": "datarc-workspace-keywords/references/derived-measures.md"
404
+ },
405
+ {
406
+ "workflow": "datarc-workspace-keywords",
407
+ "path": "datarc-workspace-keywords/SKILL.md"
408
+ },
409
+ {
410
+ "workflow": "datarc-workspace-membership",
411
+ "path": "datarc-workspace-membership/references/api.md"
412
+ },
413
+ {
414
+ "workflow": "datarc-workspace-membership",
415
+ "path": "datarc-workspace-membership/SKILL.md"
416
+ },
417
+ {
418
+ "workflow": "datarc-workspace-modeling",
419
+ "path": "datarc-workspace-modeling/references/join-preview.md"
420
+ },
421
+ {
422
+ "workflow": "datarc-workspace-modeling",
423
+ "path": "datarc-workspace-modeling/references/model-plan.md"
424
+ },
425
+ {
426
+ "workflow": "datarc-workspace-modeling",
427
+ "path": "datarc-workspace-modeling/references/model-tags.md"
428
+ },
429
+ {
430
+ "workflow": "datarc-workspace-modeling",
431
+ "path": "datarc-workspace-modeling/SKILL.md"
432
+ }
433
+ ]
434
+ }
package/icon.svg DELETED
@@ -1,4 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36" fill="none">
2
- <path d="M9 8h13l5 5v15H9V8Z" stroke="#3976a8" stroke-width="2" stroke-linejoin="round"/>
3
- <path d="M22 8v6h5M13 18h10M13 22h6M13 26h9" stroke="#3976a8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
- </svg>