@leanspec/ui 0.2.24 → 0.2.25
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.
- package/dist/{_baseUniq-0KC2LwTU.js → _baseUniq-BTv7M834.js} +1 -1
- package/dist/{arc-BF3pCZeb.js → arc-GsL4cqyW.js} +1 -1
- package/dist/{architecture-U656AL7Q-Dvz3aEBf.js → architecture-U656AL7Q-DL2Qaesc.js} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-DUvgrr6M.js → architectureDiagram-VXUJARFQ-DhRxYxVL.js} +3 -3
- package/dist/assets/{_baseUniq-zaVu3d-8.js → _baseUniq-Deb5Ms7c.js} +1 -1
- package/dist/assets/{arc-CNsbs1Hc.js → arc-Buu9h4aM.js} +1 -1
- package/dist/assets/{architectureDiagram-VXUJARFQ-CNRNXzWH.js → architectureDiagram-VXUJARFQ-C3TCHsQ1.js} +1 -1
- package/dist/assets/{blockDiagram-VD42YOAC-B-z5fhLO.js → blockDiagram-VD42YOAC-DSFIE2zv.js} +1 -1
- package/dist/assets/{c4Diagram-YG6GDRKO-D1wRy3rn.js → c4Diagram-YG6GDRKO-BGmtJFyE.js} +1 -1
- package/dist/assets/channel-DXSNL_In.js +1 -0
- package/dist/assets/{chunk-4BX2VUAB-Ju0iuf5T.js → chunk-4BX2VUAB-DMwZgyny.js} +1 -1
- package/dist/assets/{chunk-55IACEB6-BOKBDX1b.js → chunk-55IACEB6-BS2IX41E.js} +1 -1
- package/dist/assets/{chunk-B4BG7PRW-DsLx2FWG.js → chunk-B4BG7PRW-B8eM1odI.js} +1 -1
- package/dist/assets/{chunk-DI55MBZ5-DVZlU9hx.js → chunk-DI55MBZ5-o67_VCyE.js} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-DcibvRDC.js → chunk-FMBD7UC4-BcEYG9iw.js} +1 -1
- package/dist/assets/{chunk-QN33PNHL-CNdyoS13.js → chunk-QN33PNHL-DTvKnDBL.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-B6wDkRFR.js → chunk-QZHKN3VN-Bi5HqsVm.js} +1 -1
- package/dist/assets/{chunk-TZMSLE5B-DiRAl639.js → chunk-TZMSLE5B-BthbcwRa.js} +1 -1
- package/dist/assets/classDiagram-2ON5EDUG-DF__c9oZ.js +1 -0
- package/dist/assets/classDiagram-v2-WZHVMYZB-DF__c9oZ.js +1 -0
- package/dist/assets/clone-yzvp7c46.js +1 -0
- package/dist/assets/{code-block-37QAKDTI-D0bYQ3tc.js → code-block-37QAKDTI-SzwmDSkS.js} +1 -1
- package/dist/assets/{cose-bilkent-S5V4N54A-C7eFSjsi.js → cose-bilkent-S5V4N54A-DbRhVW8y.js} +1 -1
- package/dist/assets/{dagre-6UL2VRFP-Chm9A17M.js → dagre-6UL2VRFP-D_VH5kFn.js} +1 -1
- package/dist/assets/devopicons-JYBX4xNv.woff2 +0 -0
- package/dist/assets/{diagram-PSM6KHXK-CCbDlCx9.js → diagram-PSM6KHXK-BbXozfvF.js} +1 -1
- package/dist/assets/{diagram-QEK2KX5R-Dtd49XA6.js → diagram-QEK2KX5R-CI0xoYPG.js} +1 -1
- package/dist/assets/{diagram-S2PKOQOG-0K2p7g5b.js → diagram-S2PKOQOG-De1ir5Gb.js} +1 -1
- package/dist/assets/{erDiagram-Q2GNP2WA-jqGcgMyf.js → erDiagram-Q2GNP2WA-BFw_wW_L.js} +1 -1
- package/dist/assets/file-icons-Byv9wKV-.woff2 +0 -0
- package/dist/assets/{flowDiagram-NV44I4VS-Dq-5nSyY.js → flowDiagram-NV44I4VS-DyVvOAX3.js} +1 -1
- package/dist/assets/fontawesome-B-jkhYfk.woff2 +0 -0
- package/dist/assets/{ganttDiagram-JELNMOA3-I2WySoN5.js → ganttDiagram-JELNMOA3-DTFARGAn.js} +1 -1
- package/dist/assets/{gitGraphDiagram-NY62KEGX-B-rqrf_i.js → gitGraphDiagram-NY62KEGX-DnO4UpgE.js} +1 -1
- package/dist/assets/{graph-BXq8Vy6g.js → graph-DUzLz0PA.js} +1 -1
- package/dist/assets/index-8bAo-Ya1.js +2242 -0
- package/dist/assets/index-DpQZDEhA.css +1 -0
- package/dist/assets/{infoDiagram-WHAUD3N6-C7RcpAsC.js → infoDiagram-WHAUD3N6-BEUgS7mj.js} +1 -1
- package/dist/assets/{journeyDiagram-XKPGCS4Q-CzPy13x7.js → journeyDiagram-XKPGCS4Q-BlNh1zHL.js} +1 -1
- package/dist/assets/{kanban-definition-3W4ZIXB7-BwjszvCG.js → kanban-definition-3W4ZIXB7-D4KqvMxd.js} +1 -1
- package/dist/assets/{layout-tBkKcjOH.js → layout-C69Vzf47.js} +1 -1
- package/dist/assets/mfixx-DfQCz-aF.woff2 +0 -0
- package/dist/assets/{min-L_dIkaz8.js → min-BgYUCOZC.js} +1 -1
- package/dist/assets/{mindmap-definition-VGOIOE7T-Dv_R0Kzs.js → mindmap-definition-VGOIOE7T-CBfzzNul.js} +1 -1
- package/dist/assets/octicons-CS-gsnb3.woff2 +0 -0
- package/dist/assets/{pieDiagram-ADFJNKIX-DBdEQqzX.js → pieDiagram-ADFJNKIX-BH4Rg8wz.js} +1 -1
- package/dist/assets/{quadrantDiagram-AYHSOK5B-DSe0t1Vr.js → quadrantDiagram-AYHSOK5B-BFz2Bllq.js} +1 -1
- package/dist/assets/{requirementDiagram-UZGBJVZJ-DINdLdJg.js → requirementDiagram-UZGBJVZJ-DxdMfd_i.js} +1 -1
- package/dist/assets/{sankeyDiagram-TZEHDZUN-ByLK18cs.js → sankeyDiagram-TZEHDZUN-CQZM-FY2.js} +1 -1
- package/dist/assets/{sequenceDiagram-WL72ISMW-BtwZoEF6.js → sequenceDiagram-WL72ISMW-DM3FHm-E.js} +1 -1
- package/dist/assets/{stateDiagram-FKZM4ZOC-B_dGGh5t.js → stateDiagram-FKZM4ZOC-CquvRUcS.js} +1 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-fmuxwJig.js +1 -0
- package/dist/assets/{timeline-definition-IT6M3QCI-BKq8fAVj.js → timeline-definition-IT6M3QCI-peYNY-nB.js} +1 -1
- package/dist/assets/{treemap-KMMF4GRG-DpzypmYP.js → treemap-KMMF4GRG-Cr2QSg6a.js} +1 -1
- package/dist/assets/{xychartDiagram-PRI3JC2R-B2nRsBEy.js → xychartDiagram-PRI3JC2R-H327siGT.js} +1 -1
- package/dist/{blockDiagram-VD42YOAC-C5CukG0j.js → blockDiagram-VD42YOAC-CAgANapr.js} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-D700bLUP.js → c4Diagram-YG6GDRKO-BUw8hNx5.js} +2 -2
- package/dist/{channel-Cti7M2bZ.js → channel-CRd-JKjv.js} +1 -1
- package/dist/{chunk-4BX2VUAB-CgLsIbqb.js → chunk-4BX2VUAB-6tNpYwPa.js} +1 -1
- package/dist/{chunk-55IACEB6-BlgtjLk2.js → chunk-55IACEB6-2hXhhF7j.js} +1 -1
- package/dist/{chunk-B4BG7PRW-B0F1XFJz.js → chunk-B4BG7PRW-C-2biLpP.js} +4 -4
- package/dist/{chunk-DI55MBZ5-DHtjqtxd.js → chunk-DI55MBZ5-Cp5Rk4Z4.js} +3 -3
- package/dist/{chunk-FMBD7UC4-d2R18kU3.js → chunk-FMBD7UC4-MdCVmzo1.js} +1 -1
- package/dist/{chunk-QN33PNHL-hc_HFHv7.js → chunk-QN33PNHL-B4huGwhH.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DFrM02dn.js → chunk-QZHKN3VN-DBNnz3QF.js} +1 -1
- package/dist/{chunk-TZMSLE5B-BKKjuHyU.js → chunk-TZMSLE5B-C0UUeY_R.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-CWBGyk3O.js → classDiagram-2ON5EDUG-CNDoWJPi.js} +2 -2
- package/dist/{classDiagram-2ON5EDUG-CWBGyk3O.js → classDiagram-v2-WZHVMYZB-CNDoWJPi.js} +2 -2
- package/dist/{clone-C-SjnjM3.js → clone-NOdph9FW.js} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-DP3AP0OF.js → cose-bilkent-S5V4N54A-CGzTFBg6.js} +1 -1
- package/dist/{dagre-6UL2VRFP-D9e9iL9P.js → dagre-6UL2VRFP-Dbb2Qtkd.js} +5 -5
- package/dist/{diagram-PSM6KHXK-BpO0cxRG.js → diagram-PSM6KHXK-BkHIn4Na.js} +4 -4
- package/dist/{diagram-QEK2KX5R-CSMfjuPl.js → diagram-QEK2KX5R-C2SOXIsZ.js} +3 -3
- package/dist/{diagram-S2PKOQOG-Csx2ehrH.js → diagram-S2PKOQOG-Dhg7S4sS.js} +3 -3
- package/dist/{erDiagram-Q2GNP2WA-X4t9tzNA.js → erDiagram-Q2GNP2WA-DNtKi97U.js} +4 -4
- package/dist/{flowDiagram-NV44I4VS-JVEdioX6.js → flowDiagram-NV44I4VS-BUqt43hW.js} +5 -5
- package/dist/{ganttDiagram-JELNMOA3-BksGSOHP.js → ganttDiagram-JELNMOA3-B2Lg_NoT.js} +2 -2
- package/dist/{gitGraph-F6HP7TQM-OK0kClD7.js → gitGraph-F6HP7TQM-CHYr4iss.js} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-BRpBdTVE.js → gitGraphDiagram-NY62KEGX-opS5iBAi.js} +4 -4
- package/dist/{graph-Czb_7a7B.js → graph-C4lFiFlc.js} +2 -2
- package/dist/{index-iCTLJvaV.js → index-Y0he5qiC.js} +7101 -7073
- package/dist/index.html +2 -2
- package/dist/info-NVLQJR56-CtYMindw.js +5 -0
- package/dist/{infoDiagram-WHAUD3N6-DWuyY_dJ.js → infoDiagram-WHAUD3N6-jD1UokkI.js} +2 -2
- package/dist/{journeyDiagram-XKPGCS4Q-CrnINICH.js → journeyDiagram-XKPGCS4Q-DiH_3HWQ.js} +4 -4
- package/dist/{kanban-definition-3W4ZIXB7-64OgHBcl.js → kanban-definition-3W4ZIXB7-Ct8nHz6y.js} +2 -2
- package/dist/{layout-Bx4_X9_k.js → layout-BB0ezvOF.js} +4 -4
- package/dist/lib/components/files/CodeViewer.d.ts +7 -0
- package/dist/lib/components/files/FileExplorer.d.ts +29 -0
- package/dist/lib/components/files/FileIcon.d.ts +7 -0
- package/dist/lib/components/library/ai-elements/prompt-input.d.ts +1 -0
- package/dist/lib/components/library/navigation/back-to-top.d.ts +3 -1
- package/dist/lib/components/library/project/project-avatar.d.ts +1 -1
- package/dist/lib/components/library/ui/avatar.d.ts +2 -2
- package/dist/lib/components/library/ui/input-group.d.ts +1 -1
- package/dist/lib/components/searchable-select.d.ts +12 -0
- package/dist/lib/components/session-detail-layout.context.d.ts +5 -0
- package/dist/lib/components/session-detail-layout.d.ts +1 -0
- package/dist/lib/components/session-status-badge.d.ts +9 -0
- package/dist/lib/components/sessions/acp-conversation.d.ts +13 -0
- package/dist/lib/components/sessions/collapsible-json-log.d.ts +5 -0
- package/dist/lib/components/sessions/session-create-dialog.d.ts +1 -5
- package/dist/lib/components/sessions/session-duration-badge.d.ts +8 -0
- package/dist/lib/components/sessions/session-mode-badge.d.ts +6 -0
- package/dist/lib/components/sessions-nav-sidebar.d.ts +6 -0
- package/dist/lib/components/shared/back-to-top.d.ts +5 -1
- package/dist/lib/components/shared/project-avatar.d.ts +1 -1
- package/dist/lib/components/spec-context-attachments.d.ts +26 -0
- package/dist/lib/components/spec-search-select.d.ts +8 -0
- package/dist/lib/components/specs/board-view.d.ts +1 -1
- package/dist/lib/components/specs/list-view.d.ts +1 -1
- package/dist/lib/hooks/useSessionsQuery.d.ts +2 -0
- package/dist/lib/index.js +1 -1
- package/dist/lib/lib/api.d.ts +10 -2
- package/dist/lib/lib/backend-adapter/core.d.ts +12 -3
- package/dist/lib/lib/backend-adapter/http.d.ts +10 -2
- package/dist/lib/lib/backend-adapter/tauri.d.ts +10 -2
- package/dist/lib/lib/session-stream.d.ts +15 -0
- package/dist/lib/lib/session-utils.d.ts +25 -1
- package/dist/lib/locales/en/common.json.d.ts +95 -2
- package/dist/lib/locales/zh-CN/common.json.d.ts +68 -2
- package/dist/lib/pages/FilesPage.d.ts +5 -0
- package/dist/lib/stores/sessions-sidebar.d.ts +19 -0
- package/dist/lib/stores/settings-filters.d.ts +4 -0
- package/dist/lib/types/api.d.ts +111 -0
- package/dist/{linear-D6e8ml0A.js → linear-22T2wQM-.js} +1 -1
- package/dist/{mermaid-parser.core-CJoVqMU2.js → mermaid-parser.core-7H2TB5OK.js} +10 -10
- package/dist/{min-D0H_bVmw.js → min-CTCa51YR.js} +2 -2
- package/dist/{mindmap-definition-VGOIOE7T-c7LG-I9l.js → mindmap-definition-VGOIOE7T-Vr4FAsaw.js} +3 -3
- package/dist/{packet-BFZMPI3H-Xg1qsh9M.js → packet-BFZMPI3H-DaHUmEbo.js} +1 -1
- package/dist/pie-7BOR55EZ-CdGJxDmJ.js +5 -0
- package/dist/{pieDiagram-ADFJNKIX-Dq5FSMbe.js → pieDiagram-ADFJNKIX-B00pZd9u.js} +4 -4
- package/dist/{quadrantDiagram-AYHSOK5B-CSC6AaCS.js → quadrantDiagram-AYHSOK5B-CBFHSPbe.js} +2 -2
- package/dist/radar-NHE76QYJ-BdSRFNw4.js +5 -0
- package/dist/{requirementDiagram-UZGBJVZJ-B1VMLqi1.js → requirementDiagram-UZGBJVZJ-CcWV4kDd.js} +3 -3
- package/dist/{sankeyDiagram-TZEHDZUN-5yhAl98J.js → sankeyDiagram-TZEHDZUN-Bh_9B5Is.js} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-BdRUPrKR.js → sequenceDiagram-WL72ISMW-CXSDC0SA.js} +3 -3
- package/dist/{stateDiagram-FKZM4ZOC-ieQQjJqa.js → stateDiagram-FKZM4ZOC-BSe9CFeA.js} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-CMJV60i9.js → stateDiagram-v2-4FDKWEC3-Ci8JXu6f.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-CgpuLO53.js → timeline-definition-IT6M3QCI-KvPKQjWb.js} +2 -2
- package/dist/{treemap-KMMF4GRG-C-mDpIlT.js → treemap-KMMF4GRG-CQejoiGu.js} +1 -1
- package/dist/ui.css +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-CQmC0pjv.js → xychartDiagram-PRI3JC2R-BgtmCQ1i.js} +2 -2
- package/package.json +3 -2
- package/src/index.css +2 -6
- package/dist/assets/channel-C1utiKyQ.js +0 -1
- package/dist/assets/classDiagram-2ON5EDUG-DHe9K9aJ.js +0 -1
- package/dist/assets/classDiagram-v2-WZHVMYZB-DHe9K9aJ.js +0 -1
- package/dist/assets/clone-BP5MKGQF.js +0 -1
- package/dist/assets/index-CiNlAQ9U.js +0 -2224
- package/dist/assets/index-CzAbEYUe.css +0 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-lqWWS4Yz.js +0 -1
- package/dist/info-NVLQJR56-BY80xctL.js +0 -5
- package/dist/lib/components/badge-config.d.ts +0 -13
- package/dist/pie-7BOR55EZ-DTOFOZjt.js +0 -5
- package/dist/radar-NHE76QYJ-C6sDWiPq.js +0 -5
package/dist/index.html
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
<link rel="apple-touch-icon" href="/logo.svg" />
|
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
10
10
|
<title>LeanSpec</title>
|
|
11
|
-
<script type="module" crossorigin src="/assets/index-
|
|
12
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
11
|
+
<script type="module" crossorigin src="/assets/index-8bAo-Ya1.js"></script>
|
|
12
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DpQZDEhA.css">
|
|
13
13
|
</head>
|
|
14
14
|
|
|
15
15
|
<body>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e, l as s, H as o, e as i, I as g } from "./index-
|
|
2
|
-
import { p } from "./mermaid-parser.core-
|
|
1
|
+
import { _ as e, l as s, H as o, e as i, I as g } from "./index-Y0he5qiC.js";
|
|
2
|
+
import { p } from "./mermaid-parser.core-7H2TB5OK.js";
|
|
3
3
|
var v = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (r) => {
|
|
5
5
|
const a = await p("info", r);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as gt, g as lt, f as mt, d as xt } from "./chunk-TZMSLE5B-
|
|
2
|
-
import { g as kt } from "./chunk-FMBD7UC4-
|
|
3
|
-
import { _ as n, g as _t, s as vt, a as bt, b as wt, q as Tt, p as St, c as R, d as X, e as $t, y as Mt } from "./index-
|
|
4
|
-
import { d as et } from "./arc-
|
|
1
|
+
import { a as gt, g as lt, f as mt, d as xt } from "./chunk-TZMSLE5B-C0UUeY_R.js";
|
|
2
|
+
import { g as kt } from "./chunk-FMBD7UC4-MdCVmzo1.js";
|
|
3
|
+
import { _ as n, g as _t, s as vt, a as bt, b as wt, q as Tt, p as St, c as R, d as X, e as $t, y as Mt } from "./index-Y0he5qiC.js";
|
|
4
|
+
import { d as et } from "./arc-GsL4cqyW.js";
|
|
5
5
|
var U = (function() {
|
|
6
6
|
var t = /* @__PURE__ */ n(function(h, i, a, l) {
|
|
7
7
|
for (a = a || {}, l = h.length; l--; a[h[l]] = i) ;
|
package/dist/{kanban-definition-3W4ZIXB7-64OgHBcl.js → kanban-definition-3W4ZIXB7-Ct8nHz6y.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o, l as te, c as U, H as fe, af as ye, ag as be, ah as me, V as _e, F as Y, i as j, t as Ee, J as ke, W as Se, X as ce, Y as le } from "./index-
|
|
2
|
-
import { g as Ne } from "./chunk-FMBD7UC4-
|
|
1
|
+
import { _ as o, l as te, c as U, H as fe, af as ye, ag as be, ah as me, V as _e, F as Y, i as j, t as Ee, J as ke, W as Se, X as ce, Y as le } from "./index-Y0he5qiC.js";
|
|
2
|
+
import { g as Ne } from "./chunk-FMBD7UC4-MdCVmzo1.js";
|
|
3
3
|
var $ = (function() {
|
|
4
4
|
var e = /* @__PURE__ */ o(function(O, i, n, r) {
|
|
5
5
|
for (n = n || {}, r = O.length; r--; n[O[r]] = i) ;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as Ve, G as g, i as m, v as E } from "./graph-
|
|
2
|
-
import { i as X, d as C, k as Ye, o as $e, p as ve, q as pe, t as De, u as we, v as qe, w as be, c as V, x as We, b as Xe, y as ze, n as f, m as I, r as B } from "./_baseUniq-
|
|
3
|
-
import { f as O, b as me, a as He, c as Ue, m as w, d as P } from "./min-
|
|
4
|
-
import { aZ as M, bi as Ze, bj as Je, b4 as ge, bk as S, aQ as ye, bl as Ke, aD as Qe, bm as en, bn as nn, aF as xe, bo as rn, b3 as Ee, aE as ke, aX as tn, b6 as an, bp as z } from "./index-
|
|
1
|
+
import { b as Ve, G as g, i as m, v as E } from "./graph-C4lFiFlc.js";
|
|
2
|
+
import { i as X, d as C, k as Ye, o as $e, p as ve, q as pe, t as De, u as we, v as qe, w as be, c as V, x as We, b as Xe, y as ze, n as f, m as I, r as B } from "./_baseUniq-BTv7M834.js";
|
|
3
|
+
import { f as O, b as me, a as He, c as Ue, m as w, d as P } from "./min-CTCa51YR.js";
|
|
4
|
+
import { aZ as M, bi as Ze, bj as Je, b4 as ge, bk as S, aQ as ye, bl as Ke, aD as Qe, bm as en, bn as nn, aF as xe, bo as rn, b3 as Ee, aE as ke, aX as tn, b6 as an, bp as z } from "./index-Y0he5qiC.js";
|
|
5
5
|
var on = /\s/;
|
|
6
6
|
function un(e) {
|
|
7
7
|
for (var n = e.length; n-- && on.test(e.charAt(n)); )
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FileContentResponse } from '../../types/api';
|
|
2
|
+
interface CodeViewerProps {
|
|
3
|
+
file: FileContentResponse;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function CodeViewer({ file, className }: CodeViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FileListResponse } from '../../types/api';
|
|
2
|
+
interface FileExplorerProps {
|
|
3
|
+
/** Initial root listing */
|
|
4
|
+
rootListing: FileListResponse;
|
|
5
|
+
/** Currently selected file path */
|
|
6
|
+
selectedPath?: string;
|
|
7
|
+
/** Called when user clicks a file */
|
|
8
|
+
onFileSelect: (path: string) => void;
|
|
9
|
+
}
|
|
10
|
+
interface TreeNode {
|
|
11
|
+
name: string;
|
|
12
|
+
path: string;
|
|
13
|
+
type: 'file' | 'directory';
|
|
14
|
+
size?: number;
|
|
15
|
+
ignored?: boolean;
|
|
16
|
+
children?: TreeNode[];
|
|
17
|
+
loaded?: boolean;
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
expanded?: boolean;
|
|
20
|
+
}
|
|
21
|
+
interface FileTreeProps {
|
|
22
|
+
rootListing: FileListResponse;
|
|
23
|
+
selectedPath?: string;
|
|
24
|
+
onFileSelect: (path: string) => void;
|
|
25
|
+
onNodesChange?: (nodes: TreeNode[]) => void;
|
|
26
|
+
}
|
|
27
|
+
export declare function FileTree({ rootListing, selectedPath, onFileSelect, onNodesChange }: FileTreeProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare function FileExplorer({ rootListing, selectedPath, onFileSelect }: FileExplorerProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export {};
|
|
@@ -54,6 +54,7 @@ export declare const PromptInputActionAddAttachments: ({ label, ...props }: Prom
|
|
|
54
54
|
export interface PromptInputMessage {
|
|
55
55
|
text: string;
|
|
56
56
|
files: FileUIPart[];
|
|
57
|
+
referencedSources: SourceDocumentUIPart[];
|
|
57
58
|
}
|
|
58
59
|
export type PromptInputProps = Omit<HTMLAttributes<HTMLFormElement>, "onSubmit" | "onError"> & {
|
|
59
60
|
accept?: string;
|
|
@@ -11,5 +11,7 @@ export interface BackToTopProps {
|
|
|
11
11
|
bottom?: string | number;
|
|
12
12
|
/** Position from right (in pixels or CSS value) */
|
|
13
13
|
right?: string | number;
|
|
14
|
+
/** Optional target scroll container element id. Falls back to window. */
|
|
15
|
+
targetId?: string;
|
|
14
16
|
}
|
|
15
|
-
export declare function BackToTop({ threshold, className, bottom, right, }: BackToTopProps): import("react/jsx-runtime").JSX.Element | null;
|
|
17
|
+
export declare function BackToTop({ threshold, className, bottom, right, targetId, }: BackToTopProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -2,11 +2,11 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
4
4
|
declare const avatarVariants: (props?: ({
|
|
5
|
-
size?: "default" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
5
|
+
size?: "default" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export type AvatarProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> & VariantProps<typeof avatarVariants>;
|
|
8
8
|
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
|
|
9
|
-
size?: "default" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
|
+
size?: "default" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
10
10
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLSpanElement>>;
|
|
11
11
|
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
12
12
|
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -7,7 +7,7 @@ declare const inputGroupAddonVariants: (props?: ({
|
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
declare const inputGroupButtonVariants: (props?: ({
|
|
10
|
-
size?: "
|
|
10
|
+
size?: "xs" | "sm" | "icon-sm" | "icon-xs" | null | undefined;
|
|
11
11
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
12
12
|
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface SearchableSelectProps {
|
|
2
|
+
value: string;
|
|
3
|
+
onValueChange: (value: string) => void;
|
|
4
|
+
options: {
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}[];
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
searchPlaceholder?: string;
|
|
10
|
+
emptyText?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function SearchableSelect({ value, onValueChange, options, placeholder, searchPlaceholder, emptyText, }: SearchableSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function SessionDetailLayout(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SessionStatus } from '../types/api';
|
|
2
|
+
interface SessionStatusBadgeProps {
|
|
3
|
+
status: SessionStatus;
|
|
4
|
+
className?: string;
|
|
5
|
+
iconOnly?: boolean;
|
|
6
|
+
responsive?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function SessionStatusBadge({ status, className, iconOnly, responsive }: SessionStatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SessionStreamEvent } from '../../types/api';
|
|
2
|
+
interface AcpConversationProps {
|
|
3
|
+
events: SessionStreamEvent[];
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
emptyTitle: string;
|
|
6
|
+
emptyDescription: string;
|
|
7
|
+
onPermissionResponse?: (permissionId: string, option: string) => void;
|
|
8
|
+
isPermissionResponding?: (permissionId: string) => boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function AcpConversation({ events, loading, emptyTitle, emptyDescription, onPermissionResponse, isPermissionResponding, className, }: AcpConversationProps & {
|
|
11
|
+
className?: string;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -4,11 +4,7 @@ interface SessionCreateDialogProps {
|
|
|
4
4
|
onOpenChange: (open: boolean) => void;
|
|
5
5
|
projectPath?: string | null;
|
|
6
6
|
defaultSpecId?: string | null;
|
|
7
|
-
specOptions?: Array<{
|
|
8
|
-
id: string;
|
|
9
|
-
label: string;
|
|
10
|
-
}>;
|
|
11
7
|
onCreated?: (session: Session) => void;
|
|
12
8
|
}
|
|
13
|
-
export declare function SessionCreateDialog({ open, onOpenChange, projectPath, defaultSpecId,
|
|
9
|
+
export declare function SessionCreateDialog({ open, onOpenChange, projectPath, defaultSpecId, onCreated, }: SessionCreateDialogProps): import("react/jsx-runtime").JSX.Element | null;
|
|
14
10
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface SessionDurationBadgeProps {
|
|
2
|
+
duration: string;
|
|
3
|
+
/** 'pill' renders a muted rounded badge (sidebar style); 'text' renders inline text (list style) */
|
|
4
|
+
variant?: 'pill' | 'text';
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function SessionDurationBadge({ duration, variant, className }: SessionDurationBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface SessionsNavSidebarProps {
|
|
2
|
+
mobileOpen?: boolean;
|
|
3
|
+
onMobileOpenChange?: (open: boolean) => void;
|
|
4
|
+
}
|
|
5
|
+
export declare function SessionsNavSidebar({ mobileOpen, onMobileOpenChange }: SessionsNavSidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -3,7 +3,7 @@ interface ProjectAvatarProps {
|
|
|
3
3
|
name: string;
|
|
4
4
|
color?: string | null;
|
|
5
5
|
icon?: string;
|
|
6
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
9
|
export declare function ProjectAvatar({ name, color, icon, size, className, }: ProjectAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Spec } from '../types/api';
|
|
2
|
+
interface SpecContextAttachmentsProps {
|
|
3
|
+
specs: Spec[];
|
|
4
|
+
selectedSpecIds: string[];
|
|
5
|
+
onSelectedSpecIdsChange: (next: string[]) => void;
|
|
6
|
+
searchPlaceholder: string;
|
|
7
|
+
emptyLabel: string;
|
|
8
|
+
triggerLabel: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
/** Renders the selected spec chips. Place this above the textarea (e.g. in PromptInputHeader). */
|
|
12
|
+
export declare function SpecContextChips({ specs, selectedSpecIds, onSelectedSpecIdsChange, className, }: {
|
|
13
|
+
specs: Spec[];
|
|
14
|
+
selectedSpecIds: string[];
|
|
15
|
+
onSelectedSpecIdsChange: (next: string[]) => void;
|
|
16
|
+
className?: string;
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
18
|
+
/** Plus-icon button that opens a searchable spec picker popover. */
|
|
19
|
+
export declare function SpecContextTrigger({ specs, selectedSpecIds, onSelectedSpecIdsChange, searchPlaceholder, emptyLabel, triggerLabel, className, }: SpecContextAttachmentsProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Use SpecContextTrigger + SpecContextChips separately for the new layout.
|
|
22
|
+
*/
|
|
23
|
+
export declare function SpecContextAttachments(props: SpecContextAttachmentsProps & {
|
|
24
|
+
addLabel?: string;
|
|
25
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Spec } from '../types/api';
|
|
2
|
+
export interface SpecSearchSelectProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onValueChange: (value: string) => void;
|
|
5
|
+
specs: Spec[];
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function SpecSearchSelect({ value, onValueChange, specs, placeholder }: SpecSearchSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,5 +11,5 @@ interface BoardViewProps {
|
|
|
11
11
|
onTokenClick?: (specName: string) => void;
|
|
12
12
|
onValidationClick?: (specName: string) => void;
|
|
13
13
|
}
|
|
14
|
-
export declare
|
|
14
|
+
export declare const BoardView: import('react').NamedExoticComponent<BoardViewProps>;
|
|
15
15
|
export {};
|
|
@@ -12,5 +12,5 @@ interface ListViewProps {
|
|
|
12
12
|
onStatusChange?: (spec: Spec, status: SpecStatus) => void;
|
|
13
13
|
onPriorityChange?: (spec: Spec, priority: string) => void;
|
|
14
14
|
}
|
|
15
|
-
export declare
|
|
15
|
+
export declare const ListView: import('react').NamedExoticComponent<ListViewProps>;
|
|
16
16
|
export {};
|
|
@@ -9,7 +9,9 @@ export declare function useSession(projectId: string | null, sessionId: string |
|
|
|
9
9
|
export declare function useSessionMutations(projectId: string | null): {
|
|
10
10
|
createSession: import('@tanstack/react-query').UseMutateAsyncFunction<import('../types/api').Session, Error, {
|
|
11
11
|
projectPath: string;
|
|
12
|
+
specIds?: string[];
|
|
12
13
|
specId?: string | null;
|
|
14
|
+
prompt?: string | null;
|
|
13
15
|
runner?: string;
|
|
14
16
|
mode: SessionMode;
|
|
15
17
|
}, unknown>;
|
package/dist/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bB as t, bE as s, bC as o, bD as n, df as r, dh as i, dg as c, di as l, dl as u, dk as d, dj as g, bF as m, bH as p, bG as C, dm as S, dt as h, ds as T, dp as I, du as f, dr as P, dn as b, dq as A, dA as k, dH as j, dE as D, dG as y, dF as M, dC as B, dB as v, dD as V, dz as x, dI as E, dK as L, dQ as H, dJ as R, dR as F, dL as w, dM as O, dN as G, dO as N, dP as Q, dS as U, bI as W, bK as q, bJ as J, jZ as K, bL as _, bN as z, bP as X, bQ as Y, bR as Z, dT as $, bT as aa, bZ as ea, bY as ta, bX as sa, bV as oa, bU as na, bW as ra, b_ as ia, b$ as ca, c0 as la, c2 as ua, c1 as da, dU as ga, dZ as ma, dV as pa, d_ as Ca, dY as Sa, dX as ha, dW as Ta, jF as Ia, d$ as fa, e0 as Pa, e1 as ba, e9 as Aa, e7 as ka, e3 as ja, e8 as Da, ea as ya, e6 as Ma, e4 as Ba, eb as va, ee as Va, ef as xa, ec as Ea, ed as La, e5 as Ha, c3 as Ra, c5 as Fa, c4 as wa, c6 as Oa, c7 as Ga, ca as Na, cb as Qa, c8 as Ua, cc as Wa, c9 as qa, ce as Ja, cd as Ka, eg as _a, eq as za, en as Xa, eo as Ya, es as Za, er as $a, eu as ae, eA as ee, ez as te, eB as se, ex as oe, ev as ne, ey as re, ew as ie, et as ce, ei as le, eh as ue, em as de, ej as ge, ek as me, el as pe, ep as Ce, eC as Se, eF as he, eI as Te, eH as Ie, eG as fe, eE as Pe, eD as be, eJ as Ae, jS as ke, eK as je, eT as De, eM as ye, eO as Me, eP as Be, eN as ve, eQ as Ve, eR as xe, jJ as Ee, eS as Le, eL as He, eU as Re, eV as Fe, eW as we, eX as Oe, eY as Ge, jH as Ne, jG as Qe, cf as Ue, cj as We, ck as qe, co as Je, cm as Ke, cl as _e, ch as ze, cg as Xe, cn as Ye, ci as Ze, cp as $e, ct as at, cr as et, cy as tt, cs as st, cv as ot, cz as nt, cD as rt, cu as it, cw as ct, cx as lt, cA as ut, cB as dt, cC as gt, cq as mt, eZ as pt, jC as Ct, f3 as St, f7 as ht, f4 as Tt, f5 as It, f8 as ft, f6 as Pt, e_ as bt, f2 as At, e$ as kt, f0 as jt, f1 as Dt, f9 as yt, fe as Mt, fb as Bt, fa as vt, fc as Vt, fd as xt, j$ as Et, k4 as Lt, cE as Ht, cG as Rt, cF as Ft, ff as wt, fg as Ot, fi as Gt, fk as Nt, fj as Qt, fl as Ut, fm as Wt, fo as qt, fp as Jt, fn as Kt, fr as _t, fq as zt, ft as Xt, fs as Yt, fh as Zt, cH as $t, cI as as, cJ as es, cK as ts, cM as ss, cL as os, cN as ns, jO as rs, fu as is, gJ as cs, jE as ls, fv as us, fy as ds, fx as gs, fz as ms, fA as ps, fD as Cs, fE as Ss, fC as hs, fB as Ts, fw as Is, fF as fs, fG as Ps, fH as bs, fJ as As, fM as ks, fK as js, fN as Ds, fO as ys, fL as Ms, fI as Bs, fP as vs, fR as Vs, fT as xs, fU as Es, fX as Ls, fY as Hs, fV as Rs, fZ as Fs, fW as ws, g0 as Os, g1 as Gs, g2 as Ns, f$ as Qs, f_ as Us, fS as Ws, g3 as qs, g7 as Js, g8 as Ks, g6 as _s, g9 as zs, g4 as Xs, g5 as Ys, ga as Zs, gg as $s, gh as ao, gb as eo, gl as to, gc as so, gd as oo, gj as no, ge as ro, gi as io, gf as co, gk as lo, kf as uo, gm as go, gp as mo, gs as po, gt as Co, gu as So, gr as ho, gn as To, go as Io, gq as fo, gv as Po, gw as bo, gx as Ao, gB as ko, gC as jo, gA as Do, gD as yo, gy as Mo, gz as Bo, gE as vo, cO as Vo, cR as xo, cQ as Eo, cP as Lo, js as Ho, jA as Ro, cS as Fo, k3 as wo, jT as Oo, jU as Go, jP as No, jW as Qo, jV as Uo, jD as Wo, gM as qo, gL as Jo, gT as Ko, gV as _o, gW as zo, gU as Xo, gN as Yo, gS as Zo, h9 as $o, hc as an, hd as en, ha as tn, he as sn, hb as on, hf as nn, gQ as rn, gP as cn, h1 as ln, h3 as un, h2 as dn, gH as gn, gY as mn, g_ as pn, g$ as Cn, gZ as Sn, h0 as hn, gX as Tn, h5 as In, h7 as fn, h8 as Pn, h6 as bn, h4 as An, gO as kn, gR as jn, hu as Dn, hg as yn, hl as Mn, hk as Bn, hm as vn, hi as Vn, hj as xn, ho as En, hn as Ln, hh as Hn, hp as Rn, hq as Fn, ht as wn, hs as On, hr as Gn, hw as Nn, hy as Qn, hx as Un, hz as Wn, hA as qn, hB as Jn, hD as Kn, hC as _n, hI as zn, hE as Xn, hF as Yn, hG as Zn, hH as $n, hJ as ar, hT as er, hO as tr, hN as sr, hV as or, hK as nr, hL as rr, hQ as ir, hP as cr, hM as lr, hU as ur, hR as dr, hS as gr, cT as mr, cU as pr, j_ as Cr, k0 as Sr, cV as hr, cZ as Tr, cW as Ir, c$ as fr, c_ as Pr, d2 as br, d1 as Ar, d0 as kr, cY as jr, cX as Dr, d3 as yr, jK as Mr, hW as Br, jQ as vr, d4 as Vr, hX as xr, hY as Er, h$ as Lr, h_ as Hr, hZ as Rr, i3 as Fr, i0 as wr, i2 as Or, i1 as Gr, ju as Nr, k5 as Qr, jM as Ur, jL as Wr, jx as qr, jy as Jr, jR as Kr, i4 as _r, i5 as zr, ia as Xr, id as Yr, ib as Zr, i7 as $r, i9 as ai, i8 as ei, ic as ti, ie as si, i6 as oi, k1 as ni, jN as ri, k2 as ii, jI as ci, jq as li, jz as ui, ih as di, ig as gi, d5 as mi, d6 as pi, d9 as Ci, d7 as Si, d8 as hi, jv as Ti, jw as Ii, jB as fi, ik as Pi, im as bi, ij as Ai, ii as ki, il as ji, io as Di, is as yi, iu as Mi, iv as Bi, it as vi, ip as Vi, ir as xi, iq as Ei, iG as Li, iJ as Hi, iK as Ri, iL as Fi, iM as wi, iI as Oi, iw as Gi, iB as Ni, iz as Qi, ix as Ui, iA as Wi, iy as qi, iH as Ji, iC as Ki, iF as _i, iD as zi, iE as Xi, da as Yi, jX as Zi, iN as $i, iT as ac, iQ as ec, iU as tc, iP as sc, iR as oc, iY as nc, iS as rc, iZ as ic, db as cc, dd as lc, de as uc, dc, i_ as gc, i$ as mc, j1 as pc, jd as Cc, je as Sc, jh as hc, ji as Tc, j3 as Ic, jg as fc, j4 as Pc, j7 as bc, jc as Ac, j8 as kc, j5 as jc, j9 as Dc, j6 as yc, jf as Mc, jj as Bc, jb as vc, ja as Vc, j2 as xc, jk as Ec, jo as Lc, jp as Hc, jl as Rc, jm as Fc, jn as wc, bM as Oc, kj as Gc, bS as Nc, bO as Qc, ka as Uc, jt as Wc, jt as qc, jr as Jc, jr as Kc, kb as _c, kc as zc, ke as Xc, kd as Yc, kk as Zc, dw as $c, kg as al, kh as el, ki as tl, dv as sl, km as ol, iO as nl, kl as rl, iV as il, iW as cl, e2 as ll, iX as ul, bA as dl, jt as gl, jr as ml, dy as pl, dx as Cl, fQ as Sl, k7 as hl, k8 as Tl, k6 as Il, gI as fl, gF as Pl, gK as bl, gG as Al, hv as kl, k9 as jl, jY as Dl, j0 as yl } from "../index-
|
|
1
|
+
import { bB as t, bE as s, bC as o, bD as n, df as r, dh as i, dg as c, di as l, dl as u, dk as d, dj as g, bF as m, bH as p, bG as C, dm as S, dt as h, ds as T, dp as I, du as f, dr as P, dn as b, dq as A, dA as k, dH as j, dE as D, dG as y, dF as M, dC as B, dB as v, dD as V, dz as x, dI as E, dK as L, dQ as H, dJ as R, dR as F, dL as w, dM as O, dN as G, dO as N, dP as Q, dS as U, bI as W, bK as q, bJ as J, jZ as K, bL as _, bN as z, bP as X, bQ as Y, bR as Z, dT as $, bT as aa, bZ as ea, bY as ta, bX as sa, bV as oa, bU as na, bW as ra, b_ as ia, b$ as ca, c0 as la, c2 as ua, c1 as da, dU as ga, dZ as ma, dV as pa, d_ as Ca, dY as Sa, dX as ha, dW as Ta, jF as Ia, d$ as fa, e0 as Pa, e1 as ba, e9 as Aa, e7 as ka, e3 as ja, e8 as Da, ea as ya, e6 as Ma, e4 as Ba, eb as va, ee as Va, ef as xa, ec as Ea, ed as La, e5 as Ha, c3 as Ra, c5 as Fa, c4 as wa, c6 as Oa, c7 as Ga, ca as Na, cb as Qa, c8 as Ua, cc as Wa, c9 as qa, ce as Ja, cd as Ka, eg as _a, eq as za, en as Xa, eo as Ya, es as Za, er as $a, eu as ae, eA as ee, ez as te, eB as se, ex as oe, ev as ne, ey as re, ew as ie, et as ce, ei as le, eh as ue, em as de, ej as ge, ek as me, el as pe, ep as Ce, eC as Se, eF as he, eI as Te, eH as Ie, eG as fe, eE as Pe, eD as be, eJ as Ae, jS as ke, eK as je, eT as De, eM as ye, eO as Me, eP as Be, eN as ve, eQ as Ve, eR as xe, jJ as Ee, eS as Le, eL as He, eU as Re, eV as Fe, eW as we, eX as Oe, eY as Ge, jH as Ne, jG as Qe, cf as Ue, cj as We, ck as qe, co as Je, cm as Ke, cl as _e, ch as ze, cg as Xe, cn as Ye, ci as Ze, cp as $e, ct as at, cr as et, cy as tt, cs as st, cv as ot, cz as nt, cD as rt, cu as it, cw as ct, cx as lt, cA as ut, cB as dt, cC as gt, cq as mt, eZ as pt, jC as Ct, f3 as St, f7 as ht, f4 as Tt, f5 as It, f8 as ft, f6 as Pt, e_ as bt, f2 as At, e$ as kt, f0 as jt, f1 as Dt, f9 as yt, fe as Mt, fb as Bt, fa as vt, fc as Vt, fd as xt, j$ as Et, k4 as Lt, cE as Ht, cG as Rt, cF as Ft, ff as wt, fg as Ot, fi as Gt, fk as Nt, fj as Qt, fl as Ut, fm as Wt, fo as qt, fp as Jt, fn as Kt, fr as _t, fq as zt, ft as Xt, fs as Yt, fh as Zt, cH as $t, cI as as, cJ as es, cK as ts, cM as ss, cL as os, cN as ns, jO as rs, fu as is, gJ as cs, jE as ls, fv as us, fy as ds, fx as gs, fz as ms, fA as ps, fD as Cs, fE as Ss, fC as hs, fB as Ts, fw as Is, fF as fs, fG as Ps, fH as bs, fJ as As, fM as ks, fK as js, fN as Ds, fO as ys, fL as Ms, fI as Bs, fP as vs, fR as Vs, fT as xs, fU as Es, fX as Ls, fY as Hs, fV as Rs, fZ as Fs, fW as ws, g0 as Os, g1 as Gs, g2 as Ns, f$ as Qs, f_ as Us, fS as Ws, g3 as qs, g7 as Js, g8 as Ks, g6 as _s, g9 as zs, g4 as Xs, g5 as Ys, ga as Zs, gg as $s, gh as ao, gb as eo, gl as to, gc as so, gd as oo, gj as no, ge as ro, gi as io, gf as co, gk as lo, kf as uo, gm as go, gp as mo, gs as po, gt as Co, gu as So, gr as ho, gn as To, go as Io, gq as fo, gv as Po, gw as bo, gx as Ao, gB as ko, gC as jo, gA as Do, gD as yo, gy as Mo, gz as Bo, gE as vo, cO as Vo, cR as xo, cQ as Eo, cP as Lo, js as Ho, jA as Ro, cS as Fo, k3 as wo, jT as Oo, jU as Go, jP as No, jW as Qo, jV as Uo, jD as Wo, gM as qo, gL as Jo, gT as Ko, gV as _o, gW as zo, gU as Xo, gN as Yo, gS as Zo, h9 as $o, hc as an, hd as en, ha as tn, he as sn, hb as on, hf as nn, gQ as rn, gP as cn, h1 as ln, h3 as un, h2 as dn, gH as gn, gY as mn, g_ as pn, g$ as Cn, gZ as Sn, h0 as hn, gX as Tn, h5 as In, h7 as fn, h8 as Pn, h6 as bn, h4 as An, gO as kn, gR as jn, hu as Dn, hg as yn, hl as Mn, hk as Bn, hm as vn, hi as Vn, hj as xn, ho as En, hn as Ln, hh as Hn, hp as Rn, hq as Fn, ht as wn, hs as On, hr as Gn, hw as Nn, hy as Qn, hx as Un, hz as Wn, hA as qn, hB as Jn, hD as Kn, hC as _n, hI as zn, hE as Xn, hF as Yn, hG as Zn, hH as $n, hJ as ar, hT as er, hO as tr, hN as sr, hV as or, hK as nr, hL as rr, hQ as ir, hP as cr, hM as lr, hU as ur, hR as dr, hS as gr, cT as mr, cU as pr, j_ as Cr, k0 as Sr, cV as hr, cZ as Tr, cW as Ir, c$ as fr, c_ as Pr, d2 as br, d1 as Ar, d0 as kr, cY as jr, cX as Dr, d3 as yr, jK as Mr, hW as Br, jQ as vr, d4 as Vr, hX as xr, hY as Er, h$ as Lr, h_ as Hr, hZ as Rr, i3 as Fr, i0 as wr, i2 as Or, i1 as Gr, ju as Nr, k5 as Qr, jM as Ur, jL as Wr, jx as qr, jy as Jr, jR as Kr, i4 as _r, i5 as zr, ia as Xr, id as Yr, ib as Zr, i7 as $r, i9 as ai, i8 as ei, ic as ti, ie as si, i6 as oi, k1 as ni, jN as ri, k2 as ii, jI as ci, jq as li, jz as ui, ih as di, ig as gi, d5 as mi, d6 as pi, d9 as Ci, d7 as Si, d8 as hi, jv as Ti, jw as Ii, jB as fi, ik as Pi, im as bi, ij as Ai, ii as ki, il as ji, io as Di, is as yi, iu as Mi, iv as Bi, it as vi, ip as Vi, ir as xi, iq as Ei, iG as Li, iJ as Hi, iK as Ri, iL as Fi, iM as wi, iI as Oi, iw as Gi, iB as Ni, iz as Qi, ix as Ui, iA as Wi, iy as qi, iH as Ji, iC as Ki, iF as _i, iD as zi, iE as Xi, da as Yi, jX as Zi, iN as $i, iT as ac, iQ as ec, iU as tc, iP as sc, iR as oc, iY as nc, iS as rc, iZ as ic, db as cc, dd as lc, de as uc, dc, i_ as gc, i$ as mc, j1 as pc, jd as Cc, je as Sc, jh as hc, ji as Tc, j3 as Ic, jg as fc, j4 as Pc, j7 as bc, jc as Ac, j8 as kc, j5 as jc, j9 as Dc, j6 as yc, jf as Mc, jj as Bc, jb as vc, ja as Vc, j2 as xc, jk as Ec, jo as Lc, jp as Hc, jl as Rc, jm as Fc, jn as wc, bM as Oc, kj as Gc, bS as Nc, bO as Qc, ka as Uc, jt as Wc, jt as qc, jr as Jc, jr as Kc, kb as _c, kc as zc, ke as Xc, kd as Yc, kk as Zc, dw as $c, kg as al, kh as el, ki as tl, dv as sl, km as ol, iO as nl, kl as rl, iV as il, iW as cl, e2 as ll, iX as ul, bA as dl, jt as gl, jr as ml, dy as pl, dx as Cl, fQ as Sl, k7 as hl, k8 as Tl, k6 as Il, gI as fl, gF as Pl, gK as bl, gG as Al, hv as kl, k9 as jl, jY as Dl, j0 as yl } from "../index-Y0he5qiC.js";
|
|
2
2
|
export {
|
|
3
3
|
t as Accordion,
|
|
4
4
|
s as AccordionContent,
|
package/dist/lib/lib/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { APIError, BackendAdapter } from './backend-adapter';
|
|
2
|
-
import { ListParams, Spec, SpecDetail, Stats, DependencyGraph, MachinesResponse, Session, SessionLog, SessionMode, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse } from '../types/api';
|
|
2
|
+
import { FileContentResponse, FileListResponse, FileSearchResponse, ListParams, Spec, SpecDetail, Stats, DependencyGraph, MachinesResponse, Session, SessionLog, SessionMode, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, RunnerVersionResponse } from '../types/api';
|
|
3
3
|
import { ChatConfig } from '../types/chat-config';
|
|
4
4
|
import { ModelsRegistryResponse } from '../types/models-registry';
|
|
5
5
|
import { ChatStorageInfo } from './backend-adapter/core';
|
|
@@ -65,6 +65,7 @@ declare class ProjectAPI {
|
|
|
65
65
|
getProjectStats(projectId: string): Promise<Stats>;
|
|
66
66
|
getDependencies(specName?: string): Promise<DependencyGraph>;
|
|
67
67
|
listSessions(params?: {
|
|
68
|
+
projectId?: string;
|
|
68
69
|
specId?: string;
|
|
69
70
|
status?: string;
|
|
70
71
|
runner?: string;
|
|
@@ -72,7 +73,9 @@ declare class ProjectAPI {
|
|
|
72
73
|
getSession(sessionId: string): Promise<Session>;
|
|
73
74
|
createSession(payload: {
|
|
74
75
|
projectPath: string;
|
|
76
|
+
specIds?: string[];
|
|
75
77
|
specId?: string | null;
|
|
78
|
+
prompt?: string | null;
|
|
76
79
|
runner?: string;
|
|
77
80
|
mode: SessionMode;
|
|
78
81
|
}): Promise<Session>;
|
|
@@ -80,6 +83,7 @@ declare class ProjectAPI {
|
|
|
80
83
|
pauseSession(sessionId: string): Promise<Session>;
|
|
81
84
|
resumeSession(sessionId: string): Promise<Session>;
|
|
82
85
|
stopSession(sessionId: string): Promise<Session>;
|
|
86
|
+
respondToSessionPermission(sessionId: string, permissionId: string, option: string): Promise<Session>;
|
|
83
87
|
archiveSession(sessionId: string, options?: {
|
|
84
88
|
compress?: boolean;
|
|
85
89
|
}): Promise<import('./backend-adapter').SessionArchiveResult>;
|
|
@@ -91,6 +95,7 @@ declare class ProjectAPI {
|
|
|
91
95
|
skipValidation?: boolean;
|
|
92
96
|
}): Promise<RunnerListResponse>;
|
|
93
97
|
getRunner(runnerId: string, projectPath?: string): Promise<RunnerDefinition>;
|
|
98
|
+
getRunnerVersion(runnerId: string, projectPath?: string): Promise<RunnerVersionResponse>;
|
|
94
99
|
createRunner(payload: {
|
|
95
100
|
projectPath: string;
|
|
96
101
|
runner: {
|
|
@@ -111,7 +116,7 @@ declare class ProjectAPI {
|
|
|
111
116
|
env?: Record<string, string>;
|
|
112
117
|
};
|
|
113
118
|
scope?: RunnerScope;
|
|
114
|
-
}): Promise<
|
|
119
|
+
}): Promise<RunnerDefinition>;
|
|
115
120
|
deleteRunner(runnerId: string, payload: {
|
|
116
121
|
projectPath: string;
|
|
117
122
|
scope?: RunnerScope;
|
|
@@ -130,6 +135,9 @@ declare class ProjectAPI {
|
|
|
130
135
|
}) => Promise<ModelsRegistryResponse>;
|
|
131
136
|
refreshModelsRegistry: () => Promise<void>;
|
|
132
137
|
setProviderApiKey: (providerId: string, apiKey: string, baseUrl?: string) => Promise<void>;
|
|
138
|
+
getFiles(path?: string): Promise<FileListResponse>;
|
|
139
|
+
getFile(path: string): Promise<FileContentResponse>;
|
|
140
|
+
searchFiles(query: string, limit?: number): Promise<FileSearchResponse>;
|
|
133
141
|
}
|
|
134
142
|
export declare const api: ProjectAPI;
|
|
135
143
|
export { APIError };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BatchMetadataResponse, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectStatsResponse, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse } from '../../types/api';
|
|
1
|
+
import { BatchMetadataResponse, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, FileContentResponse, FileListResponse, FileSearchResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectStatsResponse, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, RunnerVersionResponse } from '../../types/api';
|
|
2
2
|
import { ChatConfig } from '../../types/chat-config';
|
|
3
3
|
import { ModelsRegistryResponse } from '../../types/models-registry';
|
|
4
4
|
export interface ChatStorageInfo {
|
|
@@ -66,6 +66,7 @@ export interface BackendAdapter {
|
|
|
66
66
|
getProjectContext(projectId: string): Promise<ProjectContext>;
|
|
67
67
|
listDirectory(path?: string): Promise<DirectoryListResponse>;
|
|
68
68
|
listSessions(params?: {
|
|
69
|
+
projectId?: string;
|
|
69
70
|
specId?: string;
|
|
70
71
|
status?: string;
|
|
71
72
|
runner?: string;
|
|
@@ -73,7 +74,10 @@ export interface BackendAdapter {
|
|
|
73
74
|
getSession(sessionId: string): Promise<Session>;
|
|
74
75
|
createSession(payload: {
|
|
75
76
|
projectPath: string;
|
|
77
|
+
specIds?: string[];
|
|
78
|
+
/** @deprecated Use specIds instead */
|
|
76
79
|
specId?: string | null;
|
|
80
|
+
prompt?: string | null;
|
|
77
81
|
runner?: string;
|
|
78
82
|
mode: SessionMode;
|
|
79
83
|
}): Promise<Session>;
|
|
@@ -81,6 +85,7 @@ export interface BackendAdapter {
|
|
|
81
85
|
pauseSession(sessionId: string): Promise<Session>;
|
|
82
86
|
resumeSession(sessionId: string): Promise<Session>;
|
|
83
87
|
stopSession(sessionId: string): Promise<Session>;
|
|
88
|
+
respondToSessionPermission(sessionId: string, permissionId: string, option: string): Promise<Session>;
|
|
84
89
|
archiveSession(sessionId: string, options?: {
|
|
85
90
|
compress?: boolean;
|
|
86
91
|
}): Promise<SessionArchiveResult>;
|
|
@@ -92,6 +97,7 @@ export interface BackendAdapter {
|
|
|
92
97
|
skipValidation?: boolean;
|
|
93
98
|
}): Promise<RunnerListResponse>;
|
|
94
99
|
getRunner(runnerId: string, projectPath?: string): Promise<RunnerDefinition>;
|
|
100
|
+
getRunnerVersion(runnerId: string, projectPath?: string): Promise<RunnerVersionResponse>;
|
|
95
101
|
createRunner(payload: {
|
|
96
102
|
projectPath: string;
|
|
97
103
|
runner: {
|
|
@@ -112,7 +118,7 @@ export interface BackendAdapter {
|
|
|
112
118
|
env?: Record<string, string>;
|
|
113
119
|
};
|
|
114
120
|
scope?: RunnerScope;
|
|
115
|
-
}): Promise<
|
|
121
|
+
}): Promise<RunnerDefinition>;
|
|
116
122
|
deleteRunner(runnerId: string, payload: {
|
|
117
123
|
projectPath: string;
|
|
118
124
|
scope?: RunnerScope;
|
|
@@ -131,5 +137,8 @@ export interface BackendAdapter {
|
|
|
131
137
|
}): Promise<ModelsRegistryResponse>;
|
|
132
138
|
refreshModelsRegistry(): Promise<void>;
|
|
133
139
|
setProviderApiKey(providerId: string, apiKey: string, baseUrl?: string): Promise<void>;
|
|
140
|
+
getProjectFiles(projectId: string, path?: string): Promise<FileListResponse>;
|
|
141
|
+
getProjectFile(projectId: string, path: string): Promise<FileContentResponse>;
|
|
142
|
+
searchProjectFiles(projectId: string, query: string, limit?: number): Promise<FileSearchResponse>;
|
|
134
143
|
}
|
|
135
|
-
export type { BatchMetadataResponse, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectStatsResponse, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, ChatConfig, ModelsRegistryResponse, };
|
|
144
|
+
export type { BatchMetadataResponse, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectStatsResponse, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, RunnerVersionResponse, ChatConfig, ModelsRegistryResponse, FileListResponse, FileContentResponse, FileSearchResponse, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BackendAdapter, BatchMetadataResponse, ChatStorageInfo, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, ChatConfig, ModelsRegistryResponse } from './core';
|
|
1
|
+
import { BackendAdapter, BatchMetadataResponse, ChatStorageInfo, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, FileContentResponse, FileListResponse, FileSearchResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, RunnerVersionResponse, ChatConfig, ModelsRegistryResponse } from './core';
|
|
2
2
|
/**
|
|
3
3
|
* HTTP adapter for web browser - connects to Rust HTTP server
|
|
4
4
|
*/
|
|
@@ -58,6 +58,7 @@ export declare class HttpBackendAdapter implements BackendAdapter {
|
|
|
58
58
|
getProjectContext(projectId: string): Promise<ProjectContext>;
|
|
59
59
|
listDirectory(path?: string): Promise<DirectoryListResponse>;
|
|
60
60
|
listSessions(params?: {
|
|
61
|
+
projectId?: string;
|
|
61
62
|
specId?: string;
|
|
62
63
|
status?: string;
|
|
63
64
|
runner?: string;
|
|
@@ -65,7 +66,9 @@ export declare class HttpBackendAdapter implements BackendAdapter {
|
|
|
65
66
|
getSession(sessionId: string): Promise<Session>;
|
|
66
67
|
createSession(payload: {
|
|
67
68
|
projectPath: string;
|
|
69
|
+
specIds?: string[];
|
|
68
70
|
specId?: string | null;
|
|
71
|
+
prompt?: string | null;
|
|
69
72
|
runner?: string;
|
|
70
73
|
mode: SessionMode;
|
|
71
74
|
}): Promise<Session>;
|
|
@@ -73,6 +76,7 @@ export declare class HttpBackendAdapter implements BackendAdapter {
|
|
|
73
76
|
pauseSession(sessionId: string): Promise<Session>;
|
|
74
77
|
resumeSession(sessionId: string): Promise<Session>;
|
|
75
78
|
stopSession(sessionId: string): Promise<Session>;
|
|
79
|
+
respondToSessionPermission(sessionId: string, permissionId: string, option: string): Promise<Session>;
|
|
76
80
|
archiveSession(sessionId: string, options?: {
|
|
77
81
|
compress?: boolean;
|
|
78
82
|
}): Promise<SessionArchiveResult>;
|
|
@@ -84,6 +88,7 @@ export declare class HttpBackendAdapter implements BackendAdapter {
|
|
|
84
88
|
skipValidation?: boolean;
|
|
85
89
|
}): Promise<RunnerListResponse>;
|
|
86
90
|
getRunner(runnerId: string, projectPath?: string): Promise<RunnerDefinition>;
|
|
91
|
+
getRunnerVersion(runnerId: string, projectPath?: string): Promise<RunnerVersionResponse>;
|
|
87
92
|
createRunner(payload: {
|
|
88
93
|
projectPath: string;
|
|
89
94
|
runner: {
|
|
@@ -104,7 +109,7 @@ export declare class HttpBackendAdapter implements BackendAdapter {
|
|
|
104
109
|
env?: Record<string, string>;
|
|
105
110
|
};
|
|
106
111
|
scope?: RunnerScope;
|
|
107
|
-
}): Promise<
|
|
112
|
+
}): Promise<RunnerDefinition>;
|
|
108
113
|
deleteRunner(runnerId: string, payload: {
|
|
109
114
|
projectPath: string;
|
|
110
115
|
scope?: RunnerScope;
|
|
@@ -123,4 +128,7 @@ export declare class HttpBackendAdapter implements BackendAdapter {
|
|
|
123
128
|
}): Promise<ModelsRegistryResponse>;
|
|
124
129
|
refreshModelsRegistry(): Promise<void>;
|
|
125
130
|
setProviderApiKey(providerId: string, apiKey: string, baseUrl?: string): Promise<void>;
|
|
131
|
+
getProjectFiles(projectId: string, path?: string): Promise<FileListResponse>;
|
|
132
|
+
getProjectFile(projectId: string, path: string): Promise<FileContentResponse>;
|
|
133
|
+
searchProjectFiles(projectId: string, query: string, limit?: number): Promise<FileSearchResponse>;
|
|
126
134
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BackendAdapter, BatchMetadataResponse, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, ChatConfig, ChatStorageInfo, ModelsRegistryResponse, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse } from './core';
|
|
1
|
+
import { BackendAdapter, BatchMetadataResponse, ContextFileContent, ContextFileListItem, DependencyGraph, DirectoryListResponse, FileContentResponse, FileListResponse, FileSearchResponse, ListParams, Spec, SpecDetail, Stats, Project, ProjectValidationResponse, ProjectsResponse, ListSpecsResponse, ProjectContext, MachinesResponse, Session, SessionArchiveResult, SessionEvent, SessionLog, SessionMode, ChatConfig, ChatStorageInfo, ModelsRegistryResponse, SpecTokenResponse, SpecValidationResponse, RunnerDefinition, RunnerListResponse, RunnerScope, RunnerValidateResponse, RunnerVersionResponse } from './core';
|
|
2
2
|
/**
|
|
3
3
|
* Tauri adapter for desktop app - uses IPC commands
|
|
4
4
|
*/
|
|
@@ -55,6 +55,7 @@ export declare class TauriBackendAdapter implements BackendAdapter {
|
|
|
55
55
|
getProjectContext(projectId: string): Promise<ProjectContext>;
|
|
56
56
|
listDirectory(path?: string): Promise<DirectoryListResponse>;
|
|
57
57
|
listSessions(params?: {
|
|
58
|
+
projectId?: string;
|
|
58
59
|
specId?: string;
|
|
59
60
|
status?: string;
|
|
60
61
|
runner?: string;
|
|
@@ -62,7 +63,9 @@ export declare class TauriBackendAdapter implements BackendAdapter {
|
|
|
62
63
|
getSession(sessionId: string): Promise<Session>;
|
|
63
64
|
createSession(payload: {
|
|
64
65
|
projectPath: string;
|
|
66
|
+
specIds?: string[];
|
|
65
67
|
specId?: string | null;
|
|
68
|
+
prompt?: string | null;
|
|
66
69
|
runner?: string;
|
|
67
70
|
mode: SessionMode;
|
|
68
71
|
}): Promise<Session>;
|
|
@@ -70,6 +73,7 @@ export declare class TauriBackendAdapter implements BackendAdapter {
|
|
|
70
73
|
pauseSession(): Promise<Session>;
|
|
71
74
|
resumeSession(): Promise<Session>;
|
|
72
75
|
stopSession(): Promise<Session>;
|
|
76
|
+
respondToSessionPermission(): Promise<Session>;
|
|
73
77
|
archiveSession(): Promise<SessionArchiveResult>;
|
|
74
78
|
deleteSession(): Promise<void>;
|
|
75
79
|
getSessionLogs(): Promise<SessionLog[]>;
|
|
@@ -99,12 +103,13 @@ export declare class TauriBackendAdapter implements BackendAdapter {
|
|
|
99
103
|
env?: Record<string, string>;
|
|
100
104
|
};
|
|
101
105
|
scope?: RunnerScope;
|
|
102
|
-
}): Promise<
|
|
106
|
+
}): Promise<RunnerDefinition>;
|
|
103
107
|
deleteRunner(runnerId: string, payload: {
|
|
104
108
|
projectPath: string;
|
|
105
109
|
scope?: RunnerScope;
|
|
106
110
|
}): Promise<RunnerListResponse>;
|
|
107
111
|
validateRunner(runnerId: string, projectPath?: string): Promise<RunnerValidateResponse>;
|
|
112
|
+
getRunnerVersion(runnerId: string, projectPath?: string): Promise<RunnerVersionResponse>;
|
|
108
113
|
setDefaultRunner(payload: {
|
|
109
114
|
projectPath: string;
|
|
110
115
|
runnerId: string;
|
|
@@ -118,4 +123,7 @@ export declare class TauriBackendAdapter implements BackendAdapter {
|
|
|
118
123
|
}): Promise<ModelsRegistryResponse>;
|
|
119
124
|
refreshModelsRegistry(): Promise<void>;
|
|
120
125
|
setProviderApiKey(providerId: string, apiKey: string, baseUrl?: string): Promise<void>;
|
|
126
|
+
getProjectFiles(projectId: string, path?: string): Promise<FileListResponse>;
|
|
127
|
+
getProjectFile(projectId: string, path: string): Promise<FileContentResponse>;
|
|
128
|
+
searchProjectFiles(projectId: string, query: string, limit?: number): Promise<FileSearchResponse>;
|
|
121
129
|
}
|