agent-stage 0.2.14 → 0.2.17
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/commands/guide.js +5 -5
- package/dist/commands/init.d.ts +1 -1
- package/dist/commands/init.js +94 -138
- package/dist/commands/page/add.js +5 -40
- package/dist/commands/run/exec.js +1 -1
- package/dist/commands/run/inspect.js +1 -1
- package/dist/commands/run/watch.js +1 -1
- package/dist/commands/serve.d.ts +2 -0
- package/dist/commands/serve.js +238 -0
- package/dist/commands/status.d.ts +1 -1
- package/dist/commands/status.js +41 -40
- package/dist/commands/stop.d.ts +1 -1
- package/dist/commands/stop.js +26 -44
- package/dist/index.js +16 -30
- package/dist/utils/agent-helper.js +5 -5
- package/dist/utils/paths.js +5 -5
- package/dist/utils/tunnel.d.ts +1 -1
- package/dist/utils/tunnel.js +1 -1
- package/package.json +8 -5
- package/dist/commands/dev/index.d.ts +0 -2
- package/dist/commands/dev/index.js +0 -11
- package/dist/commands/dev/init.d.ts +0 -2
- package/dist/commands/dev/init.js +0 -215
- package/dist/commands/dev/start.d.ts +0 -2
- package/dist/commands/dev/start.js +0 -145
- package/dist/commands/dev/status.d.ts +0 -2
- package/dist/commands/dev/status.js +0 -55
- package/dist/commands/dev/stop.d.ts +0 -2
- package/dist/commands/dev/stop.js +0 -45
- package/dist/commands/exec.d.ts +0 -2
- package/dist/commands/exec.js +0 -75
- package/dist/commands/inspect.d.ts +0 -2
- package/dist/commands/inspect.js +0 -62
- package/dist/commands/ls.d.ts +0 -2
- package/dist/commands/ls.js +0 -132
- package/dist/commands/restart.d.ts +0 -2
- package/dist/commands/restart.js +0 -90
- package/dist/commands/rm-page.d.ts +0 -2
- package/dist/commands/rm-page.js +0 -32
- package/dist/commands/start.d.ts +0 -2
- package/dist/commands/start.js +0 -82
- package/dist/commands/watch.d.ts +0 -2
- package/dist/commands/watch.js +0 -54
- package/template/components.json +0 -17
- package/template/index.html +0 -13
- package/template/package.json +0 -41
- package/template/postcss.config.js +0 -6
- package/template/src/components/PageRenderer.tsx +0 -108
- package/template/src/components/bridge-state-provider.tsx +0 -87
- package/template/src/components/ui/button.tsx +0 -55
- package/template/src/components/ui/card.tsx +0 -78
- package/template/src/components/ui/input.tsx +0 -24
- package/template/src/index.css +0 -59
- package/template/src/lib/bridge.ts +0 -53
- package/template/src/lib/utils.ts +0 -6
- package/template/src/main.tsx +0 -23
- package/template/src/pages/counter/store.json +0 -8
- package/template/src/pages/counter/ui.json +0 -108
- package/template/src/pages/test-page/store.json +0 -8
- package/template/src/routeTree.gen.ts +0 -77
- package/template/src/routes/__root.tsx +0 -11
- package/template/src/routes/counter.tsx +0 -19
- package/template/src/routes/index.tsx +0 -46
- package/template/src/vite-env.d.ts +0 -1
- package/template/tailwind.config.js +0 -53
- package/template/tsconfig.json +0 -25
- package/template/tsconfig.node.json +0 -11
- package/template/vite.config.ts +0 -22
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/** @type {import('tailwindcss').Config} */
|
|
2
|
-
export default {
|
|
3
|
-
darkMode: ["class"],
|
|
4
|
-
content: [
|
|
5
|
-
"./index.html",
|
|
6
|
-
"./src/**/*.{js,ts,jsx,tsx}",
|
|
7
|
-
],
|
|
8
|
-
theme: {
|
|
9
|
-
extend: {
|
|
10
|
-
colors: {
|
|
11
|
-
border: "hsl(var(--border))",
|
|
12
|
-
input: "hsl(var(--input))",
|
|
13
|
-
ring: "hsl(var(--ring))",
|
|
14
|
-
background: "hsl(var(--background))",
|
|
15
|
-
foreground: "hsl(var(--foreground))",
|
|
16
|
-
primary: {
|
|
17
|
-
DEFAULT: "hsl(var(--primary))",
|
|
18
|
-
foreground: "hsl(var(--primary-foreground))",
|
|
19
|
-
},
|
|
20
|
-
secondary: {
|
|
21
|
-
DEFAULT: "hsl(var(--secondary))",
|
|
22
|
-
foreground: "hsl(var(--secondary-foreground))",
|
|
23
|
-
},
|
|
24
|
-
destructive: {
|
|
25
|
-
DEFAULT: "hsl(var(--destructive))",
|
|
26
|
-
foreground: "hsl(var(--destructive-foreground))",
|
|
27
|
-
},
|
|
28
|
-
muted: {
|
|
29
|
-
DEFAULT: "hsl(var(--muted))",
|
|
30
|
-
foreground: "hsl(var(--muted-foreground))",
|
|
31
|
-
},
|
|
32
|
-
accent: {
|
|
33
|
-
DEFAULT: "hsl(var(--accent))",
|
|
34
|
-
foreground: "hsl(var(--accent-foreground))",
|
|
35
|
-
},
|
|
36
|
-
popover: {
|
|
37
|
-
DEFAULT: "hsl(var(--popover))",
|
|
38
|
-
foreground: "hsl(var(--popover-foreground))",
|
|
39
|
-
},
|
|
40
|
-
card: {
|
|
41
|
-
DEFAULT: "hsl(var(--card))",
|
|
42
|
-
foreground: "hsl(var(--card-foreground))",
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
borderRadius: {
|
|
46
|
-
lg: "var(--radius)",
|
|
47
|
-
md: "calc(var(--radius) - 2px)",
|
|
48
|
-
sm: "calc(var(--radius) - 4px)",
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
plugins: [require("tailwindcss-animate")],
|
|
53
|
-
}
|
package/template/tsconfig.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
6
|
-
"module": "ESNext",
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
"moduleResolution": "bundler",
|
|
9
|
-
"allowImportingTsExtensions": true,
|
|
10
|
-
"resolveJsonModule": true,
|
|
11
|
-
"isolatedModules": true,
|
|
12
|
-
"noEmit": true,
|
|
13
|
-
"jsx": "react-jsx",
|
|
14
|
-
"strict": true,
|
|
15
|
-
"noUnusedLocals": true,
|
|
16
|
-
"noUnusedParameters": true,
|
|
17
|
-
"noFallthroughCasesInSwitch": true,
|
|
18
|
-
"baseUrl": ".",
|
|
19
|
-
"paths": {
|
|
20
|
-
"@/*": ["./src/*"]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"include": ["src", "src/routeTree.gen.ts"],
|
|
24
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
25
|
-
}
|
package/template/vite.config.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vite'
|
|
2
|
-
import react from '@vitejs/plugin-react'
|
|
3
|
-
import { TanStackRouterVite } from '@tanstack/router-plugin/vite'
|
|
4
|
-
import { bridgePlugin } from 'agent-stage-bridge/vite'
|
|
5
|
-
import path from 'path'
|
|
6
|
-
|
|
7
|
-
// https://vitejs.dev/config/
|
|
8
|
-
export default defineConfig({
|
|
9
|
-
plugins: [
|
|
10
|
-
TanStackRouterVite({
|
|
11
|
-
target: 'react',
|
|
12
|
-
autoCodeSplitting: true,
|
|
13
|
-
}),
|
|
14
|
-
react(),
|
|
15
|
-
bridgePlugin(),
|
|
16
|
-
],
|
|
17
|
-
resolve: {
|
|
18
|
-
alias: {
|
|
19
|
-
'@': path.resolve(__dirname, './src'),
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
})
|