@justanarthur/modo-ui-ai 0.0.0-stage → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/LICENSE.fluid-functionalism +21 -0
- package/README.md +105 -2
- package/blocks/conversation/agent-prompt/examples.mdx +44 -0
- package/blocks/conversation/agent-prompt/index.tsx +114 -0
- package/blocks/conversation/composer/draft.css +25 -0
- package/blocks/conversation/composer/draft.tsx +589 -0
- package/blocks/conversation/composer/examples.mdx +164 -0
- package/blocks/conversation/composer/file-preview-tile.tsx +59 -0
- package/blocks/conversation/composer/file-thumbnail.tsx +146 -0
- package/blocks/conversation/composer/index.tsx +651 -0
- package/blocks/conversation/composer/queued-row.tsx +102 -0
- package/blocks/conversation/composer/shared.ts +38 -0
- package/blocks/conversation/composer/suggestion-row.tsx +64 -0
- package/blocks/conversation/composer/use-composer-files.ts +142 -0
- package/blocks/conversation/composer/use-history-nav.ts +60 -0
- package/blocks/conversation/composer/use-message-queue.ts +108 -0
- package/blocks/conversation/composer/use-region-height.ts +34 -0
- package/blocks/conversation/failure-states/examples.mdx +58 -0
- package/blocks/conversation/failure-states/index.tsx +274 -0
- package/blocks/conversation/transcript/examples.mdx +43 -0
- package/blocks/conversation/transcript/index.tsx +206 -0
- package/blocks/conversation/transcript-search/examples.mdx +50 -0
- package/blocks/conversation/transcript-search/index.tsx +469 -0
- package/blocks/dialogs/command-palette/examples.mdx +50 -0
- package/blocks/dialogs/command-palette/index.tsx +239 -0
- package/blocks/dialogs/hook-dialog/examples.mdx +44 -0
- package/blocks/dialogs/hook-dialog/index.tsx +286 -0
- package/blocks/dialogs/mcp-server-dialog/examples.mdx +57 -0
- package/blocks/dialogs/mcp-server-dialog/index.tsx +415 -0
- package/blocks/dialogs/shortcuts-sheet/examples.mdx +36 -0
- package/blocks/dialogs/shortcuts-sheet/index.tsx +186 -0
- package/blocks/panes/artifacts-pane/examples.mdx +23 -0
- package/blocks/panes/artifacts-pane/index.tsx +82 -0
- package/blocks/panes/changes-pane/examples.mdx +23 -0
- package/blocks/panes/changes-pane/index.tsx +248 -0
- package/blocks/panes/file-pane/examples.mdx +13 -0
- package/blocks/panes/file-pane/index.tsx +102 -0
- package/blocks/panes/pr-pane/examples.mdx +13 -0
- package/blocks/panes/pr-pane/index.tsx +191 -0
- package/blocks/panes/side-pane/examples.mdx +58 -0
- package/blocks/panes/side-pane/index.tsx +187 -0
- package/blocks/panes/tasks-pane/examples.mdx +23 -0
- package/blocks/panes/tasks-pane/index.tsx +127 -0
- package/blocks/panes/terminal-pane/examples.mdx +13 -0
- package/blocks/panes/terminal-pane/index.tsx +99 -0
- package/blocks/panes/usage-pane/examples.mdx +23 -0
- package/blocks/panes/usage-pane/index.tsx +78 -0
- package/blocks/profiles/profile-onboarding/examples.mdx +80 -0
- package/blocks/profiles/profile-onboarding/index.tsx +580 -0
- package/blocks/profiles/profile-switcher/examples.mdx +29 -0
- package/blocks/profiles/profile-switcher/index.tsx +212 -0
- package/blocks/profiles/profile-usage/examples.mdx +41 -0
- package/blocks/profiles/profile-usage/index.tsx +141 -0
- package/blocks/sessions/inbox/examples.mdx +35 -0
- package/blocks/sessions/inbox/index.tsx +372 -0
- package/blocks/sessions/session-board/examples.mdx +34 -0
- package/blocks/sessions/session-board/index.tsx +570 -0
- package/blocks/sessions/session-sidebar/examples.mdx +93 -0
- package/blocks/sessions/session-sidebar/index.tsx +497 -0
- package/blocks/settings/extensions/examples.mdx +10 -0
- package/blocks/settings/extensions/index.tsx +72 -0
- package/blocks/settings/hooks/examples.mdx +16 -0
- package/blocks/settings/hooks/index.tsx +127 -0
- package/blocks/settings/mcp-servers/examples.mdx +26 -0
- package/blocks/settings/mcp-servers/index.tsx +204 -0
- package/blocks/settings/memory/examples.mdx +22 -0
- package/blocks/settings/memory/index.tsx +113 -0
- package/blocks/settings/notifications/examples.mdx +8 -0
- package/blocks/settings/notifications/index.tsx +63 -0
- package/blocks/settings/permission-rules/examples.mdx +37 -0
- package/blocks/settings/permission-rules/index.tsx +317 -0
- package/blocks/settings/plugin-catalog/examples.mdx +52 -0
- package/blocks/settings/plugin-catalog/index.tsx +407 -0
- package/blocks/settings/plugins/examples.mdx +10 -0
- package/blocks/settings/plugins/index.tsx +72 -0
- package/blocks/settings/settings-window/examples.mdx +40 -0
- package/blocks/settings/settings-window/index.tsx +188 -0
- package/blocks/settings/worktrees/examples.mdx +17 -0
- package/blocks/settings/worktrees/index.tsx +145 -0
- package/components/conversation/agent-run/examples.mdx +38 -0
- package/components/conversation/agent-run/index.tsx +83 -0
- package/components/conversation/chapter-nav/examples.mdx +30 -0
- package/components/conversation/chapter-nav/index.tsx +123 -0
- package/components/conversation/message/examples.mdx +53 -0
- package/components/conversation/message/index.tsx +130 -0
- package/components/conversation/message/working.tsx +102 -0
- package/components/conversation/reasoning/examples.mdx +32 -0
- package/components/conversation/reasoning/index.tsx +55 -0
- package/components/conversation/recap/examples.mdx +21 -0
- package/components/conversation/recap/index.tsx +67 -0
- package/components/conversation/todo-list/examples.mdx +32 -0
- package/components/conversation/todo-list/index.tsx +106 -0
- package/components/conversation/tool-call/examples.mdx +48 -0
- package/components/conversation/tool-call/index.tsx +142 -0
- package/components/conversation/work-summary/examples.mdx +50 -0
- package/components/conversation/work-summary/index.tsx +87 -0
- package/components/prompts/permission-request/examples.mdx +32 -0
- package/components/prompts/permission-request/index.tsx +74 -0
- package/components/prompts/plan-approval/examples.mdx +37 -0
- package/components/prompts/plan-approval/index.tsx +76 -0
- package/components/prompts/prompt-card/examples.mdx +31 -0
- package/components/prompts/prompt-card/index.tsx +82 -0
- package/components/prompts/question-prompt/examples.mdx +46 -0
- package/components/prompts/question-prompt/index.tsx +118 -0
- package/dist/blocks/conversation/agent-prompt/index.d.ts +7 -0
- package/dist/blocks/conversation/agent-prompt/index.js +13 -0
- package/dist/blocks/conversation/composer/index.d.ts +4 -0
- package/dist/blocks/conversation/composer/index.js +16 -0
- package/dist/blocks/conversation/failure-states/index.d.ts +4 -0
- package/dist/blocks/conversation/failure-states/index.js +8 -0
- package/dist/blocks/conversation/transcript/index.d.ts +50 -0
- package/dist/blocks/conversation/transcript/index.js +17 -0
- package/dist/blocks/conversation/transcript-search/index.d.ts +4 -0
- package/dist/blocks/conversation/transcript-search/index.js +11 -0
- package/dist/blocks/dialogs/command-palette/index.d.ts +5 -0
- package/dist/blocks/dialogs/command-palette/index.js +20 -0
- package/dist/blocks/dialogs/hook-dialog/index.d.ts +3 -0
- package/dist/blocks/dialogs/hook-dialog/index.js +12 -0
- package/dist/blocks/dialogs/mcp-server-dialog/index.d.ts +5 -0
- package/dist/blocks/dialogs/mcp-server-dialog/index.js +12 -0
- package/dist/blocks/dialogs/shortcuts-sheet/index.d.ts +2 -0
- package/dist/blocks/dialogs/shortcuts-sheet/index.js +11 -0
- package/dist/blocks/panes/artifacts-pane/index.d.ts +3 -0
- package/dist/blocks/panes/artifacts-pane/index.js +9 -0
- package/dist/blocks/panes/changes-pane/index.d.ts +3 -0
- package/dist/blocks/panes/changes-pane/index.js +9 -0
- package/dist/blocks/panes/file-pane/index.d.ts +3 -0
- package/dist/blocks/panes/file-pane/index.js +9 -0
- package/dist/blocks/panes/pr-pane/index.d.ts +3 -0
- package/dist/blocks/panes/pr-pane/index.js +10 -0
- package/dist/blocks/panes/side-pane/index.d.ts +5 -0
- package/dist/blocks/panes/side-pane/index.js +21 -0
- package/dist/blocks/panes/tasks-pane/index.d.ts +3 -0
- package/dist/blocks/panes/tasks-pane/index.js +10 -0
- package/dist/blocks/panes/terminal-pane/index.d.ts +3 -0
- package/dist/blocks/panes/terminal-pane/index.js +9 -0
- package/dist/blocks/panes/usage-pane/index.d.ts +4 -0
- package/dist/blocks/panes/usage-pane/index.js +11 -0
- package/dist/blocks/profiles/profile-onboarding/index.d.ts +4 -0
- package/dist/blocks/profiles/profile-onboarding/index.js +11 -0
- package/dist/blocks/profiles/profile-switcher/index.d.ts +4 -0
- package/dist/blocks/profiles/profile-switcher/index.js +12 -0
- package/dist/blocks/profiles/profile-usage/index.d.ts +4 -0
- package/dist/blocks/profiles/profile-usage/index.js +10 -0
- package/dist/blocks/sessions/inbox/index.d.ts +2 -0
- package/dist/blocks/sessions/inbox/index.js +11 -0
- package/dist/blocks/sessions/session-board/index.d.ts +4 -0
- package/dist/blocks/sessions/session-board/index.js +27 -0
- package/dist/blocks/sessions/session-sidebar/index.d.ts +5 -0
- package/dist/blocks/sessions/session-sidebar/index.js +15 -0
- package/dist/blocks/settings/extensions/index.d.ts +2 -0
- package/dist/blocks/settings/extensions/index.js +9 -0
- package/dist/blocks/settings/hooks/index.d.ts +4 -0
- package/dist/blocks/settings/hooks/index.js +9 -0
- package/dist/blocks/settings/mcp-servers/index.d.ts +4 -0
- package/dist/blocks/settings/mcp-servers/index.js +9 -0
- package/dist/blocks/settings/memory/index.d.ts +4 -0
- package/dist/blocks/settings/memory/index.js +8 -0
- package/dist/blocks/settings/notifications/index.d.ts +2 -0
- package/dist/blocks/settings/notifications/index.js +8 -0
- package/dist/blocks/settings/permission-rules/index.d.ts +3 -0
- package/dist/blocks/settings/permission-rules/index.js +10 -0
- package/dist/blocks/settings/plugin-catalog/index.d.ts +2 -0
- package/dist/blocks/settings/plugin-catalog/index.js +11 -0
- package/dist/blocks/settings/plugins/index.d.ts +4 -0
- package/dist/blocks/settings/plugins/index.js +9 -0
- package/dist/blocks/settings/settings-window/index.d.ts +4 -0
- package/dist/blocks/settings/settings-window/index.js +8 -0
- package/dist/blocks/settings/worktrees/index.d.ts +4 -0
- package/dist/blocks/settings/worktrees/index.js +9 -0
- package/dist/components/conversation/agent-run/index.d.ts +3 -0
- package/dist/components/conversation/agent-run/index.js +10 -0
- package/dist/components/conversation/chapter-nav/index.d.ts +2 -0
- package/dist/components/conversation/chapter-nav/index.js +11 -0
- package/dist/components/conversation/message/index.d.ts +2 -0
- package/dist/components/conversation/message/index.js +15 -0
- package/dist/components/conversation/reasoning/index.d.ts +2 -0
- package/dist/components/conversation/reasoning/index.js +8 -0
- package/dist/components/conversation/recap/index.d.ts +2 -0
- package/dist/components/conversation/recap/index.js +9 -0
- package/dist/components/conversation/todo-list/index.d.ts +2 -0
- package/dist/components/conversation/todo-list/index.js +9 -0
- package/dist/components/conversation/tool-call/index.d.ts +3 -0
- package/dist/components/conversation/tool-call/index.js +13 -0
- package/dist/components/conversation/work-summary/index.d.ts +2 -0
- package/dist/components/conversation/work-summary/index.js +10 -0
- package/dist/components/prompts/permission-request/index.d.ts +2 -0
- package/dist/components/prompts/permission-request/index.js +9 -0
- package/dist/components/prompts/plan-approval/index.d.ts +2 -0
- package/dist/components/prompts/plan-approval/index.js +9 -0
- package/dist/components/prompts/prompt-card/index.d.ts +3 -0
- package/dist/components/prompts/prompt-card/index.js +8 -0
- package/dist/components/prompts/question-prompt/index.d.ts +2 -0
- package/dist/components/prompts/question-prompt/index.js +9 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.js +231 -0
- package/dist/lib/config-parts.d.ts +2 -0
- package/dist/lib/config-parts.js +16 -0
- package/dist/lib/icons.d.ts +2 -0
- package/dist/lib/icons.js +10 -0
- package/dist/lib/pace-bar.d.ts +11 -0
- package/dist/lib/pace-bar.js +6 -0
- package/dist/lib/pace.d.ts +4 -0
- package/dist/lib/pace.js +14 -0
- package/dist/lib/pane-parts.d.ts +25 -0
- package/dist/lib/pane-parts.js +11 -0
- package/dist/lib/row-trigger.d.ts +5 -0
- package/dist/lib/row-trigger.js +7 -0
- package/dist/lib/settings-parts.d.ts +70 -0
- package/dist/lib/settings-parts.js +24 -0
- package/dist/lib/side-pane-types.d.ts +2 -0
- package/dist/lib/side-pane-types.js +1 -0
- package/dist/lib/status-glyph.d.ts +8 -0
- package/dist/lib/status-glyph.js +12 -0
- package/dist/lib/types.d.ts +3 -0
- package/dist/lib/types.js +1 -0
- package/dist/shared/chunk-04a497rr.js +21 -0
- package/dist/shared/chunk-13yf0mza.d.ts +70 -0
- package/dist/shared/chunk-1hzrm8r5.d.ts +51 -0
- package/dist/shared/chunk-1qdwg7w5.d.ts +81 -0
- package/dist/shared/chunk-1yt061np.d.ts +64 -0
- package/dist/shared/chunk-218qabm5.js +250 -0
- package/dist/shared/chunk-2fk5aq60.js +313 -0
- package/dist/shared/chunk-3ps5h55t.d.ts +30 -0
- package/dist/shared/chunk-3yaftgh0.d.ts +28 -0
- package/dist/shared/chunk-4zvhpf2x.js +55 -0
- package/dist/shared/chunk-57hzzmjd.d.ts +67 -0
- package/dist/shared/chunk-58jh3mje.js +46 -0
- package/dist/shared/chunk-58qvny6a.d.ts +29 -0
- package/dist/shared/chunk-5fhkkn39.js +130 -0
- package/dist/shared/chunk-5hw0525a.d.ts +33 -0
- package/dist/shared/chunk-5meda998.js +238 -0
- package/dist/shared/chunk-5pqksw7z.js +91 -0
- package/dist/shared/chunk-6220dy5n.js +70 -0
- package/dist/shared/chunk-64bnh22t.d.ts +59 -0
- package/dist/shared/chunk-66sh633m.d.ts +60 -0
- package/dist/shared/chunk-6cmf27g3.d.ts +81 -0
- package/dist/shared/chunk-6kwk9vag.js +558 -0
- package/dist/shared/chunk-6rdwkymk.js +177 -0
- package/dist/shared/chunk-71j8qzvb.d.ts +57 -0
- package/dist/shared/chunk-74bvf3tw.d.ts +21 -0
- package/dist/shared/chunk-75zwypyr.d.ts +43 -0
- package/dist/shared/chunk-7mfer3tp.js +176 -0
- package/dist/shared/chunk-7rzjmcnh.d.ts +30 -0
- package/dist/shared/chunk-7zvb39cf.d.ts +26 -0
- package/dist/shared/chunk-8mecznyr.js +357 -0
- package/dist/shared/chunk-8pag6vmd.js +255 -0
- package/dist/shared/chunk-94grzz9f.js +187 -0
- package/dist/shared/chunk-9kw6m047.d.ts +32 -0
- package/dist/shared/chunk-at0jje23.d.ts +110 -0
- package/dist/shared/chunk-awd573h9.js +34 -0
- package/dist/shared/chunk-b171wjge.d.ts +25 -0
- package/dist/shared/chunk-b4dz15em.d.ts +36 -0
- package/dist/shared/chunk-b5ccp5de.js +35 -0
- package/dist/shared/chunk-bh2b5d1z.js +98 -0
- package/dist/shared/chunk-c36qvrwq.d.ts +30 -0
- package/dist/shared/chunk-c8wp058j.js +153 -0
- package/dist/shared/chunk-d2t72h4x.d.ts +35 -0
- package/dist/shared/chunk-dh3qy5fj.js +49 -0
- package/dist/shared/chunk-dxzrtvt9.d.ts +283 -0
- package/dist/shared/chunk-e46apgve.d.ts +40 -0
- package/dist/shared/chunk-ejtknc0w.js +21 -0
- package/dist/shared/chunk-eqajdxn8.js +82 -0
- package/dist/shared/chunk-fapc805j.js +130 -0
- package/dist/shared/chunk-fm1qyrae.d.ts +68 -0
- package/dist/shared/chunk-fqhcz6ss.d.ts +29 -0
- package/dist/shared/chunk-g88hweqh.d.ts +70 -0
- package/dist/shared/chunk-gb5ee5dw.d.ts +88 -0
- package/dist/shared/chunk-gewnsgza.js +61 -0
- package/dist/shared/chunk-hxjgey30.d.ts +36 -0
- package/dist/shared/chunk-jkkdq1mh.d.ts +213 -0
- package/dist/shared/chunk-jpq101w3.js +91 -0
- package/dist/shared/chunk-k3bv9k1v.d.ts +56 -0
- package/dist/shared/chunk-kreypnzp.d.ts +34 -0
- package/dist/shared/chunk-mnzw0bav.js +80 -0
- package/dist/shared/chunk-mrb3fp2f.d.ts +30 -0
- package/dist/shared/chunk-n1qq2wp9.js +6 -0
- package/dist/shared/chunk-n31qwnj2.js +1544 -0
- package/dist/shared/chunk-n4742y54.js +39 -0
- package/dist/shared/chunk-ndjvdkv7.d.ts +29 -0
- package/dist/shared/chunk-njf851p1.js +245 -0
- package/dist/shared/chunk-nk4578dr.js +73 -0
- package/dist/shared/chunk-nkbgg7bw.d.ts +24 -0
- package/dist/shared/chunk-nvh33x9x.js +488 -0
- package/dist/shared/chunk-paezqfg1.js +106 -0
- package/dist/shared/chunk-qemm9e3r.d.ts +21 -0
- package/dist/shared/chunk-qhxz1etk.js +96 -0
- package/dist/shared/chunk-qj5ev9ak.js +531 -0
- package/dist/shared/chunk-qnwggvjy.js +150 -0
- package/dist/shared/chunk-qt31n444.js +178 -0
- package/dist/shared/chunk-r5hz78pb.js +129 -0
- package/dist/shared/chunk-r6nb21kz.d.ts +102 -0
- package/dist/shared/chunk-rqrpvvz4.d.ts +107 -0
- package/dist/shared/chunk-s3r759ec.js +80 -0
- package/dist/shared/chunk-sdtjrw9w.d.ts +98 -0
- package/dist/shared/chunk-skg3m9m0.js +56 -0
- package/dist/shared/chunk-t21t9x7e.js +188 -0
- package/dist/shared/chunk-tc75ng2c.js +235 -0
- package/dist/shared/chunk-tkx1krwc.js +88 -0
- package/dist/shared/chunk-tprdqtb1.d.ts +30 -0
- package/dist/shared/chunk-tv9a1sek.js +137 -0
- package/dist/shared/chunk-tvbd27hg.d.ts +43 -0
- package/dist/shared/chunk-ty2ccknv.d.ts +54 -0
- package/dist/shared/chunk-v6yevw62.d.ts +28 -0
- package/dist/shared/chunk-v9q38p0x.js +258 -0
- package/dist/shared/chunk-vgh4f3sv.js +118 -0
- package/dist/shared/chunk-vjht1zn1.js +391 -0
- package/dist/shared/chunk-vsrkb0sp.d.ts +21 -0
- package/dist/shared/chunk-whsx7yp9.d.ts +37 -0
- package/dist/shared/chunk-wq9h37gy.js +86 -0
- package/dist/shared/chunk-x7az5x1y.d.ts +57 -0
- package/dist/shared/chunk-x9jf26yb.js +318 -0
- package/dist/shared/chunk-xbrrt07s.d.ts +23 -0
- package/dist/shared/chunk-xkchhs2z.js +129 -0
- package/dist/shared/chunk-xzfrskd7.js +202 -0
- package/dist/shared/chunk-y4cj4y54.js +423 -0
- package/dist/shared/chunk-y934at6m.js +7 -0
- package/dist/shared/chunk-zbpwhpjy.d.ts +75 -0
- package/dist/shared/chunk-zfhmbb7n.js +63 -0
- package/dist/shared/chunk-zk0t4vq5.js +71 -0
- package/dist/shared/chunk-znp9gna7.d.ts +23 -0
- package/dist/styles.css +467 -0
- package/index.ts +49 -0
- package/lib/config-parts.tsx +97 -0
- package/lib/icons.tsx +149 -0
- package/lib/pace-bar.tsx +24 -0
- package/lib/pace.ts +78 -0
- package/lib/pane-parts.tsx +76 -0
- package/lib/row-trigger.tsx +44 -0
- package/lib/settings-parts.tsx +232 -0
- package/lib/side-pane-types.ts +75 -0
- package/lib/status-glyph.tsx +25 -0
- package/lib/types.ts +204 -0
- package/mock/demo-reply.tsx +33 -0
- package/mock/demo-session.tsx +150 -0
- package/mock/mock-config.ts +173 -0
- package/mock/mock-extras.ts +288 -0
- package/mock/mock-panes.ts +190 -0
- package/mock/mock-settings.ts +92 -0
- package/mock/mock.ts +548 -0
- package/mock/screen-frame.tsx +49 -0
- package/package.json +114 -4
package/dist/index.js
ADDED
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AiIconProvider2
|
|
3
|
+
} from "./shared/chunk-xkchhs2z.js";
|
|
4
|
+
import {
|
|
5
|
+
PromptCard2
|
|
6
|
+
} from "./shared/chunk-zk0t4vq5.js";
|
|
7
|
+
import {
|
|
8
|
+
PermissionRequest2
|
|
9
|
+
} from "./shared/chunk-gewnsgza.js";
|
|
10
|
+
import {
|
|
11
|
+
PlanApproval2
|
|
12
|
+
} from "./shared/chunk-6220dy5n.js";
|
|
13
|
+
import {
|
|
14
|
+
QuestionPrompt2
|
|
15
|
+
} from "./shared/chunk-paezqfg1.js";
|
|
16
|
+
import {
|
|
17
|
+
AgentPrompt2
|
|
18
|
+
} from "./shared/chunk-wq9h37gy.js";
|
|
19
|
+
import"./shared/chunk-n4742y54.js";
|
|
20
|
+
import"./shared/chunk-58jh3mje.js";
|
|
21
|
+
import {
|
|
22
|
+
ProfileTile2,
|
|
23
|
+
ProfileSwitcher2
|
|
24
|
+
} from "./shared/chunk-njf851p1.js";
|
|
25
|
+
import {
|
|
26
|
+
FileThumbnail2,
|
|
27
|
+
ComposerDraft2,
|
|
28
|
+
Composer2
|
|
29
|
+
} from "./shared/chunk-n31qwnj2.js";
|
|
30
|
+
import {
|
|
31
|
+
FailureState2
|
|
32
|
+
} from "./shared/chunk-v9q38p0x.js";
|
|
33
|
+
import {
|
|
34
|
+
ToolStatusMark2,
|
|
35
|
+
ToolCallGroup2,
|
|
36
|
+
ToolCall2
|
|
37
|
+
} from "./shared/chunk-vgh4f3sv.js";
|
|
38
|
+
import {
|
|
39
|
+
AgentRun2
|
|
40
|
+
} from "./shared/chunk-nk4578dr.js";
|
|
41
|
+
import {
|
|
42
|
+
ChapterBreak2,
|
|
43
|
+
ChapterNav2
|
|
44
|
+
} from "./shared/chunk-bh2b5d1z.js";
|
|
45
|
+
import {
|
|
46
|
+
Working2,
|
|
47
|
+
MentionChip,
|
|
48
|
+
AttachmentChip,
|
|
49
|
+
Message2
|
|
50
|
+
} from "./shared/chunk-94grzz9f.js";
|
|
51
|
+
import {
|
|
52
|
+
Reasoning2
|
|
53
|
+
} from "./shared/chunk-b5ccp5de.js";
|
|
54
|
+
import {
|
|
55
|
+
Recap2
|
|
56
|
+
} from "./shared/chunk-skg3m9m0.js";
|
|
57
|
+
import {
|
|
58
|
+
TodoList2
|
|
59
|
+
} from "./shared/chunk-jpq101w3.js";
|
|
60
|
+
import {
|
|
61
|
+
WorkSummaryProvider2,
|
|
62
|
+
WorkSummary2
|
|
63
|
+
} from "./shared/chunk-zfhmbb7n.js";
|
|
64
|
+
import {
|
|
65
|
+
Transcript2
|
|
66
|
+
} from "./shared/chunk-qt31n444.js";
|
|
67
|
+
import {
|
|
68
|
+
TranscriptSearchPanel2,
|
|
69
|
+
TranscriptSearch2
|
|
70
|
+
} from "./shared/chunk-y4cj4y54.js";
|
|
71
|
+
import"./shared/chunk-ejtknc0w.js";
|
|
72
|
+
import"./shared/chunk-eqajdxn8.js";
|
|
73
|
+
import {
|
|
74
|
+
ArtifactsPane2
|
|
75
|
+
} from "./shared/chunk-s3r759ec.js";
|
|
76
|
+
import {
|
|
77
|
+
ChangesPane2
|
|
78
|
+
} from "./shared/chunk-218qabm5.js";
|
|
79
|
+
import {
|
|
80
|
+
FilePane2
|
|
81
|
+
} from "./shared/chunk-qhxz1etk.js";
|
|
82
|
+
import {
|
|
83
|
+
PullRequestPane2
|
|
84
|
+
} from "./shared/chunk-8pag6vmd.js";
|
|
85
|
+
import {
|
|
86
|
+
TasksPane2
|
|
87
|
+
} from "./shared/chunk-r5hz78pb.js";
|
|
88
|
+
import {
|
|
89
|
+
TerminalPane2
|
|
90
|
+
} from "./shared/chunk-tkx1krwc.js";
|
|
91
|
+
import"./shared/chunk-04a497rr.js";
|
|
92
|
+
import {
|
|
93
|
+
UsagePane2
|
|
94
|
+
} from "./shared/chunk-mnzw0bav.js";
|
|
95
|
+
import {
|
|
96
|
+
PANES2,
|
|
97
|
+
SidePane2
|
|
98
|
+
} from "./shared/chunk-6rdwkymk.js";
|
|
99
|
+
import {
|
|
100
|
+
CommandPalette2
|
|
101
|
+
} from "./shared/chunk-7mfer3tp.js";
|
|
102
|
+
import"./shared/chunk-5pqksw7z.js";
|
|
103
|
+
import {
|
|
104
|
+
HookDialogPanel2,
|
|
105
|
+
HookDialog2
|
|
106
|
+
} from "./shared/chunk-tc75ng2c.js";
|
|
107
|
+
import {
|
|
108
|
+
McpServerDialogPanel2,
|
|
109
|
+
McpServerDialog2
|
|
110
|
+
} from "./shared/chunk-8mecznyr.js";
|
|
111
|
+
import {
|
|
112
|
+
ShortcutsSheetPanel2,
|
|
113
|
+
ShortcutsSheet2
|
|
114
|
+
} from "./shared/chunk-c8wp058j.js";
|
|
115
|
+
import {
|
|
116
|
+
ProfileOnboardingPanel2,
|
|
117
|
+
ProfileOnboarding2
|
|
118
|
+
} from "./shared/chunk-qj5ev9ak.js";
|
|
119
|
+
import {
|
|
120
|
+
ProfileUsage2
|
|
121
|
+
} from "./shared/chunk-fapc805j.js";
|
|
122
|
+
import {
|
|
123
|
+
InboxList2,
|
|
124
|
+
Inbox2
|
|
125
|
+
} from "./shared/chunk-x9jf26yb.js";
|
|
126
|
+
import {
|
|
127
|
+
SessionBoard2
|
|
128
|
+
} from "./shared/chunk-6kwk9vag.js";
|
|
129
|
+
import {
|
|
130
|
+
SessionSidebar2
|
|
131
|
+
} from "./shared/chunk-nvh33x9x.js";
|
|
132
|
+
import"./shared/chunk-5meda998.js";
|
|
133
|
+
import {
|
|
134
|
+
Extensions2
|
|
135
|
+
} from "./shared/chunk-dh3qy5fj.js";
|
|
136
|
+
import {
|
|
137
|
+
Hooks2
|
|
138
|
+
} from "./shared/chunk-tv9a1sek.js";
|
|
139
|
+
import {
|
|
140
|
+
McpServers2
|
|
141
|
+
} from "./shared/chunk-xzfrskd7.js";
|
|
142
|
+
import {
|
|
143
|
+
Memory2
|
|
144
|
+
} from "./shared/chunk-5fhkkn39.js";
|
|
145
|
+
import {
|
|
146
|
+
Notifications2
|
|
147
|
+
} from "./shared/chunk-awd573h9.js";
|
|
148
|
+
import {
|
|
149
|
+
PermissionRules2
|
|
150
|
+
} from "./shared/chunk-2fk5aq60.js";
|
|
151
|
+
import {
|
|
152
|
+
PluginCatalogPanel2,
|
|
153
|
+
PluginCatalog2
|
|
154
|
+
} from "./shared/chunk-vjht1zn1.js";
|
|
155
|
+
import {
|
|
156
|
+
Plugins2
|
|
157
|
+
} from "./shared/chunk-4zvhpf2x.js";
|
|
158
|
+
import {
|
|
159
|
+
SettingsWindow2
|
|
160
|
+
} from "./shared/chunk-t21t9x7e.js";
|
|
161
|
+
import {
|
|
162
|
+
Worktrees2
|
|
163
|
+
} from "./shared/chunk-qnwggvjy.js";
|
|
164
|
+
import"./shared/chunk-y934at6m.js";
|
|
165
|
+
import"./shared/chunk-n1qq2wp9.js";
|
|
166
|
+
export {
|
|
167
|
+
AgentPrompt2 as AgentPrompt,
|
|
168
|
+
AgentRun2 as AgentRun,
|
|
169
|
+
AiIconProvider2 as AiIconProvider,
|
|
170
|
+
ArtifactsPane2 as ArtifactsPane,
|
|
171
|
+
AttachmentChip as Attachment,
|
|
172
|
+
ChangesPane2 as ChangesPane,
|
|
173
|
+
ChapterBreak2 as ChapterBreak,
|
|
174
|
+
ChapterNav2 as ChapterNav,
|
|
175
|
+
CommandPalette2 as CommandPalette,
|
|
176
|
+
Composer2 as Composer,
|
|
177
|
+
ComposerDraft2 as ComposerDraft,
|
|
178
|
+
Extensions2 as Extensions,
|
|
179
|
+
FailureState2 as FailureState,
|
|
180
|
+
FilePane2 as FilePane,
|
|
181
|
+
FileThumbnail2 as FileThumbnail,
|
|
182
|
+
HookDialog2 as HookDialog,
|
|
183
|
+
HookDialogPanel2 as HookDialogPanel,
|
|
184
|
+
Hooks2 as Hooks,
|
|
185
|
+
Inbox2 as Inbox,
|
|
186
|
+
InboxList2 as InboxList,
|
|
187
|
+
McpServerDialog2 as McpServerDialog,
|
|
188
|
+
McpServerDialogPanel2 as McpServerDialogPanel,
|
|
189
|
+
McpServers2 as McpServers,
|
|
190
|
+
Memory2 as Memory,
|
|
191
|
+
MentionChip as Mention,
|
|
192
|
+
Message2 as Message,
|
|
193
|
+
Notifications2 as Notifications,
|
|
194
|
+
PANES2 as PANES,
|
|
195
|
+
PermissionRequest2 as PermissionRequest,
|
|
196
|
+
PermissionRules2 as PermissionRules,
|
|
197
|
+
PlanApproval2 as PlanApproval,
|
|
198
|
+
PluginCatalog2 as PluginCatalog,
|
|
199
|
+
PluginCatalogPanel2 as PluginCatalogPanel,
|
|
200
|
+
Plugins2 as Plugins,
|
|
201
|
+
ProfileOnboarding2 as ProfileOnboarding,
|
|
202
|
+
ProfileOnboardingPanel2 as ProfileOnboardingPanel,
|
|
203
|
+
ProfileSwitcher2 as ProfileSwitcher,
|
|
204
|
+
ProfileTile2 as ProfileTile,
|
|
205
|
+
ProfileUsage2 as ProfileUsage,
|
|
206
|
+
PromptCard2 as PromptCard,
|
|
207
|
+
PullRequestPane2 as PullRequestPane,
|
|
208
|
+
QuestionPrompt2 as QuestionPrompt,
|
|
209
|
+
Reasoning2 as Reasoning,
|
|
210
|
+
Recap2 as Recap,
|
|
211
|
+
SessionBoard2 as SessionBoard,
|
|
212
|
+
SessionSidebar2 as SessionSidebar,
|
|
213
|
+
SettingsWindow2 as SettingsWindow,
|
|
214
|
+
ShortcutsSheet2 as ShortcutsSheet,
|
|
215
|
+
ShortcutsSheetPanel2 as ShortcutsSheetPanel,
|
|
216
|
+
SidePane2 as SidePane,
|
|
217
|
+
TasksPane2 as TasksPane,
|
|
218
|
+
TerminalPane2 as TerminalPane,
|
|
219
|
+
TodoList2 as TodoList,
|
|
220
|
+
ToolCall2 as ToolCall,
|
|
221
|
+
ToolCallGroup2 as ToolCallGroup,
|
|
222
|
+
ToolStatusMark2 as ToolStatusMark,
|
|
223
|
+
Transcript2 as Transcript,
|
|
224
|
+
TranscriptSearch2 as TranscriptSearch,
|
|
225
|
+
TranscriptSearchPanel2 as TranscriptSearchPanel,
|
|
226
|
+
UsagePane2 as UsagePane,
|
|
227
|
+
WorkSummary2 as WorkSummary,
|
|
228
|
+
WorkSummaryProvider2 as WorkSummaryProvider,
|
|
229
|
+
Working2 as Working,
|
|
230
|
+
Worktrees2 as Worktrees
|
|
231
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ConfigScope2, SCOPES2, SCOPE_NOTE2, settingsFile2, Field2, Fieldset2, Segmented2 } from "../shared/chunk-whsx7yp9.js";
|
|
2
|
+
export { ConfigScope2 as ConfigScope, Field2 as Field, Fieldset2 as Fieldset, SCOPES2 as SCOPES, SCOPE_NOTE2 as SCOPE_NOTE, Segmented2 as Segmented, settingsFile2 as settingsFile };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SCOPES2,
|
|
3
|
+
SCOPE_NOTE2,
|
|
4
|
+
settingsFile2,
|
|
5
|
+
Field2,
|
|
6
|
+
Fieldset2,
|
|
7
|
+
Segmented2
|
|
8
|
+
} from "../shared/chunk-5pqksw7z.js";
|
|
9
|
+
export {
|
|
10
|
+
Field2 as Field,
|
|
11
|
+
Fieldset2 as Fieldset,
|
|
12
|
+
SCOPES2 as SCOPES,
|
|
13
|
+
SCOPE_NOTE2 as SCOPE_NOTE,
|
|
14
|
+
Segmented2 as Segmented,
|
|
15
|
+
settingsFile2 as settingsFile
|
|
16
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { IconComponent2, AiIconName2, IconName2, useIcons2, useIcon2, AiIconProvider2 } from "../shared/chunk-13yf0mza.js";
|
|
2
|
+
export { AiIconName2 as AiIconName, AiIconProvider2 as AiIconProvider, IconComponent2 as IconComponent, IconName2 as IconName, useIcon2 as useIcon, useIcons2 as useIcons };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../shared/chunk-13yf0mza.js";
|
|
2
|
+
import "../shared/chunk-jkkdq1mh.js";
|
|
3
|
+
import { LimitPace2 } from "../shared/chunk-3yaftgh0.js";
|
|
4
|
+
import { JSX as JSX_1kxb } from "react";
|
|
5
|
+
type Element_12xgc = JSX_1kxb["Element"];
|
|
6
|
+
/** The used share, colored by verdict, with a tick at the even-pace share. */
|
|
7
|
+
declare function PaceBar({ pace, className }: {
|
|
8
|
+
pace: LimitPace2;
|
|
9
|
+
className?: string;
|
|
10
|
+
}): Element_12xgc;
|
|
11
|
+
export { PaceBar };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Verdict2, LimitPace2, ProfilePace2, paceOf2, duration2, NO_USAGE2, percent2, VERDICT_TEXT2 } from "../shared/chunk-3yaftgh0.js";
|
|
2
|
+
import "../shared/chunk-jkkdq1mh.js";
|
|
3
|
+
import "../shared/chunk-13yf0mza.js";
|
|
4
|
+
export { LimitPace2 as LimitPace, NO_USAGE2 as NO_USAGE, ProfilePace2 as ProfilePace, VERDICT_TEXT2 as VERDICT_TEXT, Verdict2 as Verdict, duration2 as duration, paceOf2 as paceOf, percent2 as percent };
|
package/dist/lib/pace.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
paceOf2,
|
|
3
|
+
duration2,
|
|
4
|
+
NO_USAGE2,
|
|
5
|
+
percent2,
|
|
6
|
+
VERDICT_TEXT2
|
|
7
|
+
} from "../shared/chunk-58jh3mje.js";
|
|
8
|
+
export {
|
|
9
|
+
NO_USAGE2 as NO_USAGE,
|
|
10
|
+
VERDICT_TEXT2 as VERDICT_TEXT,
|
|
11
|
+
duration2 as duration,
|
|
12
|
+
paceOf2 as paceOf,
|
|
13
|
+
percent2 as percent
|
|
14
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IconComponent2, IconName2 } from "../shared/chunk-13yf0mza.js";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
import { JSX as JSX_1kxb } from "react";
|
|
4
|
+
type Element_12xgc = JSX_1kxb["Element"];
|
|
5
|
+
/** A titled group: the title, its meta and its icon actions on one row, the rows under it. */
|
|
6
|
+
declare function PaneSection({ title, meta, actions, children }: {
|
|
7
|
+
title: ReactNode;
|
|
8
|
+
meta?: ReactNode;
|
|
9
|
+
actions?: ReactNode;
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
}): Element_12xgc;
|
|
12
|
+
/** An icon-only ghost button with its label as a tooltip. */
|
|
13
|
+
declare function IconAction({ icon: Icon, label, pressed, onClick }: {
|
|
14
|
+
icon: IconComponent2;
|
|
15
|
+
label: string;
|
|
16
|
+
pressed?: boolean;
|
|
17
|
+
onClick?: () => void;
|
|
18
|
+
}): Element_12xgc;
|
|
19
|
+
/** What a pane shows with nothing in it: a glyph, a line and what to do next. */
|
|
20
|
+
declare function PaneEmpty({ icon, title, detail }: {
|
|
21
|
+
icon: IconName2;
|
|
22
|
+
title: string;
|
|
23
|
+
detail: string;
|
|
24
|
+
}): Element_12xgc;
|
|
25
|
+
export { IconAction, PaneEmpty, PaneSection };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from "react";
|
|
2
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn } from "react";
|
|
3
|
+
import { RefAttributes as RefAttributes_miuf56 } from "react";
|
|
4
|
+
declare const RowTrigger: ForwardRefExoticComponent_tcubfn<ButtonHTMLAttributes<HTMLButtonElement> & RefAttributes_miuf56<HTMLButtonElement>>;
|
|
5
|
+
export { RowTrigger };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { JSX as JSX_1kxb } from "react";
|
|
3
|
+
type Element_12xgc = JSX_1kxb["Element"];
|
|
4
|
+
declare function Section({ title, lead, actions, children }: {
|
|
5
|
+
title: string;
|
|
6
|
+
lead: string;
|
|
7
|
+
actions?: ReactNode;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}): Element_12xgc;
|
|
10
|
+
/** A captioned run of rows inside a section. */
|
|
11
|
+
declare function Group({ title, aside, children }: {
|
|
12
|
+
title: string;
|
|
13
|
+
aside?: ReactNode;
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
}): Element_12xgc;
|
|
16
|
+
/** Switch rows, unframed; pulled back by the rows' px-4 so labels line up with the heading. */
|
|
17
|
+
declare function Toggles({ label, children }: {
|
|
18
|
+
label: string;
|
|
19
|
+
children: ReactNode;
|
|
20
|
+
}): Element_12xgc;
|
|
21
|
+
declare const ACTION_SLOTS: {
|
|
22
|
+
readonly button: {
|
|
23
|
+
readonly slot: "w-8 @md:w-28";
|
|
24
|
+
readonly room: "pr-12 @md:pr-32";
|
|
25
|
+
};
|
|
26
|
+
readonly icon: {
|
|
27
|
+
readonly slot: "w-8";
|
|
28
|
+
readonly room: "pr-12";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type ActionKind = keyof typeof ACTION_SLOTS;
|
|
32
|
+
/** Rows that open into a card with their config. `actions` keeps a slot at every row's end, so the chevrons line up. */
|
|
33
|
+
declare function Details({ label, actions, defaultOpen, children }: {
|
|
34
|
+
label: string;
|
|
35
|
+
actions?: ActionKind;
|
|
36
|
+
defaultOpen?: string[];
|
|
37
|
+
children: ReactNode;
|
|
38
|
+
}): Element_12xgc;
|
|
39
|
+
/** Visible on hover or focus of its row, always on touch. */
|
|
40
|
+
declare const ON_HOVER = "opacity-0 transition-opacity duration-fast group-hover/row:opacity-100 focus-within:opacity-100 pointer-coarse:opacity-100";
|
|
41
|
+
declare function Row({ value, index, label, caption, meta, action, children }: {
|
|
42
|
+
value: string;
|
|
43
|
+
index: number;
|
|
44
|
+
label: ReactNode;
|
|
45
|
+
caption?: ReactNode;
|
|
46
|
+
/** State on the row's right: a badge, a size. */
|
|
47
|
+
meta?: ReactNode;
|
|
48
|
+
/** A control beside the trigger, in the list's action slot. */
|
|
49
|
+
action?: ReactNode;
|
|
50
|
+
/** The card's body when the row is open. */
|
|
51
|
+
children: ReactNode;
|
|
52
|
+
}): Element_12xgc;
|
|
53
|
+
/** An open row's config: a caption label on the left, its value on the right. */
|
|
54
|
+
declare function Facts({ items }: {
|
|
55
|
+
items: [string, ReactNode][];
|
|
56
|
+
}): Element_12xgc;
|
|
57
|
+
/** Code inside an open row's card: a sunken well, since in light every surface from the card up is white. */
|
|
58
|
+
declare function CardCode({ language, children }: {
|
|
59
|
+
language: string;
|
|
60
|
+
children: string;
|
|
61
|
+
}): Element_12xgc;
|
|
62
|
+
declare function Mono({ children }: {
|
|
63
|
+
children: ReactNode;
|
|
64
|
+
}): Element_12xgc;
|
|
65
|
+
/** The card's last line: where the setting lives, and what you can do to it. */
|
|
66
|
+
declare function Footer({ source, children }: {
|
|
67
|
+
source: string;
|
|
68
|
+
children: ReactNode;
|
|
69
|
+
}): Element_12xgc;
|
|
70
|
+
export { CardCode, Details, Facts, Footer, Group, Mono, ON_HOVER, Row, Section, Toggles };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Section2,
|
|
3
|
+
Group2,
|
|
4
|
+
Toggles2,
|
|
5
|
+
Details2,
|
|
6
|
+
ON_HOVER2,
|
|
7
|
+
Row2,
|
|
8
|
+
Facts2,
|
|
9
|
+
CardCode2,
|
|
10
|
+
Mono2,
|
|
11
|
+
Footer2
|
|
12
|
+
} from "../shared/chunk-5meda998.js";
|
|
13
|
+
export {
|
|
14
|
+
CardCode2 as CardCode,
|
|
15
|
+
Details2 as Details,
|
|
16
|
+
Facts2 as Facts,
|
|
17
|
+
Footer2 as Footer,
|
|
18
|
+
Group2 as Group,
|
|
19
|
+
Mono2 as Mono,
|
|
20
|
+
ON_HOVER2 as ON_HOVER,
|
|
21
|
+
Row2 as Row,
|
|
22
|
+
Section2 as Section,
|
|
23
|
+
Toggles2 as Toggles
|
|
24
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { PaneChange2, PaneFile2, ShellEntry2, PaneShell2, PaneCheck2, PaneReview2, PanePullRequest2, ArtifactKind2, PaneArtifact2, PaneTask2 } from "../shared/chunk-66sh633m.js";
|
|
2
|
+
export { ArtifactKind2 as ArtifactKind, PaneArtifact2 as PaneArtifact, PaneChange2 as PaneChange, PaneCheck2 as PaneCheck, PaneFile2 as PaneFile, PanePullRequest2 as PanePullRequest, PaneReview2 as PaneReview, PaneShell2 as PaneShell, PaneTask2 as PaneTask, ShellEntry2 as ShellEntry };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../shared/chunk-y934at6m.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IconComponent2 } from "../shared/chunk-13yf0mza.js";
|
|
2
|
+
import { SessionStatus2 } from "../shared/chunk-jkkdq1mh.js";
|
|
3
|
+
declare const RunningGlyph: IconComponent2;
|
|
4
|
+
declare const WaitingGlyph: IconComponent2;
|
|
5
|
+
/** The glyph for a session state; unread and idle use the Sidebar's own dots instead. */
|
|
6
|
+
declare const STATUS_GLYPH: Partial<Record<SessionStatus2, IconComponent2>>;
|
|
7
|
+
declare const STATUS_LABEL: Record<SessionStatus2, string>;
|
|
8
|
+
export { RunningGlyph, STATUS_GLYPH, STATUS_LABEL, WaitingGlyph };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RunningGlyph2,
|
|
3
|
+
WaitingGlyph2,
|
|
4
|
+
STATUS_GLYPH2,
|
|
5
|
+
STATUS_LABEL2
|
|
6
|
+
} from "../shared/chunk-ejtknc0w.js";
|
|
7
|
+
export {
|
|
8
|
+
RunningGlyph2 as RunningGlyph,
|
|
9
|
+
STATUS_GLYPH2 as STATUS_GLYPH,
|
|
10
|
+
STATUS_LABEL2 as STATUS_LABEL,
|
|
11
|
+
WaitingGlyph2 as WaitingGlyph
|
|
12
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PaneId2, ToolName2, UsageLimit2, Profile2, SessionStatus2, SessionPrompt2, SessionWork2, Session2, SessionGroup2, Project2, Model2, PermissionMode2, Command2, Change2, Check2, Artifact2, BackgroundTask2, McpServer2, Hook2, Plugin2, MemoryFile2, Worktree2, PaletteItem2 } from "../shared/chunk-jkkdq1mh.js";
|
|
2
|
+
import "../shared/chunk-13yf0mza.js";
|
|
3
|
+
export { Artifact2 as Artifact, BackgroundTask2 as BackgroundTask, Change2 as Change, Check2 as Check, Command2 as Command, Hook2 as Hook, McpServer2 as McpServer, MemoryFile2 as MemoryFile, Model2 as Model, PaletteItem2 as PaletteItem, PaneId2 as PaneId, PermissionMode2 as PermissionMode, Plugin2 as Plugin, Profile2 as Profile, Project2 as Project, Session2 as Session, SessionGroup2 as SessionGroup, SessionPrompt2 as SessionPrompt, SessionStatus2 as SessionStatus, SessionWork2 as SessionWork, ToolName2 as ToolName, UsageLimit2 as UsageLimit, Worktree2 as Worktree };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../shared/chunk-n1qq2wp9.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// lib/pace-bar.tsx
|
|
2
|
+
import Meter from "@justanarthur/modo-ui/components/feedback/meter";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
/*!
|
|
5
|
+
* Local addition: a usage limit read against time — a Meter line whose tone
|
|
6
|
+
* is whether the limit lasts until its reset (see pace.ts) and whose marker
|
|
7
|
+
* is where an even spend would be by now.
|
|
8
|
+
*/
|
|
9
|
+
var TONE = { free: "default", watch: "warning", tight: "error" };
|
|
10
|
+
function PaceBar2({ pace, className }) {
|
|
11
|
+
return /* @__PURE__ */ jsx(Meter, {
|
|
12
|
+
variant: "line",
|
|
13
|
+
label: pace.limit.label,
|
|
14
|
+
value: pace.limit.value,
|
|
15
|
+
marker: pace.elapsed,
|
|
16
|
+
tone: TONE[pace.verdict],
|
|
17
|
+
className
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { PaceBar2 };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { IconComponent as IconComponent2, IconName as UiIconName } from "@justanarthur/modo-ui/lib/icon-context";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
import { LucideIcon as LucideIcon_b49o7r } from "lucide-react";
|
|
4
|
+
import { JSX as JSX_1kxb } from "react";
|
|
5
|
+
declare const aiIcons: {
|
|
6
|
+
archive: LucideIcon_b49o7r;
|
|
7
|
+
"arrow-up-right": LucideIcon_b49o7r;
|
|
8
|
+
"at-sign": LucideIcon_b49o7r;
|
|
9
|
+
ban: LucideIcon_b49o7r;
|
|
10
|
+
"book-open": LucideIcon_b49o7r;
|
|
11
|
+
bot: LucideIcon_b49o7r;
|
|
12
|
+
"chevron-up": LucideIcon_b49o7r;
|
|
13
|
+
"circle-dot": LucideIcon_b49o7r;
|
|
14
|
+
"circle-x": LucideIcon_b49o7r;
|
|
15
|
+
clipboard: LucideIcon_b49o7r;
|
|
16
|
+
cloud: LucideIcon_b49o7r;
|
|
17
|
+
"columns-2": LucideIcon_b49o7r;
|
|
18
|
+
command: LucideIcon_b49o7r;
|
|
19
|
+
cpu: LucideIcon_b49o7r;
|
|
20
|
+
"external-link": LucideIcon_b49o7r;
|
|
21
|
+
"file-plus": LucideIcon_b49o7r;
|
|
22
|
+
"file-text": LucideIcon_b49o7r;
|
|
23
|
+
"folder-open": LucideIcon_b49o7r;
|
|
24
|
+
gauge: LucideIcon_b49o7r;
|
|
25
|
+
"git-branch": LucideIcon_b49o7r;
|
|
26
|
+
"git-fork": LucideIcon_b49o7r;
|
|
27
|
+
"git-pull-request": LucideIcon_b49o7r;
|
|
28
|
+
history: LucideIcon_b49o7r;
|
|
29
|
+
key: LucideIcon_b49o7r;
|
|
30
|
+
layers: LucideIcon_b49o7r;
|
|
31
|
+
"layout-dashboard": LucideIcon_b49o7r;
|
|
32
|
+
"list-checks": LucideIcon_b49o7r;
|
|
33
|
+
"list-tree": LucideIcon_b49o7r;
|
|
34
|
+
package: LucideIcon_b49o7r;
|
|
35
|
+
paperclip: LucideIcon_b49o7r;
|
|
36
|
+
"pen-line": LucideIcon_b49o7r;
|
|
37
|
+
pin: LucideIcon_b49o7r;
|
|
38
|
+
plug: LucideIcon_b49o7r;
|
|
39
|
+
puzzle: LucideIcon_b49o7r;
|
|
40
|
+
"refresh-cw": LucideIcon_b49o7r;
|
|
41
|
+
server: LucideIcon_b49o7r;
|
|
42
|
+
"shield-check": LucideIcon_b49o7r;
|
|
43
|
+
split: LucideIcon_b49o7r;
|
|
44
|
+
"square-kanban": LucideIcon_b49o7r;
|
|
45
|
+
terminal: LucideIcon_b49o7r;
|
|
46
|
+
"text-wrap": LucideIcon_b49o7r;
|
|
47
|
+
trash: LucideIcon_b49o7r;
|
|
48
|
+
"triangle-alert": LucideIcon_b49o7r;
|
|
49
|
+
webhook: LucideIcon_b49o7r;
|
|
50
|
+
wrench: LucideIcon_b49o7r;
|
|
51
|
+
zap: LucideIcon_b49o7r;
|
|
52
|
+
};
|
|
53
|
+
/** A glyph only the kit draws. */
|
|
54
|
+
type AiIconName2 = keyof typeof aiIcons;
|
|
55
|
+
/** Every name the kit's items read: modo-ui's set plus the kit's own. */
|
|
56
|
+
type IconName2 = UiIconName | AiIconName2;
|
|
57
|
+
/** The whole map: modo-ui's icons (through its IconProvider) and the kit's (through AiIconProvider). */
|
|
58
|
+
declare function useIcons2(): Record<IconName2, IconComponent2>;
|
|
59
|
+
/** One icon by name, from either set. */
|
|
60
|
+
declare function useIcon2(name: IconName2): IconComponent2;
|
|
61
|
+
type Element_12xgc = JSX_1kxb["Element"];
|
|
62
|
+
/**
|
|
63
|
+
* Swap some or all of the kit's own glyphs. Names left out keep their Lucide
|
|
64
|
+
* component; modo-ui's names are swapped with its IconProvider.
|
|
65
|
+
*/
|
|
66
|
+
declare function AiIconProvider2({ children, icons }: {
|
|
67
|
+
children: ReactNode;
|
|
68
|
+
icons?: Partial<Record<AiIconName2, IconComponent2>>;
|
|
69
|
+
}): Element_12xgc;
|
|
70
|
+
export { IconComponent2, AiIconName2, IconName2, useIcons2, useIcon2, AiIconProvider2 };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Profile2 } from "./chunk-jkkdq1mh.js";
|
|
2
|
+
import { JSX as JSX_1kxb } from "react";
|
|
3
|
+
type ProfileTileSize = "sm" | "md";
|
|
4
|
+
interface ProfileTileProps2 {
|
|
5
|
+
/** The profile it stands for: an Anthropic profile is an ink tile, a compatible provider an accent one. */
|
|
6
|
+
profile: Profile2;
|
|
7
|
+
/** 16px (`sm`) or 20px (`md`). Defaults to `'md'`. */
|
|
8
|
+
size?: ProfileTileSize;
|
|
9
|
+
/** Classes for the tile. */
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
type Element_12xgc = JSX_1kxb["Element"];
|
|
13
|
+
/** A profile's letter tile: a square Avatar off the ladder, small enough for a row. */
|
|
14
|
+
declare function ProfileTile2({ profile, size, className }: ProfileTileProps2): Element_12xgc;
|
|
15
|
+
interface ProfileSwitcherProps2 {
|
|
16
|
+
/** The profiles to switch between. */
|
|
17
|
+
profiles: Profile2[];
|
|
18
|
+
/** Controlled active profile id. Pair with `onValueChange`. */
|
|
19
|
+
value?: string;
|
|
20
|
+
/** Initial active profile id, for an uncontrolled switcher. Defaults to the first profile. */
|
|
21
|
+
defaultValue?: string;
|
|
22
|
+
/** Called with the new profile id when another profile is picked. */
|
|
23
|
+
onValueChange?: (value: string) => void;
|
|
24
|
+
/** Start with the panel open, as the profiles screen shows it. Defaults to `false`. */
|
|
25
|
+
defaultOpen?: boolean;
|
|
26
|
+
/** The trigger: a borderless Select-style trigger with the tile, the name and two thin usage lines (it lines up with Selects in a row), or a Sidebar header row (inside a Sidebar). Defaults to `'button'`. */
|
|
27
|
+
variant?: "button" | "sidebar";
|
|
28
|
+
/** Which side of the trigger the panel opens on. Defaults to `'bottom'`. */
|
|
29
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
30
|
+
/** Classes for the trigger. */
|
|
31
|
+
className?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Switches the profile a new session runs under: one row per Claude config
|
|
35
|
+
* dir, plus any Anthropic-compatible provider, each with its plan and how
|
|
36
|
+
* much of its limits is used.
|
|
37
|
+
*
|
|
38
|
+
* Every profile is its own `claude` process with its own `CLAUDE_CONFIG_DIR`
|
|
39
|
+
* (its sign-in, settings, memory and limits), so the switcher shows what
|
|
40
|
+
* the switch costs before you make it: the plan, the config dir or base
|
|
41
|
+
* URL, how many sessions run there, and the session and weekly meters,
|
|
42
|
+
* which turn amber and red as a limit runs out. A profile with no limits yet
|
|
43
|
+
* (`limits: []`, before its first turn reports usage) shows a dash for its
|
|
44
|
+
* share and "No usage yet" under Limits. The panel grows out of the
|
|
45
|
+
* trigger; the active profile's background melts to the row you pick, and
|
|
46
|
+
* the arrow keys move the pick.
|
|
47
|
+
*
|
|
48
|
+
* @example {@include ./examples.mdx}
|
|
49
|
+
*/
|
|
50
|
+
declare function ProfileSwitcher2({ profiles, value, defaultValue, onValueChange, defaultOpen, variant, side, className }: ProfileSwitcherProps2): Element_12xgc | null;
|
|
51
|
+
export { ProfileTileProps2, ProfileTile2, ProfileSwitcherProps2, ProfileSwitcher2 };
|