agor-live 0.8.4 → 0.8.7
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/core/api/index.d.cts +1 -1
- package/dist/core/api/index.d.ts +1 -1
- package/dist/core/claude/index.cjs +4 -0
- package/dist/core/claude/index.js +4 -0
- package/dist/core/{client-CtwJFT0H.d.ts → client-D2aU8aSy.d.ts} +36 -0
- package/dist/core/{client-DfarSYxI.d.cts → client-DxqeZteR.d.cts} +36 -0
- package/dist/core/config/browser.d.cts +1 -1
- package/dist/core/config/browser.d.ts +1 -1
- package/dist/core/config/index.cjs +4 -0
- package/dist/core/config/index.d.cts +2 -2
- package/dist/core/config/index.d.ts +2 -2
- package/dist/core/config/index.js +4 -0
- package/dist/core/db/index.cjs +6 -0
- package/dist/core/db/index.d.cts +41 -5
- package/dist/core/db/index.d.ts +41 -5
- package/dist/core/db/index.js +6 -0
- package/dist/core/drizzle/postgres/0002_greedy_rawhide_kid.sql +1 -0
- package/dist/core/drizzle/postgres/meta/0002_snapshot.json +1901 -0
- package/dist/core/drizzle/postgres/meta/_journal.json +7 -0
- package/dist/core/drizzle/sqlite/0012_superb_cyclops.sql +1 -0
- package/dist/core/drizzle/sqlite/meta/0012_snapshot.json +1445 -0
- package/dist/core/drizzle/sqlite/meta/_journal.json +7 -0
- package/dist/core/environment/variable-resolver.d.cts +1 -1
- package/dist/core/environment/variable-resolver.d.ts +1 -1
- package/dist/core/git/index.cjs +13 -6
- package/dist/core/git/index.d.cts +1 -1
- package/dist/core/git/index.d.ts +1 -1
- package/dist/core/git/index.js +13 -6
- package/dist/core/index.cjs +19 -6
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/core/index.js +19 -6
- package/dist/core/{repo-CnGt1AAP.d.cts → repo-CPQtR5nd.d.cts} +7 -0
- package/dist/core/{repo-BqbCoVbX.d.ts → repo-Czn3XS-j.d.ts} +7 -0
- package/dist/core/seed/index.cjs +6 -0
- package/dist/core/seed/index.js +6 -0
- package/dist/core/tools/index.cjs +61 -25
- package/dist/core/tools/index.d.cts +17 -7
- package/dist/core/tools/index.d.ts +17 -7
- package/dist/core/tools/index.js +61 -25
- package/dist/core/types/index.d.cts +1 -1
- package/dist/core/types/index.d.ts +1 -1
- package/dist/core/{worktrees-BQpUXSiu.d.cts → worktrees-DXTib_5m.d.cts} +2 -2
- package/dist/core/{worktrees-DGQZ-4Cv.d.ts → worktrees-DcQY3jmV.d.ts} +2 -2
- package/dist/daemon/declarations.d.ts +1 -0
- package/dist/daemon/index.js +36 -7
- package/dist/daemon/mcp/routes.js +7 -0
- package/dist/daemon/services/files.d.ts +6 -5
- package/dist/daemon/services/files.js +15 -4
- package/dist/daemon/services/repos.d.ts +5 -0
- package/dist/daemon/services/repos.js +9 -2
- package/dist/ui/assets/{_basePickBy-CTThI50C.js → _basePickBy-BYp6hCTL.js} +1 -1
- package/dist/ui/assets/_basePickBy-BYp6hCTL.js.gz +0 -0
- package/dist/ui/assets/{_baseUniq-CzqcD9Hq.js → _baseUniq-D4lMnuoh.js} +1 -1
- package/dist/ui/assets/_baseUniq-D4lMnuoh.js.gz +0 -0
- package/dist/ui/assets/{arc-BpOU8kpy.js → arc-B8Gl5jT5.js} +1 -1
- package/dist/ui/assets/arc-B8Gl5jT5.js.gz +0 -0
- package/dist/ui/assets/{architectureDiagram-VXUJARFQ-oPDSU7iH.js → architectureDiagram-VXUJARFQ-CfGtakf0.js} +1 -1
- package/dist/ui/assets/architectureDiagram-VXUJARFQ-CfGtakf0.js.gz +0 -0
- package/dist/ui/assets/{blockDiagram-VD42YOAC-W7lIwpst.js → blockDiagram-VD42YOAC-BMatfqFc.js} +1 -1
- package/dist/ui/assets/blockDiagram-VD42YOAC-BMatfqFc.js.gz +0 -0
- package/dist/ui/assets/{c4Diagram-YG6GDRKO-DkidBclA.js → c4Diagram-YG6GDRKO-ouJT1I_g.js} +1 -1
- package/dist/ui/assets/{c4Diagram-YG6GDRKO-DkidBclA.js.gz → c4Diagram-YG6GDRKO-ouJT1I_g.js.gz} +0 -0
- package/dist/ui/assets/channel-BudZzYdg.js +1 -0
- package/dist/ui/assets/{chunk-4BX2VUAB-BYYomEPX.js → chunk-4BX2VUAB-DRRdr7c3.js} +1 -1
- package/dist/ui/assets/{chunk-55IACEB6-edqfo3e-.js → chunk-55IACEB6-DZtG0tso.js} +1 -1
- package/dist/ui/assets/{chunk-B4BG7PRW-BT6qbYS5.js → chunk-B4BG7PRW-aMFBAQmZ.js} +1 -1
- package/dist/ui/assets/chunk-B4BG7PRW-aMFBAQmZ.js.gz +0 -0
- package/dist/ui/assets/{chunk-DI55MBZ5-sagNgHDp.js → chunk-DI55MBZ5-CGwMmfvB.js} +1 -1
- package/dist/ui/assets/chunk-DI55MBZ5-CGwMmfvB.js.gz +0 -0
- package/dist/ui/assets/{chunk-FMBD7UC4-B9yU8GlF.js → chunk-FMBD7UC4-D68-4Ko4.js} +1 -1
- package/dist/ui/assets/{chunk-QN33PNHL-D_9Qus3I.js → chunk-QN33PNHL-2SUjeiAu.js} +1 -1
- package/dist/ui/assets/{chunk-QZHKN3VN-DxShjvj6.js → chunk-QZHKN3VN-DAgUoRbX.js} +1 -1
- package/dist/ui/assets/{chunk-TZMSLE5B-BbefTHvC.js → chunk-TZMSLE5B-DMbM-JJz.js} +1 -1
- package/dist/ui/assets/chunk-TZMSLE5B-DMbM-JJz.js.gz +0 -0
- package/dist/ui/assets/classDiagram-2ON5EDUG-BtxRJBAs.js +1 -0
- package/dist/ui/assets/classDiagram-v2-WZHVMYZB-BtxRJBAs.js +1 -0
- package/dist/ui/assets/clone-oYWdkXAk.js +1 -0
- package/dist/ui/assets/{cose-bilkent-S5V4N54A-C5aDxsb1.js → cose-bilkent-S5V4N54A-1l_3zKMe.js} +1 -1
- package/dist/ui/assets/cose-bilkent-S5V4N54A-1l_3zKMe.js.gz +0 -0
- package/dist/ui/assets/{dagre-6UL2VRFP-Dy4qDEz4.js → dagre-6UL2VRFP-Bjq1SNbV.js} +1 -1
- package/dist/ui/assets/dagre-6UL2VRFP-Bjq1SNbV.js.gz +0 -0
- package/dist/ui/assets/{diagram-PSM6KHXK-BtkYdqor.js → diagram-PSM6KHXK-HYIKijIY.js} +1 -1
- package/dist/ui/assets/diagram-PSM6KHXK-HYIKijIY.js.gz +0 -0
- package/dist/ui/assets/{diagram-QEK2KX5R-az6nRsJe.js → diagram-QEK2KX5R-CSB5OOZ7.js} +1 -1
- package/dist/ui/assets/diagram-QEK2KX5R-CSB5OOZ7.js.gz +0 -0
- package/dist/ui/assets/{diagram-S2PKOQOG-Bhh6j00h.js → diagram-S2PKOQOG-CDniZOdq.js} +1 -1
- package/dist/ui/assets/diagram-S2PKOQOG-CDniZOdq.js.gz +0 -0
- package/dist/ui/assets/{erDiagram-Q2GNP2WA-klVpNZkU.js → erDiagram-Q2GNP2WA-BF3Kdu6t.js} +1 -1
- package/dist/ui/assets/erDiagram-Q2GNP2WA-BF3Kdu6t.js.gz +0 -0
- package/dist/ui/assets/{flowDiagram-NV44I4VS-LDXLyywO.js → flowDiagram-NV44I4VS-ClQgliwE.js} +1 -1
- package/dist/ui/assets/flowDiagram-NV44I4VS-ClQgliwE.js.gz +0 -0
- package/dist/ui/assets/{ganttDiagram-LVOFAZNH-BYMzFDKX.js → ganttDiagram-LVOFAZNH-BcM6cnoe.js} +1 -1
- package/dist/ui/assets/ganttDiagram-LVOFAZNH-BcM6cnoe.js.gz +0 -0
- package/dist/ui/assets/{gitGraphDiagram-NY62KEGX-Chp21pas.js → gitGraphDiagram-NY62KEGX-3rUNn5K_.js} +1 -1
- package/dist/ui/assets/gitGraphDiagram-NY62KEGX-3rUNn5K_.js.gz +0 -0
- package/dist/ui/assets/{graph-HbUE3uT9.js → graph-CZqAwzWg.js} +1 -1
- package/dist/ui/assets/graph-CZqAwzWg.js.gz +0 -0
- package/dist/ui/assets/index-DUwICnaH.js +1402 -0
- package/dist/ui/assets/index-DUwICnaH.js.gz +0 -0
- package/dist/ui/assets/{infoDiagram-ER5ION4S-z10XnF_M.js → infoDiagram-ER5ION4S-DIk6Y1co.js} +1 -1
- package/dist/ui/assets/{journeyDiagram-XKPGCS4Q-BRYmkGfu.js → journeyDiagram-XKPGCS4Q-DKT1qsKY.js} +1 -1
- package/dist/ui/assets/journeyDiagram-XKPGCS4Q-DKT1qsKY.js.gz +0 -0
- package/dist/ui/assets/{kanban-definition-3W4ZIXB7-BVViQgPb.js → kanban-definition-3W4ZIXB7-en9K_qTJ.js} +1 -1
- package/dist/ui/assets/kanban-definition-3W4ZIXB7-en9K_qTJ.js.gz +0 -0
- package/dist/ui/assets/{layout-Cgv19kHd.js → layout-BvTW1_mm.js} +1 -1
- package/dist/ui/assets/layout-BvTW1_mm.js.gz +0 -0
- package/dist/ui/assets/{linear-wdYhL3IH.js → linear-DO7A8kjG.js} +1 -1
- package/dist/ui/assets/linear-DO7A8kjG.js.gz +0 -0
- package/dist/ui/assets/{mermaid.core-DLtRr0hs.js → mermaid.core-6hPPeJw1.js} +5 -5
- package/dist/ui/assets/mermaid.core-6hPPeJw1.js.gz +0 -0
- package/dist/ui/assets/{mindmap-definition-VGOIOE7T-BjPSOB9Q.js → mindmap-definition-VGOIOE7T-CSE94DT0.js} +1 -1
- package/dist/ui/assets/mindmap-definition-VGOIOE7T-CSE94DT0.js.gz +0 -0
- package/dist/ui/assets/{pieDiagram-ADFJNKIX-BnpoMs-2.js → pieDiagram-ADFJNKIX-BhgTrzzn.js} +1 -1
- package/dist/ui/assets/pieDiagram-ADFJNKIX-BhgTrzzn.js.gz +0 -0
- package/dist/ui/assets/{quadrantDiagram-AYHSOK5B-BvXAcCoz.js → quadrantDiagram-AYHSOK5B-BmoVhOux.js} +1 -1
- package/dist/ui/assets/quadrantDiagram-AYHSOK5B-BmoVhOux.js.gz +0 -0
- package/dist/ui/assets/{requirementDiagram-UZGBJVZJ-DhX5XInB.js → requirementDiagram-UZGBJVZJ-ChNjqXAo.js} +1 -1
- package/dist/ui/assets/requirementDiagram-UZGBJVZJ-ChNjqXAo.js.gz +0 -0
- package/dist/ui/assets/{sankeyDiagram-TZEHDZUN-DO6ydw4F.js → sankeyDiagram-TZEHDZUN-BUP_oT66.js} +1 -1
- package/dist/ui/assets/sankeyDiagram-TZEHDZUN-BUP_oT66.js.gz +0 -0
- package/dist/ui/assets/{sequenceDiagram-WL72ISMW-DLkDxsam.js → sequenceDiagram-WL72ISMW-CrCyMKID.js} +1 -1
- package/dist/ui/assets/sequenceDiagram-WL72ISMW-CrCyMKID.js.gz +0 -0
- package/dist/ui/assets/{stateDiagram-FKZM4ZOC-u82F5ek9.js → stateDiagram-FKZM4ZOC-kI7jStVe.js} +1 -1
- package/dist/ui/assets/stateDiagram-FKZM4ZOC-kI7jStVe.js.gz +0 -0
- package/dist/ui/assets/stateDiagram-v2-4FDKWEC3-QyhiW-jB.js +1 -0
- package/dist/ui/assets/{timeline-definition-IT6M3QCI-enc8Ei3d.js → timeline-definition-IT6M3QCI-GU-cxQP_.js} +1 -1
- package/dist/ui/assets/timeline-definition-IT6M3QCI-GU-cxQP_.js.gz +0 -0
- package/dist/ui/assets/{treemap-KMMF4GRG-Drq4EfrL.js → treemap-KMMF4GRG-YtkJzmey.js} +1 -1
- package/dist/ui/assets/treemap-KMMF4GRG-YtkJzmey.js.gz +0 -0
- package/dist/ui/assets/{xychartDiagram-PRI3JC2R-BTgIsSZi.js → xychartDiagram-PRI3JC2R-C8kS6uc0.js} +1 -1
- package/dist/ui/assets/xychartDiagram-PRI3JC2R-C8kS6uc0.js.gz +0 -0
- package/dist/ui/index.html +1 -1
- package/package.json +1 -1
- package/dist/ui/assets/_basePickBy-CTThI50C.js.gz +0 -0
- package/dist/ui/assets/_baseUniq-CzqcD9Hq.js.gz +0 -0
- package/dist/ui/assets/arc-BpOU8kpy.js.gz +0 -0
- package/dist/ui/assets/architectureDiagram-VXUJARFQ-oPDSU7iH.js.gz +0 -0
- package/dist/ui/assets/blockDiagram-VD42YOAC-W7lIwpst.js.gz +0 -0
- package/dist/ui/assets/channel-CBy24ixw.js +0 -1
- package/dist/ui/assets/chunk-B4BG7PRW-BT6qbYS5.js.gz +0 -0
- package/dist/ui/assets/chunk-DI55MBZ5-sagNgHDp.js.gz +0 -0
- package/dist/ui/assets/chunk-TZMSLE5B-BbefTHvC.js.gz +0 -0
- package/dist/ui/assets/classDiagram-2ON5EDUG-CJYK91kl.js +0 -1
- package/dist/ui/assets/classDiagram-v2-WZHVMYZB-CJYK91kl.js +0 -1
- package/dist/ui/assets/clone-DcE4_0_S.js +0 -1
- package/dist/ui/assets/cose-bilkent-S5V4N54A-C5aDxsb1.js.gz +0 -0
- package/dist/ui/assets/dagre-6UL2VRFP-Dy4qDEz4.js.gz +0 -0
- package/dist/ui/assets/diagram-PSM6KHXK-BtkYdqor.js.gz +0 -0
- package/dist/ui/assets/diagram-QEK2KX5R-az6nRsJe.js.gz +0 -0
- package/dist/ui/assets/diagram-S2PKOQOG-Bhh6j00h.js.gz +0 -0
- package/dist/ui/assets/erDiagram-Q2GNP2WA-klVpNZkU.js.gz +0 -0
- package/dist/ui/assets/flowDiagram-NV44I4VS-LDXLyywO.js.gz +0 -0
- package/dist/ui/assets/ganttDiagram-LVOFAZNH-BYMzFDKX.js.gz +0 -0
- package/dist/ui/assets/gitGraphDiagram-NY62KEGX-Chp21pas.js.gz +0 -0
- package/dist/ui/assets/graph-HbUE3uT9.js.gz +0 -0
- package/dist/ui/assets/index-HefyMaOe.js +0 -1402
- package/dist/ui/assets/index-HefyMaOe.js.gz +0 -0
- package/dist/ui/assets/journeyDiagram-XKPGCS4Q-BRYmkGfu.js.gz +0 -0
- package/dist/ui/assets/kanban-definition-3W4ZIXB7-BVViQgPb.js.gz +0 -0
- package/dist/ui/assets/layout-Cgv19kHd.js.gz +0 -0
- package/dist/ui/assets/linear-wdYhL3IH.js.gz +0 -0
- package/dist/ui/assets/mermaid.core-DLtRr0hs.js.gz +0 -0
- package/dist/ui/assets/mindmap-definition-VGOIOE7T-BjPSOB9Q.js.gz +0 -0
- package/dist/ui/assets/pieDiagram-ADFJNKIX-BnpoMs-2.js.gz +0 -0
- package/dist/ui/assets/quadrantDiagram-AYHSOK5B-BvXAcCoz.js.gz +0 -0
- package/dist/ui/assets/requirementDiagram-UZGBJVZJ-DhX5XInB.js.gz +0 -0
- package/dist/ui/assets/sankeyDiagram-TZEHDZUN-DO6ydw4F.js.gz +0 -0
- package/dist/ui/assets/sequenceDiagram-WL72ISMW-DLkDxsam.js.gz +0 -0
- package/dist/ui/assets/stateDiagram-FKZM4ZOC-u82F5ek9.js.gz +0 -0
- package/dist/ui/assets/stateDiagram-v2-4FDKWEC3-CyNO-mra.js +0 -1
- package/dist/ui/assets/timeline-definition-IT6M3QCI-enc8Ei3d.js.gz +0 -0
- package/dist/ui/assets/treemap-KMMF4GRG-Drq4EfrL.js.gz +0 -0
- package/dist/ui/assets/xychartDiagram-PRI3JC2R-BTgIsSZi.js.gz +0 -0
|
@@ -4,7 +4,7 @@ import { a as ContextFileListItem, b as ContextFileDetail } from '../context-Byx
|
|
|
4
4
|
import { b as AuthenticationResult } from '../feathers-BzHEPnpl.cjs';
|
|
5
5
|
import { h as MCPServer } from '../mcp-DpJnAKie.cjs';
|
|
6
6
|
import { d as User } from '../user-tw6jnTBl.cjs';
|
|
7
|
-
import { b as Repo, d as Worktree } from '../repo-
|
|
7
|
+
import { b as Repo, d as Worktree } from '../repo-CPQtR5nd.cjs';
|
|
8
8
|
import { a as Session } from '../session-iGZzVt8R.cjs';
|
|
9
9
|
import { h as Task } from '../task-_5gT3HqF.cjs';
|
|
10
10
|
import { Params, Paginated, Application } from '@feathersjs/feathers';
|
package/dist/core/api/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { a as ContextFileListItem, b as ContextFileDetail } from '../context-Byx
|
|
|
4
4
|
import { b as AuthenticationResult } from '../feathers-BzHEPnpl.js';
|
|
5
5
|
import { h as MCPServer } from '../mcp-BJoCdfzv.js';
|
|
6
6
|
import { d as User } from '../user-DUohq_HZ.js';
|
|
7
|
-
import { b as Repo, d as Worktree } from '../repo-
|
|
7
|
+
import { b as Repo, d as Worktree } from '../repo-Czn3XS-j.js';
|
|
8
8
|
import { a as Session } from '../session-BKWF-wQh.js';
|
|
9
9
|
import { h as Task } from '../task-0iKVn8e3.js';
|
|
10
10
|
import { Params, Paginated, Application } from '@feathersjs/feathers';
|
|
@@ -397,6 +397,8 @@ var worktrees = (0, import_pg_core.pgTable)(
|
|
|
397
397
|
// "feat-auth", "main"
|
|
398
398
|
ref: (0, import_pg_core.text)("ref").notNull(),
|
|
399
399
|
// Current branch/tag/commit
|
|
400
|
+
ref_type: (0, import_pg_core.text)("ref_type", { enum: ["branch", "tag"] }),
|
|
401
|
+
// Type of ref (branch or tag)
|
|
400
402
|
worktree_unique_id: (0, import_pg_core.integer)("worktree_unique_id").notNull(),
|
|
401
403
|
// Auto-assigned sequential ID for templates
|
|
402
404
|
// Environment configuration (static, initialized from templates, then user-editable)
|
|
@@ -810,6 +812,8 @@ var worktrees2 = (0, import_sqlite_core.sqliteTable)(
|
|
|
810
812
|
// "feat-auth", "main"
|
|
811
813
|
ref: (0, import_sqlite_core.text)("ref").notNull(),
|
|
812
814
|
// Current branch/tag/commit
|
|
815
|
+
ref_type: (0, import_sqlite_core.text)("ref_type", { enum: ["branch", "tag"] }),
|
|
816
|
+
// Type of ref (branch or tag)
|
|
813
817
|
worktree_unique_id: (0, import_sqlite_core.integer)("worktree_unique_id").notNull(),
|
|
814
818
|
// Auto-assigned sequential ID for templates
|
|
815
819
|
// Environment configuration (static, initialized from templates, then user-editable)
|
|
@@ -371,6 +371,8 @@ var worktrees = pgTable(
|
|
|
371
371
|
// "feat-auth", "main"
|
|
372
372
|
ref: text("ref").notNull(),
|
|
373
373
|
// Current branch/tag/commit
|
|
374
|
+
ref_type: text("ref_type", { enum: ["branch", "tag"] }),
|
|
375
|
+
// Type of ref (branch or tag)
|
|
374
376
|
worktree_unique_id: integer("worktree_unique_id").notNull(),
|
|
375
377
|
// Auto-assigned sequential ID for templates
|
|
376
378
|
// Environment configuration (static, initialized from templates, then user-editable)
|
|
@@ -784,6 +786,8 @@ var worktrees2 = sqliteTable(
|
|
|
784
786
|
// "feat-auth", "main"
|
|
785
787
|
ref: text2("ref").notNull(),
|
|
786
788
|
// Current branch/tag/commit
|
|
789
|
+
ref_type: text2("ref_type", { enum: ["branch", "tag"] }),
|
|
790
|
+
// Type of ref (branch or tag)
|
|
787
791
|
worktree_unique_id: integer2("worktree_unique_id").notNull(),
|
|
788
792
|
// Auto-assigned sequential ID for templates
|
|
789
793
|
// Environment configuration (static, initialized from templates, then user-editable)
|
|
@@ -1245,6 +1245,23 @@ declare const worktrees$1: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
1245
1245
|
identity: undefined;
|
|
1246
1246
|
generated: undefined;
|
|
1247
1247
|
}, {}, {}>;
|
|
1248
|
+
ref_type: drizzle_orm_pg_core.PgColumn<{
|
|
1249
|
+
name: "ref_type";
|
|
1250
|
+
tableName: "worktrees";
|
|
1251
|
+
dataType: "string";
|
|
1252
|
+
columnType: "PgText";
|
|
1253
|
+
data: "branch" | "tag";
|
|
1254
|
+
driverParam: string;
|
|
1255
|
+
notNull: false;
|
|
1256
|
+
hasDefault: false;
|
|
1257
|
+
isPrimaryKey: false;
|
|
1258
|
+
isAutoincrement: false;
|
|
1259
|
+
hasRuntimeDefault: false;
|
|
1260
|
+
enumValues: ["branch", "tag"];
|
|
1261
|
+
baseColumn: never;
|
|
1262
|
+
identity: undefined;
|
|
1263
|
+
generated: undefined;
|
|
1264
|
+
}, {}, {}>;
|
|
1248
1265
|
worktree_unique_id: drizzle_orm_pg_core.PgColumn<{
|
|
1249
1266
|
name: "worktree_unique_id";
|
|
1250
1267
|
tableName: "worktrees";
|
|
@@ -4067,6 +4084,25 @@ declare const worktrees: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4067
4084
|
}, {}, {
|
|
4068
4085
|
length: number | undefined;
|
|
4069
4086
|
}>;
|
|
4087
|
+
ref_type: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4088
|
+
name: "ref_type";
|
|
4089
|
+
tableName: "worktrees";
|
|
4090
|
+
dataType: "string";
|
|
4091
|
+
columnType: "SQLiteText";
|
|
4092
|
+
data: "branch" | "tag";
|
|
4093
|
+
driverParam: string;
|
|
4094
|
+
notNull: false;
|
|
4095
|
+
hasDefault: false;
|
|
4096
|
+
isPrimaryKey: false;
|
|
4097
|
+
isAutoincrement: false;
|
|
4098
|
+
hasRuntimeDefault: false;
|
|
4099
|
+
enumValues: ["branch", "tag"];
|
|
4100
|
+
baseColumn: never;
|
|
4101
|
+
identity: undefined;
|
|
4102
|
+
generated: undefined;
|
|
4103
|
+
}, {}, {
|
|
4104
|
+
length: number | undefined;
|
|
4105
|
+
}>;
|
|
4070
4106
|
worktree_unique_id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4071
4107
|
name: "worktree_unique_id";
|
|
4072
4108
|
tableName: "worktrees";
|
|
@@ -1245,6 +1245,23 @@ declare const worktrees$1: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
1245
1245
|
identity: undefined;
|
|
1246
1246
|
generated: undefined;
|
|
1247
1247
|
}, {}, {}>;
|
|
1248
|
+
ref_type: drizzle_orm_pg_core.PgColumn<{
|
|
1249
|
+
name: "ref_type";
|
|
1250
|
+
tableName: "worktrees";
|
|
1251
|
+
dataType: "string";
|
|
1252
|
+
columnType: "PgText";
|
|
1253
|
+
data: "branch" | "tag";
|
|
1254
|
+
driverParam: string;
|
|
1255
|
+
notNull: false;
|
|
1256
|
+
hasDefault: false;
|
|
1257
|
+
isPrimaryKey: false;
|
|
1258
|
+
isAutoincrement: false;
|
|
1259
|
+
hasRuntimeDefault: false;
|
|
1260
|
+
enumValues: ["branch", "tag"];
|
|
1261
|
+
baseColumn: never;
|
|
1262
|
+
identity: undefined;
|
|
1263
|
+
generated: undefined;
|
|
1264
|
+
}, {}, {}>;
|
|
1248
1265
|
worktree_unique_id: drizzle_orm_pg_core.PgColumn<{
|
|
1249
1266
|
name: "worktree_unique_id";
|
|
1250
1267
|
tableName: "worktrees";
|
|
@@ -4067,6 +4084,25 @@ declare const worktrees: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4067
4084
|
}, {}, {
|
|
4068
4085
|
length: number | undefined;
|
|
4069
4086
|
}>;
|
|
4087
|
+
ref_type: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4088
|
+
name: "ref_type";
|
|
4089
|
+
tableName: "worktrees";
|
|
4090
|
+
dataType: "string";
|
|
4091
|
+
columnType: "SQLiteText";
|
|
4092
|
+
data: "branch" | "tag";
|
|
4093
|
+
driverParam: string;
|
|
4094
|
+
notNull: false;
|
|
4095
|
+
hasDefault: false;
|
|
4096
|
+
isPrimaryKey: false;
|
|
4097
|
+
isAutoincrement: false;
|
|
4098
|
+
hasRuntimeDefault: false;
|
|
4099
|
+
enumValues: ["branch", "tag"];
|
|
4100
|
+
baseColumn: never;
|
|
4101
|
+
identity: undefined;
|
|
4102
|
+
generated: undefined;
|
|
4103
|
+
}, {}, {
|
|
4104
|
+
length: number | undefined;
|
|
4105
|
+
}>;
|
|
4070
4106
|
worktree_unique_id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4071
4107
|
name: "worktree_unique_id";
|
|
4072
4108
|
tableName: "worktrees";
|
|
@@ -867,6 +867,8 @@ var worktrees = (0, import_pg_core.pgTable)(
|
|
|
867
867
|
// "feat-auth", "main"
|
|
868
868
|
ref: (0, import_pg_core.text)("ref").notNull(),
|
|
869
869
|
// Current branch/tag/commit
|
|
870
|
+
ref_type: (0, import_pg_core.text)("ref_type", { enum: ["branch", "tag"] }),
|
|
871
|
+
// Type of ref (branch or tag)
|
|
870
872
|
worktree_unique_id: (0, import_pg_core.integer)("worktree_unique_id").notNull(),
|
|
871
873
|
// Auto-assigned sequential ID for templates
|
|
872
874
|
// Environment configuration (static, initialized from templates, then user-editable)
|
|
@@ -1280,6 +1282,8 @@ var worktrees2 = (0, import_sqlite_core.sqliteTable)(
|
|
|
1280
1282
|
// "feat-auth", "main"
|
|
1281
1283
|
ref: (0, import_sqlite_core.text)("ref").notNull(),
|
|
1282
1284
|
// Current branch/tag/commit
|
|
1285
|
+
ref_type: (0, import_sqlite_core.text)("ref_type", { enum: ["branch", "tag"] }),
|
|
1286
|
+
// Type of ref (branch or tag)
|
|
1283
1287
|
worktree_unique_id: (0, import_sqlite_core.integer)("worktree_unique_id").notNull(),
|
|
1284
1288
|
// Auto-assigned sequential ID for templates
|
|
1285
1289
|
// Environment configuration (static, initialized from templates, then user-editable)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as RepoEnvironmentConfig } from '../repo-
|
|
1
|
+
import { g as RepoEnvironmentConfig } from '../repo-CPQtR5nd.cjs';
|
|
2
2
|
import { AgorConfig } from './browser.cjs';
|
|
3
3
|
export { AgorCodexSettings, AgorCredentials, AgorDaemonSettings, AgorDatabaseSettings, AgorDefaults, AgorDisplaySettings, AgorOpenCodeSettings, AgorUISettings, ConfigKey, CredentialKey, DAEMON, DATABASE, ENVIRONMENT, GIT, RepoReference, RepoReferenceOption, SESSION, UnknownJson, WEBSOCKET, extractSlugFromUrl, formatRepoReference, getDefaultRepoReference, getGroupedRepoReferenceOptions, getRepoReferenceOptions, isValidGitUrl, isValidSlug, parseRepoReference, resolveRepoReference } from './browser.cjs';
|
|
4
|
-
import { d as Database } from '../client-
|
|
4
|
+
import { d as Database } from '../client-DxqeZteR.cjs';
|
|
5
5
|
import { b as UserID } from '../id-DMqyogFB.cjs';
|
|
6
6
|
import 'drizzle-orm/libsql';
|
|
7
7
|
import 'drizzle-orm/postgres-js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as RepoEnvironmentConfig } from '../repo-
|
|
1
|
+
import { g as RepoEnvironmentConfig } from '../repo-Czn3XS-j.js';
|
|
2
2
|
import { AgorConfig } from './browser.js';
|
|
3
3
|
export { AgorCodexSettings, AgorCredentials, AgorDaemonSettings, AgorDatabaseSettings, AgorDefaults, AgorDisplaySettings, AgorOpenCodeSettings, AgorUISettings, ConfigKey, CredentialKey, DAEMON, DATABASE, ENVIRONMENT, GIT, RepoReference, RepoReferenceOption, SESSION, UnknownJson, WEBSOCKET, extractSlugFromUrl, formatRepoReference, getDefaultRepoReference, getGroupedRepoReferenceOptions, getRepoReferenceOptions, isValidGitUrl, isValidSlug, parseRepoReference, resolveRepoReference } from './browser.js';
|
|
4
|
-
import { d as Database } from '../client-
|
|
4
|
+
import { d as Database } from '../client-D2aU8aSy.js';
|
|
5
5
|
import { b as UserID } from '../id-DMqyogFB.js';
|
|
6
6
|
import 'drizzle-orm/libsql';
|
|
7
7
|
import 'drizzle-orm/postgres-js';
|
|
@@ -803,6 +803,8 @@ var worktrees = pgTable(
|
|
|
803
803
|
// "feat-auth", "main"
|
|
804
804
|
ref: text("ref").notNull(),
|
|
805
805
|
// Current branch/tag/commit
|
|
806
|
+
ref_type: text("ref_type", { enum: ["branch", "tag"] }),
|
|
807
|
+
// Type of ref (branch or tag)
|
|
806
808
|
worktree_unique_id: integer("worktree_unique_id").notNull(),
|
|
807
809
|
// Auto-assigned sequential ID for templates
|
|
808
810
|
// Environment configuration (static, initialized from templates, then user-editable)
|
|
@@ -1216,6 +1218,8 @@ var worktrees2 = sqliteTable(
|
|
|
1216
1218
|
// "feat-auth", "main"
|
|
1217
1219
|
ref: text2("ref").notNull(),
|
|
1218
1220
|
// Current branch/tag/commit
|
|
1221
|
+
ref_type: text2("ref_type", { enum: ["branch", "tag"] }),
|
|
1222
|
+
// Type of ref (branch or tag)
|
|
1219
1223
|
worktree_unique_id: integer2("worktree_unique_id").notNull(),
|
|
1220
1224
|
// Auto-assigned sequential ID for templates
|
|
1221
1225
|
// Environment configuration (static, initialized from templates, then user-editable)
|
package/dist/core/db/index.cjs
CHANGED
|
@@ -676,6 +676,8 @@ var worktrees = (0, import_pg_core.pgTable)(
|
|
|
676
676
|
// "feat-auth", "main"
|
|
677
677
|
ref: (0, import_pg_core.text)("ref").notNull(),
|
|
678
678
|
// Current branch/tag/commit
|
|
679
|
+
ref_type: (0, import_pg_core.text)("ref_type", { enum: ["branch", "tag"] }),
|
|
680
|
+
// Type of ref (branch or tag)
|
|
679
681
|
worktree_unique_id: (0, import_pg_core.integer)("worktree_unique_id").notNull(),
|
|
680
682
|
// Auto-assigned sequential ID for templates
|
|
681
683
|
// Environment configuration (static, initialized from templates, then user-editable)
|
|
@@ -1089,6 +1091,8 @@ var worktrees2 = (0, import_sqlite_core.sqliteTable)(
|
|
|
1089
1091
|
// "feat-auth", "main"
|
|
1090
1092
|
ref: (0, import_sqlite_core.text)("ref").notNull(),
|
|
1091
1093
|
// Current branch/tag/commit
|
|
1094
|
+
ref_type: (0, import_sqlite_core.text)("ref_type", { enum: ["branch", "tag"] }),
|
|
1095
|
+
// Type of ref (branch or tag)
|
|
1092
1096
|
worktree_unique_id: (0, import_sqlite_core.integer)("worktree_unique_id").notNull(),
|
|
1093
1097
|
// Auto-assigned sequential ID for templates
|
|
1094
1098
|
// Environment configuration (static, initialized from templates, then user-editable)
|
|
@@ -4291,6 +4295,7 @@ var WorktreeRepository = class {
|
|
|
4291
4295
|
created_by: row.created_by,
|
|
4292
4296
|
name: row.name,
|
|
4293
4297
|
ref: row.ref,
|
|
4298
|
+
ref_type: row.ref_type ?? "branch",
|
|
4294
4299
|
worktree_unique_id: row.worktree_unique_id,
|
|
4295
4300
|
start_command: row.start_command ?? void 0,
|
|
4296
4301
|
// Static environment fields
|
|
@@ -4329,6 +4334,7 @@ var WorktreeRepository = class {
|
|
|
4329
4334
|
created_by: worktree.created_by ?? "anonymous",
|
|
4330
4335
|
name: worktree.name,
|
|
4331
4336
|
ref: worktree.ref,
|
|
4337
|
+
ref_type: worktree.ref_type,
|
|
4332
4338
|
worktree_unique_id: worktree.worktree_unique_id,
|
|
4333
4339
|
// Required field
|
|
4334
4340
|
// Static environment fields (initialized from templates, then user-editable)
|
package/dist/core/db/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { SQL } from 'drizzle-orm';
|
|
2
2
|
export { SQL, and, asc, desc, eq, inArray, like, or, sql } from 'drizzle-orm';
|
|
3
3
|
import bcryptjs from 'bcryptjs';
|
|
4
|
-
import { d as Database, v as sqliteSchema, w as postgresSchema } from '../client-
|
|
5
|
-
export { u as BoardCommentInsert, t as BoardCommentRow, j as BoardInsert, s as BoardObjectInsert, r as BoardObjectRow, B as BoardRow, e as DEFAULT_DB_PATH, a as DatabaseConnectionError, D as DbConfig, o as MCPServerInsert, n as MCPServerRow, i as MessageInsert, M as MessageRow, k as RepoInsert, R as RepoRow, g as SessionInsert, q as SessionMCPServerInsert, p as SessionMCPServerRow, S as SessionRow, h as TaskInsert, T as TaskRow, m as UserInsert, U as UserRow, l as WorktreeInsert, W as WorktreeRow, c as createDatabase, b as createDatabaseAsync, f as createLocalDatabase } from '../client-
|
|
4
|
+
import { d as Database, v as sqliteSchema, w as postgresSchema } from '../client-DxqeZteR.cjs';
|
|
5
|
+
export { u as BoardCommentInsert, t as BoardCommentRow, j as BoardInsert, s as BoardObjectInsert, r as BoardObjectRow, B as BoardRow, e as DEFAULT_DB_PATH, a as DatabaseConnectionError, D as DbConfig, o as MCPServerInsert, n as MCPServerRow, i as MessageInsert, M as MessageRow, k as RepoInsert, R as RepoRow, g as SessionInsert, q as SessionMCPServerInsert, p as SessionMCPServerRow, S as SessionRow, h as TaskInsert, T as TaskRow, m as UserInsert, U as UserRow, l as WorktreeInsert, W as WorktreeRow, c as createDatabase, b as createDatabaseAsync, f as createLocalDatabase } from '../client-DxqeZteR.cjs';
|
|
6
6
|
import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
|
7
7
|
import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
|
|
8
8
|
import { PgTable } from 'drizzle-orm/pg-core';
|
|
9
9
|
import { PostgresJsDatabase } from 'drizzle-orm/postgres-js';
|
|
10
10
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
11
11
|
import { SQLiteTable } from 'drizzle-orm/sqlite-core';
|
|
12
|
-
import { B as BaseRepository, c as SessionRepository } from '../worktrees-
|
|
13
|
-
export { A as AmbiguousIdError, E as EntityNotFoundError, M as MCPServerRepository, a as MessagesRepository, b as RepoRepository, R as RepositoryError, S as SessionMCPServerRepository, W as WorktreeRepository } from '../worktrees-
|
|
12
|
+
import { B as BaseRepository, c as SessionRepository } from '../worktrees-DXTib_5m.cjs';
|
|
13
|
+
export { A as AmbiguousIdError, E as EntityNotFoundError, M as MCPServerRepository, a as MessagesRepository, b as RepoRepository, R as RepositoryError, S as SessionMCPServerRepository, W as WorktreeRepository } from '../worktrees-DXTib_5m.cjs';
|
|
14
14
|
import { B as BoardComment } from '../board-comment-CaUiaZB5.cjs';
|
|
15
15
|
import { B as BoardID, W as WorktreeID, a as SessionID } from '../id-DMqyogFB.cjs';
|
|
16
16
|
import { a as BoardEntityObject, e as Board, d as BoardObject } from '../board-DBptAUg6.cjs';
|
|
@@ -20,7 +20,7 @@ import { c as CodexSandboxMode, d as CodexApprovalPolicy } from '../agentic-tool
|
|
|
20
20
|
import { a as Session, P as PermissionMode } from '../session-iGZzVt8R.cjs';
|
|
21
21
|
import { d as User } from '../user-tw6jnTBl.cjs';
|
|
22
22
|
import '../mcp-DpJnAKie.cjs';
|
|
23
|
-
import '../repo-
|
|
23
|
+
import '../repo-CPQtR5nd.cjs';
|
|
24
24
|
import '../context-ByxGjp5l.cjs';
|
|
25
25
|
import '@anthropic-ai/claude-agent-sdk/sdk';
|
|
26
26
|
import '@google/gemini-cli-core';
|
|
@@ -2998,6 +2998,23 @@ declare const worktrees: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
2998
2998
|
identity: undefined;
|
|
2999
2999
|
generated: undefined;
|
|
3000
3000
|
}, {}, {}>;
|
|
3001
|
+
ref_type: drizzle_orm_pg_core.PgColumn<{
|
|
3002
|
+
name: "ref_type";
|
|
3003
|
+
tableName: "worktrees";
|
|
3004
|
+
dataType: "string";
|
|
3005
|
+
columnType: "PgText";
|
|
3006
|
+
data: "branch" | "tag";
|
|
3007
|
+
driverParam: string;
|
|
3008
|
+
notNull: false;
|
|
3009
|
+
hasDefault: false;
|
|
3010
|
+
isPrimaryKey: false;
|
|
3011
|
+
isAutoincrement: false;
|
|
3012
|
+
hasRuntimeDefault: false;
|
|
3013
|
+
enumValues: ["branch", "tag"];
|
|
3014
|
+
baseColumn: never;
|
|
3015
|
+
identity: undefined;
|
|
3016
|
+
generated: undefined;
|
|
3017
|
+
}, {}, {}>;
|
|
3001
3018
|
worktree_unique_id: drizzle_orm_pg_core.PgColumn<{
|
|
3002
3019
|
name: "worktree_unique_id";
|
|
3003
3020
|
tableName: "worktrees";
|
|
@@ -3518,6 +3535,25 @@ declare const worktrees: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
3518
3535
|
}, {}, {
|
|
3519
3536
|
length: number | undefined;
|
|
3520
3537
|
}>;
|
|
3538
|
+
ref_type: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3539
|
+
name: "ref_type";
|
|
3540
|
+
tableName: "worktrees";
|
|
3541
|
+
dataType: "string";
|
|
3542
|
+
columnType: "SQLiteText";
|
|
3543
|
+
data: "branch" | "tag";
|
|
3544
|
+
driverParam: string;
|
|
3545
|
+
notNull: false;
|
|
3546
|
+
hasDefault: false;
|
|
3547
|
+
isPrimaryKey: false;
|
|
3548
|
+
isAutoincrement: false;
|
|
3549
|
+
hasRuntimeDefault: false;
|
|
3550
|
+
enumValues: ["branch", "tag"];
|
|
3551
|
+
baseColumn: never;
|
|
3552
|
+
identity: undefined;
|
|
3553
|
+
generated: undefined;
|
|
3554
|
+
}, {}, {
|
|
3555
|
+
length: number | undefined;
|
|
3556
|
+
}>;
|
|
3521
3557
|
worktree_unique_id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3522
3558
|
name: "worktree_unique_id";
|
|
3523
3559
|
tableName: "worktrees";
|
package/dist/core/db/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { SQL } from 'drizzle-orm';
|
|
2
2
|
export { SQL, and, asc, desc, eq, inArray, like, or, sql } from 'drizzle-orm';
|
|
3
3
|
import bcryptjs from 'bcryptjs';
|
|
4
|
-
import { d as Database, v as sqliteSchema, w as postgresSchema } from '../client-
|
|
5
|
-
export { u as BoardCommentInsert, t as BoardCommentRow, j as BoardInsert, s as BoardObjectInsert, r as BoardObjectRow, B as BoardRow, e as DEFAULT_DB_PATH, a as DatabaseConnectionError, D as DbConfig, o as MCPServerInsert, n as MCPServerRow, i as MessageInsert, M as MessageRow, k as RepoInsert, R as RepoRow, g as SessionInsert, q as SessionMCPServerInsert, p as SessionMCPServerRow, S as SessionRow, h as TaskInsert, T as TaskRow, m as UserInsert, U as UserRow, l as WorktreeInsert, W as WorktreeRow, c as createDatabase, b as createDatabaseAsync, f as createLocalDatabase } from '../client-
|
|
4
|
+
import { d as Database, v as sqliteSchema, w as postgresSchema } from '../client-D2aU8aSy.js';
|
|
5
|
+
export { u as BoardCommentInsert, t as BoardCommentRow, j as BoardInsert, s as BoardObjectInsert, r as BoardObjectRow, B as BoardRow, e as DEFAULT_DB_PATH, a as DatabaseConnectionError, D as DbConfig, o as MCPServerInsert, n as MCPServerRow, i as MessageInsert, M as MessageRow, k as RepoInsert, R as RepoRow, g as SessionInsert, q as SessionMCPServerInsert, p as SessionMCPServerRow, S as SessionRow, h as TaskInsert, T as TaskRow, m as UserInsert, U as UserRow, l as WorktreeInsert, W as WorktreeRow, c as createDatabase, b as createDatabaseAsync, f as createLocalDatabase } from '../client-D2aU8aSy.js';
|
|
6
6
|
import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
|
7
7
|
import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
|
|
8
8
|
import { PgTable } from 'drizzle-orm/pg-core';
|
|
9
9
|
import { PostgresJsDatabase } from 'drizzle-orm/postgres-js';
|
|
10
10
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
11
11
|
import { SQLiteTable } from 'drizzle-orm/sqlite-core';
|
|
12
|
-
import { B as BaseRepository, c as SessionRepository } from '../worktrees-
|
|
13
|
-
export { A as AmbiguousIdError, E as EntityNotFoundError, M as MCPServerRepository, a as MessagesRepository, b as RepoRepository, R as RepositoryError, S as SessionMCPServerRepository, W as WorktreeRepository } from '../worktrees-
|
|
12
|
+
import { B as BaseRepository, c as SessionRepository } from '../worktrees-DcQY3jmV.js';
|
|
13
|
+
export { A as AmbiguousIdError, E as EntityNotFoundError, M as MCPServerRepository, a as MessagesRepository, b as RepoRepository, R as RepositoryError, S as SessionMCPServerRepository, W as WorktreeRepository } from '../worktrees-DcQY3jmV.js';
|
|
14
14
|
import { B as BoardComment } from '../board-comment-BCrDUioT.js';
|
|
15
15
|
import { B as BoardID, W as WorktreeID, a as SessionID } from '../id-DMqyogFB.js';
|
|
16
16
|
import { a as BoardEntityObject, e as Board, d as BoardObject } from '../board-8Biv3OXL.js';
|
|
@@ -20,7 +20,7 @@ import { c as CodexSandboxMode, d as CodexApprovalPolicy } from '../agentic-tool
|
|
|
20
20
|
import { a as Session, P as PermissionMode } from '../session-BKWF-wQh.js';
|
|
21
21
|
import { d as User } from '../user-DUohq_HZ.js';
|
|
22
22
|
import '../mcp-BJoCdfzv.js';
|
|
23
|
-
import '../repo-
|
|
23
|
+
import '../repo-Czn3XS-j.js';
|
|
24
24
|
import '../context-ByxGjp5l.js';
|
|
25
25
|
import '@anthropic-ai/claude-agent-sdk/sdk';
|
|
26
26
|
import '@google/gemini-cli-core';
|
|
@@ -2998,6 +2998,23 @@ declare const worktrees: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
2998
2998
|
identity: undefined;
|
|
2999
2999
|
generated: undefined;
|
|
3000
3000
|
}, {}, {}>;
|
|
3001
|
+
ref_type: drizzle_orm_pg_core.PgColumn<{
|
|
3002
|
+
name: "ref_type";
|
|
3003
|
+
tableName: "worktrees";
|
|
3004
|
+
dataType: "string";
|
|
3005
|
+
columnType: "PgText";
|
|
3006
|
+
data: "branch" | "tag";
|
|
3007
|
+
driverParam: string;
|
|
3008
|
+
notNull: false;
|
|
3009
|
+
hasDefault: false;
|
|
3010
|
+
isPrimaryKey: false;
|
|
3011
|
+
isAutoincrement: false;
|
|
3012
|
+
hasRuntimeDefault: false;
|
|
3013
|
+
enumValues: ["branch", "tag"];
|
|
3014
|
+
baseColumn: never;
|
|
3015
|
+
identity: undefined;
|
|
3016
|
+
generated: undefined;
|
|
3017
|
+
}, {}, {}>;
|
|
3001
3018
|
worktree_unique_id: drizzle_orm_pg_core.PgColumn<{
|
|
3002
3019
|
name: "worktree_unique_id";
|
|
3003
3020
|
tableName: "worktrees";
|
|
@@ -3518,6 +3535,25 @@ declare const worktrees: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
3518
3535
|
}, {}, {
|
|
3519
3536
|
length: number | undefined;
|
|
3520
3537
|
}>;
|
|
3538
|
+
ref_type: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3539
|
+
name: "ref_type";
|
|
3540
|
+
tableName: "worktrees";
|
|
3541
|
+
dataType: "string";
|
|
3542
|
+
columnType: "SQLiteText";
|
|
3543
|
+
data: "branch" | "tag";
|
|
3544
|
+
driverParam: string;
|
|
3545
|
+
notNull: false;
|
|
3546
|
+
hasDefault: false;
|
|
3547
|
+
isPrimaryKey: false;
|
|
3548
|
+
isAutoincrement: false;
|
|
3549
|
+
hasRuntimeDefault: false;
|
|
3550
|
+
enumValues: ["branch", "tag"];
|
|
3551
|
+
baseColumn: never;
|
|
3552
|
+
identity: undefined;
|
|
3553
|
+
generated: undefined;
|
|
3554
|
+
}, {}, {
|
|
3555
|
+
length: number | undefined;
|
|
3556
|
+
}>;
|
|
3521
3557
|
worktree_unique_id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3522
3558
|
name: "worktree_unique_id";
|
|
3523
3559
|
tableName: "worktrees";
|
package/dist/core/db/index.js
CHANGED
|
@@ -586,6 +586,8 @@ var worktrees = pgTable(
|
|
|
586
586
|
// "feat-auth", "main"
|
|
587
587
|
ref: text("ref").notNull(),
|
|
588
588
|
// Current branch/tag/commit
|
|
589
|
+
ref_type: text("ref_type", { enum: ["branch", "tag"] }),
|
|
590
|
+
// Type of ref (branch or tag)
|
|
589
591
|
worktree_unique_id: integer("worktree_unique_id").notNull(),
|
|
590
592
|
// Auto-assigned sequential ID for templates
|
|
591
593
|
// Environment configuration (static, initialized from templates, then user-editable)
|
|
@@ -999,6 +1001,8 @@ var worktrees2 = sqliteTable(
|
|
|
999
1001
|
// "feat-auth", "main"
|
|
1000
1002
|
ref: text2("ref").notNull(),
|
|
1001
1003
|
// Current branch/tag/commit
|
|
1004
|
+
ref_type: text2("ref_type", { enum: ["branch", "tag"] }),
|
|
1005
|
+
// Type of ref (branch or tag)
|
|
1002
1006
|
worktree_unique_id: integer2("worktree_unique_id").notNull(),
|
|
1003
1007
|
// Auto-assigned sequential ID for templates
|
|
1004
1008
|
// Environment configuration (static, initialized from templates, then user-editable)
|
|
@@ -4201,6 +4205,7 @@ var WorktreeRepository = class {
|
|
|
4201
4205
|
created_by: row.created_by,
|
|
4202
4206
|
name: row.name,
|
|
4203
4207
|
ref: row.ref,
|
|
4208
|
+
ref_type: row.ref_type ?? "branch",
|
|
4204
4209
|
worktree_unique_id: row.worktree_unique_id,
|
|
4205
4210
|
start_command: row.start_command ?? void 0,
|
|
4206
4211
|
// Static environment fields
|
|
@@ -4239,6 +4244,7 @@ var WorktreeRepository = class {
|
|
|
4239
4244
|
created_by: worktree.created_by ?? "anonymous",
|
|
4240
4245
|
name: worktree.name,
|
|
4241
4246
|
ref: worktree.ref,
|
|
4247
|
+
ref_type: worktree.ref_type,
|
|
4242
4248
|
worktree_unique_id: worktree.worktree_unique_id,
|
|
4243
4249
|
// Required field
|
|
4244
4250
|
// Static environment fields (initialized from templates, then user-editable)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ALTER TABLE "worktrees" ADD COLUMN "ref_type" text;
|