@kaitranntt/ccs 5.17.0-dev.4 → 5.17.0-dev.5

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.
@@ -1 +1 @@
1
- import{j as e}from"./radix-ui-OFtPgiRV.js";import{C as s,e as t,f as r,a,B as i}from"./index-CVMaabkX.js";import{a7 as l,n as o}from"./icons-Alnq4BWm.js";import{L as n}from"./react-vendor-CjrBBxxX.js";import"./tanstack-DMWkeNzM.js";import"./form-utils-DKkU3nz7.js";function j(){return e.jsxs("div",{className:"p-6 max-w-6xl mx-auto space-y-8",children:[e.jsx("h1",{className:"text-2xl font-bold",children:"Settings"}),e.jsxs(s,{className:"border-yellow-500/50 bg-yellow-500/5",children:[e.jsx(t,{children:e.jsxs(r,{className:"flex items-center gap-2 text-yellow-600",children:[e.jsx(l,{className:"w-5 h-5"}),"Page Relocated"]})}),e.jsxs(a,{className:"space-y-4",children:[e.jsxs("p",{className:"text-muted-foreground",children:["The settings editor has been integrated into the ",e.jsx("strong",{children:"API Profiles"})," page for a better user experience."]}),e.jsx("p",{className:"text-muted-foreground",children:"To edit environment variables for a profile:"}),e.jsxs("ol",{className:"list-decimal list-inside text-muted-foreground space-y-1 ml-2",children:[e.jsx("li",{children:"Go to API Profiles page"}),e.jsx("li",{children:"Click the actions menu (...) on any profile"}),e.jsx("li",{children:'Select "Edit Settings"'})]}),e.jsx("div",{className:"pt-2",children:e.jsx(i,{asChild:!0,children:e.jsxs(n,{to:"/api",children:["Go to API Profiles",e.jsx(o,{className:"w-4 h-4 ml-2"})]})})})]})]})]})}export{j as SettingsPage};
1
+ import{j as e}from"./radix-ui-OFtPgiRV.js";import{C as s,e as t,f as r,a,B as i}from"./index-9DnkErFb.js";import{a7 as l,n as o}from"./icons-Alnq4BWm.js";import{L as n}from"./react-vendor-CjrBBxxX.js";import"./tanstack-DMWkeNzM.js";import"./form-utils-DKkU3nz7.js";function j(){return e.jsxs("div",{className:"p-6 max-w-6xl mx-auto space-y-8",children:[e.jsx("h1",{className:"text-2xl font-bold",children:"Settings"}),e.jsxs(s,{className:"border-yellow-500/50 bg-yellow-500/5",children:[e.jsx(t,{children:e.jsxs(r,{className:"flex items-center gap-2 text-yellow-600",children:[e.jsx(l,{className:"w-5 h-5"}),"Page Relocated"]})}),e.jsxs(a,{className:"space-y-4",children:[e.jsxs("p",{className:"text-muted-foreground",children:["The settings editor has been integrated into the ",e.jsx("strong",{children:"API Profiles"})," page for a better user experience."]}),e.jsx("p",{className:"text-muted-foreground",children:"To edit environment variables for a profile:"}),e.jsxs("ol",{className:"list-decimal list-inside text-muted-foreground space-y-1 ml-2",children:[e.jsx("li",{children:"Go to API Profiles page"}),e.jsx("li",{children:"Click the actions menu (...) on any profile"}),e.jsx("li",{children:'Select "Edit Settings"'})]}),e.jsx("div",{className:"pt-2",children:e.jsx(i,{asChild:!0,children:e.jsxs(n,{to:"/api",children:["Go to API Profiles",e.jsx(o,{className:"w-4 h-4 ml-2"})]})})})]})]})]})}export{j as SettingsPage};
@@ -1 +1 @@
1
- import{j as s}from"./radix-ui-OFtPgiRV.js";import{r as l}from"./react-vendor-CjrBBxxX.js";import{V as o,W as m,X as c,Y as x,Z as u,B as h,C as p,a as g}from"./index-CVMaabkX.js";import{D as j,u as f,aa as N,k as b}from"./icons-Alnq4BWm.js";import"./tanstack-DMWkeNzM.js";import"./form-utils-DKkU3nz7.js";function w(){const[t,i]=l.useState("commands"),{data:e}=o(),{data:n,isLoading:r}=m(t),d=[{id:"commands",label:"Commands",icon:j,count:e?.commands??0},{id:"skills",label:"Skills",icon:f,count:e?.skills??0},{id:"agents",label:"Agents",icon:N,count:e?.agents??0}];return s.jsxs("div",{className:"p-6 max-w-6xl mx-auto space-y-8",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold",children:"Shared Data"}),s.jsx("p",{className:"text-muted-foreground",children:"Commands, skills, and agents shared across Claude instances"})]}),e&&!e.symlinkStatus.valid&&s.jsxs(c,{variant:"warning",children:[s.jsx(b,{className:"h-4 w-4"}),s.jsx(x,{children:"Configuration Required"}),s.jsxs(u,{children:[e.symlinkStatus.message,". Run `ccs sync` to configure."]})]}),s.jsx("div",{className:"flex gap-2 border-b pb-2",children:d.map(a=>s.jsxs(h,{variant:t===a.id?"default":"ghost",size:"sm",onClick:()=>i(a.id),className:"flex items-center gap-2",children:[s.jsx(a.icon,{className:"w-4 h-4"}),a.label," (",a.count,")"]},a.id))}),s.jsx("div",{className:"mt-4",children:r?s.jsx("div",{className:"text-muted-foreground",children:"Loading..."}):n?.items.length===0?s.jsxs("div",{className:"text-muted-foreground",children:["No ",t," found"]}):s.jsx("div",{className:"grid gap-3",children:n?.items.map(a=>s.jsx(p,{children:s.jsxs(g,{children:[s.jsx("div",{className:"font-medium",children:a.name}),s.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:a.description}),s.jsx("p",{className:"text-xs text-muted-foreground mt-2 font-mono truncate",children:a.path})]})},a.name))})})]})}export{w as SharedPage};
1
+ import{j as s}from"./radix-ui-OFtPgiRV.js";import{r as l}from"./react-vendor-CjrBBxxX.js";import{V as o,W as m,X as c,Y as x,Z as u,B as h,C as p,a as g}from"./index-9DnkErFb.js";import{D as j,u as f,aa as N,k as b}from"./icons-Alnq4BWm.js";import"./tanstack-DMWkeNzM.js";import"./form-utils-DKkU3nz7.js";function w(){const[t,i]=l.useState("commands"),{data:e}=o(),{data:n,isLoading:r}=m(t),d=[{id:"commands",label:"Commands",icon:j,count:e?.commands??0},{id:"skills",label:"Skills",icon:f,count:e?.skills??0},{id:"agents",label:"Agents",icon:N,count:e?.agents??0}];return s.jsxs("div",{className:"p-6 max-w-6xl mx-auto space-y-8",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold",children:"Shared Data"}),s.jsx("p",{className:"text-muted-foreground",children:"Commands, skills, and agents shared across Claude instances"})]}),e&&!e.symlinkStatus.valid&&s.jsxs(c,{variant:"warning",children:[s.jsx(b,{className:"h-4 w-4"}),s.jsx(x,{children:"Configuration Required"}),s.jsxs(u,{children:[e.symlinkStatus.message,". Run `ccs sync` to configure."]})]}),s.jsx("div",{className:"flex gap-2 border-b pb-2",children:d.map(a=>s.jsxs(h,{variant:t===a.id?"default":"ghost",size:"sm",onClick:()=>i(a.id),className:"flex items-center gap-2",children:[s.jsx(a.icon,{className:"w-4 h-4"}),a.label," (",a.count,")"]},a.id))}),s.jsx("div",{className:"mt-4",children:r?s.jsx("div",{className:"text-muted-foreground",children:"Loading..."}):n?.items.length===0?s.jsxs("div",{className:"text-muted-foreground",children:["No ",t," found"]}):s.jsx("div",{className:"grid gap-3",children:n?.items.map(a=>s.jsx(p,{children:s.jsxs(g,{children:[s.jsx("div",{className:"font-medium",children:a.name}),s.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:a.description}),s.jsx("p",{className:"text-xs text-muted-foreground mt-2 font-mono truncate",children:a.path})]})},a.name))})})]})}export{w as SharedPage};
@@ -24,7 +24,7 @@
24
24
  href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap"
25
25
  rel="stylesheet"
26
26
  />
27
- <script type="module" crossorigin src="/assets/index-CVMaabkX.js"></script>
27
+ <script type="module" crossorigin src="/assets/index-9DnkErFb.js"></script>
28
28
  <link rel="modulepreload" crossorigin href="/assets/react-vendor-CjrBBxxX.js">
29
29
  <link rel="modulepreload" crossorigin href="/assets/radix-ui-OFtPgiRV.js">
30
30
  <link rel="modulepreload" crossorigin href="/assets/tanstack-DMWkeNzM.js">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaitranntt/ccs",
3
- "version": "5.17.0-dev.4",
3
+ "version": "5.17.0-dev.5",
4
4
  "description": "Claude Code Switch - Instant profile switching between Claude Sonnet 4.5 and GLM 4.6",
5
5
  "keywords": [
6
6
  "cli",