@capyclaw/session-tabs 0.4.0 → 0.9.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 (27) hide show
  1. package/README.md +15 -14
  2. package/client/client.js +478 -300
  3. package/node_modules/@capyclaw/foundation/abi/assets.mjs +26 -0
  4. package/node_modules/@capyclaw/foundation/abi/bridge.mjs +3 -1
  5. package/node_modules/@capyclaw/foundation/abi/index.mjs +15 -0
  6. package/node_modules/@capyclaw/foundation/abi/loader.mjs +8 -1
  7. package/node_modules/@capyclaw/foundation/abi/spec.mjs +5 -2
  8. package/node_modules/@capyclaw/foundation/abi/version.mjs +63 -5
  9. package/node_modules/@capyclaw/foundation/abi/visibility.mjs +90 -0
  10. package/node_modules/@capyclaw/foundation/lib/adapters/lifecycle-hook.mjs +21 -4
  11. package/node_modules/@capyclaw/foundation/lib/adapters/raw.mjs +11 -10
  12. package/node_modules/@capyclaw/foundation/lib/adapters/runtime-driver.mjs +8 -1
  13. package/node_modules/@capyclaw/foundation/lib/host/caps.mjs +5 -1
  14. package/node_modules/@capyclaw/foundation/lib/host/contract.mjs +5 -2
  15. package/node_modules/@capyclaw/foundation/lib/host/dsh.mjs +4 -0
  16. package/node_modules/@capyclaw/foundation/lib/host/memory.mjs +29 -2
  17. package/node_modules/@capyclaw/foundation/lib/kernel.mjs +13 -3
  18. package/node_modules/@capyclaw/foundation/lib/skill/scan.mjs +31 -3
  19. package/node_modules/@capyclaw/foundation/lib/subsystems/net.mjs +12 -2
  20. package/node_modules/@capyclaw/foundation/package.json +1 -1
  21. package/node_modules/@capyclaw/plugin-kit/package.json +3 -1
  22. package/node_modules/@capyclaw/plugin-kit/src/editor/heartbeat-worker.js +5 -2
  23. package/node_modules/@capyclaw/plugin-kit/src/editor/heartbeat.mjs +26 -0
  24. package/node_modules/@capyclaw/plugin-kit/src/editor/lease.mjs +3 -82
  25. package/node_modules/@capyclaw/plugin-kit/src/service/static.mjs +79 -0
  26. package/node_modules/@capyclaw/plugin-kit/src/workspace/manager.mjs +13 -5
  27. package/package.json +3 -3
@@ -91,7 +91,11 @@ export function createNet(host, config = {}) {
91
91
  }
92
92
  return
93
93
  }
94
- await new Promise((resolve) => setTimeout(resolve, WEB_LATE_POLL_MS))
94
+ await new Promise((resolve) => {
95
+ /* unref:迟到补挂的轮询定时器不得拖住进程退出(最长 60s 的尾延迟)。 */
96
+ const timer = setTimeout(resolve, WEB_LATE_POLL_MS)
97
+ timer.unref?.()
98
+ })
95
99
  }
96
100
  })().catch(() => {})
97
101
  }
@@ -116,7 +120,10 @@ export function createNet(host, config = {}) {
116
120
  if (!web && shouldWaitForWeb()) {
117
121
  const deadline = Date.now() + WEB_WAIT_MS
118
122
  while (!web && Date.now() < deadline && !closed) {
119
- await new Promise((resolve) => setTimeout(resolve, WEB_POLL_MS))
123
+ await new Promise((resolve) => {
124
+ const timer = setTimeout(resolve, WEB_POLL_MS)
125
+ timer.unref?.()
126
+ })
120
127
  web = webServer()
121
128
  }
122
129
  }
@@ -140,6 +147,9 @@ export function createNet(host, config = {}) {
140
147
  disposal = (async () => {
141
148
  if (!sharedHost) return
142
149
  // listen 失败由 ready/start 报告;清理仍需执行,且 close 失败不能被吞掉。
150
+ // 注意:dispose 在 listen 失败时仍 RESOLVE(错误经 ready/start 上报)——这是
151
+ // 被 network-lifecycle 测试固化的契约,close 不再二次上抛 listen 错,避免
152
+ // 破坏「清理成功即 dispose 成功」的语义。
143
153
  await listening.catch(() => {})
144
154
  // 迟到补挂的路由要一起撤掉,否则共享宿主关了、宿主网页端口上还留着分发器。
145
155
  try {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capyclaw/foundation",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "dsh 插件基石层:接口 ABI、插件加载器与内核服务 ctx.os。应用插件只声明接口,不写装配代码。",
5
5
  "type": "module",
6
6
  "main": "./lib/host.mjs",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capyclaw/plugin-kit",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "DSH 插件基础设施标准件:HTTP/MCP、单实例锁、参数校验、技能 provider、journal 存储、编辑器传输与租约。",
5
5
  "type": "module",
6
6
  "main": "./src/index.mjs",
@@ -10,11 +10,13 @@
10
10
  "./service/mcp-http": "./src/service/mcp-http.mjs",
11
11
  "./service/server": "./src/service/server.mjs",
12
12
  "./service/api": "./src/service/api.mjs",
13
+ "./service/static": "./src/service/static.mjs",
13
14
  "./tools/validate": "./src/tools/validate.mjs",
14
15
  "./tools/result": "./src/tools/result.mjs",
15
16
  "./skills/provider": "./src/skills/provider.mjs",
16
17
  "./editor/transport": "./src/editor/transport.js",
17
18
  "./editor/lease": "./src/editor/lease.mjs",
19
+ "./editor/heartbeat": "./src/editor/heartbeat.mjs",
18
20
  "./editor/shadow": "./src/editor/shadow.mjs",
19
21
  "./store/journal-store": "./src/store/journal-store.mjs",
20
22
  "./store/blob-store": "./src/store/blob-store.mjs",
@@ -45,7 +45,10 @@ self.onmessage = function(e) {
45
45
  function startHeartbeat() {
46
46
  if (intervalHandle) clearInterval(intervalHandle);
47
47
 
48
- // 每 4 秒发送心跳(留 1 秒缓冲,避免刚好 5 秒时被判过期)
48
+ // 心跳节奏统一为 3s:单一真源是 editor/heartbeat.mjs 的 HEARTBEAT_INTERVAL_MS。
49
+ // 本文件是原样拷贝的经典 Worker,运行时不能 import npm 模块,故以字面量承载节奏,
50
+ // 由 test/heartbeat-constants.test.mjs 钉死与常量一致,防止再次漂移。
51
+ // 心跳对象是编辑器「在场租约」(editor-host /claim);两层租约语义见 heartbeat.mjs 头注。
49
52
  intervalHandle = setInterval(() => {
50
53
  if (!active) return;
51
54
 
@@ -66,7 +69,7 @@ function startHeartbeat() {
66
69
  });
67
70
  }
68
71
  });
69
- }, 4000);
72
+ }, 3000);
70
73
 
71
74
  // 立即发送第一次
72
75
  sendClaim().catch(() => {});
@@ -0,0 +1,26 @@
1
+ /**
2
+ * 编辑器「在场租约」心跳节奏常量单一真源(P2-13b)。
3
+ *
4
+ * 背景:心跳节奏曾在两处手工对齐而漂移——plugin-kit 的 heartbeat-worker.js 写死
5
+ * 4000ms(还留着「避免 5 秒判过期」的过期注释),document-workbench 客户端却是
6
+ * 3000ms。两者必须同拍,否则编辑器判活与文档 owner 判活快慢不一。这里把节奏收敛
7
+ * 成一个常量,客户端直接 import;worker 是原样拷贝的经典 Web Worker(运行时不能
8
+ * import npm 模块),其 setInterval 字面量由 test/heartbeat-constants.test.mjs 钉死
9
+ * 等于本常量,防止再次漂移。统一取架构审查建议的 3s。
10
+ *
11
+ * 两层租约语义不同,都要保留(本常量只统一「心跳节奏」,不合并两层租约):
12
+ * 1. 在场租约(presence)——@capyclaw/plugin-kit/editor/lease.mjs 的 createEditorLease,
13
+ * 由 editor-host 的 /claim 消费,「显示即连接」:新窗口强制抢占、旧窗口静默待命;
14
+ * TTL 10s、无 epoch,靠客户端每 HEARTBEAT_INTERVAL_MS 心跳续租。
15
+ * 2. 所有权租约(owner)——@capyclaw/document-workbench/session 的 claimOwner/OWNER_TTL,
16
+ * deck/文档级所有权,带 epoch fencing(换人 +1、旧 owner 回执被丢弃)。PPT 的
17
+ * A/projects/ppt/src/server/store/lease.mjs 只是它的兼容再导出。此为套件领域件,
18
+ * 不在本次改造范围,仅在此说清两层,避免误把在场租约当成所有权租约。
19
+ * 两条租约线共用「心跳 3s、TTL 10s」的并发协议;TTL 的运行时真源仍是 lease.mjs 的
20
+ * DEFAULT_TTL 与 document-workbench 的 OWNER_TTL(均已为 10s,未漂移,不在本次改动范围)。
21
+ *
22
+ * 本文件零依赖、browser-safe(无 node:*),可被编辑器客户端 bundle 直接 import。
23
+ */
24
+
25
+ /** 心跳间隔(毫秒):在场租约与文档 owner 租约共用的续租节奏,单一真源。 */
26
+ export const HEARTBEAT_INTERVAL_MS = 3000
@@ -6,8 +6,9 @@
6
6
  */
7
7
  import { tuning } from '../tuning.mjs'
8
8
 
9
- const DEFAULT_TTL = 15 // 秒
10
- const DEFAULT_HEARTBEAT = 3 // 秒(心跳间隔应小于 TTL)
9
+ /* 与文档 owner 租约(document-workbench OWNER_TTL)对齐为 10s:
10
+ * 两条租约线共用「心跳 3s、TTL 10s」的并发协议,避免编辑器判活比文档慢半拍。 */
11
+ const DEFAULT_TTL = 10 // 秒
11
12
 
12
13
  /**
13
14
  * 创建编辑器租约仲裁器。
@@ -57,83 +58,3 @@ export function createEditorLease(opts = {}) {
57
58
  },
58
59
  }
59
60
  }
60
-
61
- /**
62
- * 编辑器端自动挂接循环。
63
- * 首次 claim 强制抢占(后打开者赢),之后静默心跳。
64
- * @param {{
65
- * clientId: string,
66
- * claim: (force: boolean) => Promise<boolean>,
67
- * release?: () => void,
68
- * onActive?: () => void,
69
- * onStandby?: () => void,
70
- * retryMs?: number,
71
- * heartbeatMs?: number,
72
- * setInterval?: (cb: () => void) => any,
73
- * clearInterval?: (handle: any) => void
74
- * }} o
75
- */
76
- export function startAutoAttach(o) {
77
- if (!o || !o.clientId) throw new Error('startAutoAttach: clientId 必填')
78
- if (typeof o.claim !== 'function') throw new Error('startAutoAttach: claim 必须是函数')
79
-
80
- const retryMs = o.retryMs || 1000
81
- const heartbeatMs = o.heartbeatMs || DEFAULT_HEARTBEAT * 1000
82
- const setI = o.setInterval || ((cb) => setInterval(cb, heartbeatMs))
83
- const clearI = o.clearInterval || ((handle) => clearInterval(handle))
84
-
85
- let active = false
86
- let heartbeat = null
87
- let disposed = false
88
-
89
- async function tryClaim(force) {
90
- try {
91
- return await o.claim(force)
92
- } catch {
93
- return false
94
- }
95
- }
96
-
97
- function goActive() {
98
- if (active) return
99
- active = true
100
- try { o.onActive && o.onActive() } catch { /* 用户回调失败不阻塞挂接 */ }
101
- heartbeat = setI(async () => {
102
- if (disposed) return
103
- const ok = await tryClaim(false)
104
- if (!ok) goStandby()
105
- })
106
- }
107
-
108
- function goStandby() {
109
- if (!active) return
110
- active = false
111
- if (heartbeat != null) {
112
- clearI(heartbeat)
113
- heartbeat = null
114
- }
115
- try { o.onStandby && o.onStandby() } catch { /* 静默 */ }
116
- }
117
-
118
- ;(async () => {
119
- let first = true
120
- while (!disposed) {
121
- const ok = await tryClaim(first)
122
- first = false
123
- if (ok) {
124
- goActive()
125
- return
126
- }
127
- await new Promise((resolve) => setTimeout(resolve, retryMs))
128
- }
129
- })()
130
-
131
- return {
132
- get active() { return active },
133
- dispose() {
134
- disposed = true
135
- goStandby()
136
- try { o.release && o.release() } catch { /* 释放失败不阻塞退出 */ }
137
- },
138
- }
139
- }
@@ -0,0 +1,79 @@
1
+ /**
2
+ * 静态文件服务公共核心(P2-13a)。
3
+ *
4
+ * service-host 与 editor-host 各有一套静态文件服务,其中「路径穿越防护 / 挂载前缀
5
+ * 归一与命中 / 相对路径解码 / files 显式映射 / 基础响应头」这几段逻辑逐字重复。
6
+ * 这里把它们收敛成一组纯函数作为单一真源,两个宿主都 import 本文件,不再各写一份。
7
+ *
8
+ * 边界(刻意不收敛的部分):本文件只做「无 IO 的路径/头部计算」,不碰响应政策。
9
+ * 两宿主的行为差异必须各自保留——
10
+ * - 畸形百分号编码:service-host 回 400,editor-host 交还路由链(return false);
11
+ * - 目录入口补尾斜杠 301、ETag/gzip/304/vary:仅 editor-host;
12
+ * - content-type 取值:service-host 用 mimeFor(请求 rel) + explicitType,
13
+ * editor-host 用 mimeFor(落盘文件路径);
14
+ * - 读盘策略:service-host 每次 readFileSync,editor-host 走 (size,mtime) 缓存。
15
+ * 因此 decodeStaticRel 畸形时返回 null(而非抛错/替宿主回响应),由调用方决定 400 还是放行。
16
+ *
17
+ * 只依赖 node 内置(node:path),不 import 本包其它文件,不成环(与 util/http.mjs 同风格)。
18
+ */
19
+ import path from 'node:path'
20
+
21
+ /** 路径穿越防护:只允许落在 root 内(含 root 自身),越界返回 null。两宿主共用。 */
22
+ export function safeJoin(root, rel) {
23
+ const target = path.resolve(root, `.${path.sep}${rel}`)
24
+ const base = path.resolve(root)
25
+ return target === base || target.startsWith(base + path.sep) ? target : null
26
+ }
27
+
28
+ /** 挂载前缀归一:'/' → ''(挂全部);其余去掉尾斜杠。空/缺省按 '' 处理。 */
29
+ export function cleanStaticPrefix(prefix) {
30
+ return prefix === '/' ? '' : String(prefix || '').replace(/\/+$/, '')
31
+ }
32
+
33
+ /** 前缀命中:空前缀命中一切;非空须精确等于前缀或其子路径。 */
34
+ export function staticPrefixHit(pathname, prefix) {
35
+ return !prefix || pathname === prefix || pathname.startsWith(prefix + '/')
36
+ }
37
+
38
+ /** 去掉挂载前缀后的原始相对路径(未解码)。 */
39
+ export function staticRelRaw(pathname, prefix) {
40
+ return prefix ? pathname.slice(prefix.length) : pathname
41
+ }
42
+
43
+ /**
44
+ * 解码相对路径:空/'/' 落到 index;其余去掉 leading 斜杠后 decodeURIComponent。
45
+ * 畸形百分号编码(URIError)返回 null——由宿主决定回 400(service-host)还是
46
+ * 交还路由链(editor-host),本核心不替宿主做响应政策。
47
+ */
48
+ export function decodeStaticRel(relRaw, index = 'index.html') {
49
+ try {
50
+ return relRaw === '' || relRaw === '/' ? index : decodeURIComponent(relRaw.replace(/^\/+/, ''))
51
+ } catch {
52
+ return null
53
+ }
54
+ }
55
+
56
+ /** files 显式映射查表:relRaw 为空时用 '/' 键;未命中返回 null(宿主交还路由链)。 */
57
+ export function staticFileHit(files, relRaw) {
58
+ if (!files) return null
59
+ return files[relRaw === '' ? '/' : relRaw] || files[relRaw] || null
60
+ }
61
+
62
+ /** 映射条目 → [文件名, 显式 content-type(可空)]。字符串条目无显式 type。 */
63
+ export function staticHitNameType(hit) {
64
+ return Array.isArray(hit) ? [hit[0], hit[1]] : [hit, undefined]
65
+ }
66
+
67
+ /**
68
+ * 静态 200 基础响应头:content-type/length + 安全与缓存政策(两宿主一致的五项)。
69
+ * no-cache = 允许缓存但每次回源校验;editor-host 会在此之上追加 etag/vary。
70
+ */
71
+ export function staticBaseHeaders(type, length) {
72
+ return {
73
+ 'content-type': type,
74
+ 'content-length': length,
75
+ 'x-content-type-options': 'nosniff',
76
+ 'referrer-policy': 'no-referrer',
77
+ 'cache-control': 'no-cache',
78
+ }
79
+ }
@@ -575,7 +575,7 @@ export class WorkspaceClient {
575
575
 
576
576
  /** 插件的 JournalStore 持久化接口 → 中间层 workspace。 */
577
577
  export class WorkspaceBackend {
578
- constructor({ client, workId = 'main', journalPath = null }) {
578
+ constructor({ client, workId = 'main', journalPath = null, project = null }) {
579
579
  /* 结构化契约:workspace-service 可能来自另一份 kit 快照。 */
580
580
  if (!client || typeof client.put !== 'function' || typeof client.getJson !== 'function') {
581
581
  throw new Error('WorkspaceBackend 需要 WorkspaceClient 兼容实现')
@@ -583,6 +583,9 @@ export class WorkspaceBackend {
583
583
  this.client = client
584
584
  this.workId = workId
585
585
  this.journalPath = journalPath || null
586
+ /* checkpoint 列表投影(形状声明):内核只产出通用信封,业务字段(如 PPT 的 slides)
587
+ * 由套件适配层传入 project(payload, base) 叠加。缺省纯信封,不硬编码任何业务名词。 */
588
+ this.project = typeof project === 'function' ? project : null
586
589
  this.stateKey = 'state.json'
587
590
  this.journalKey = 'journal.jsonl'
588
591
  this.checkpointPrefix = 'checkpoints/'
@@ -624,23 +627,27 @@ export class WorkspaceBackend {
624
627
  return { name, createdAt: payload.createdAt, meta: payload.meta || {} }
625
628
  }
626
629
 
627
- listCheckpoints() {
630
+ listCheckpoints(opts = {}) {
631
+ const project = typeof opts.project === 'function' ? opts.project : this.project
628
632
  return this.client.list(this.workId)
629
633
  .filter((item) => item.key.startsWith(this.checkpointPrefix) && item.key.endsWith('.json'))
630
634
  .map((item) => {
631
635
  try {
632
636
  const payload = this.client.getJson(this.workId, item.key)
633
637
  if (!payload) return null
634
- return {
638
+ /* 通用会话信封:不含任何业务名词(slides/deck 等)。业务字段经 project 叠加。
639
+ * 约定与 document-workbench projectCheckpoint 一致:project(payload, base) 只返回
640
+ * 「扩展字段」,由 backend 合并 base({...base, ...extra}),保证 name/createdAt/meta 不丢。 */
641
+ const base = {
635
642
  name: payload.name,
636
643
  seq: payload.seq,
637
644
  appliedSeq: payload.appliedSeq,
638
645
  pending: !!payload.pending,
639
646
  title: payload.title,
640
- slides: payload.slides,
641
647
  createdAt: payload.createdAt,
642
648
  meta: payload.meta || {},
643
649
  }
650
+ return project ? { ...base, ...project(payload, base) } : base
644
651
  } catch { return null }
645
652
  })
646
653
  .filter(Boolean)
@@ -650,7 +657,8 @@ export class WorkspaceBackend {
650
657
  readCheckpoint(name) {
651
658
  const key = `${this.checkpointPrefix}${name}.json`
652
659
  const payload = this.client.getJson(this.workId, key, null)
653
- if (!payload || !payload.deck) throw new Error('checkpoint 内容损坏: ' + name)
660
+ /* 只校验载荷存在;业务形状(如 PPT 的 deck)由套件适配层 / DocumentSession 的 documentKey 校验。 */
661
+ if (!payload) throw new Error('checkpoint 内容损坏: ' + name)
654
662
  return payload
655
663
  }
656
664
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capyclaw/session-tabs",
3
- "version": "0.4.0",
4
- "description": "Thin browser-style session tab bar mounted into the caption-map reserved slot (ctx.captionExtra mount anchor): pure presentation over the single ctx.sessionKeeper interface (@capyclaw/session-keeper); close stops a running session, trailing + creates a session in the current/recent workspace. Chrome-like paint-first clicks: the optimistic highlight paints in the click task while the host's synchronous session swap is deferred two frames (latest-wins coalescing, active-tab click is a no-op); the main panel is left entirely to the host (no overlay, no snapshot, no observers).",
3
+ "version": "0.9.0",
4
+ "description": "Thin browser-style session tab bar mounted into the caption-map reserved slot (ctx.captionExtra mount anchor): pure presentation over the single ctx.sessionKeeper interface (@capyclaw/session-keeper). Rule-first: tabs are admitted only via keeper.manage(id, source) with a whitelisted source (user-open/user-create); tabs close only by the user, survive restarts, and closing the last tab no longer auto-creates a session; close stops a running session, trailing + always creates a brand-new independent session via sessions.create({workspaceId}) without sessionId (bypassing the host's blank-session reuse; workspace resolved from the workspaces.list snapshot: active -> most-recent -> first, falling back to startSession on failure). Chrome-like input-first clicks (v0.9): pointerdown activates immediately (mouse/pen; touch stays on click), the optimistic highlight paints in the press task while the host's synchronous session swap waits only for one painted frame (latest-wins coalescing: a burst of clicks triggers a single host rebuild; active-tab click is a no-op); reveal scrolls only the tab strip's own scrollLeft; the main panel is left entirely to the host (no overlay, no snapshot, no observers). Chrome-like drag reorder (v0.8): HTML5 native DnD with before/after insertion indicators drawn on the tabs themselves (inset shadow, zero extra layers); drop on the empty/+ zone moves to end; Alt+Arrow keyboard reorder; order truth lives in keeper.move(id,toIndex) (persisted there).",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "exports": {
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "meta": {
29
29
  "title": "会话标签页",
30
- "description": "会话标签条薄 UI:挂进 caption-map 预留栏位挂载锚(ctx.captionExtra),只经唯一接口 ctx.sessionKeeper 消费受管会话状态并呈现标签;关闭运行中标签即停止会话,末尾加号在当前/最近工作区新建会话。点击标签立即乐观高亮;主区完全交给宿主默认背景与加载态(零附加图层、零观察器,不挡点击、不拖慢宿主渲染)。会话保活与心跳在 @capyclaw/session-keeper。"
30
+ "description": "会话标签条薄 UI:挂进 caption-map 预留栏位挂载锚(ctx.captionExtra),只经唯一接口 ctx.sessionKeeper 消费受管会话状态并呈现标签。规则先行:open/create 经 keeper.manage(id,source) 白名单闸纳入(user-open/user-create),其余自动添加被禁止;标签只能人为关闭、重启不丢、运行中会话常驻顶栏,关闭运行中标签先确认并停止会话,关最后一个不再自动新建。末尾加号必新建独立会话(绕开宿主空白复用,连点可得多个互不影响的新标签;失败回退宿主 startSession)。按下标签立即乐观高亮(v0.7 输入优先调度:pointerdown 即激活、连点静置合并、宿主交换落在画过一帧后的静置窗口);主区完全交给宿主默认背景与加载态(零附加图层、零观察器,不挡点击、不拖慢宿主渲染)。会话保活与心跳在 @capyclaw/session-keeper。左右拖拽标签排序(v0.8:HTML5 原生 DnD,插入指示线画在标签/滚动口自身、零附加图层;空白/加号区放置=末尾;Alt+←→ 键盘兜底;序真源 keeper.move 落盘)。"
31
31
  },
32
32
  "files": [
33
33
  "index.js",