@unity-china/codely-cli 1.0.0-rc.54 → 1.0.0-rc.58

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.
@@ -0,0 +1,607 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * @license
8
+ * Copyright 2026 Google LLC
9
+ * SPDX-License-Identifier: Apache-2.0
10
+ */
11
+ /**
12
+ * @license
13
+ * Copyright 2026 Codely
14
+ * SPDX-License-Identifier: Apache-2.0
15
+ */
16
+ /**
17
+ * @license
18
+ * Copyright 2025 Qwen
19
+ * SPDX-License-Identifier: Apache-2.0
20
+ */
21
+ /**
22
+ * @license
23
+ * Copyright 2025 Codely
24
+ * SPDX-License-Identifier: Apache-2.0
25
+ *
26
+ * Organization management API service for multi-org support.
27
+ * Provides functions to list organizations and switch to active organization.
28
+ *
29
+ * The server API uses `team_*` field names, but this service maps them to
30
+ * `org_*` at the boundary so that all consumers use consistent org terminology.
31
+ *
32
+ * CodelyOrgService is a stateless data layer — it does NOT track "current
33
+ * user" or "active user". It only provides get/set by user_id. The caller
34
+ * (CodelyOAuth2Client) owns user_id and passes it explicitly.
35
+ */
36
+ /**
37
+ * @license
38
+ * Copyright 2025 Codely
39
+ * SPDX-License-Identifier: Apache-2.0
40
+ *
41
+ * Codely OAuth2 implementation:
42
+ * - Prefer device flow for IDE/CLI-friendly authentication.
43
+ * - Keep legacy browser callback flow as a fallback path.
44
+ * - Implements credential caching and automatic token refresh.
45
+ */
46
+ /**
47
+ * @license
48
+ * Copyright 2025 Codely
49
+ * SPDX-License-Identifier: Apache-2.0
50
+ */
51
+ /**
52
+ * @license
53
+ * Copyright 2025 Codely
54
+ * SPDX-License-Identifier: Apache-2.0
55
+ *
56
+ * LiteLLMLogger: Reports API call data to LiteLLM Proxy Report API.
57
+ *
58
+ * Features:
59
+ * - Triggers Langfuse callbacks for observability
60
+ * - Writes to LiteLLM DB SpendLogs for cost tracking
61
+ * - Records TTFT (Time to First Token) for streaming responses
62
+ *
63
+ * Design:
64
+ * - Always enabled (same as CodelyLogger)
65
+ * - Uses Codely OAuth cli_api_key for authentication
66
+ * - All network errors are silently handled to not affect CLI operation
67
+ */
68
+ /**
69
+ * @license
70
+ * Copyright 2026
71
+ * SPDX-License-Identifier: Apache-2.0
72
+ */
73
+ /**
74
+ * @license
75
+ * Copyright 2026 Google LLC
76
+ * ---
77
+ * Ported from packages/cli/src/ui/scheduling/commandQueue.ts as part of
78
+ * Phase 2 (Queue Ownership) migration. The CLI file now re-exports these
79
+ * symbols and keeps scope helpers for its own use.
80
+ * SPDX-License-Identifier: Apache-2.0
81
+ */
82
+ /**
83
+ * @license
84
+ * Copyright 2026 Codely
85
+ * SPDX-License-Identifier: Apache-2.0
86
+ *
87
+ * Absolute physical anchor for the non-alt (main-screen Static-split) live
88
+ * region.
89
+ *
90
+ * Every normal frame positions the floating dock with RELATIVE cursor moves
91
+ * (`parkBackToBottom` + `cursorUp(prevHeight)`), which assumes the physical
92
+ * cursor is exactly where ink parked it. Recovery paths (sleep/stall
93
+ * self-heal, focus regain) inherit that assumption, so if anything moved the
94
+ * physical cursor out of band the repaint lands on the wrong rows — it can
95
+ * stack a second dock or paint over committed transcript.
96
+ *
97
+ * The insight that makes recovery fixable: out-of-band cursor moves relocate
98
+ * the CURSOR, not the CONTENT. The dock's physical rows are still where ink
99
+ * wrote them. So if ink remembers the live region's absolute TOP row, a
100
+ * recovery repaint can address it with an absolute CUP instead of relative
101
+ * moves and is then immune to cursor drift.
102
+ *
103
+ * Tracking rules (all derived from data ink already has per frame):
104
+ *
105
+ * - The absolute row is unknowable at startup: the CLI begins wherever the
106
+ * shell prompt happened to be. `top` therefore starts as `null` and callers
107
+ * must fall back to the legacy relative behavior while it is null.
108
+ * - Once ink has emitted at least `terminalRows` scrollback rows, everything
109
+ * it wrote has scrolled the cursor to the bottom row, so the live region
110
+ * provably occupies the last `liveHeight` rows — that is the one moment an
111
+ * exact absolute claim can be made, and it seeds the anchor.
112
+ * - Afterwards the anchor moves incrementally: appended static rows push it
113
+ * down (bounded by the screen bottom), a growing live region pushes it up,
114
+ * and a shrinking one leaves it where it is — `serializeFrameForOverwrite`
115
+ * keeps the region top fixed on a shrink and erases the vacated rows below,
116
+ * so the dock is NOT bottom-pinned after shrinking.
117
+ * - Anything that invalidates ink's picture of the screen (resize, ED2/clear,
118
+ * external-program handoff, alt-screen transitions) resets the anchor to
119
+ * unknown rather than guessing.
120
+ */
121
+ /**
122
+ * @license
123
+ * Copyright 2026 Codely
124
+ * SPDX-License-Identifier: Apache-2.0
125
+ *
126
+ * Renderer-owned main-screen Static-split footer transaction.
127
+ *
128
+ * When non-alt `<Static>` is active the renderer yields both
129
+ * `frame.staticScreen` (append-only scrollback delta) and `frame.screen`
130
+ * (the floating live footer). This helper owns the ordered stdout write
131
+ * for that split so ink.tsx does not assemble park/erase/append/overwrite
132
+ * patches ad-hoc.
133
+ *
134
+ * Activation: caller only invokes this for `!altScreenActive`. The
135
+ * no-`<Static>` main-screen path and alt-screen remain outside this
136
+ * contract.
137
+ */
138
+ /**
139
+ * @license
140
+ * Copyright 2026 Codely
141
+ * SPDX-License-Identifier: Apache-2.0
142
+ *
143
+ * Terminal output ownership for the non-alt Static-split / LiveRoot path.
144
+ *
145
+ * While ownership mode is `split-footer`, the Ink renderer is the only
146
+ * writer allowed to touch the TTY. Normal child output is already piped into
147
+ * tool/history events; interactive external programs must use
148
+ * `withTerminalHandoff` so ownership is suspended for the handoff.
149
+ */
150
+ /**
151
+ * @license
152
+ * Copyright 2026 Google LLC
153
+ * SPDX-License-Identifier: Apache-2.0
154
+ *
155
+ * ---
156
+ * Phase 2 (Queue Ownership) migration: this file is now a thin CLI-side
157
+ * adapter. The command-queue singleton and its API live in
158
+ * `@codely/codely-cli-core` (`packages/core/src/core/messageQueueManager.ts`)
159
+ * so the core agent loop can consume the same queue the CLI UI observes.
160
+ *
161
+ * This module re-exports the core API 1:1 and narrows the transparent
162
+ * `completionEvent?: unknown` field on `QueuedCommand` to the CLI-specific
163
+ * `TaskCompletionEvent` shape — preserving the existing CLI type surface
164
+ * and keeping all current imports source-compatible.
165
+ */
166
+ /*
167
+ * @license
168
+ * Copyright 2025 Google LLC
169
+ * SPDX-License-Identifier: Apache-2.0
170
+ */
171
+ /**
172
+ * @license
173
+ * Copyright 2026 Codely
174
+ * SPDX-License-Identifier: Apache-2.0
175
+ *
176
+ * LiveRoot fixed-max budget (TDD plan Phase 1). Pure, statically computable
177
+ * height budget for the non-alt (main-screen Static-split) LiveRoot.
178
+ *
179
+ * Model (see plans/liveroot-fixed-max-erase-tdd-plan.md):
180
+ *
181
+ * liveRootMax = min(LIVE_ROOT_MAX_ROWS, terminalHeight − 1)
182
+ * pendingMax = max(0, liveRootMax − dockDeclaredHeight) // streaming tools
183
+ *
184
+ * TWO physical bounds compose here:
185
+ *
186
+ * 1. `LIVE_ROOT_MAX_ROWS` — the FIXED WINDOW. Bounds the ENTIRE live region
187
+ * (pending streaming transcript + BottomDock) and, equivalently, the
188
+ * physical row span the renderer must refresh per frame. Capping to a fixed
189
+ * window (à la openTUI's固定 footerHeight) means pending can never grow tall
190
+ * enough that an incremental print scrolls the previous frame (dock
191
+ * included) off-screen into native scrollback. Binds on tall terminals.
192
+ *
193
+ * 2. `terminalHeight − 1` — the ENGINE bound. The ink renderer crops the
194
+ * non-alt live screen to `terminalRows − 1`
195
+ * (renderer.ts `cropLiveScreenForMainScreenStaticSplit`), and that crop
196
+ * drops rows from the TOP. Budgeting the full `terminalHeight` would let
197
+ * Yoga lay out one row more than the engine can display, so the engine
198
+ * would silently eat the live region's first row — the pending headline,
199
+ * or the dock's top row when the dock alone fills the window. The `-1` is
200
+ * therefore a geometric bound, not merely the legacy erase patch row, and
201
+ * must be honored until the engine's crop changes. Binds below 31 rows.
202
+ *
203
+ * The dock is the MUST-KEEP region — it drives its own compaction via
204
+ * resolveDockLayoutPlan (fold attachments → hide → reduce chrome → single-line
205
+ * input + "terminal too short" hint). Pending takes whatever is left inside
206
+ * the window and yields to 0 on tiny terminals / tall docks.
207
+ */
208
+ /**
209
+ * @license
210
+ * Copyright 2026 Codely
211
+ * SPDX-License-Identifier: Apache-2.0
212
+ *
213
+ * Non-alt Shared LiveRoot (LiveRoot plan §2/§4.1). The single Yoga subtree
214
+ * that bounds the ENTIRE non-alt live region — pending (streaming) transcript
215
+ * + BottomDock — to a FIXED physical window in one layout pass:
216
+ *
217
+ * <LiveRoot maxHeight> // hard physical bound
218
+ * <PendingClip shrink hidden> // pending yields to the dock
219
+ * <PendingContent shrink=0> // natural layout, then TAIL-cropped
220
+ * <Dock shrink=0> // never squeezed by pending
221
+ *
222
+ * `maxHeight` is the fixed-window bound `min(LIVE_ROOT_MAX_ROWS, terminalHeight − 1)`
223
+ * (see liveRootBudget.ts / App.getLiveRootMaxHeight) — NOT the legacy
224
+ * `terminalHeight − 1`. The old `-1` was a patch row for the model-height
225
+ * erase mechanism, not a geometric bound; capping the whole live region to a
226
+ * fixed window keeps a batch of streaming tool groups from growing tall
227
+ * enough that an incremental print scrolls the previous frame (dock included)
228
+ * off-screen into native scrollback.
229
+ *
230
+ * Invariants (plan §2.1):
231
+ * - LiveRoot rendered height <= maxHeight (= min(LIVE_ROOT_MAX_ROWS,
232
+ * terminalHeight));
233
+ * - PendingClip rendered height = max(0, maxHeight − dock actual height),
234
+ * computed by Yoga from the dock's REAL height — no measured-state
235
+ * feedback loop, no DOCK_CAP contract required for correctness;
236
+ * - the dock is flexShrink=0: pending can NEVER squeeze it. If the dock
237
+ * ALONE exceeds maxHeight (tiny terminal + tall dialog), the root's
238
+ * overflow clipping crops the dock from the BOTTOM (decision 2) — the
239
+ * accepted extreme-case fallback that still prevents the offscreen
240
+ * full-reset;
241
+ * - maxHeight, not height: idle/small frames keep their natural height and
242
+ * never pad blank rows that push the physical cursor to the viewport
243
+ * bottom.
244
+ */
245
+ /**
246
+ * @license
247
+ * Copyright 2026 Codely
248
+ * SPDX-License-Identifier: Apache-2.0
249
+ *
250
+ * Selection-key helpers, ported from Claude Code's ScrollKeybindingHandler.
251
+ * Used by the alt-screen keyboard handler to decide, for a keypress arriving
252
+ * while a text selection exists, whether to clear the selection and whether
253
+ * the key extends it (shift+nav). Operates on the cli `Key` (useCliInput) —
254
+ * that is the authoritative keyboard path where ctrl+c/Esc are already owned.
255
+ */
256
+ /**
257
+ * @license
258
+ * Copyright 2026 Codely
259
+ * SPDX-License-Identifier: Apache-2.0
260
+ *
261
+ * Auto-copy a text selection to the clipboard when the user finishes dragging
262
+ * (mouse-up with a non-empty selection) or multi-clicks to select a word/line.
263
+ * Mirrors iTerm2's "Copy to pasteboard on selection" — the highlight is left
264
+ * intact so the user can see what was copied. Ported from Claude Code's
265
+ * useCopyOnSelect.
266
+ *
267
+ * This is what makes copy "just work" in alt-screen: mouse tracking disables
268
+ * the terminal's native selection, and cmd+c is intercepted by the terminal's
269
+ * Edit > Copy before the pty sees it. Auto-copying on mouse-up leaves the
270
+ * system clipboard holding the right content, so cmd+c / paste behave as the
271
+ * user expects. ctrl+c (when a selection exists) also copies via the handler.
272
+ *
273
+ * Only meaningful in alt-screen mode: outside it, useSelection returns a stub
274
+ * whose hasSelection() is always false, so the subscribe callback no-ops.
275
+ */
276
+ /**
277
+ * @license
278
+ * Copyright 2026 Codely
279
+ * SPDX-License-Identifier: Apache-2.0
280
+ *
281
+ * Drag-to-scroll: auto-scroll the transcript ScrollBox when the user drags a
282
+ * text selection past its top or bottom edge (mode-1002 mouse tracking only
283
+ * reports on cell change, so a drag held off-edge needs a timer to keep
284
+ * scrolling). Ported from Claude Code's ScrollKeybindingHandler
285
+ * (dragScrollDirection + useDragToScroll).
286
+ *
287
+ * The anchor is shifted opposite the scroll so it stays on the same content,
288
+ * and rows about to scroll out are captured into the selection's
289
+ * scrolledOffAbove/Below accumulators (engine-owned) so getSelectedText can
290
+ * rejoin them — the screen buffer only holds the current viewport.
291
+ */
292
+ /**
293
+ * @license
294
+ * Copyright 2025 Codely
295
+ * SPDX-License-Identifier: Apache-2.0
296
+ *
297
+ * ACP extension methods for organization management.
298
+ * Allows external clients (e.g., VS Code extensions) to list and switch
299
+ * organizations through the ACP protocol.
300
+ */
301
+
302
+ Bundled license information:
303
+
304
+ web-streams-polyfill/dist/ponyfill.es2018.js:
305
+ /**
306
+ * @license
307
+ * web-streams-polyfill v3.3.3
308
+ * Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors.
309
+ * This code is released under the MIT license.
310
+ * SPDX-License-Identifier: MIT
311
+ */
312
+
313
+ fetch-blob/index.js:
314
+ /*! fetch-blob. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
315
+
316
+ formdata-polyfill/esm.min.js:
317
+ undici/lib/web/fetch/body.js:
318
+ /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
319
+
320
+ node-domexception/index.js:
321
+ /*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
322
+
323
+ safe-buffer/index.js:
324
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
325
+
326
+ @google/genai/dist/node/index.mjs:
327
+ /**
328
+ * @license
329
+ * Copyright 2025 Google LLC
330
+ * SPDX-License-Identifier: Apache-2.0
331
+ */
332
+
333
+ mime-db/index.js:
334
+ /*!
335
+ * mime-db
336
+ * Copyright(c) 2014 Jonathan Ong
337
+ * Copyright(c) 2015-2022 Douglas Christopher Wilson
338
+ * MIT Licensed
339
+ */
340
+
341
+ mime-types/index.js:
342
+ /*!
343
+ * mime-types
344
+ * Copyright(c) 2014 Jonathan Ong
345
+ * Copyright(c) 2015 Douglas Christopher Wilson
346
+ * MIT Licensed
347
+ */
348
+
349
+ is-extglob/index.js:
350
+ /*!
351
+ * is-extglob <https://github.com/jonschlinkert/is-extglob>
352
+ *
353
+ * Copyright (c) 2014-2016, Jon Schlinkert.
354
+ * Licensed under the MIT License.
355
+ */
356
+
357
+ is-glob/index.js:
358
+ /*!
359
+ * is-glob <https://github.com/jonschlinkert/is-glob>
360
+ *
361
+ * Copyright (c) 2014-2017, Jon Schlinkert.
362
+ * Released under the MIT License.
363
+ */
364
+
365
+ is-number/index.js:
366
+ /*!
367
+ * is-number <https://github.com/jonschlinkert/is-number>
368
+ *
369
+ * Copyright (c) 2014-present, Jon Schlinkert.
370
+ * Released under the MIT License.
371
+ */
372
+
373
+ to-regex-range/index.js:
374
+ /*!
375
+ * to-regex-range <https://github.com/micromatch/to-regex-range>
376
+ *
377
+ * Copyright (c) 2015-present, Jon Schlinkert.
378
+ * Released under the MIT License.
379
+ */
380
+
381
+ fill-range/index.js:
382
+ /*!
383
+ * fill-range <https://github.com/jonschlinkert/fill-range>
384
+ *
385
+ * Copyright (c) 2014-present, Jon Schlinkert.
386
+ * Licensed under the MIT License.
387
+ */
388
+
389
+ queue-microtask/index.js:
390
+ /*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
391
+
392
+ run-parallel/index.js:
393
+ /*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
394
+
395
+ undici/lib/web/websocket/frame.js:
396
+ /*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */
397
+
398
+ @grpc/proto-loader/build/src/util.js:
399
+ @grpc/proto-loader/build/src/index.js:
400
+ /**
401
+ * @license
402
+ * Copyright 2018 gRPC authors.
403
+ *
404
+ * Licensed under the Apache License, Version 2.0 (the "License");
405
+ * you may not use this file except in compliance with the License.
406
+ * You may obtain a copy of the License at
407
+ *
408
+ * http://www.apache.org/licenses/LICENSE-2.0
409
+ *
410
+ * Unless required by applicable law or agreed to in writing, software
411
+ * distributed under the License is distributed on an "AS IS" BASIS,
412
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
413
+ * See the License for the specific language governing permissions and
414
+ * limitations under the License.
415
+ *
416
+ */
417
+
418
+ long/umd/index.js:
419
+ /**
420
+ * @license
421
+ * Copyright 2009 The Closure Library Authors
422
+ * Copyright 2020 Daniel Wirtz / The long.js Authors.
423
+ *
424
+ * Licensed under the Apache License, Version 2.0 (the "License");
425
+ * you may not use this file except in compliance with the License.
426
+ * You may obtain a copy of the License at
427
+ *
428
+ * http://www.apache.org/licenses/LICENSE-2.0
429
+ *
430
+ * Unless required by applicable law or agreed to in writing, software
431
+ * distributed under the License is distributed on an "AS IS" BASIS,
432
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
433
+ * See the License for the specific language governing permissions and
434
+ * limitations under the License.
435
+ *
436
+ * SPDX-License-Identifier: Apache-2.0
437
+ */
438
+
439
+ chokidar/esm/index.js:
440
+ /*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */
441
+
442
+ fzf/dist/fzf.es.js:
443
+ /** @license
444
+ * fzf v0.5.2
445
+ * Copyright (c) 2021 Ajit
446
+ * Licensed under BSD 3-Clause
447
+ */
448
+
449
+ yargs-parser/build/lib/string-utils.js:
450
+ yargs-parser/build/lib/tokenize-arg-string.js:
451
+ yargs-parser/build/lib/yargs-parser-types.js:
452
+ yargs-parser/build/lib/yargs-parser.js:
453
+ /**
454
+ * @license
455
+ * Copyright (c) 2016, Contributors
456
+ * SPDX-License-Identifier: ISC
457
+ */
458
+
459
+ yargs-parser/build/lib/index.js:
460
+ /**
461
+ * @fileoverview Main entrypoint for libraries using yargs-parser in Node.js
462
+ * CJS and ESM environments.
463
+ *
464
+ * @license
465
+ * Copyright (c) 2016, Contributors
466
+ * SPDX-License-Identifier: ISC
467
+ */
468
+
469
+ mcp-proxy/dist/stdio-CfAxSAGj.js:
470
+ /*!
471
+ * depd
472
+ * Copyright(c) 2014-2018 Douglas Christopher Wilson
473
+ * MIT Licensed
474
+ */
475
+ /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
476
+
477
+ react/cjs/react.production.js:
478
+ /**
479
+ * @license React
480
+ * react.production.js
481
+ *
482
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
483
+ *
484
+ * This source code is licensed under the MIT license found in the
485
+ * LICENSE file in the root directory of this source tree.
486
+ */
487
+
488
+ react/cjs/react.development.js:
489
+ /**
490
+ * @license React
491
+ * react.development.js
492
+ *
493
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
494
+ *
495
+ * This source code is licensed under the MIT license found in the
496
+ * LICENSE file in the root directory of this source tree.
497
+ */
498
+
499
+ react-reconciler/cjs/react-reconciler-constants.production.js:
500
+ /**
501
+ * @license React
502
+ * react-reconciler-constants.production.js
503
+ *
504
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
505
+ *
506
+ * This source code is licensed under the MIT license found in the
507
+ * LICENSE file in the root directory of this source tree.
508
+ */
509
+
510
+ react-reconciler/cjs/react-reconciler-constants.development.js:
511
+ /**
512
+ * @license React
513
+ * react-reconciler-constants.development.js
514
+ *
515
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
516
+ *
517
+ * This source code is licensed under the MIT license found in the
518
+ * LICENSE file in the root directory of this source tree.
519
+ */
520
+
521
+ scheduler/cjs/scheduler.production.js:
522
+ /**
523
+ * @license React
524
+ * scheduler.production.js
525
+ *
526
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
527
+ *
528
+ * This source code is licensed under the MIT license found in the
529
+ * LICENSE file in the root directory of this source tree.
530
+ */
531
+
532
+ scheduler/cjs/scheduler.development.js:
533
+ /**
534
+ * @license React
535
+ * scheduler.development.js
536
+ *
537
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
538
+ *
539
+ * This source code is licensed under the MIT license found in the
540
+ * LICENSE file in the root directory of this source tree.
541
+ */
542
+
543
+ react-reconciler/cjs/react-reconciler.production.js:
544
+ /**
545
+ * @license React
546
+ * react-reconciler.production.js
547
+ *
548
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
549
+ *
550
+ * This source code is licensed under the MIT license found in the
551
+ * LICENSE file in the root directory of this source tree.
552
+ */
553
+
554
+ react-reconciler/cjs/react-reconciler.development.js:
555
+ /**
556
+ * @license React
557
+ * react-reconciler.development.js
558
+ *
559
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
560
+ *
561
+ * This source code is licensed under the MIT license found in the
562
+ * LICENSE file in the root directory of this source tree.
563
+ */
564
+
565
+ react/cjs/react-compiler-runtime.production.js:
566
+ /**
567
+ * @license React
568
+ * react-compiler-runtime.production.js
569
+ *
570
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
571
+ *
572
+ * This source code is licensed under the MIT license found in the
573
+ * LICENSE file in the root directory of this source tree.
574
+ */
575
+
576
+ react/cjs/react-compiler-runtime.development.js:
577
+ /**
578
+ * @license React
579
+ * react-compiler-runtime.development.js
580
+ *
581
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
582
+ *
583
+ * This source code is licensed under the MIT license found in the
584
+ * LICENSE file in the root directory of this source tree.
585
+ */
586
+
587
+ react/cjs/react-jsx-runtime.production.js:
588
+ /**
589
+ * @license React
590
+ * react-jsx-runtime.production.js
591
+ *
592
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
593
+ *
594
+ * This source code is licensed under the MIT license found in the
595
+ * LICENSE file in the root directory of this source tree.
596
+ */
597
+
598
+ react/cjs/react-jsx-runtime.development.js:
599
+ /**
600
+ * @license React
601
+ * react-jsx-runtime.development.js
602
+ *
603
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
604
+ *
605
+ * This source code is licensed under the MIT license found in the
606
+ * LICENSE file in the root directory of this source tree.
607
+ */
@@ -77,8 +77,9 @@ content_probe_min_period_chars = 48
77
77
  # Exact match or a single trailing *; case-insensitive. Highest-tier TOML
78
78
  # replaces the whole list (`[]` clears). Main and subagent each evaluate their
79
79
  # own active model independently.
80
- # Example: ["codely-core*", "gpt-5*", "claude-*"]
81
- loop_detection_exempt_model = ["codely-core*"]
80
+ # Empty by default: no model is exempt out of the box. Opt in per model, e.g.
81
+ # loop_detection_exempt_model = ["codely-core*", "gpt-5*", "claude-*"]
82
+ loop_detection_exempt_model = []
82
83
 
83
84
  judge_system_prompt = """
84
85
  An unproductive state is characterized by one or more of the following patterns over the last 5 or more assistant turns:
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "tree-sitter-bash",
3
+ "version": "0.25.0",
4
+ "description": "Bash grammar for tree-sitter",
5
+ "repository": "https://github.com/tree-sitter/tree-sitter-bash",
6
+ "license": "MIT",
7
+ "author": {
8
+ "name": "Max Brunsfeld",
9
+ "email": "maxbrunsfeld@gmail.com"
10
+ },
11
+ "maintainers": [
12
+ {
13
+ "name": "Amaan Qureshi",
14
+ "email": "amaanq12@gmail.com"
15
+ }
16
+ ],
17
+ "main": "bindings/node",
18
+ "types": "bindings/node",
19
+ "keywords": [
20
+ "incremental",
21
+ "parsing",
22
+ "tree-sitter",
23
+ "bash"
24
+ ],
25
+ "files": [
26
+ "grammar.js",
27
+ "tree-sitter.json",
28
+ "binding.gyp",
29
+ "prebuilds/**",
30
+ "bindings/node/*",
31
+ "queries/*",
32
+ "src/**",
33
+ "*.wasm"
34
+ ],
35
+ "dependencies": {
36
+ "node-addon-api": "^8.2.1",
37
+ "node-gyp-build": "^4.8.2"
38
+ },
39
+ "devDependencies": {
40
+ "eslint": "^9.12.0",
41
+ "eslint-config-treesitter": "^1.0.2",
42
+ "tree-sitter-cli": "^0.25.5",
43
+ "prebuildify": "^6.0.1"
44
+ },
45
+ "peerDependencies": {
46
+ "tree-sitter": "^0.25.0"
47
+ },
48
+ "peerDependenciesMeta": {
49
+ "tree-sitter": {
50
+ "optional": true
51
+ }
52
+ },
53
+ "scripts": {
54
+ "install": "node-gyp-build",
55
+ "lint": "eslint grammar.js",
56
+ "prestart": "tree-sitter build --wasm",
57
+ "start": "tree-sitter playground",
58
+ "test": "node --test bindings/node/*_test.js"
59
+ }
60
+ }