pi-studio 0.6.0 → 0.6.2
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/CHANGELOG.md +16 -0
- package/README.md +3 -1
- package/client/studio-client.js +123 -5
- package/client/studio.css +206 -98
- package/index.ts +350 -64
- package/package.json +8 -2
- package/themes/pi-studio-dark.json +78 -0
- package/themes/pi-studio-light.json +77 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-studio",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Two-pane browser workspace for pi with prompt/response editing, annotations, critiques, prompt/response history, and live Markdown/LaTeX/code preview",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,12 +13,15 @@
|
|
|
13
13
|
"url": "https://github.com/omaclaren/pi-studio/issues"
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
|
-
"pi-package"
|
|
16
|
+
"pi-package",
|
|
17
|
+
"pi-extension",
|
|
18
|
+
"pi-theme"
|
|
17
19
|
],
|
|
18
20
|
"files": [
|
|
19
21
|
"index.ts",
|
|
20
22
|
"client",
|
|
21
23
|
"shared",
|
|
24
|
+
"themes",
|
|
22
25
|
"README.md",
|
|
23
26
|
"CHANGELOG.md",
|
|
24
27
|
"WORKFLOW.md",
|
|
@@ -31,6 +34,9 @@
|
|
|
31
34
|
"pi": {
|
|
32
35
|
"extensions": [
|
|
33
36
|
"./index.ts"
|
|
37
|
+
],
|
|
38
|
+
"themes": [
|
|
39
|
+
"./themes"
|
|
34
40
|
]
|
|
35
41
|
},
|
|
36
42
|
"peerDependencies": {
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
|
|
3
|
+
"name": "pi-studio-dark",
|
|
4
|
+
"vars": {
|
|
5
|
+
"bg": "#181818",
|
|
6
|
+
"surface": "#1f1f1f",
|
|
7
|
+
"surfaceAlt": "#1a1a1a",
|
|
8
|
+
"border": "#363636",
|
|
9
|
+
"borderMuted": "#2a2a2a",
|
|
10
|
+
"fg": "#d5d0c9",
|
|
11
|
+
"muted": "#88847f",
|
|
12
|
+
"dim": "#5a5a5a",
|
|
13
|
+
"accent": "#42d9c5",
|
|
14
|
+
"keyword": "#d286b7",
|
|
15
|
+
"success": "#bec975",
|
|
16
|
+
"error": "#f56e7f",
|
|
17
|
+
"warning": "#f1bb79",
|
|
18
|
+
"number": "#f58669"
|
|
19
|
+
},
|
|
20
|
+
"colors": {
|
|
21
|
+
"accent": "accent",
|
|
22
|
+
"border": "border",
|
|
23
|
+
"borderAccent": "accent",
|
|
24
|
+
"borderMuted": "borderMuted",
|
|
25
|
+
"success": "success",
|
|
26
|
+
"error": "error",
|
|
27
|
+
"warning": "warning",
|
|
28
|
+
"muted": "muted",
|
|
29
|
+
"dim": "dim",
|
|
30
|
+
"text": "fg",
|
|
31
|
+
"thinkingText": "muted",
|
|
32
|
+
"selectedBg": "border",
|
|
33
|
+
"userMessageBg": "borderMuted",
|
|
34
|
+
"userMessageText": "fg",
|
|
35
|
+
"customMessageBg": "bg",
|
|
36
|
+
"customMessageText": "fg",
|
|
37
|
+
"customMessageLabel": "keyword",
|
|
38
|
+
"toolPendingBg": "surface",
|
|
39
|
+
"toolSuccessBg": "#223125",
|
|
40
|
+
"toolErrorBg": "#3a2228",
|
|
41
|
+
"toolTitle": "fg",
|
|
42
|
+
"toolOutput": "muted",
|
|
43
|
+
"mdHeading": "keyword",
|
|
44
|
+
"mdLink": "accent",
|
|
45
|
+
"mdLinkUrl": "muted",
|
|
46
|
+
"mdCode": "success",
|
|
47
|
+
"mdCodeBlock": "success",
|
|
48
|
+
"mdCodeBlockBorder": "border",
|
|
49
|
+
"mdQuote": "number",
|
|
50
|
+
"mdQuoteBorder": "accent",
|
|
51
|
+
"mdHr": "border",
|
|
52
|
+
"mdListBullet": "accent",
|
|
53
|
+
"toolDiffAdded": "success",
|
|
54
|
+
"toolDiffRemoved": "error",
|
|
55
|
+
"toolDiffContext": "muted",
|
|
56
|
+
"syntaxComment": "muted",
|
|
57
|
+
"syntaxKeyword": "keyword",
|
|
58
|
+
"syntaxFunction": "accent",
|
|
59
|
+
"syntaxVariable": "fg",
|
|
60
|
+
"syntaxString": "success",
|
|
61
|
+
"syntaxNumber": "number",
|
|
62
|
+
"syntaxType": "accent",
|
|
63
|
+
"syntaxOperator": "fg",
|
|
64
|
+
"syntaxPunctuation": "fg",
|
|
65
|
+
"thinkingOff": "borderMuted",
|
|
66
|
+
"thinkingMinimal": "dim",
|
|
67
|
+
"thinkingLow": "#3bbfae",
|
|
68
|
+
"thinkingMedium": "accent",
|
|
69
|
+
"thinkingHigh": "accent",
|
|
70
|
+
"thinkingXhigh": "accent",
|
|
71
|
+
"bashMode": "success"
|
|
72
|
+
},
|
|
73
|
+
"export": {
|
|
74
|
+
"pageBg": "#181818",
|
|
75
|
+
"cardBg": "#1f1f1f",
|
|
76
|
+
"infoBg": "#2a1f1f"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
|
|
3
|
+
"name": "pi-studio-light",
|
|
4
|
+
"vars": {
|
|
5
|
+
"bg": "#ffffff",
|
|
6
|
+
"surface": "#f6f8fa",
|
|
7
|
+
"surfaceAlt": "#ffffff",
|
|
8
|
+
"border": "#d0d7de",
|
|
9
|
+
"borderMuted": "#eaeef2",
|
|
10
|
+
"fg": "#0e1116",
|
|
11
|
+
"muted": "#656e77",
|
|
12
|
+
"dim": "#9aa4af",
|
|
13
|
+
"accent": "#1b7c83",
|
|
14
|
+
"keyword": "#622cbc",
|
|
15
|
+
"success": "#024c1a",
|
|
16
|
+
"error": "#a0111f",
|
|
17
|
+
"warning": "#4e2c00"
|
|
18
|
+
},
|
|
19
|
+
"colors": {
|
|
20
|
+
"accent": "accent",
|
|
21
|
+
"border": "border",
|
|
22
|
+
"borderAccent": "accent",
|
|
23
|
+
"borderMuted": "borderMuted",
|
|
24
|
+
"success": "success",
|
|
25
|
+
"error": "error",
|
|
26
|
+
"warning": "warning",
|
|
27
|
+
"muted": "muted",
|
|
28
|
+
"dim": "dim",
|
|
29
|
+
"text": "fg",
|
|
30
|
+
"thinkingText": "muted",
|
|
31
|
+
"selectedBg": "border",
|
|
32
|
+
"userMessageBg": "borderMuted",
|
|
33
|
+
"userMessageText": "fg",
|
|
34
|
+
"customMessageBg": "bg",
|
|
35
|
+
"customMessageText": "fg",
|
|
36
|
+
"customMessageLabel": "keyword",
|
|
37
|
+
"toolPendingBg": "surface",
|
|
38
|
+
"toolSuccessBg": "#e9f5ec",
|
|
39
|
+
"toolErrorBg": "#fbecee",
|
|
40
|
+
"toolTitle": "fg",
|
|
41
|
+
"toolOutput": "muted",
|
|
42
|
+
"mdHeading": "keyword",
|
|
43
|
+
"mdLink": "accent",
|
|
44
|
+
"mdLinkUrl": "muted",
|
|
45
|
+
"mdCode": "success",
|
|
46
|
+
"mdCodeBlock": "success",
|
|
47
|
+
"mdCodeBlockBorder": "border",
|
|
48
|
+
"mdQuote": "muted",
|
|
49
|
+
"mdQuoteBorder": "accent",
|
|
50
|
+
"mdHr": "border",
|
|
51
|
+
"mdListBullet": "accent",
|
|
52
|
+
"toolDiffAdded": "success",
|
|
53
|
+
"toolDiffRemoved": "error",
|
|
54
|
+
"toolDiffContext": "muted",
|
|
55
|
+
"syntaxComment": "muted",
|
|
56
|
+
"syntaxKeyword": "keyword",
|
|
57
|
+
"syntaxFunction": "accent",
|
|
58
|
+
"syntaxVariable": "fg",
|
|
59
|
+
"syntaxString": "success",
|
|
60
|
+
"syntaxNumber": "error",
|
|
61
|
+
"syntaxType": "accent",
|
|
62
|
+
"syntaxOperator": "fg",
|
|
63
|
+
"syntaxPunctuation": "fg",
|
|
64
|
+
"thinkingOff": "borderMuted",
|
|
65
|
+
"thinkingMinimal": "dim",
|
|
66
|
+
"thinkingLow": "#2f8f96",
|
|
67
|
+
"thinkingMedium": "accent",
|
|
68
|
+
"thinkingHigh": "accent",
|
|
69
|
+
"thinkingXhigh": "accent",
|
|
70
|
+
"bashMode": "success"
|
|
71
|
+
},
|
|
72
|
+
"export": {
|
|
73
|
+
"pageBg": "#ffffff",
|
|
74
|
+
"cardBg": "#f6f8fa",
|
|
75
|
+
"infoBg": "#f3ecf8"
|
|
76
|
+
}
|
|
77
|
+
}
|