@specship/specship-win32-arm64 0.12.1 → 0.13.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 (242) hide show
  1. package/lib/dist/bin/specship.js +48 -12
  2. package/lib/dist/bin/specship.js.map +1 -1
  3. package/lib/dist/db/migrations.d.ts +1 -1
  4. package/lib/dist/db/migrations.d.ts.map +1 -1
  5. package/lib/dist/db/migrations.js +16 -1
  6. package/lib/dist/db/migrations.js.map +1 -1
  7. package/lib/dist/db/schema.sql +10 -0
  8. package/lib/dist/server/cli.js +10 -8
  9. package/lib/dist/server/product-version.js +44 -0
  10. package/lib/dist/server/routes/claude.js +153 -42
  11. package/lib/dist/server/routes/config.js +35 -0
  12. package/lib/dist/server/routes/graph.js +22 -1
  13. package/lib/dist/server/routes/mcp.js +510 -0
  14. package/lib/dist/server/routes/projects.js +31 -3
  15. package/lib/dist/server/routes/sse.js +1 -1
  16. package/lib/dist/server/routes/status.js +3 -0
  17. package/lib/dist/server/routes/workflow.js +29 -2
  18. package/lib/dist/server/server-config.js +38 -0
  19. package/lib/dist/server/server.js +129 -59
  20. package/lib/dist/ui/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
  21. package/lib/dist/ui/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
  22. package/lib/dist/ui/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
  23. package/lib/dist/ui/assets/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
  24. package/lib/dist/ui/assets/geist-mono-cyrillic-ext-wght-normal-I4S5GZfc.woff2 +0 -0
  25. package/lib/dist/ui/assets/geist-mono-cyrillic-wght-normal-BmXc_FBt.woff2 +0 -0
  26. package/lib/dist/ui/assets/geist-mono-latin-ext-wght-normal-DrnZ1wKl.woff2 +0 -0
  27. package/lib/dist/ui/assets/geist-mono-latin-wght-normal-B_7UjwxQ.woff2 +0 -0
  28. package/lib/dist/ui/assets/geist-mono-symbols2-wght-normal-GZpp1pK2.woff2 +0 -0
  29. package/lib/dist/ui/assets/geist-mono-vietnamese-wght-normal-D8KDMBhC.woff2 +0 -0
  30. package/lib/dist/ui/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
  31. package/lib/dist/ui/assets/index-D8e4LiVb.js +51 -0
  32. package/lib/dist/ui/assets/index-ezwX2EfG.css +1 -0
  33. package/lib/dist/ui/favicon-16.png +0 -0
  34. package/lib/dist/ui/favicon-180.png +0 -0
  35. package/lib/dist/ui/favicon-32.png +0 -0
  36. package/lib/dist/ui/favicon.svg +20 -0
  37. package/lib/dist/ui/index.html +17 -0
  38. package/lib/dist/update/resolve-latest.d.ts +14 -0
  39. package/lib/dist/update/resolve-latest.d.ts.map +1 -0
  40. package/lib/dist/update/resolve-latest.js +29 -0
  41. package/lib/dist/update/resolve-latest.js.map +1 -0
  42. package/lib/dist/update/run-installer.d.ts +13 -0
  43. package/lib/dist/update/run-installer.d.ts.map +1 -0
  44. package/lib/dist/update/run-installer.js +43 -0
  45. package/lib/dist/update/run-installer.js.map +1 -0
  46. package/lib/dist/update/updater.d.ts +53 -0
  47. package/lib/dist/update/updater.d.ts.map +1 -0
  48. package/lib/dist/update/updater.js +164 -0
  49. package/lib/dist/update/updater.js.map +1 -0
  50. package/lib/dist/workflows/executor.d.ts.map +1 -1
  51. package/lib/dist/workflows/executor.js +4 -0
  52. package/lib/dist/workflows/executor.js.map +1 -1
  53. package/lib/dist/workflows/runners/prompt.d.ts +6 -0
  54. package/lib/dist/workflows/runners/prompt.d.ts.map +1 -1
  55. package/lib/dist/workflows/runners/prompt.js +10 -0
  56. package/lib/dist/workflows/runners/prompt.js.map +1 -1
  57. package/lib/dist/workflows/runners/types.d.ts +12 -0
  58. package/lib/dist/workflows/runners/types.d.ts.map +1 -1
  59. package/lib/node_modules/.package-lock.json +11 -20
  60. package/lib/node_modules/ajv/node_modules/fast-uri/index.js +1 -1
  61. package/lib/node_modules/ajv/node_modules/fast-uri/package.json +1 -1
  62. package/lib/node_modules/ajv/node_modules/fast-uri/test/security.test.js +28 -0
  63. package/lib/node_modules/toad-cache/README.md +10 -9
  64. package/lib/node_modules/toad-cache/dist/toad-cache.cjs +139 -139
  65. package/lib/node_modules/toad-cache/dist/toad-cache.mjs +136 -140
  66. package/lib/node_modules/toad-cache/package.json +8 -8
  67. package/lib/node_modules/toad-cache/toad-cache.d.cts +20 -14
  68. package/lib/node_modules/toad-cache/toad-cache.d.ts +18 -14
  69. package/lib/node_modules/yaml/README.md +14 -31
  70. package/lib/node_modules/yaml/browser/dist/compose/compose-collection.js +3 -3
  71. package/lib/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -1
  72. package/lib/node_modules/yaml/browser/dist/compose/compose-node.js +4 -21
  73. package/lib/node_modules/yaml/browser/dist/compose/compose-scalar.js +8 -14
  74. package/lib/node_modules/yaml/browser/dist/compose/composer.js +2 -4
  75. package/lib/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -2
  76. package/lib/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +1 -3
  77. package/lib/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +2 -8
  78. package/lib/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +4 -6
  79. package/lib/node_modules/yaml/browser/dist/compose/resolve-props.js +5 -3
  80. package/lib/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +2 -1
  81. package/lib/node_modules/yaml/browser/dist/compose/util-map-includes.js +5 -1
  82. package/lib/node_modules/yaml/browser/dist/doc/Document.js +2 -3
  83. package/lib/node_modules/yaml/browser/dist/doc/anchors.js +2 -1
  84. package/lib/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -1
  85. package/lib/node_modules/yaml/browser/dist/doc/createNode.js +2 -1
  86. package/lib/node_modules/yaml/browser/dist/errors.js +1 -1
  87. package/lib/node_modules/yaml/browser/dist/log.js +6 -1
  88. package/lib/node_modules/yaml/browser/dist/node_modules/tslib/tslib.es6.js +21 -0
  89. package/lib/node_modules/yaml/browser/dist/nodes/Alias.js +12 -27
  90. package/lib/node_modules/yaml/browser/dist/nodes/YAMLMap.js +1 -1
  91. package/lib/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +49 -8
  92. package/lib/node_modules/yaml/browser/dist/parse/lexer.js +24 -28
  93. package/lib/node_modules/yaml/browser/dist/parse/parser.js +8 -31
  94. package/lib/node_modules/yaml/browser/dist/public-api.js +0 -3
  95. package/lib/node_modules/yaml/browser/dist/schema/Schema.js +2 -1
  96. package/lib/node_modules/yaml/browser/dist/schema/json/schema.js +1 -1
  97. package/lib/node_modules/yaml/browser/dist/schema/tags.js +16 -29
  98. package/lib/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +13 -5
  99. package/lib/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +1 -1
  100. package/lib/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -2
  101. package/lib/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +1 -1
  102. package/lib/node_modules/yaml/browser/dist/stringify/stringify.js +5 -10
  103. package/lib/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +3 -13
  104. package/lib/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +2 -3
  105. package/lib/node_modules/yaml/browser/dist/stringify/stringifyPair.js +1 -1
  106. package/lib/node_modules/yaml/browser/dist/stringify/stringifyString.js +16 -24
  107. package/lib/node_modules/yaml/browser/dist/util.js +1 -1
  108. package/lib/node_modules/yaml/dist/cli.d.ts +1 -1
  109. package/lib/node_modules/yaml/dist/cli.mjs +3 -5
  110. package/lib/node_modules/yaml/dist/compose/compose-collection.d.ts +4 -4
  111. package/lib/node_modules/yaml/dist/compose/compose-collection.js +3 -3
  112. package/lib/node_modules/yaml/dist/compose/compose-doc.d.ts +6 -6
  113. package/lib/node_modules/yaml/dist/compose/compose-doc.js +0 -1
  114. package/lib/node_modules/yaml/dist/compose/compose-node.d.ts +7 -8
  115. package/lib/node_modules/yaml/dist/compose/compose-node.js +4 -21
  116. package/lib/node_modules/yaml/dist/compose/compose-scalar.d.ts +4 -4
  117. package/lib/node_modules/yaml/dist/compose/compose-scalar.js +7 -13
  118. package/lib/node_modules/yaml/dist/compose/composer.d.ts +6 -7
  119. package/lib/node_modules/yaml/dist/compose/composer.js +3 -6
  120. package/lib/node_modules/yaml/dist/compose/resolve-block-map.d.ts +5 -5
  121. package/lib/node_modules/yaml/dist/compose/resolve-block-map.js +0 -2
  122. package/lib/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +5 -5
  123. package/lib/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +5 -5
  124. package/lib/node_modules/yaml/dist/compose/resolve-block-seq.js +1 -3
  125. package/lib/node_modules/yaml/dist/compose/resolve-end.d.ts +2 -2
  126. package/lib/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -7
  127. package/lib/node_modules/yaml/dist/compose/resolve-flow-collection.js +2 -8
  128. package/lib/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +4 -4
  129. package/lib/node_modules/yaml/dist/compose/resolve-flow-scalar.js +4 -6
  130. package/lib/node_modules/yaml/dist/compose/resolve-props.d.ts +2 -2
  131. package/lib/node_modules/yaml/dist/compose/resolve-props.js +5 -3
  132. package/lib/node_modules/yaml/dist/compose/util-contains-newline.d.ts +1 -1
  133. package/lib/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +1 -1
  134. package/lib/node_modules/yaml/dist/compose/util-empty-scalar-position.js +2 -1
  135. package/lib/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +2 -2
  136. package/lib/node_modules/yaml/dist/compose/util-map-includes.d.ts +3 -3
  137. package/lib/node_modules/yaml/dist/compose/util-map-includes.js +5 -1
  138. package/lib/node_modules/yaml/dist/doc/Document.d.ts +11 -11
  139. package/lib/node_modules/yaml/dist/doc/Document.js +2 -3
  140. package/lib/node_modules/yaml/dist/doc/anchors.d.ts +2 -2
  141. package/lib/node_modules/yaml/dist/doc/anchors.js +2 -1
  142. package/lib/node_modules/yaml/dist/doc/applyReviver.js +0 -1
  143. package/lib/node_modules/yaml/dist/doc/createNode.d.ts +4 -4
  144. package/lib/node_modules/yaml/dist/doc/createNode.js +2 -1
  145. package/lib/node_modules/yaml/dist/doc/directives.d.ts +1 -1
  146. package/lib/node_modules/yaml/dist/errors.d.ts +1 -1
  147. package/lib/node_modules/yaml/dist/errors.js +1 -1
  148. package/lib/node_modules/yaml/dist/index.d.ts +18 -21
  149. package/lib/node_modules/yaml/dist/log.js +4 -4
  150. package/lib/node_modules/yaml/dist/nodes/Alias.d.ts +9 -10
  151. package/lib/node_modules/yaml/dist/nodes/Alias.js +11 -26
  152. package/lib/node_modules/yaml/dist/nodes/Collection.d.ts +4 -4
  153. package/lib/node_modules/yaml/dist/nodes/Node.d.ts +9 -16
  154. package/lib/node_modules/yaml/dist/nodes/Pair.d.ts +8 -9
  155. package/lib/node_modules/yaml/dist/nodes/Scalar.d.ts +4 -9
  156. package/lib/node_modules/yaml/dist/nodes/YAMLMap.d.ts +10 -10
  157. package/lib/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +10 -10
  158. package/lib/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +3 -3
  159. package/lib/node_modules/yaml/dist/nodes/addPairToJSMap.js +48 -7
  160. package/lib/node_modules/yaml/dist/nodes/identity.d.ts +7 -7
  161. package/lib/node_modules/yaml/dist/nodes/toJS.d.ts +2 -4
  162. package/lib/node_modules/yaml/dist/options.d.ts +10 -22
  163. package/lib/node_modules/yaml/dist/parse/cst-scalar.d.ts +4 -4
  164. package/lib/node_modules/yaml/dist/parse/cst-stringify.d.ts +1 -1
  165. package/lib/node_modules/yaml/dist/parse/cst-visit.d.ts +2 -2
  166. package/lib/node_modules/yaml/dist/parse/cst.d.ts +3 -4
  167. package/lib/node_modules/yaml/dist/parse/lexer.d.ts +1 -1
  168. package/lib/node_modules/yaml/dist/parse/lexer.js +24 -28
  169. package/lib/node_modules/yaml/dist/parse/parser.d.ts +4 -4
  170. package/lib/node_modules/yaml/dist/parse/parser.js +9 -33
  171. package/lib/node_modules/yaml/dist/public-api.d.ts +5 -6
  172. package/lib/node_modules/yaml/dist/public-api.js +0 -3
  173. package/lib/node_modules/yaml/dist/schema/Schema.d.ts +5 -4
  174. package/lib/node_modules/yaml/dist/schema/Schema.js +2 -1
  175. package/lib/node_modules/yaml/dist/schema/common/map.d.ts +1 -1
  176. package/lib/node_modules/yaml/dist/schema/common/null.d.ts +1 -1
  177. package/lib/node_modules/yaml/dist/schema/common/seq.d.ts +1 -1
  178. package/lib/node_modules/yaml/dist/schema/common/string.d.ts +1 -1
  179. package/lib/node_modules/yaml/dist/schema/core/bool.d.ts +1 -1
  180. package/lib/node_modules/yaml/dist/schema/core/float.d.ts +1 -1
  181. package/lib/node_modules/yaml/dist/schema/core/int.d.ts +1 -1
  182. package/lib/node_modules/yaml/dist/schema/core/schema.d.ts +1 -1
  183. package/lib/node_modules/yaml/dist/schema/json/schema.d.ts +1 -1
  184. package/lib/node_modules/yaml/dist/schema/json/schema.js +1 -1
  185. package/lib/node_modules/yaml/dist/schema/tags.d.ts +3 -11
  186. package/lib/node_modules/yaml/dist/schema/tags.js +13 -26
  187. package/lib/node_modules/yaml/dist/schema/types.d.ts +12 -14
  188. package/lib/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +1 -1
  189. package/lib/node_modules/yaml/dist/schema/yaml-1.1/binary.js +7 -9
  190. package/lib/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +1 -1
  191. package/lib/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +1 -1
  192. package/lib/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +1 -1
  193. package/lib/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +17 -11
  194. package/lib/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +7 -7
  195. package/lib/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -1
  196. package/lib/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -2
  197. package/lib/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +9 -9
  198. package/lib/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +1 -1
  199. package/lib/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +1 -1
  200. package/lib/node_modules/yaml/dist/stringify/stringify.d.ts +3 -3
  201. package/lib/node_modules/yaml/dist/stringify/stringify.js +5 -10
  202. package/lib/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +2 -2
  203. package/lib/node_modules/yaml/dist/stringify/stringifyCollection.js +3 -13
  204. package/lib/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +3 -3
  205. package/lib/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +1 -1
  206. package/lib/node_modules/yaml/dist/stringify/stringifyNumber.js +2 -3
  207. package/lib/node_modules/yaml/dist/stringify/stringifyPair.d.ts +2 -2
  208. package/lib/node_modules/yaml/dist/stringify/stringifyPair.js +1 -1
  209. package/lib/node_modules/yaml/dist/stringify/stringifyString.d.ts +2 -2
  210. package/lib/node_modules/yaml/dist/stringify/stringifyString.js +15 -23
  211. package/lib/node_modules/yaml/dist/util.d.ts +12 -16
  212. package/lib/node_modules/yaml/dist/util.js +2 -2
  213. package/lib/node_modules/yaml/dist/visit.d.ts +7 -7
  214. package/lib/node_modules/yaml/package.json +14 -13
  215. package/lib/package.json +7 -7
  216. package/package.json +1 -1
  217. package/lib/dist/server/ssr/md.mjs +0 -83
  218. package/lib/dist/server/ssr/public/app.css +0 -1
  219. package/lib/dist/server/ssr/render.mjs +0 -596
  220. package/lib/dist/server/ssr/routes.js +0 -73
  221. package/lib/node_modules/jsonc-parser/CHANGELOG.md +0 -76
  222. package/lib/node_modules/jsonc-parser/LICENSE.md +0 -21
  223. package/lib/node_modules/jsonc-parser/README.md +0 -364
  224. package/lib/node_modules/jsonc-parser/SECURITY.md +0 -41
  225. package/lib/node_modules/jsonc-parser/lib/esm/impl/edit.js +0 -185
  226. package/lib/node_modules/jsonc-parser/lib/esm/impl/format.js +0 -261
  227. package/lib/node_modules/jsonc-parser/lib/esm/impl/parser.js +0 -659
  228. package/lib/node_modules/jsonc-parser/lib/esm/impl/scanner.js +0 -443
  229. package/lib/node_modules/jsonc-parser/lib/esm/impl/string-intern.js +0 -29
  230. package/lib/node_modules/jsonc-parser/lib/esm/main.d.ts +0 -351
  231. package/lib/node_modules/jsonc-parser/lib/esm/main.js +0 -178
  232. package/lib/node_modules/jsonc-parser/lib/umd/impl/edit.js +0 -201
  233. package/lib/node_modules/jsonc-parser/lib/umd/impl/format.js +0 -275
  234. package/lib/node_modules/jsonc-parser/lib/umd/impl/parser.js +0 -682
  235. package/lib/node_modules/jsonc-parser/lib/umd/impl/scanner.js +0 -456
  236. package/lib/node_modules/jsonc-parser/lib/umd/impl/string-intern.js +0 -42
  237. package/lib/node_modules/jsonc-parser/lib/umd/main.d.ts +0 -351
  238. package/lib/node_modules/jsonc-parser/lib/umd/main.js +0 -194
  239. package/lib/node_modules/jsonc-parser/package.json +0 -37
  240. package/lib/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -67
  241. package/lib/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +0 -9
  242. package/lib/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -71
@@ -1,11 +1,11 @@
1
- import { Pair } from '../../nodes/Pair';
2
- import type { Scalar } from '../../nodes/Scalar';
3
- import type { ToJSContext } from '../../nodes/toJS';
4
- import { YAMLMap } from '../../nodes/YAMLMap';
5
- import type { Schema } from '../../schema/Schema';
6
- import type { StringifyContext } from '../../stringify/stringify';
7
- import type { CreateNodeContext } from '../../util';
8
- import type { CollectionTag } from '../types';
1
+ import { Pair } from '../../nodes/Pair.js';
2
+ import { Scalar } from '../../nodes/Scalar.js';
3
+ import { ToJSContext } from '../../nodes/toJS.js';
4
+ import { YAMLMap } from '../../nodes/YAMLMap.js';
5
+ import type { Schema } from '../../schema/Schema.js';
6
+ import type { StringifyContext } from '../../stringify/stringify.js';
7
+ import { CreateNodeContext } from '../../util.js';
8
+ import type { CollectionTag } from '../types.js';
9
9
  export declare class YAMLSet<T = unknown> extends YAMLMap<T, Scalar<null> | null> {
10
10
  static tag: string;
11
11
  constructor(schema?: Schema);
@@ -23,6 +23,6 @@ export declare class YAMLSet<T = unknown> extends YAMLMap<T, Scalar<null> | null
23
23
  set(key: T, value: null): void;
24
24
  toJSON(_?: unknown, ctx?: ToJSContext): any;
25
25
  toString(ctx?: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string;
26
- static from(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLSet;
26
+ static from(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLSet<unknown>;
27
27
  }
28
28
  export declare const set: CollectionTag;
@@ -1,4 +1,4 @@
1
- import type { ScalarTag } from '../types';
1
+ import type { ScalarTag } from '../types.js';
2
2
  export declare const intTime: ScalarTag;
3
3
  export declare const floatTime: ScalarTag;
4
4
  export declare const timestamp: ScalarTag & {
@@ -97,7 +97,7 @@ const timestamp = {
97
97
  }
98
98
  return new Date(date);
99
99
  },
100
- stringify: ({ value }) => value?.toISOString().replace(/(T00:00:00)?\.000Z$/, '') ?? ''
100
+ stringify: ({ value }) => value.toISOString().replace(/((T00:00)?:00)?\.000Z$/, '')
101
101
  };
102
102
 
103
103
  exports.floatTime = floatTime;
@@ -1,6 +1,6 @@
1
- import type { Document } from '../doc/Document';
2
- import type { Alias } from '../nodes/Alias';
3
- import type { ToStringOptions } from '../options';
1
+ import type { Document } from '../doc/Document.js';
2
+ import type { Alias } from '../nodes/Alias.js';
3
+ import type { ToStringOptions } from '../options.js';
4
4
  export type StringifyContext = {
5
5
  actualString?: boolean;
6
6
  allNullValues?: boolean;
@@ -22,7 +22,6 @@ function createStringifyContext(doc, options) {
22
22
  nullStr: 'null',
23
23
  simpleKeys: false,
24
24
  singleQuote: null,
25
- trailingComma: false,
26
25
  trueStr: 'true',
27
26
  verifyAliasOrder: true
28
27
  }, doc.schema.toStringOptions, options);
@@ -57,12 +56,7 @@ function getTagObject(tags, item) {
57
56
  let obj;
58
57
  if (identity.isScalar(item)) {
59
58
  obj = item.value;
60
- let match = tags.filter(t => t.identify?.(obj));
61
- if (match.length > 1) {
62
- const testMatch = match.filter(t => t.test);
63
- if (testMatch.length > 0)
64
- match = testMatch;
65
- }
59
+ const match = tags.filter(t => t.identify?.(obj));
66
60
  tagObj =
67
61
  match.find(t => t.format === item.format) ?? match.find(t => !t.format);
68
62
  }
@@ -71,7 +65,7 @@ function getTagObject(tags, item) {
71
65
  tagObj = tags.find(t => t.nodeClass && obj instanceof t.nodeClass);
72
66
  }
73
67
  if (!tagObj) {
74
- const name = obj?.constructor?.name ?? (obj === null ? 'null' : typeof obj);
68
+ const name = obj?.constructor?.name ?? typeof obj;
75
69
  throw new Error(`Tag not resolved for ${name} value`);
76
70
  }
77
71
  return tagObj;
@@ -86,7 +80,7 @@ function stringifyProps(node, tagObj, { anchors: anchors$1, doc }) {
86
80
  anchors$1.add(anchor);
87
81
  props.push(`&${anchor}`);
88
82
  }
89
- const tag = node.tag ?? (tagObj.default ? null : tagObj.tag);
83
+ const tag = node.tag ? node.tag : tagObj.default ? null : tagObj.tag;
90
84
  if (tag)
91
85
  props.push(doc.directives.tagString(tag));
92
86
  return props.join(' ');
@@ -112,7 +106,8 @@ function stringify(item, ctx, onComment, onChompKeep) {
112
106
  const node = identity.isNode(item)
113
107
  ? item
114
108
  : ctx.doc.createNode(item, { onTagObj: o => (tagObj = o) });
115
- tagObj ?? (tagObj = getTagObject(ctx.doc.schema.tags, node));
109
+ if (!tagObj)
110
+ tagObj = getTagObject(ctx.doc.schema.tags, node);
116
111
  const props = stringifyProps(node, tagObj, ctx);
117
112
  if (props.length > 0)
118
113
  ctx.indentAtStart = (ctx.indentAtStart ?? 0) + props.length + 1;
@@ -1,5 +1,5 @@
1
- import type { Collection } from '../nodes/Collection';
2
- import type { StringifyContext } from './stringify';
1
+ import { Collection } from '../nodes/Collection.js';
2
+ import { StringifyContext } from './stringify.js';
3
3
  interface StringifyCollectionOptions {
4
4
  blockItemPrefix: string;
5
5
  flowChars: {
@@ -104,22 +104,12 @@ function stringifyFlowCollection({ items }, ctx, { flowChars, itemIndent }) {
104
104
  if (comment)
105
105
  reqNewline = true;
106
106
  let str = stringify.stringify(item, itemCtx, () => (comment = null));
107
- reqNewline || (reqNewline = lines.length > linesAtValue || str.includes('\n'));
108
- if (i < items.length - 1) {
107
+ if (i < items.length - 1)
109
108
  str += ',';
110
- }
111
- else if (ctx.options.trailingComma) {
112
- if (ctx.options.lineWidth > 0) {
113
- reqNewline || (reqNewline = lines.reduce((sum, line) => sum + line.length + 2, 2) +
114
- (str.length + 2) >
115
- ctx.options.lineWidth);
116
- }
117
- if (reqNewline) {
118
- str += ',';
119
- }
120
- }
121
109
  if (comment)
122
110
  str += stringifyComment.lineComment(str, itemIndent, commentString(comment));
111
+ if (!reqNewline && (lines.length > linesAtValue || str.includes('\n')))
112
+ reqNewline = true;
123
113
  lines.push(str);
124
114
  linesAtValue = lines.length;
125
115
  }
@@ -1,4 +1,4 @@
1
- import type { Document } from '../doc/Document';
2
- import type { Node } from '../nodes/Node';
3
- import type { ToStringOptions } from '../options';
1
+ import type { Document } from '../doc/Document.js';
2
+ import type { Node } from '../nodes/Node.js';
3
+ import type { ToStringOptions } from '../options.js';
4
4
  export declare function stringifyDocument(doc: Readonly<Document<Node, boolean>>, options: ToStringOptions): string;
@@ -1,2 +1,2 @@
1
- import type { Scalar } from '../nodes/Scalar';
1
+ import type { Scalar } from '../nodes/Scalar.js';
2
2
  export declare function stringifyNumber({ format, minFractionDigits, tag, value }: Scalar): string;
@@ -6,12 +6,11 @@ function stringifyNumber({ format, minFractionDigits, tag, value }) {
6
6
  const num = typeof value === 'number' ? value : Number(value);
7
7
  if (!isFinite(num))
8
8
  return isNaN(num) ? '.nan' : num < 0 ? '-.inf' : '.inf';
9
- let n = Object.is(value, -0) ? '-0' : JSON.stringify(value);
9
+ let n = JSON.stringify(value);
10
10
  if (!format &&
11
11
  minFractionDigits &&
12
12
  (!tag || tag === 'tag:yaml.org,2002:float') &&
13
- /^-?\d/.test(n) &&
14
- !n.includes('e')) {
13
+ /^\d/.test(n)) {
15
14
  let i = n.indexOf('.');
16
15
  if (i < 0) {
17
16
  i = n.length;
@@ -1,3 +1,3 @@
1
- import type { Pair } from '../nodes/Pair';
2
- import type { StringifyContext } from './stringify';
1
+ import type { Pair } from '../nodes/Pair.js';
2
+ import { StringifyContext } from './stringify.js';
3
3
  export declare function stringifyPair({ key, value }: Readonly<Pair>, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string;
@@ -103,7 +103,7 @@ function stringifyPair({ key, value }, ctx, onComment, onChompKeep) {
103
103
  ws += `\n${stringifyComment.indentComment(cs, ctx.indent)}`;
104
104
  }
105
105
  if (valueStr === '' && !ctx.inFlow) {
106
- if (ws === '\n' && valueComment)
106
+ if (ws === '\n')
107
107
  ws = '\n\n';
108
108
  }
109
109
  else {
@@ -1,5 +1,5 @@
1
- import { Scalar } from '../nodes/Scalar';
2
- import type { StringifyContext } from './stringify';
1
+ import { Scalar } from '../nodes/Scalar.js';
2
+ import type { StringifyContext } from './stringify.js';
3
3
  interface StringifyScalar {
4
4
  value: string;
5
5
  comment?: string | null;
@@ -161,7 +161,7 @@ function blockString({ comment, type, value }, ctx, onComment, onChompKeep) {
161
161
  const { blockQuote, commentString, lineWidth } = ctx.options;
162
162
  // 1. Block can't end in whitespace unless the last line is non-empty.
163
163
  // 2. Strings consisting of only whitespace are best rendered explicitly.
164
- if (!blockQuote || /\n[\t ]+$/.test(value)) {
164
+ if (!blockQuote || /\n[\t ]+$/.test(value) || /^\s*$/.test(value)) {
165
165
  return quotedString(value, ctx);
166
166
  }
167
167
  const indent = ctx.indent ||
@@ -221,32 +221,23 @@ function blockString({ comment, type, value }, ctx, onComment, onChompKeep) {
221
221
  start = start.replace(/\n+/g, `$&${indent}`);
222
222
  }
223
223
  const indentSize = indent ? '2' : '1'; // root is at -1
224
- // Leading | or > is added later
225
- let header = (startWithSpace ? indentSize : '') + chomp;
224
+ let header = (literal ? '|' : '>') + (startWithSpace ? indentSize : '') + chomp;
226
225
  if (comment) {
227
226
  header += ' ' + commentString(comment.replace(/ ?[\r\n]+/g, ' '));
228
227
  if (onComment)
229
228
  onComment();
230
229
  }
231
- if (!literal) {
232
- const foldedValue = value
233
- .replace(/\n+/g, '\n$&')
234
- .replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, '$1$2') // more-indented lines aren't folded
235
- // ^ more-ind. ^ empty ^ capture next empty lines only at end of indent
236
- .replace(/\n+/g, `$&${indent}`);
237
- let literalFallback = false;
238
- const foldOptions = getFoldOptions(ctx, true);
239
- if (blockQuote !== 'folded' && type !== Scalar.Scalar.BLOCK_FOLDED) {
240
- foldOptions.onOverflow = () => {
241
- literalFallback = true;
242
- };
243
- }
244
- const body = foldFlowLines.foldFlowLines(`${start}${foldedValue}${end}`, indent, foldFlowLines.FOLD_BLOCK, foldOptions);
245
- if (!literalFallback)
246
- return `>${header}\n${indent}${body}`;
230
+ if (literal) {
231
+ value = value.replace(/\n+/g, `$&${indent}`);
232
+ return `${header}\n${indent}${start}${value}${end}`;
247
233
  }
248
- value = value.replace(/\n+/g, `$&${indent}`);
249
- return `|${header}\n${indent}${start}${value}${end}`;
234
+ value = value
235
+ .replace(/\n+/g, '\n$&')
236
+ .replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, '$1$2') // more-indented lines aren't folded
237
+ // ^ more-ind. ^ empty ^ capture next empty lines only at end of indent
238
+ .replace(/\n+/g, `$&${indent}`);
239
+ const body = foldFlowLines.foldFlowLines(`${start}${value}${end}`, indent, foldFlowLines.FOLD_BLOCK, getFoldOptions(ctx, true));
240
+ return `${header}\n${indent}${body}`;
250
241
  }
251
242
  function plainString(item, ctx, onComment, onChompKeep) {
252
243
  const { type, value } = item;
@@ -255,9 +246,10 @@ function plainString(item, ctx, onComment, onChompKeep) {
255
246
  (inFlow && /[[\]{},]/.test(value))) {
256
247
  return quotedString(value, ctx);
257
248
  }
258
- if (/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(value)) {
249
+ if (!value ||
250
+ /^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(value)) {
259
251
  // not allowed:
260
- // - '-' or '?'
252
+ // - empty string, '-' or '?'
261
253
  // - start with an indicator character (except [?:-]) or /[?-] /
262
254
  // - '\n ', ': ' or ' \n' anywhere
263
255
  // - '#' not preceded by a non-space char
@@ -1,16 +1,12 @@
1
- export { createNode } from './doc/createNode';
2
- export type { CreateNodeContext } from './doc/createNode';
3
- export { debug, warn } from './log';
4
- export type { LogLevelId } from './log';
5
- export { createPair } from './nodes/Pair';
6
- export { toJS } from './nodes/toJS';
7
- export type { ToJSContext } from './nodes/toJS';
8
- export { findPair } from './nodes/YAMLMap';
9
- export { map as mapTag } from './schema/common/map';
10
- export { seq as seqTag } from './schema/common/seq';
11
- export { string as stringTag } from './schema/common/string';
12
- export { foldFlowLines } from './stringify/foldFlowLines';
13
- export type { FoldOptions } from './stringify/foldFlowLines';
14
- export type { StringifyContext } from './stringify/stringify';
15
- export { stringifyNumber } from './stringify/stringifyNumber';
16
- export { stringifyString } from './stringify/stringifyString';
1
+ export { createNode, CreateNodeContext } from './doc/createNode.js';
2
+ export { debug, LogLevelId, warn } from './log.js';
3
+ export { createPair } from './nodes/Pair.js';
4
+ export { findPair } from './nodes/YAMLMap.js';
5
+ export { toJS, ToJSContext } from './nodes/toJS.js';
6
+ export { map as mapTag } from './schema/common/map.js';
7
+ export { seq as seqTag } from './schema/common/seq.js';
8
+ export { string as stringTag } from './schema/common/string.js';
9
+ export { foldFlowLines, FoldOptions } from './stringify/foldFlowLines';
10
+ export { StringifyContext } from './stringify/stringify.js';
11
+ export { stringifyNumber } from './stringify/stringifyNumber.js';
12
+ export { stringifyString } from './stringify/stringifyString.js';
@@ -3,8 +3,8 @@
3
3
  var createNode = require('./doc/createNode.js');
4
4
  var log = require('./log.js');
5
5
  var Pair = require('./nodes/Pair.js');
6
- var toJS = require('./nodes/toJS.js');
7
6
  var YAMLMap = require('./nodes/YAMLMap.js');
7
+ var toJS = require('./nodes/toJS.js');
8
8
  var map = require('./schema/common/map.js');
9
9
  var seq = require('./schema/common/seq.js');
10
10
  var string = require('./schema/common/string.js');
@@ -18,8 +18,8 @@ exports.createNode = createNode.createNode;
18
18
  exports.debug = log.debug;
19
19
  exports.warn = log.warn;
20
20
  exports.createPair = Pair.createPair;
21
- exports.toJS = toJS.toJS;
22
21
  exports.findPair = YAMLMap.findPair;
22
+ exports.toJS = toJS.toJS;
23
23
  exports.mapTag = map.map;
24
24
  exports.seqTag = seq.seq;
25
25
  exports.stringTag = string.string;
@@ -1,10 +1,10 @@
1
- import type { Document } from './doc/Document';
2
- import type { Alias } from './nodes/Alias';
3
- import type { Node } from './nodes/Node';
4
- import type { Pair } from './nodes/Pair';
5
- import type { Scalar } from './nodes/Scalar';
6
- import type { YAMLMap } from './nodes/YAMLMap';
7
- import type { YAMLSeq } from './nodes/YAMLSeq';
1
+ import type { Document } from './doc/Document.js';
2
+ import type { Alias } from './nodes/Alias.js';
3
+ import { Node } from './nodes/Node.js';
4
+ import type { Pair } from './nodes/Pair.js';
5
+ import type { Scalar } from './nodes/Scalar.js';
6
+ import type { YAMLMap } from './nodes/YAMLMap.js';
7
+ import type { YAMLSeq } from './nodes/YAMLSeq.js';
8
8
  export type visitorFn<T> = (key: number | 'key' | 'value' | null, node: T, path: readonly (Document | Node | Pair)[]) => void | symbol | number | Node | Pair;
9
9
  export type visitor = visitorFn<unknown> | {
10
10
  Alias?: visitorFn<Alias>;
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "yaml",
3
- "version": "2.9.0",
3
+ "version": "2.5.0",
4
4
  "license": "ISC",
5
5
  "author": "Eemeli Aro <eemeli@gmail.com>",
6
- "funding": "https://github.com/sponsors/eemeli",
7
6
  "repository": "github:eemeli/yaml",
8
7
  "description": "JavaScript parser and stringifier for YAML",
9
8
  "keywords": [
@@ -43,7 +42,7 @@
43
42
  "build:browser": "rollup -c config/rollup.browser-config.mjs",
44
43
  "build:node": "rollup -c config/rollup.node-config.mjs",
45
44
  "clean": "git clean -fdxe node_modules",
46
- "lint": "eslint config/ src/",
45
+ "lint": "eslint src/",
47
46
  "prettier": "prettier --write .",
48
47
  "prestart": "rollup --sourcemap -c config/rollup.node-config.mjs",
49
48
  "start": "node --enable-source-maps -i -e 'YAML=require(\"./dist/index.js\");const{parse,parseDocument,parseAllDocuments}=YAML'",
@@ -70,28 +69,30 @@
70
69
  },
71
70
  "devDependencies": {
72
71
  "@babel/core": "^7.12.10",
72
+ "@babel/plugin-transform-class-properties": "^7.23.3",
73
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
73
74
  "@babel/plugin-transform-typescript": "^7.12.17",
74
75
  "@babel/preset-env": "^7.12.11",
75
- "@eslint/js": "^9.9.1",
76
76
  "@rollup/plugin-babel": "^6.0.3",
77
- "@rollup/plugin-replace": "^6.0.3",
78
- "@rollup/plugin-typescript": "^12.1.1",
77
+ "@rollup/plugin-replace": "^5.0.2",
78
+ "@rollup/plugin-typescript": "^11.0.0",
79
79
  "@types/jest": "^29.2.4",
80
80
  "@types/node": "^20.11.20",
81
+ "@typescript-eslint/eslint-plugin": "^7.0.2",
82
+ "@typescript-eslint/parser": "^7.0.2",
81
83
  "babel-jest": "^29.0.1",
82
- "eslint": "^9.9.1",
83
- "eslint-config-prettier": "^10.1.8",
84
+ "cross-env": "^7.0.3",
85
+ "eslint": "^8.2.0",
86
+ "eslint-config-prettier": "^9.0.0",
84
87
  "fast-check": "^2.12.0",
85
88
  "jest": "^29.0.1",
86
- "jest-resolve": "^29.7.0",
87
89
  "jest-ts-webcompat-resolver": "^1.0.0",
88
90
  "prettier": "^3.0.2",
89
91
  "rollup": "^4.12.0",
90
- "tslib": "^2.8.1",
91
- "typescript": "^5.7.2",
92
- "typescript-eslint": "^8.4.0"
92
+ "tslib": "^2.1.0",
93
+ "typescript": "^5.0.3"
93
94
  },
94
95
  "engines": {
95
- "node": ">= 14.6"
96
+ "node": ">= 14"
96
97
  }
97
98
  }
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@specship/specship",
3
- "version": "0.12.1",
3
+ "version": "0.13.1",
4
4
  "description": "Supercharge Claude Code with semantic code intelligence. 94% fewer tool calls • 77% faster exploration • 100% local.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,10 +29,11 @@
29
29
  "test:watch": "vitest",
30
30
  "test:eval": "vitest run __tests__/evaluation/",
31
31
  "eval": "npm run build && npx tsx __tests__/evaluation/runner.ts",
32
+ "e2e": "npm run build && npm --prefix ui ci && npm --prefix ui run build && npm --prefix e2e ci && npm --prefix e2e run install:browser && npm --prefix e2e test",
32
33
  "clean": "node -e \"const fs=require('fs');fs.rmSync('dist',{recursive:true,force:true})\"",
33
34
  "sync:shim": "node scripts/sync-shim-version.mjs",
34
35
  "version": "npm run sync:shim",
35
- "release:shim": "node scripts/sync-shim-version.mjs && cd packages/specship-shim && npm publish --access public"
36
+ "release:shim": "node scripts/sync-shim-version.mjs && cd npm-shim && npm publish --access public"
36
37
  },
37
38
  "keywords": [
38
39
  "code-intelligence",
@@ -49,17 +50,13 @@
49
50
  "@fastify/cors": "^9.0.1",
50
51
  "commander": "^14.0.2",
51
52
  "cross-spawn": "^7.0.6",
52
- "fast-string-width": "^3.0.2",
53
- "fast-wrap-ansi": "^0.2.0",
54
53
  "fastify": "^4.28.1",
55
54
  "fflate": "^0.8.3",
56
55
  "ignore": "^7.0.5",
57
- "jsonc-parser": "^3.3.1",
58
56
  "picomatch": "^4.0.3",
59
- "sisteransi": "^1.0.5",
60
57
  "tree-sitter-wasms": "^0.1.11",
61
58
  "web-tree-sitter": "^0.25.3",
62
- "yaml": "^2.5.0"
59
+ "yaml": "2.5.0"
63
60
  },
64
61
  "devDependencies": {
65
62
  "@types/better-sqlite3": "^7.6.0",
@@ -72,6 +69,9 @@
72
69
  "optionalDependencies": {
73
70
  "better-sqlite3": "^11.10.0"
74
71
  },
72
+ "overrides": {
73
+ "rollup": "4.60.1"
74
+ },
75
75
  "engines": {
76
76
  "node": ">=20.0.0 <25.0.0"
77
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@specship/specship-win32-arm64",
3
- "version": "0.12.1",
3
+ "version": "0.13.1",
4
4
  "description": "SpecShip self-contained bundle for win32-arm64",
5
5
  "os": [
6
6
  "win32"
@@ -1,83 +0,0 @@
1
- /**
2
- * Minimal, dependency-free Markdown → HTML for the SSR dashboard.
3
- *
4
- * Scope is deliberately small: the subset spec bodies actually use — headings,
5
- * bold/italic/inline-code, fenced code, unordered/ordered lists, and paragraphs.
6
- * Everything is HTML-escaped first, so rendering is safe for untrusted spec
7
- * text (no raw HTML passthrough). This is the SSR counterpart to the Angular
8
- * app's `render-md.ts`; keeping it dependency-free is what keeps the web-ssr
9
- * tree under the REQ-DASHLEAN-002 package ceiling.
10
- */
11
-
12
- export function escapeHtml(s) {
13
- return String(s)
14
- .replace(/&/g, '&amp;')
15
- .replace(/</g, '&lt;')
16
- .replace(/>/g, '&gt;')
17
- .replace(/"/g, '&quot;')
18
- .replace(/'/g, '&#39;');
19
- }
20
-
21
- /** Strip embedded `<!-- id: REQ-X -->` markers — structural noise, not prose. */
22
- export function stripSpecMarkers(s) {
23
- return String(s).replace(/<!--[\s\S]*?-->/g, '');
24
- }
25
-
26
- function inline(s) {
27
- // Operate on already-escaped text so the markup we add is the only HTML.
28
- return s
29
- .replace(/`([^`]+)`/g, (_, c) => `<code>${c}</code>`)
30
- .replace(/\*\*([^*]+)\*\*/g, (_, c) => `<strong>${c}</strong>`)
31
- .replace(/(^|[^*])\*([^*]+)\*/g, (_, p, c) => `${p}<em>${c}</em>`);
32
- }
33
-
34
- export function renderMd(src) {
35
- const lines = escapeHtml(stripSpecMarkers(src ?? '')).split('\n');
36
- const out = [];
37
- let i = 0;
38
- let para = [];
39
- const flushPara = () => {
40
- if (para.length) { out.push(`<p>${inline(para.join(' ')).trim()}</p>`); para = []; }
41
- };
42
-
43
- while (i < lines.length) {
44
- const line = lines[i];
45
-
46
- // fenced code block
47
- const fence = line.match(/^```(.*)$/);
48
- if (fence) {
49
- flushPara();
50
- const body = [];
51
- i++;
52
- while (i < lines.length && !/^```/.test(lines[i])) { body.push(lines[i]); i++; }
53
- i++; // closing fence
54
- out.push(`<pre><code>${body.join('\n')}</code></pre>`);
55
- continue;
56
- }
57
-
58
- // heading
59
- const h = line.match(/^(#{1,6})\s+(.*)$/);
60
- if (h) { flushPara(); const lvl = h[1].length; out.push(`<h${lvl}>${inline(h[2].trim())}</h${lvl}>`); i++; continue; }
61
-
62
- // list (consume a run of bullet / ordered lines)
63
- if (/^\s*([-*]|\d+\.)\s+/.test(line)) {
64
- flushPara();
65
- const ordered = /^\s*\d+\.\s+/.test(line);
66
- const items = [];
67
- while (i < lines.length && /^\s*([-*]|\d+\.)\s+/.test(lines[i])) {
68
- items.push(`<li>${inline(lines[i].replace(/^\s*([-*]|\d+\.)\s+/, '').trim())}</li>`);
69
- i++;
70
- }
71
- out.push(ordered ? `<ol>${items.join('')}</ol>` : `<ul>${items.join('')}</ul>`);
72
- continue;
73
- }
74
-
75
- // blank line ends a paragraph
76
- if (/^\s*$/.test(line)) { flushPara(); i++; continue; }
77
-
78
- para.push(line.trim());
79
- i++;
80
- }
81
- flushPara();
82
- return out.join('\n');
83
- }
@@ -1 +0,0 @@
1
- @charset "UTF-8";@layer properties;@layer theme,base,components,utilities;@layer theme{:root,:host{--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing: .25rem;--ease-out: cubic-bezier(0, 0, .2, 1);--ease-in-out: cubic-bezier(.4, 0, .2, 1);--default-transition-duration: .15s;--default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);--default-font-family: var(--font-sans);--default-mono-font-family: var(--font-mono)}}@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:currentcolor}@supports (color: color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-18{top:calc(var(--spacing) * 18)}.top-60{top:calc(var(--spacing) * 60)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.flex-shrink{flex-shrink:1}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-wrap{flex-wrap:wrap}.gap-2{gap:calc(var(--spacing) * 2)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-7{gap:calc(var(--spacing) * 7)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-10{gap:calc(var(--spacing) * 10)}.gap-12{gap:calc(var(--spacing) * 12)}.gap-16{gap:calc(var(--spacing) * 16)}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.border{border-style:var(--tw-border-style);border-width:1px}.capitalize{text-transform:capitalize}.ring{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.ease-in-out{--tw-ease: var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease: var(--ease-out);transition-timing-function:var(--ease-out)}}:root{color-scheme:dark;--bg-canvas: #0E1014;--bg-canvas-2: #0B0D11;--bg-panel: #161A21;--bg-panel-2: #1A1F28;--bg-elevated: #20262F;--bg-hover: rgba(255,255,255,.04);--bg-active: rgba(255,255,255,.07);--border-subtle: rgba(255,255,255,.07);--border-strong: rgba(255,255,255,.12);--border-focus: #3B82F6;--text-primary: #E8EBF0;--text-secondary: #9AA3B2;--text-muted: #5C6573;--text-faint: #424B59;--accent: #3B82F6;--accent-strong: #2563EB;--accent-soft: rgba(59,130,246,.14);--accent-line: rgba(59,130,246,.35);--node-code: #A586F5;--node-spec: #5B93F2;--node-test: #46C26B;--node-route: #29D2BE;--node-code-soft: rgba(165,134,245,.14);--node-spec-soft: rgba(91,147,242,.14);--node-test-soft: rgba(70,194,107,.14);--node-route-soft: rgba(41,210,190,.14);--node-text: #ffffff;--dot-grid: rgba(255,255,255,.045);--success: #46C26B;--success-soft: rgba(70,194,107,.13);--warn: #E5A50A;--warn-soft: rgba(229,165,10,.14);--error: #F2555A;--error-soft: rgba(242,85,90,.14);--info: #58A6FF;--info-soft: rgba(88,166,255,.13);--font-ui: "Geist", system-ui, -apple-system, sans-serif;--font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;--fs-title: 22px;--fs-base: 13px;--fs-sm: 12px;--fs-xs: 11px;--fs-big: 28px;--r-sm: 5px;--r-md: 8px;--r-lg: 12px;--r-pill: 999px;--shadow-pop: 0 12px 32px -8px rgba(0,0,0,.6), 0 2px 8px rgba(0,0,0,.4);--shadow-panel: 0 1px 0 rgba(255,255,255,.02) inset;--sidebar-w: 232px;--sidebar-w-collapsed: 56px;--status-h: 30px}[data-theme=light]{color-scheme:light;--bg-canvas: #F4F6F8;--bg-canvas-2: #E9ECF1;--bg-panel: #FFFFFF;--bg-panel-2: #F8FAFC;--bg-elevated: #FFFFFF;--bg-hover: rgba(15,23,42,.045);--bg-active: rgba(15,23,42,.07);--border-subtle: rgba(15,23,42,.1);--border-strong: rgba(15,23,42,.18);--border-focus: #2563EB;--text-primary: #161B22;--text-secondary: #4A5566;--text-muted: #7B8696;--text-faint: #A9B2C0;--accent: #2563EB;--accent-strong: #2563EB;--accent-soft: rgba(37,99,235,.1);--accent-line: rgba(37,99,235,.3);--node-code: #7C56E0;--node-spec: #2F6FE0;--node-test: #1E9E4C;--node-route: #0E9C8E;--node-code-soft: rgba(124,86,224,.12);--node-spec-soft: rgba(47,111,224,.12);--node-test-soft: rgba(30,158,76,.12);--node-route-soft: rgba(14,156,142,.12);--node-text: #1A2230;--dot-grid: rgba(15,23,42,.07);--success: #1E9E4C;--success-soft: rgba(30,158,76,.12);--warn: #B27500;--warn-soft: rgba(178,117,0,.13);--error: #DC4A4F;--error-soft: rgba(220,74,79,.12);--info: #2563EB;--info-soft: rgba(37,99,235,.11);--shadow-pop: 0 12px 32px -10px rgba(15,23,42,.22), 0 2px 8px rgba(15,23,42,.1);--shadow-panel: 0 1px 0 rgba(15,23,42,.02) inset}*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;background:var(--bg-canvas);color:var(--text-primary);font-family:var(--font-ui);font-size:var(--fs-base);line-height:1.45;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-feature-settings:"cv01","cv03","ss03";overflow:hidden}#root{height:100%}::selection{background:var(--accent-soft)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#ffffff14;border-radius:999px;border:2px solid transparent;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background:#ffffff29;background-clip:content-box}.mono{font-family:var(--font-mono);font-feature-settings:"zero"}.tnum{font-variant-numeric:tabular-nums}.btn{font-family:var(--font-ui);font-size:var(--fs-base);font-weight:500;border:1px solid transparent;border-radius:var(--r-sm);padding:6px 12px;display:inline-flex;align-items:center;gap:7px;cursor:pointer;white-space:nowrap;transition:background .1s ease,border-color .1s ease,color .1s ease;-webkit-user-select:none;user-select:none}.btn svg{width:14px;height:14px;flex-shrink:0}.btn-primary{background:var(--accent-strong);color:#fff}.btn-primary:hover{background:var(--accent)}.btn-secondary{background:var(--bg-elevated);color:var(--text-primary);border-color:var(--border-subtle)}.btn-secondary:hover{background:#283039;border-color:var(--border-strong)}.btn-ghost{background:transparent;color:var(--text-secondary)}.btn-ghost:hover{background:var(--bg-hover);color:var(--text-primary)}.btn-destructive{background:var(--error-soft);color:var(--error);border-color:#f2555a4d}.btn-destructive:hover{background:#f2555a38}.btn-sm{padding:4px 9px;font-size:var(--fs-sm)}.btn-xs{padding:2px 7px;font-size:var(--fs-xs);border-radius:4px}.btn:disabled{opacity:.4;cursor:not-allowed}.pill{display:inline-flex;align-items:center;gap:5px;font-size:var(--fs-xs);font-weight:600;padding:2px 8px;border-radius:var(--r-pill);letter-spacing:.01em;white-space:nowrap;line-height:1.5}.pill svg{width:11px;height:11px}.pill-dot{width:6px;height:6px;border-radius:50%}.card{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:var(--r-lg)}.card-pad{padding:14px}.input{background:var(--bg-canvas);border:1px solid var(--border-subtle);border-radius:var(--r-sm);color:var(--text-primary);font-family:var(--font-ui);font-size:var(--fs-base);padding:6px 10px;outline:none;transition:border-color .1s ease,box-shadow .1s ease}.input:focus{border-color:var(--border-focus);box-shadow:0 0 0 3px var(--accent-soft)}.input::placeholder{color:var(--text-muted)}.eyebrow{font-size:var(--fs-xs);font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted)}:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.row{display:flex;align-items:center}.col{display:flex;flex-direction:column}.gap-2{gap:2px}.gap-4{gap:4px}.gap-6{gap:6px}.gap-8{gap:8px}.gap-10{gap:10px}.gap-12{gap:12px}.gap-16{gap:16px}.grow{flex:1}.muted{color:var(--text-muted)}.secondary{color:var(--text-secondary)}.tabular{font-variant-numeric:tabular-nums}.scroll-y{overflow-y:auto;overflow-x:hidden}@keyframes pulsePill{0%{box-shadow:0 0 0 0 currentColor}to{box-shadow:0 0 0 8px transparent}}@keyframes slideInRight{0%{opacity:0;transform:translate(14px)}to{opacity:1;transform:translate(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes runningDash{to{stroke-dashoffset:-16}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes skeleton{0%{opacity:.5}50%{opacity:.9}to{opacity:.5}}.skel{background:var(--bg-elevated);border-radius:5px;animation:skeleton 1.4s ease-in-out infinite}@media(prefers-reduced-motion:reduce){*{animation-duration:.001ms!important;transition-duration:.001ms!important}}@property --tw-rotate-x{syntax: "*"; inherits: false;}@property --tw-rotate-y{syntax: "*"; inherits: false;}@property --tw-rotate-z{syntax: "*"; inherits: false;}@property --tw-skew-x{syntax: "*"; inherits: false;}@property --tw-skew-y{syntax: "*"; inherits: false;}@property --tw-border-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: "*"; inherits: false;}@property --tw-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: "*"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: "*"; inherits: false;}@property --tw-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: "*"; inherits: false;}@property --tw-inset-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: "*"; inherits: false;}@property --tw-ring-offset-width{syntax: "<length>"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: "*"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-blur{syntax: "*"; inherits: false;}@property --tw-brightness{syntax: "*"; inherits: false;}@property --tw-contrast{syntax: "*"; inherits: false;}@property --tw-grayscale{syntax: "*"; inherits: false;}@property --tw-hue-rotate{syntax: "*"; inherits: false;}@property --tw-invert{syntax: "*"; inherits: false;}@property --tw-opacity{syntax: "*"; inherits: false;}@property --tw-saturate{syntax: "*"; inherits: false;}@property --tw-sepia{syntax: "*"; inherits: false;}@property --tw-drop-shadow{syntax: "*"; inherits: false;}@property --tw-drop-shadow-color{syntax: "*"; inherits: false;}@property --tw-drop-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-drop-shadow-size{syntax: "*"; inherits: false;}@property --tw-ease{syntax: "*"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x: initial;--tw-rotate-y: initial;--tw-rotate-z: initial;--tw-skew-x: initial;--tw-skew-y: initial;--tw-border-style: solid;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-blur: initial;--tw-brightness: initial;--tw-contrast: initial;--tw-grayscale: initial;--tw-hue-rotate: initial;--tw-invert: initial;--tw-opacity: initial;--tw-saturate: initial;--tw-sepia: initial;--tw-drop-shadow: initial;--tw-drop-shadow-color: initial;--tw-drop-shadow-alpha: 100%;--tw-drop-shadow-size: initial;--tw-ease: initial}}}