opencode-swarm 7.168.1 → 7.170.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 (146) hide show
  1. package/.opencode/skills/swarm-pr-feedback/SKILL.md +11 -11
  2. package/README.md +1 -0
  3. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  4. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  5. package/dist/ci/evaluate.d.ts +100 -0
  6. package/dist/ci/index.d.ts +13 -0
  7. package/dist/ci/quality-checks.d.ts +58 -0
  8. package/dist/ci/report.d.ts +21 -0
  9. package/dist/ci/runtime.d.ts +81 -0
  10. package/dist/cli/{capability-probe-faqefhah.js → capability-probe-pdwwz8gs.js} +1 -1
  11. package/dist/cli/{coder-settlement-54a3d97g.js → coder-settlement-65zx1bet.js} +12 -12
  12. package/dist/cli/{config-doctor-vzp6b3ng.js → config-doctor-c30rss1c.js} +2 -2
  13. package/dist/cli/{core-yynse50x.js → core-8wkbr1tr.js} +5 -2
  14. package/dist/cli/{curation-policy-mgwv8h2k.js → curation-policy-k74qz9ms.js} +5 -5
  15. package/dist/cli/{curator-drift-k0zrnm09.js → curator-drift-3ssjr0nx.js} +5 -5
  16. package/dist/cli/curator-llm-factory-jkjqasfs.js +72 -0
  17. package/dist/cli/{curator-agdhhzqt.js → curator-pckzk1q4.js} +40 -39
  18. package/dist/cli/{dispatch-8ks9dyk5.js → dispatch-hwwj3qrb.js} +2 -2
  19. package/dist/cli/{evidence-summary-service-6mmcekr7.js → evidence-summary-service-4ydcapke.js} +17 -17
  20. package/dist/cli/{gate-evidence-xqvkqhrk.js → gate-evidence-xwqfky3m.js} +7 -7
  21. package/dist/cli/guardrail-explain-fe2veh2s.js +73 -0
  22. package/dist/cli/{guardrail-log-5wa5c77w.js → guardrail-log-z38j69bx.js} +8 -8
  23. package/dist/cli/{guardrail-reset-dh78tbcf.js → guardrail-reset-mmnzt4mz.js} +40 -39
  24. package/dist/cli/hive-promoter-68hrw1y1.js +87 -0
  25. package/dist/cli/{index-gmpmgtzn.js → index-06rbdzqn.js} +5 -5
  26. package/dist/cli/index-0hgmsyfp.js +92 -0
  27. package/dist/cli/{index-f1fps3w9.js → index-0xprxg95.js} +7 -7
  28. package/dist/cli/{index-p612v1mv.js → index-2s7dvzff.js} +200 -51
  29. package/dist/cli/{index-qthc56c4.js → index-31sqcdsd.js} +4 -4
  30. package/dist/cli/{index-y85aptep.js → index-3axdtaf0.js} +7 -7
  31. package/dist/cli/{index-9b2105n0.js → index-3eh2n3dx.js} +2 -2
  32. package/dist/cli/{index-w1dfkp1q.js → index-3p3y55xg.js} +15 -15
  33. package/dist/cli/{index-apy1qfj0.js → index-4wc5gfgm.js} +26 -4
  34. package/dist/cli/{index-d5qf7hvh.js → index-5400m33a.js} +1 -1
  35. package/dist/cli/{index-qkwtth00.js → index-59fcfpkh.js} +197 -35
  36. package/dist/cli/{index-j0bxxz9d.js → index-5bbem0ey.js} +8 -8
  37. package/dist/cli/{index-qwsh0h2g.js → index-5qt9yf5w.js} +4 -4
  38. package/dist/cli/{index-q1r1cfww.js → index-76qm2c2y.js} +37 -26
  39. package/dist/cli/{index-qhey6vc3.js → index-7h01bkm6.js} +2 -2
  40. package/dist/cli/{index-6df6wbvj.js → index-8w1mrvbd.js} +8 -8
  41. package/dist/cli/{index-8ybjqg51.js → index-9ttqbhvw.js} +1 -1
  42. package/dist/cli/{index-xhb4gryr.js → index-9xk97bcf.js} +4 -4
  43. package/dist/cli/{index-kear8gb7.js → index-b3pmzbh1.js} +2 -2
  44. package/dist/cli/{index-h439y187.js → index-bernkwgf.js} +1 -1
  45. package/dist/cli/{index-m35hybf0.js → index-bm5xrfnx.js} +1 -1
  46. package/dist/cli/{index-pyf517sz.js → index-br3mvbsa.js} +2 -2
  47. package/dist/cli/{index-4r5pmtvk.js → index-bx1wgn3a.js} +4 -4
  48. package/dist/cli/{index-nwwk3dej.js → index-cgpwjctj.js} +1 -1
  49. package/dist/cli/{index-wst6n478.js → index-dvbf6fpn.js} +1 -1
  50. package/dist/cli/{index-a8xbvsse.js → index-fgp96k3r.js} +2 -2
  51. package/dist/cli/{index-5zqakgp4.js → index-fhh02gwx.js} +3 -3
  52. package/dist/cli/{index-dfyv3xkd.js → index-gfbggp8k.js} +9 -9
  53. package/dist/cli/{index-kkmezerc.js → index-j144fgk8.js} +4831 -2776
  54. package/dist/cli/{index-xkf3672y.js → index-mjn6aqqk.js} +2 -2
  55. package/dist/cli/{index-3jmb4ppa.js → index-n0d5hrs4.js} +2 -2
  56. package/dist/cli/{index-v3xc4sde.js → index-nbdmdyke.js} +2 -1
  57. package/dist/cli/{index-z6qreakh.js → index-nprdr0sm.js} +6 -4
  58. package/dist/cli/{index-bvqqwx84.js → index-nyn01yrz.js} +2 -2
  59. package/dist/cli/{index-q8091q8b.js → index-p6fj7qz7.js} +3 -3
  60. package/dist/cli/{index-gh9ybrrs.js → index-pw00xcj0.js} +7 -7
  61. package/dist/cli/{index-bw9x8d8n.js → index-r1z8nrb6.js} +5 -5
  62. package/dist/cli/{index-2xbww1x0.js → index-ssx8087p.js} +7 -7
  63. package/dist/cli/{index-4kv1ew3q.js → index-t73888m0.js} +1 -1
  64. package/dist/cli/{index-91ww9hyr.js → index-td6xrw55.js} +1 -1
  65. package/dist/cli/{index-gp9yzr1v.js → index-xnpjwc4h.js} +1 -1
  66. package/dist/cli/{index-yt9n9zt3.js → index-xztkjj3c.js} +48 -41
  67. package/dist/cli/{index-5g6rhkn7.js → index-ye43mdfm.js} +36 -1
  68. package/dist/cli/{index-w3x1dmrf.js → index-z5vas8c3.js} +40 -39
  69. package/dist/cli/{index-chebm5h5.js → index-zw3hkzch.js} +3 -3
  70. package/dist/cli/index.js +45 -39
  71. package/dist/cli/{knowledge-escalator-135dz4eh.js → knowledge-escalator-pz2faktx.js} +13 -13
  72. package/dist/cli/{knowledge-events-27gwv47q.js → knowledge-events-s6s8qedx.js} +11 -11
  73. package/dist/cli/{knowledge-link-dr3xnwyd.js → knowledge-link-rkxfrmhm.js} +4 -4
  74. package/dist/cli/{knowledge-store-80m44bfw.js → knowledge-store-dgv3xw3h.js} +5 -5
  75. package/dist/cli/{knowledge-validator-crsfb2cc.js → knowledge-validator-22qppdyv.js} +7 -7
  76. package/dist/cli/{pending-delegations-gwgjzzkz.js → pending-delegations-4r21nf9d.js} +12 -12
  77. package/dist/cli/{pr-subscriptions-g633nhz4.js → pr-subscriptions-d52xy3zd.js} +12 -12
  78. package/dist/cli/{pr-workflow-gate-4dc5nt2e.js → pr-workflow-gate-0de81kzw.js} +40 -39
  79. package/dist/cli/{runner-k0ycgv8x.js → runner-1dwrgyyr.js} +6 -6
  80. package/dist/cli/{scan-cursor-avxjsm4w.js → scan-cursor-ahbbejab.js} +6 -6
  81. package/dist/cli/{schema-3ja77k4y.js → schema-17h2hcw9.js} +5 -1
  82. package/dist/cli/{scope-persistence-f540tc50.js → scope-persistence-gcn3zm5e.js} +14 -14
  83. package/dist/cli/{skill-generator-kcqqpg1g.js → skill-generator-hkqr5qs7.js} +15 -15
  84. package/dist/cli/{snapshot-coordination-init-e4s8bn4p.js → snapshot-coordination-init-ms36zxv6.js} +40 -39
  85. package/dist/cli/{telemetry-2wzapf11.js → telemetry-fdtaemnv.js} +1 -1
  86. package/dist/cli/{workspace-snapshot-rkgxhj9b.js → workspace-snapshot-hkz2wt1c.js} +4 -4
  87. package/dist/cli/{worktree-collision-ownership-rk9gz638.js → worktree-collision-ownership-7v7gg511.js} +18 -104
  88. package/dist/cli/{worktree-isolation-1bdzfgky.js → worktree-isolation-nanamt25.js} +40 -39
  89. package/dist/commands/ci.d.ts +40 -0
  90. package/dist/commands/destructive-purge.d.ts +85 -0
  91. package/dist/commands/index.d.ts +1 -0
  92. package/dist/commands/registry.d.ts +10 -2
  93. package/dist/commands/reset-session.d.ts +5 -1
  94. package/dist/config/constants.d.ts +4 -1
  95. package/dist/config/lane-context.d.ts +19 -0
  96. package/dist/config/schema.d.ts +77 -0
  97. package/dist/evaluation/index.d.ts +1 -0
  98. package/dist/evaluation/retrieval-quality.d.ts +116 -0
  99. package/dist/failures/invocation-failure.d.ts +23 -4
  100. package/dist/hooks/gate-denial-tracker.d.ts +18 -14
  101. package/dist/hooks/init-orphan-recovery.d.ts +7 -0
  102. package/dist/hooks/pr-workflow-gate.d.ts +8 -2
  103. package/dist/index.js +616 -608
  104. package/dist/memory/embeddings/reranker.d.ts +13 -2
  105. package/dist/memory/evaluation.d.ts +99 -0
  106. package/dist/memory/heldout-evaluation-corpus.d.ts +51 -0
  107. package/dist/memory/index.d.ts +5 -2
  108. package/dist/memory/sqlite-provider.d.ts +35 -1
  109. package/dist/memory/types.d.ts +14 -0
  110. package/dist/observability/otel-mapping.d.ts +5 -5
  111. package/dist/observability/otlp-exporter.d.ts +80 -0
  112. package/dist/parallel/lane-owners.d.ts +76 -0
  113. package/dist/sandbox/macos/sandbox-exec-executor.d.ts +48 -11
  114. package/dist/tools/repo-graph/query.d.ts +6 -1
  115. package/dist/tools/repo-graph/types.d.ts +13 -4
  116. package/dist/utils/bun-compat.d.ts +20 -0
  117. package/dist/utils/gitignore-warning.d.ts +5 -2
  118. package/dist/worktree/base-migration.d.ts +55 -0
  119. package/dist/worktree/core.d.ts +15 -6
  120. package/dist/worktree/ownership.d.ts +66 -0
  121. package/opencode-swarm.schema.json +97 -0
  122. package/package.json +4 -2
  123. package/tests/fixtures/memory-recall-heldout/manifest.json +311 -0
  124. package/tests/fixtures/memory-recall-heldout/sources/bash.sh +1 -0
  125. package/tests/fixtures/memory-recall-heldout/sources/c.c +1 -0
  126. package/tests/fixtures/memory-recall-heldout/sources/cpp.cpp +1 -0
  127. package/tests/fixtures/memory-recall-heldout/sources/csharp.cs +1 -0
  128. package/tests/fixtures/memory-recall-heldout/sources/css.css +3 -0
  129. package/tests/fixtures/memory-recall-heldout/sources/dart.dart +1 -0
  130. package/tests/fixtures/memory-recall-heldout/sources/go.go +3 -0
  131. package/tests/fixtures/memory-recall-heldout/sources/ini.ini +2 -0
  132. package/tests/fixtures/memory-recall-heldout/sources/java.java +1 -0
  133. package/tests/fixtures/memory-recall-heldout/sources/javascript.js +3 -0
  134. package/tests/fixtures/memory-recall-heldout/sources/kotlin.kt +1 -0
  135. package/tests/fixtures/memory-recall-heldout/sources/php.php +1 -0
  136. package/tests/fixtures/memory-recall-heldout/sources/powershell.ps1 +1 -0
  137. package/tests/fixtures/memory-recall-heldout/sources/python.py +2 -0
  138. package/tests/fixtures/memory-recall-heldout/sources/regex.regex +1 -0
  139. package/tests/fixtures/memory-recall-heldout/sources/ruby.rb +3 -0
  140. package/tests/fixtures/memory-recall-heldout/sources/rust.rs +1 -0
  141. package/tests/fixtures/memory-recall-heldout/sources/swift.swift +1 -0
  142. package/tests/fixtures/memory-recall-heldout/sources/tsx.tsx +3 -0
  143. package/tests/fixtures/memory-recall-heldout/sources/typescript.ts +3 -0
  144. package/dist/cli/curator-llm-factory-ygxd6hfx.js +0 -71
  145. package/dist/cli/guardrail-explain-vjtjhgzs.js +0 -72
  146. package/dist/cli/hive-promoter-3czsx7c6.js +0 -86
@@ -0,0 +1,311 @@
1
+ {
2
+ "corpus_id": "opencode-swarm-memory-recall-heldout-v1",
3
+ "split": "heldout",
4
+ "version": "1.0.0",
5
+ "supported_languages": [
6
+ "javascript",
7
+ "typescript",
8
+ "python",
9
+ "go",
10
+ "rust",
11
+ "php",
12
+ "java",
13
+ "c",
14
+ "cpp",
15
+ "csharp",
16
+ "ruby",
17
+ "swift",
18
+ "kotlin",
19
+ "dart",
20
+ "css",
21
+ "bash",
22
+ "powershell",
23
+ "ini",
24
+ "regex",
25
+ "tsx"
26
+ ],
27
+ "analyzer_extensions": [
28
+ { "language": "typescript", "extractor_id": "backend:typescript:v1" },
29
+ { "language": "javascript", "extractor_id": "backend:javascript:v1" },
30
+ { "language": "python", "extractor_id": "backend:python:v1" },
31
+ { "language": "go", "extractor_id": "backend:go:v1" },
32
+ { "language": "rust", "extractor_id": "backend:rust:v1" },
33
+ { "language": "php", "extractor_id": "backend:php:v1" },
34
+ { "language": "java", "extractor_id": "backend:java:v1" },
35
+ { "language": "cpp", "extractor_id": "backend:cpp:v1" },
36
+ { "language": "csharp", "extractor_id": "backend:csharp:v1" },
37
+ { "language": "ruby", "extractor_id": "backend:ruby:v1" },
38
+ { "language": "swift", "extractor_id": "backend:swift:v1" },
39
+ { "language": "kotlin", "extractor_id": "backend:kotlin:v1" },
40
+ { "language": "dart", "extractor_id": "backend:dart:v1" }
41
+ ],
42
+ "os_gates": {
43
+ "linux": {
44
+ "id": "retrieval-quality-linux",
45
+ "command": "bun run check:retrieval-quality"
46
+ },
47
+ "macos": {
48
+ "id": "retrieval-quality-macos",
49
+ "command": "bun --smol test tests/unit/memory"
50
+ },
51
+ "windows": {
52
+ "id": "retrieval-quality-windows",
53
+ "command": "bun --smol test tests/unit/memory"
54
+ }
55
+ },
56
+ "thresholds": {
57
+ "precision_at_k": 0.25,
58
+ "recall_at_k": 0.25,
59
+ "max_spurious_edges": 2,
60
+ "max_known_misses": 2,
61
+ "direct_source_positive_hits": 14
62
+ },
63
+ "cases": [
64
+ {
65
+ "id": "javascript-profile",
66
+ "language": "javascript",
67
+ "source_path": "sources/javascript.js",
68
+ "content_hash": "B9638E337E7EB634ACA045E77B4561DE635466D9D7B6AA611EDA03D1468AFFD8",
69
+ "expected_symbols": ["loadUserProfile", "userId"],
70
+ "expected_edges": ["loadUserProfile -> fetch"],
71
+ "known_misses": ["userId"],
72
+ "spurious_edges": ["loadUserProfile -> userId"],
73
+ "paraphrase": "retrieve account details through a remote service",
74
+ "analyzer_id": "backend:javascript:v1"
75
+ },
76
+ {
77
+ "id": "typescript-profile",
78
+ "language": "typescript",
79
+ "source_path": "sources/typescript.ts",
80
+ "content_hash": "0C8303B36471F750A1A9BE5BAE1C6759265669E492E49C7A62589C263C739497",
81
+ "expected_symbols": ["saveInvoice", "invoiceId"],
82
+ "expected_edges": ["saveInvoice -> fetch"],
83
+ "known_misses": ["invoiceId"],
84
+ "spurious_edges": ["saveInvoice -> invoiceId"],
85
+ "paraphrase": "persist a billing document through an HTTP request",
86
+ "analyzer_id": "backend:typescript:v1"
87
+ },
88
+ {
89
+ "id": "python-profile",
90
+ "language": "python",
91
+ "source_path": "sources/python.py",
92
+ "content_hash": "B02409456CDD546DD81616637265866EECE08CBD58AC25A74BF97F05BC87AA9D",
93
+ "expected_symbols": ["rotate_api_key", "api_key"],
94
+ "expected_edges": ["rotate_api_key -> rotate_secret"],
95
+ "known_misses": ["api_key"],
96
+ "spurious_edges": ["rotate_api_key -> api_key"],
97
+ "paraphrase": "replace a secret credential with a newly rotated key",
98
+ "analyzer_id": "backend:python:v1"
99
+ },
100
+ {
101
+ "id": "go-profile",
102
+ "language": "go",
103
+ "source_path": "sources/go.go",
104
+ "content_hash": "FBD76CEC751667AE095543444E3731CAD8005AFC605801637673795FB5FB0EC8",
105
+ "expected_symbols": ["ParseConfig", "configPath"],
106
+ "expected_edges": ["ParseConfig -> string"],
107
+ "known_misses": ["configPath"],
108
+ "spurious_edges": ["ParseConfig -> configPath"],
109
+ "paraphrase": "read settings from a configuration path",
110
+ "analyzer_id": "backend:go:v1"
111
+ },
112
+ {
113
+ "id": "rust-profile",
114
+ "language": "rust",
115
+ "source_path": "sources/rust.rs",
116
+ "content_hash": "C45037A40930367399DB3643615E7505425E3146C6F6737B886E0FE843C53226",
117
+ "expected_symbols": ["publish_artifact", "artifact_id"],
118
+ "expected_edges": ["publish_artifact -> format"],
119
+ "known_misses": ["artifact_id"],
120
+ "spurious_edges": ["publish_artifact -> artifact_id"],
121
+ "paraphrase": "publish a build artifact using its identifier",
122
+ "analyzer_id": "backend:rust:v1"
123
+ },
124
+ {
125
+ "id": "php-profile",
126
+ "language": "php",
127
+ "source_path": "sources/php.php",
128
+ "content_hash": "6A22BE82C25024874413438ECD550360628A25CBFFA528E3FC6E9480636D1BFA",
129
+ "expected_symbols": ["find_order", "orderId"],
130
+ "expected_edges": ["find_order -> string"],
131
+ "known_misses": ["orderId"],
132
+ "spurious_edges": ["find_order -> orderId"],
133
+ "paraphrase": "look up a purchase using its order identifier",
134
+ "analyzer_id": "backend:php:v1"
135
+ },
136
+ {
137
+ "id": "java-profile",
138
+ "language": "java",
139
+ "source_path": "sources/java.java",
140
+ "content_hash": "6F6A7B2DBE906137856D71C60DDDB0F2A0BC6D3FBA46204ACE4CF5F9BB43669F",
141
+ "expected_symbols": ["sendWebhook", "webhookUrl"],
142
+ "expected_edges": ["sendWebhook -> String"],
143
+ "known_misses": ["webhookUrl"],
144
+ "spurious_edges": ["Webhooks -> webhookUrl"],
145
+ "paraphrase": "deliver an event to a callback URL",
146
+ "analyzer_id": "backend:java:v1"
147
+ },
148
+ {
149
+ "id": "c-profile",
150
+ "language": "c",
151
+ "source_path": "sources/c.c",
152
+ "content_hash": "C2CF3904D71ED57B52D204C9B1A7A7BAB90E30DF636F725FB939F0D14759B63F",
153
+ "expected_symbols": ["open_socket", "socket_fd"],
154
+ "expected_edges": ["open_socket -> char"],
155
+ "known_misses": ["socket_fd"],
156
+ "spurious_edges": ["open_socket -> close_socket"],
157
+ "paraphrase": "open a network channel from its descriptor",
158
+ "analyzer_id": "parser-only:c:v1"
159
+ },
160
+ {
161
+ "id": "cpp-profile",
162
+ "language": "cpp",
163
+ "source_path": "sources/cpp.cpp",
164
+ "content_hash": "25F855671A74CE618980E69790589ED2AC027566674ABCACB2E54EA3C3B8B3DD",
165
+ "expected_symbols": ["render_widget", "widget_id"],
166
+ "expected_edges": ["render_widget -> string"],
167
+ "known_misses": ["widget_id"],
168
+ "spurious_edges": ["render_widget -> widget_id", "render_widget -> std"],
169
+ "paraphrase": "draw a user interface component by identifier",
170
+ "analyzer_id": "backend:cpp:v1"
171
+ },
172
+ {
173
+ "id": "csharp-profile",
174
+ "language": "csharp",
175
+ "source_path": "sources/csharp.cs",
176
+ "content_hash": "CFD8618108A02D2EB98D122313198DEE4684C204BA676347550C3310FBD8566D",
177
+ "expected_symbols": ["AuthorizeRequest", "requestId"],
178
+ "expected_edges": ["AuthorizeRequest -> string"],
179
+ "known_misses": ["requestId"],
180
+ "spurious_edges": [
181
+ "<module> -> AuthorizeRequest",
182
+ "<module> -> requestId"
183
+ ],
184
+ "paraphrase": "check whether an incoming request is permitted",
185
+ "analyzer_id": "backend:csharp:v1"
186
+ },
187
+ {
188
+ "id": "ruby-profile",
189
+ "language": "ruby",
190
+ "source_path": "sources/ruby.rb",
191
+ "content_hash": "47BC5872B2085EE4C738484E2261F20CDF7A36115F97F1FD904813A9BDACA6F8",
192
+ "expected_symbols": ["normalize_email", "email"],
193
+ "expected_edges": ["normalize_email -> strip"],
194
+ "known_misses": ["email"],
195
+ "spurious_edges": [
196
+ "normalize_email -> email",
197
+ "normalize_email -> downcase"
198
+ ],
199
+ "paraphrase": "canonicalize an address before storing it",
200
+ "analyzer_id": "backend:ruby:v1"
201
+ },
202
+ {
203
+ "id": "swift-profile",
204
+ "language": "swift",
205
+ "source_path": "sources/swift.swift",
206
+ "content_hash": "9AA176B51176FC6DFF98097678E04AC5B57B787E2F0A5E16B6B3C5F0433839BA",
207
+ "expected_symbols": ["cacheImage", "imageURL"],
208
+ "expected_edges": ["cacheImage -> String"],
209
+ "known_misses": ["imageURL"],
210
+ "spurious_edges": ["cacheImage -> imageURL"],
211
+ "paraphrase": "store a downloaded picture for later display",
212
+ "analyzer_id": "backend:swift:v1"
213
+ },
214
+ {
215
+ "id": "kotlin-profile",
216
+ "language": "kotlin",
217
+ "source_path": "sources/kotlin.kt",
218
+ "content_hash": "102FA601E66DB4AC3AF2C0E30BE865077980F58252C7A438968820C8D2AA23B2",
219
+ "expected_symbols": ["syncCalendar", "calendarId"],
220
+ "expected_edges": ["syncCalendar -> String"],
221
+ "known_misses": ["calendarId"],
222
+ "spurious_edges": ["syncCalendar -> calendarId"],
223
+ "paraphrase": "synchronize an appointment calendar by identifier",
224
+ "analyzer_id": "backend:kotlin:v1"
225
+ },
226
+ {
227
+ "id": "dart-profile",
228
+ "language": "dart",
229
+ "source_path": "sources/dart.dart",
230
+ "content_hash": "4E21F3AC09BF159D68CEA641DB11AC8EA68B1BF2E61F3098028E40DF1AE25808",
231
+ "expected_symbols": ["decodeToken", "token"],
232
+ "expected_edges": ["decodeToken -> String"],
233
+ "known_misses": ["token"],
234
+ "spurious_edges": ["decodeToken -> token"],
235
+ "paraphrase": "interpret a signed credential for a session",
236
+ "analyzer_id": "backend:dart:v1"
237
+ },
238
+ {
239
+ "id": "css-profile",
240
+ "language": "css",
241
+ "source_path": "sources/css.css",
242
+ "content_hash": "4D9C610B3F17E60A83CAB953BF9CAC157F001A1CB06CDAA089ADE0A9886E1411",
243
+ "expected_symbols": ["notification-banner", "notification-hue"],
244
+ "expected_edges": ["notification-banner -> notification-hue"],
245
+ "known_misses": ["notification-hue"],
246
+ "spurious_edges": ["notification-banner -> danger-color"],
247
+ "paraphrase": "style a notice banner with its theme hue",
248
+ "analyzer_id": "parser-only:css:v1"
249
+ },
250
+ {
251
+ "id": "bash-profile",
252
+ "language": "bash",
253
+ "source_path": "sources/bash.sh",
254
+ "content_hash": "74ED9524EBC70CB288D4F039212753A29E834E4DBA4DEEBC717F73D2481CAE28",
255
+ "expected_symbols": ["rotate_logs", "log_file"],
256
+ "expected_edges": ["rotate_logs -> printf"],
257
+ "known_misses": ["log_file"],
258
+ "spurious_edges": ["rotate_logs -> delete_logs"],
259
+ "paraphrase": "cycle archived application log files",
260
+ "analyzer_id": "parser-only:bash:v1"
261
+ },
262
+ {
263
+ "id": "powershell-profile",
264
+ "language": "powershell",
265
+ "source_path": "sources/powershell.ps1",
266
+ "content_hash": "15C73C8B30FF023F6977E6268BC1355C0E21121D95DE3D8D10D81AE1BAF56954",
267
+ "expected_symbols": ["Get-InventoryItem", "ItemId"],
268
+ "expected_edges": ["Get-InventoryItem -> string"],
269
+ "known_misses": ["ItemId"],
270
+ "spurious_edges": ["Get-InventoryItem -> Remove-InventoryItem"],
271
+ "paraphrase": "look up a stock item by its identifier",
272
+ "analyzer_id": "parser-only:powershell:v1"
273
+ },
274
+ {
275
+ "id": "ini-profile",
276
+ "language": "ini",
277
+ "source_path": "sources/ini.ini",
278
+ "content_hash": "FDD0199E49555EA760845F23B7DF6F2178B86FC552A29D1E8A39EAD39E20FF3A",
279
+ "expected_symbols": ["database", "connect_timeout"],
280
+ "expected_edges": ["database -> connect_timeout"],
281
+ "known_misses": ["connect_timeout"],
282
+ "spurious_edges": ["database -> delete_database"],
283
+ "paraphrase": "configure a database connection timeout",
284
+ "analyzer_id": "parser-only:ini:v1"
285
+ },
286
+ {
287
+ "id": "regex-profile",
288
+ "language": "regex",
289
+ "source_path": "sources/regex.regex",
290
+ "content_hash": "1413547E127815DDB2AC3A0B25FC2EAA02F3FD6B453FEF15210BA53A90BA1F90",
291
+ "expected_symbols": ["invoice_lookup", "invoice_id"],
292
+ "expected_edges": ["invoice_lookup -> invoice_id"],
293
+ "known_misses": ["invoice_id"],
294
+ "spurious_edges": ["invoice_lookup -> customer_id"],
295
+ "paraphrase": "match an invoice lookup call",
296
+ "analyzer_id": "parser-only:regex:v1"
297
+ },
298
+ {
299
+ "id": "tsx-profile",
300
+ "language": "tsx",
301
+ "source_path": "sources/tsx.tsx",
302
+ "content_hash": "17C67D0709FD2C10E8E619F3E1AB4A836F36C5CD7E4645DB948CAD67B5BD93EE",
303
+ "expected_symbols": ["InvoiceBadge", "invoiceId"],
304
+ "expected_edges": ["InvoiceBadge -> span"],
305
+ "known_misses": ["invoiceId"],
306
+ "spurious_edges": ["InvoiceBadge -> invoiceId"],
307
+ "paraphrase": "render a billing badge from its identifier",
308
+ "analyzer_id": "parser-only:tsx:v1"
309
+ }
310
+ ]
311
+ }
@@ -0,0 +1 @@
1
+ rotate_logs() { printf '/logs/%s\n' "$1"; }
@@ -0,0 +1 @@
1
+ const char *open_socket(const char *socket_fd) { return socket_fd; }
@@ -0,0 +1 @@
1
+ std::string render_widget(const std::string& widget_id) { return "/widgets/" + widget_id; }
@@ -0,0 +1 @@
1
+ string AuthorizeRequest(string requestId) => "/requests/" + requestId;
@@ -0,0 +1,3 @@
1
+ .notification-banner {
2
+ color: var(--notification-hue);
3
+ }
@@ -0,0 +1 @@
1
+ String decodeToken(String token) => '/tokens/' + token;
@@ -0,0 +1,3 @@
1
+ package configs
2
+
3
+ func ParseConfig(configPath string) string { return "/configs/" + configPath }
@@ -0,0 +1,2 @@
1
+ [database]
2
+ connect_timeout=30
@@ -0,0 +1 @@
1
+ class Webhooks { String sendWebhook(String webhookUrl) { return "/hooks/" + webhookUrl; } }
@@ -0,0 +1,3 @@
1
+ export function loadUserProfile(userId) {
2
+ return fetch(`/users/${userId}`);
3
+ }
@@ -0,0 +1 @@
1
+ fun syncCalendar(calendarId: String): String = "/calendars/$calendarId"
@@ -0,0 +1 @@
1
+ <?php function find_order(string $orderId): string { return '/orders/' . $orderId; }
@@ -0,0 +1 @@
1
+ function Get-InventoryItem { param([string]$ItemId) "/inventory/$ItemId" }
@@ -0,0 +1,2 @@
1
+ def rotate_api_key(api_key):
2
+ return rotate_secret("/keys/" + api_key)
@@ -0,0 +1 @@
1
+ invoice_lookup\((?<invoice_id>[A-Za-z0-9_-]+)\)
@@ -0,0 +1,3 @@
1
+ def normalize_email(email)
2
+ email.strip.downcase
3
+ end
@@ -0,0 +1 @@
1
+ pub fn publish_artifact(artifact_id: &str) -> String { format!("/artifacts/{artifact_id}") }
@@ -0,0 +1 @@
1
+ func cacheImage(imageURL: String) -> String { "/images/" + imageURL }
@@ -0,0 +1,3 @@
1
+ export const InvoiceBadge = ({ invoiceId }: { invoiceId: string }) => (
2
+ <span>{invoiceId}</span>
3
+ );
@@ -0,0 +1,3 @@
1
+ export function saveInvoice(invoiceId: string): Promise<unknown> {
2
+ return fetch(`/invoices/${invoiceId}`, { method: 'POST' });
3
+ }
@@ -1,71 +0,0 @@
1
- // @bun
2
- import {
3
- createCuratorLLMDelegate
4
- } from "./index-kkmezerc.js";
5
- import"./index-d5qf7hvh.js";
6
- import"./index-qhey6vc3.js";
7
- import"./index-chebm5h5.js";
8
- import"./index-nwwk3dej.js";
9
- import"./index-5g6rhkn7.js";
10
- import"./index-w1dfkp1q.js";
11
- import"./index-gp9yzr1v.js";
12
- import"./index-txdagbh7.js";
13
- import"./index-9br68j86.js";
14
- import"./index-cw912re7.js";
15
- import"./index-xhb4gryr.js";
16
- import"./index-bw9x8d8n.js";
17
- import"./index-9b2105n0.js";
18
- import"./index-fyfbpz4f.js";
19
- import"./index-dfyv3xkd.js";
20
- import"./index-zsrtt42s.js";
21
- import"./index-j0bxxz9d.js";
22
- import"./index-5zqakgp4.js";
23
- import"./index-bvqqwx84.js";
24
- import"./index-b43rt5ph.js";
25
- import"./index-q7sjgr1y.js";
26
- import"./index-gmpmgtzn.js";
27
- import"./index-qkwtth00.js";
28
- import"./index-f1fps3w9.js";
29
- import"./index-6df6wbvj.js";
30
- import"./index-kear8gb7.js";
31
- import"./index-p612v1mv.js";
32
- import"./index-qthc56c4.js";
33
- import"./index-m35hybf0.js";
34
- import"./index-rtry5xyf.js";
35
- import"./index-xkf3672y.js";
36
- import"./index-3qf1vxtb.js";
37
- import"./index-n832052r.js";
38
- import"./index-y85aptep.js";
39
- import"./index-gh9ybrrs.js";
40
- import"./index-a8xbvsse.js";
41
- import"./index-pyf517sz.js";
42
- import"./index-h439y187.js";
43
- import"./index-wst6n478.js";
44
- import"./index-rdm3px0g.js";
45
- import"./index-ry16d01s.js";
46
- import"./index-qwsh0h2g.js";
47
- import"./index-2xbww1x0.js";
48
- import"./index-vzm6zre7.js";
49
- import"./index-ae75rja9.js";
50
- import"./index-8ybjqg51.js";
51
- import"./index-4r5pmtvk.js";
52
- import"./index-7g4c7s5r.js";
53
- import"./index-v3xc4sde.js";
54
- import"./index-z6qreakh.js";
55
- import"./index-1xnse449.js";
56
- import"./index-ee6ydtfe.js";
57
- import"./index-91ww9hyr.js";
58
- import"./index-0mhftbpp.js";
59
- import"./index-a1w58b47.js";
60
- import"./index-apy1qfj0.js";
61
- import"./index-sxt7fgcw.js";
62
- import"./index-bk5tah7q.js";
63
- import"./index-bpmtbmy9.js";
64
- import"./index-zpsr8rpc.js";
65
- import"./index-q1r1cfww.js";
66
- import"./index-yzjaj53h.js";
67
- import"./index-zgwm4ryv.js";
68
- import"./index-a76rekgs.js";
69
- export {
70
- createCuratorLLMDelegate
71
- };
@@ -1,72 +0,0 @@
1
- // @bun
2
- import {
3
- handleGuardrailExplain
4
- } from "./index-3jmb4ppa.js";
5
- import"./index-kkmezerc.js";
6
- import"./index-d5qf7hvh.js";
7
- import"./index-qhey6vc3.js";
8
- import"./index-chebm5h5.js";
9
- import"./index-nwwk3dej.js";
10
- import"./index-5g6rhkn7.js";
11
- import"./index-w1dfkp1q.js";
12
- import"./index-gp9yzr1v.js";
13
- import"./index-txdagbh7.js";
14
- import"./index-9br68j86.js";
15
- import"./index-cw912re7.js";
16
- import"./index-xhb4gryr.js";
17
- import"./index-bw9x8d8n.js";
18
- import"./index-9b2105n0.js";
19
- import"./index-fyfbpz4f.js";
20
- import"./index-dfyv3xkd.js";
21
- import"./index-zsrtt42s.js";
22
- import"./index-j0bxxz9d.js";
23
- import"./index-5zqakgp4.js";
24
- import"./index-bvqqwx84.js";
25
- import"./index-b43rt5ph.js";
26
- import"./index-q7sjgr1y.js";
27
- import"./index-gmpmgtzn.js";
28
- import"./index-qkwtth00.js";
29
- import"./index-f1fps3w9.js";
30
- import"./index-6df6wbvj.js";
31
- import"./index-kear8gb7.js";
32
- import"./index-p612v1mv.js";
33
- import"./index-qthc56c4.js";
34
- import"./index-m35hybf0.js";
35
- import"./index-rtry5xyf.js";
36
- import"./index-xkf3672y.js";
37
- import"./index-3qf1vxtb.js";
38
- import"./index-n832052r.js";
39
- import"./index-y85aptep.js";
40
- import"./index-gh9ybrrs.js";
41
- import"./index-a8xbvsse.js";
42
- import"./index-pyf517sz.js";
43
- import"./index-h439y187.js";
44
- import"./index-wst6n478.js";
45
- import"./index-rdm3px0g.js";
46
- import"./index-ry16d01s.js";
47
- import"./index-qwsh0h2g.js";
48
- import"./index-2xbww1x0.js";
49
- import"./index-vzm6zre7.js";
50
- import"./index-ae75rja9.js";
51
- import"./index-8ybjqg51.js";
52
- import"./index-4r5pmtvk.js";
53
- import"./index-7g4c7s5r.js";
54
- import"./index-v3xc4sde.js";
55
- import"./index-z6qreakh.js";
56
- import"./index-1xnse449.js";
57
- import"./index-ee6ydtfe.js";
58
- import"./index-91ww9hyr.js";
59
- import"./index-0mhftbpp.js";
60
- import"./index-a1w58b47.js";
61
- import"./index-apy1qfj0.js";
62
- import"./index-sxt7fgcw.js";
63
- import"./index-bk5tah7q.js";
64
- import"./index-bpmtbmy9.js";
65
- import"./index-zpsr8rpc.js";
66
- import"./index-q1r1cfww.js";
67
- import"./index-yzjaj53h.js";
68
- import"./index-zgwm4ryv.js";
69
- import"./index-a76rekgs.js";
70
- export {
71
- handleGuardrailExplain
72
- };
@@ -1,86 +0,0 @@
1
- // @bun
2
- import {
3
- _internals3 as _internals,
4
- checkHivePromotions,
5
- countDistinctProjects,
6
- createHivePromoterHook,
7
- isHiveEligible,
8
- promoteFromSwarm,
9
- promoteToHive
10
- } from "./index-kkmezerc.js";
11
- import"./index-d5qf7hvh.js";
12
- import"./index-qhey6vc3.js";
13
- import"./index-chebm5h5.js";
14
- import"./index-nwwk3dej.js";
15
- import"./index-5g6rhkn7.js";
16
- import"./index-w1dfkp1q.js";
17
- import"./index-gp9yzr1v.js";
18
- import"./index-txdagbh7.js";
19
- import"./index-9br68j86.js";
20
- import"./index-cw912re7.js";
21
- import"./index-xhb4gryr.js";
22
- import"./index-bw9x8d8n.js";
23
- import"./index-9b2105n0.js";
24
- import"./index-fyfbpz4f.js";
25
- import"./index-dfyv3xkd.js";
26
- import"./index-zsrtt42s.js";
27
- import"./index-j0bxxz9d.js";
28
- import"./index-5zqakgp4.js";
29
- import"./index-bvqqwx84.js";
30
- import"./index-b43rt5ph.js";
31
- import"./index-q7sjgr1y.js";
32
- import"./index-gmpmgtzn.js";
33
- import"./index-qkwtth00.js";
34
- import"./index-f1fps3w9.js";
35
- import"./index-6df6wbvj.js";
36
- import"./index-kear8gb7.js";
37
- import"./index-p612v1mv.js";
38
- import"./index-qthc56c4.js";
39
- import"./index-m35hybf0.js";
40
- import"./index-rtry5xyf.js";
41
- import"./index-xkf3672y.js";
42
- import"./index-3qf1vxtb.js";
43
- import"./index-n832052r.js";
44
- import"./index-y85aptep.js";
45
- import"./index-gh9ybrrs.js";
46
- import"./index-a8xbvsse.js";
47
- import"./index-pyf517sz.js";
48
- import"./index-h439y187.js";
49
- import"./index-wst6n478.js";
50
- import"./index-rdm3px0g.js";
51
- import"./index-ry16d01s.js";
52
- import"./index-qwsh0h2g.js";
53
- import {
54
- resolveHiveKnowledgePath
55
- } from "./index-2xbww1x0.js";
56
- import"./index-vzm6zre7.js";
57
- import"./index-ae75rja9.js";
58
- import"./index-8ybjqg51.js";
59
- import"./index-4r5pmtvk.js";
60
- import"./index-7g4c7s5r.js";
61
- import"./index-v3xc4sde.js";
62
- import"./index-z6qreakh.js";
63
- import"./index-1xnse449.js";
64
- import"./index-ee6ydtfe.js";
65
- import"./index-91ww9hyr.js";
66
- import"./index-0mhftbpp.js";
67
- import"./index-a1w58b47.js";
68
- import"./index-apy1qfj0.js";
69
- import"./index-sxt7fgcw.js";
70
- import"./index-bk5tah7q.js";
71
- import"./index-bpmtbmy9.js";
72
- import"./index-zpsr8rpc.js";
73
- import"./index-q1r1cfww.js";
74
- import"./index-yzjaj53h.js";
75
- import"./index-zgwm4ryv.js";
76
- import"./index-a76rekgs.js";
77
- export {
78
- resolveHiveKnowledgePath,
79
- promoteToHive,
80
- promoteFromSwarm,
81
- isHiveEligible,
82
- createHivePromoterHook,
83
- countDistinctProjects,
84
- checkHivePromotions,
85
- _internals
86
- };