indusagi-coding-agent 0.1.40 → 0.1.41

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 CHANGED
@@ -1,6 +1,12 @@
1
1
  # Changelog
2
2
 
3
- ## [0.1.40] - Latest Release
3
+ ## [0.1.41] - Latest Release
4
+
5
+ ### Changed
6
+ - **README Naming**: Replaced `induscode` references with `indusagi-coding-agent` in `README.md`.
7
+ - **Version Bump**: Updated package version to `0.1.41`.
8
+
9
+ ## [0.1.40]
4
10
 
5
11
  ### Fixed
6
12
  - **UUID Runtime Error**: Added missing `uuid` dependency to fix `ERR_MODULE_NOT_FOUND` at runtime (`dist/observability/core/span.js`).
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # induscode
1
+ # indusagi-coding-agent
2
2
 
3
3
  A terminal-first coding agent with a small core and strong extensibility. Use it interactively, in scripts (print/JSON), over RPC, or as an SDK in your own apps.
4
4
 
@@ -15,7 +15,7 @@ Docs: https://www.indusagi.com
15
15
  ## Install
16
16
 
17
17
  ```bash
18
- npm install -g induscode
18
+ npm install -g indusagi-coding-agent
19
19
  ```
20
20
 
21
21
  ## Quick Start
@@ -0,0 +1,91 @@
1
+ {
2
+ "$schema": "./theme-schema.json",
3
+ "name": "dark",
4
+ "palette": {
5
+ "signal": "#00d7ff",
6
+ "frame": "#5f87ff",
7
+ "ok": "#b5bd68",
8
+ "danger": "#cc6666",
9
+ "caution": "#f0c674",
10
+ "softText": "#808080",
11
+ "faintText": "#666666",
12
+ "quietFrame": "#505050",
13
+ "cardAccent": "#8abeb7",
14
+ "activeSurface": "#3a3a4a",
15
+ "promptSurface": "#343541",
16
+ "toolIdle": "#282832",
17
+ "toolDone": "#283228",
18
+ "toolFailed": "#3c2828",
19
+ "customSurface": "#2d2838"
20
+ },
21
+ "chrome": {
22
+ "accent": "cardAccent",
23
+ "border": "frame",
24
+ "borderAccent": "signal",
25
+ "borderMuted": "quietFrame",
26
+ "success": "ok",
27
+ "error": "danger",
28
+ "warning": "caution",
29
+ "muted": "softText",
30
+ "dim": "faintText",
31
+ "text": "",
32
+ "thinkingText": "softText"
33
+ },
34
+ "surfaces": {
35
+ "selected": "activeSurface",
36
+ "userMessage": "promptSurface",
37
+ "userMessageText": "",
38
+ "customMessage": "customSurface",
39
+ "customMessageText": "",
40
+ "customMessageLabel": "#9575cd",
41
+ "toolPending": "toolIdle",
42
+ "toolSuccess": "toolDone",
43
+ "toolError": "toolFailed",
44
+ "toolTitle": "",
45
+ "toolOutput": "softText"
46
+ },
47
+ "markdown": {
48
+ "heading": "caution",
49
+ "link": "#81a2be",
50
+ "linkUrl": "faintText",
51
+ "inlineCode": "cardAccent",
52
+ "codeBlock": "ok",
53
+ "codeFence": "softText",
54
+ "quote": "softText",
55
+ "quoteBorder": "softText",
56
+ "rule": "softText",
57
+ "listBullet": "cardAccent"
58
+ },
59
+ "diff": {
60
+ "added": "ok",
61
+ "removed": "danger",
62
+ "context": "softText"
63
+ },
64
+ "syntax": {
65
+ "comment": "#6A9955",
66
+ "keyword": "#569CD6",
67
+ "functionName": "#DCDCAA",
68
+ "variable": "#9CDCFE",
69
+ "string": "#CE9178",
70
+ "number": "#B5CEA8",
71
+ "typeName": "#4EC9B0",
72
+ "operator": "#D4D4D4",
73
+ "punctuation": "#D4D4D4"
74
+ },
75
+ "thinking": {
76
+ "off": "quietFrame",
77
+ "minimal": "#6e6e6e",
78
+ "low": "#5f87af",
79
+ "medium": "#81a2be",
80
+ "high": "#b294bb",
81
+ "xhigh": "#d183e8"
82
+ },
83
+ "modes": {
84
+ "bashBorder": "ok"
85
+ },
86
+ "exportPalette": {
87
+ "page": "#18181e",
88
+ "card": "#1e1e24",
89
+ "info": "#3c3728"
90
+ }
91
+ }
@@ -0,0 +1,90 @@
1
+ {
2
+ "$schema": "./theme-schema.json",
3
+ "name": "light",
4
+ "palette": {
5
+ "signal": "#5a8080",
6
+ "frame": "#547da7",
7
+ "ok": "#588458",
8
+ "danger": "#aa5555",
9
+ "caution": "#9a7326",
10
+ "softText": "#6c6c6c",
11
+ "faintText": "#767676",
12
+ "quietFrame": "#b0b0b0",
13
+ "activeSurface": "#d0d0e0",
14
+ "promptSurface": "#e8e8e8",
15
+ "toolIdle": "#e8e8f0",
16
+ "toolDone": "#e8f0e8",
17
+ "toolFailed": "#f0e8e8",
18
+ "customSurface": "#ede7f6"
19
+ },
20
+ "chrome": {
21
+ "accent": "signal",
22
+ "border": "frame",
23
+ "borderAccent": "signal",
24
+ "borderMuted": "quietFrame",
25
+ "success": "ok",
26
+ "error": "danger",
27
+ "warning": "caution",
28
+ "muted": "softText",
29
+ "dim": "faintText",
30
+ "text": "",
31
+ "thinkingText": "softText"
32
+ },
33
+ "surfaces": {
34
+ "selected": "activeSurface",
35
+ "userMessage": "promptSurface",
36
+ "userMessageText": "",
37
+ "customMessage": "customSurface",
38
+ "customMessageText": "",
39
+ "customMessageLabel": "#7e57c2",
40
+ "toolPending": "toolIdle",
41
+ "toolSuccess": "toolDone",
42
+ "toolError": "toolFailed",
43
+ "toolTitle": "",
44
+ "toolOutput": "softText"
45
+ },
46
+ "markdown": {
47
+ "heading": "caution",
48
+ "link": "frame",
49
+ "linkUrl": "faintText",
50
+ "inlineCode": "signal",
51
+ "codeBlock": "ok",
52
+ "codeFence": "softText",
53
+ "quote": "softText",
54
+ "quoteBorder": "softText",
55
+ "rule": "softText",
56
+ "listBullet": "ok"
57
+ },
58
+ "diff": {
59
+ "added": "ok",
60
+ "removed": "danger",
61
+ "context": "softText"
62
+ },
63
+ "syntax": {
64
+ "comment": "#008000",
65
+ "keyword": "#0000FF",
66
+ "functionName": "#795E26",
67
+ "variable": "#001080",
68
+ "string": "#A31515",
69
+ "number": "#098658",
70
+ "typeName": "#267F99",
71
+ "operator": "#000000",
72
+ "punctuation": "#000000"
73
+ },
74
+ "thinking": {
75
+ "off": "quietFrame",
76
+ "minimal": "#767676",
77
+ "low": "frame",
78
+ "medium": "signal",
79
+ "high": "#875f87",
80
+ "xhigh": "#8b008b"
81
+ },
82
+ "modes": {
83
+ "bashBorder": "ok"
84
+ },
85
+ "exportPalette": {
86
+ "page": "#f8f8f8",
87
+ "card": "#ffffff",
88
+ "info": "#fffae6"
89
+ }
90
+ }
@@ -0,0 +1,339 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Indusagi Interactive Theme Source",
4
+ "description": "Validation schema for interactive themes. The runtime accepts both the grouped blueprint format and the legacy vars/colors format for backward compatibility.",
5
+ "oneOf": [
6
+ {
7
+ "$ref": "#/$defs/themeBlueprint"
8
+ },
9
+ {
10
+ "$ref": "#/$defs/legacyTheme"
11
+ }
12
+ ],
13
+ "$defs": {
14
+ "colorToken": {
15
+ "description": "A theme token may be an empty string for terminal defaults, a hex RGB string, a palette reference, or a 0-255 ANSI color index.",
16
+ "oneOf": [
17
+ {
18
+ "type": "string"
19
+ },
20
+ {
21
+ "type": "integer",
22
+ "minimum": 0,
23
+ "maximum": 255
24
+ }
25
+ ]
26
+ },
27
+ "legacyTheme": {
28
+ "type": "object",
29
+ "additionalProperties": false,
30
+ "required": ["name", "colors"],
31
+ "properties": {
32
+ "$schema": {
33
+ "type": "string",
34
+ "description": "Optional schema reference."
35
+ },
36
+ "name": {
37
+ "type": "string",
38
+ "description": "Theme identifier used by the runtime."
39
+ },
40
+ "vars": {
41
+ "type": "object",
42
+ "description": "Reusable color aliases used by the legacy colors object.",
43
+ "additionalProperties": {
44
+ "$ref": "#/$defs/colorToken"
45
+ }
46
+ },
47
+ "colors": {
48
+ "$ref": "#/$defs/legacyColors"
49
+ },
50
+ "export": {
51
+ "$ref": "#/$defs/legacyExport"
52
+ }
53
+ }
54
+ },
55
+ "legacyColors": {
56
+ "type": "object",
57
+ "additionalProperties": false,
58
+ "required": [
59
+ "accent",
60
+ "border",
61
+ "borderAccent",
62
+ "borderMuted",
63
+ "success",
64
+ "error",
65
+ "warning",
66
+ "muted",
67
+ "dim",
68
+ "text",
69
+ "thinkingText",
70
+ "selectedBg",
71
+ "userMessageBg",
72
+ "userMessageText",
73
+ "customMessageBg",
74
+ "customMessageText",
75
+ "customMessageLabel",
76
+ "toolPendingBg",
77
+ "toolSuccessBg",
78
+ "toolErrorBg",
79
+ "toolTitle",
80
+ "toolOutput",
81
+ "mdHeading",
82
+ "mdLink",
83
+ "mdLinkUrl",
84
+ "mdCode",
85
+ "mdCodeBlock",
86
+ "mdCodeBlockBorder",
87
+ "mdQuote",
88
+ "mdQuoteBorder",
89
+ "mdHr",
90
+ "mdListBullet",
91
+ "toolDiffAdded",
92
+ "toolDiffRemoved",
93
+ "toolDiffContext",
94
+ "syntaxComment",
95
+ "syntaxKeyword",
96
+ "syntaxFunction",
97
+ "syntaxVariable",
98
+ "syntaxString",
99
+ "syntaxNumber",
100
+ "syntaxType",
101
+ "syntaxOperator",
102
+ "syntaxPunctuation",
103
+ "thinkingOff",
104
+ "thinkingMinimal",
105
+ "thinkingLow",
106
+ "thinkingMedium",
107
+ "thinkingHigh",
108
+ "thinkingXhigh",
109
+ "bashMode"
110
+ ],
111
+ "properties": {
112
+ "accent": { "$ref": "#/$defs/colorToken" },
113
+ "border": { "$ref": "#/$defs/colorToken" },
114
+ "borderAccent": { "$ref": "#/$defs/colorToken" },
115
+ "borderMuted": { "$ref": "#/$defs/colorToken" },
116
+ "success": { "$ref": "#/$defs/colorToken" },
117
+ "error": { "$ref": "#/$defs/colorToken" },
118
+ "warning": { "$ref": "#/$defs/colorToken" },
119
+ "muted": { "$ref": "#/$defs/colorToken" },
120
+ "dim": { "$ref": "#/$defs/colorToken" },
121
+ "text": { "$ref": "#/$defs/colorToken" },
122
+ "thinkingText": { "$ref": "#/$defs/colorToken" },
123
+ "selectedBg": { "$ref": "#/$defs/colorToken" },
124
+ "userMessageBg": { "$ref": "#/$defs/colorToken" },
125
+ "userMessageText": { "$ref": "#/$defs/colorToken" },
126
+ "customMessageBg": { "$ref": "#/$defs/colorToken" },
127
+ "customMessageText": { "$ref": "#/$defs/colorToken" },
128
+ "customMessageLabel": { "$ref": "#/$defs/colorToken" },
129
+ "toolPendingBg": { "$ref": "#/$defs/colorToken" },
130
+ "toolSuccessBg": { "$ref": "#/$defs/colorToken" },
131
+ "toolErrorBg": { "$ref": "#/$defs/colorToken" },
132
+ "toolTitle": { "$ref": "#/$defs/colorToken" },
133
+ "toolOutput": { "$ref": "#/$defs/colorToken" },
134
+ "mdHeading": { "$ref": "#/$defs/colorToken" },
135
+ "mdLink": { "$ref": "#/$defs/colorToken" },
136
+ "mdLinkUrl": { "$ref": "#/$defs/colorToken" },
137
+ "mdCode": { "$ref": "#/$defs/colorToken" },
138
+ "mdCodeBlock": { "$ref": "#/$defs/colorToken" },
139
+ "mdCodeBlockBorder": { "$ref": "#/$defs/colorToken" },
140
+ "mdQuote": { "$ref": "#/$defs/colorToken" },
141
+ "mdQuoteBorder": { "$ref": "#/$defs/colorToken" },
142
+ "mdHr": { "$ref": "#/$defs/colorToken" },
143
+ "mdListBullet": { "$ref": "#/$defs/colorToken" },
144
+ "toolDiffAdded": { "$ref": "#/$defs/colorToken" },
145
+ "toolDiffRemoved": { "$ref": "#/$defs/colorToken" },
146
+ "toolDiffContext": { "$ref": "#/$defs/colorToken" },
147
+ "syntaxComment": { "$ref": "#/$defs/colorToken" },
148
+ "syntaxKeyword": { "$ref": "#/$defs/colorToken" },
149
+ "syntaxFunction": { "$ref": "#/$defs/colorToken" },
150
+ "syntaxVariable": { "$ref": "#/$defs/colorToken" },
151
+ "syntaxString": { "$ref": "#/$defs/colorToken" },
152
+ "syntaxNumber": { "$ref": "#/$defs/colorToken" },
153
+ "syntaxType": { "$ref": "#/$defs/colorToken" },
154
+ "syntaxOperator": { "$ref": "#/$defs/colorToken" },
155
+ "syntaxPunctuation": { "$ref": "#/$defs/colorToken" },
156
+ "thinkingOff": { "$ref": "#/$defs/colorToken" },
157
+ "thinkingMinimal": { "$ref": "#/$defs/colorToken" },
158
+ "thinkingLow": { "$ref": "#/$defs/colorToken" },
159
+ "thinkingMedium": { "$ref": "#/$defs/colorToken" },
160
+ "thinkingHigh": { "$ref": "#/$defs/colorToken" },
161
+ "thinkingXhigh": { "$ref": "#/$defs/colorToken" },
162
+ "bashMode": { "$ref": "#/$defs/colorToken" }
163
+ }
164
+ },
165
+ "legacyExport": {
166
+ "type": "object",
167
+ "additionalProperties": false,
168
+ "properties": {
169
+ "pageBg": { "$ref": "#/$defs/colorToken" },
170
+ "cardBg": { "$ref": "#/$defs/colorToken" },
171
+ "infoBg": { "$ref": "#/$defs/colorToken" }
172
+ }
173
+ },
174
+ "themeBlueprint": {
175
+ "type": "object",
176
+ "additionalProperties": false,
177
+ "required": [
178
+ "name",
179
+ "chrome",
180
+ "surfaces",
181
+ "markdown",
182
+ "diff",
183
+ "syntax",
184
+ "thinking",
185
+ "modes"
186
+ ],
187
+ "properties": {
188
+ "$schema": {
189
+ "type": "string",
190
+ "description": "Optional schema reference."
191
+ },
192
+ "name": {
193
+ "type": "string",
194
+ "description": "Theme identifier used by the runtime."
195
+ },
196
+ "palette": {
197
+ "type": "object",
198
+ "description": "Reusable palette aliases referenced by grouped theme sections.",
199
+ "additionalProperties": {
200
+ "$ref": "#/$defs/colorToken"
201
+ }
202
+ },
203
+ "chrome": {
204
+ "$ref": "#/$defs/chromeSection"
205
+ },
206
+ "surfaces": {
207
+ "$ref": "#/$defs/surfacesSection"
208
+ },
209
+ "markdown": {
210
+ "$ref": "#/$defs/markdownSection"
211
+ },
212
+ "diff": {
213
+ "$ref": "#/$defs/diffSection"
214
+ },
215
+ "syntax": {
216
+ "$ref": "#/$defs/syntaxSection"
217
+ },
218
+ "thinking": {
219
+ "$ref": "#/$defs/thinkingSection"
220
+ },
221
+ "modes": {
222
+ "$ref": "#/$defs/modesSection"
223
+ },
224
+ "exportPalette": {
225
+ "$ref": "#/$defs/exportSection"
226
+ }
227
+ }
228
+ },
229
+ "chromeSection": {
230
+ "type": "object",
231
+ "additionalProperties": false,
232
+ "required": ["accent", "border", "borderAccent", "borderMuted", "success", "error", "warning", "muted", "dim", "text", "thinkingText"],
233
+ "properties": {
234
+ "accent": { "$ref": "#/$defs/colorToken" },
235
+ "border": { "$ref": "#/$defs/colorToken" },
236
+ "borderAccent": { "$ref": "#/$defs/colorToken" },
237
+ "borderMuted": { "$ref": "#/$defs/colorToken" },
238
+ "success": { "$ref": "#/$defs/colorToken" },
239
+ "error": { "$ref": "#/$defs/colorToken" },
240
+ "warning": { "$ref": "#/$defs/colorToken" },
241
+ "muted": { "$ref": "#/$defs/colorToken" },
242
+ "dim": { "$ref": "#/$defs/colorToken" },
243
+ "text": { "$ref": "#/$defs/colorToken" },
244
+ "thinkingText": { "$ref": "#/$defs/colorToken" }
245
+ }
246
+ },
247
+ "surfacesSection": {
248
+ "type": "object",
249
+ "additionalProperties": false,
250
+ "required": ["selected", "userMessage", "userMessageText", "customMessage", "customMessageText", "customMessageLabel", "toolPending", "toolSuccess", "toolError", "toolTitle", "toolOutput"],
251
+ "properties": {
252
+ "selected": { "$ref": "#/$defs/colorToken" },
253
+ "userMessage": { "$ref": "#/$defs/colorToken" },
254
+ "userMessageText": { "$ref": "#/$defs/colorToken" },
255
+ "customMessage": { "$ref": "#/$defs/colorToken" },
256
+ "customMessageText": { "$ref": "#/$defs/colorToken" },
257
+ "customMessageLabel": { "$ref": "#/$defs/colorToken" },
258
+ "toolPending": { "$ref": "#/$defs/colorToken" },
259
+ "toolSuccess": { "$ref": "#/$defs/colorToken" },
260
+ "toolError": { "$ref": "#/$defs/colorToken" },
261
+ "toolTitle": { "$ref": "#/$defs/colorToken" },
262
+ "toolOutput": { "$ref": "#/$defs/colorToken" }
263
+ }
264
+ },
265
+ "markdownSection": {
266
+ "type": "object",
267
+ "additionalProperties": false,
268
+ "required": ["heading", "link", "linkUrl", "inlineCode", "codeBlock", "codeFence", "quote", "quoteBorder", "rule", "listBullet"],
269
+ "properties": {
270
+ "heading": { "$ref": "#/$defs/colorToken" },
271
+ "link": { "$ref": "#/$defs/colorToken" },
272
+ "linkUrl": { "$ref": "#/$defs/colorToken" },
273
+ "inlineCode": { "$ref": "#/$defs/colorToken" },
274
+ "codeBlock": { "$ref": "#/$defs/colorToken" },
275
+ "codeFence": { "$ref": "#/$defs/colorToken" },
276
+ "quote": { "$ref": "#/$defs/colorToken" },
277
+ "quoteBorder": { "$ref": "#/$defs/colorToken" },
278
+ "rule": { "$ref": "#/$defs/colorToken" },
279
+ "listBullet": { "$ref": "#/$defs/colorToken" }
280
+ }
281
+ },
282
+ "diffSection": {
283
+ "type": "object",
284
+ "additionalProperties": false,
285
+ "required": ["added", "removed", "context"],
286
+ "properties": {
287
+ "added": { "$ref": "#/$defs/colorToken" },
288
+ "removed": { "$ref": "#/$defs/colorToken" },
289
+ "context": { "$ref": "#/$defs/colorToken" }
290
+ }
291
+ },
292
+ "syntaxSection": {
293
+ "type": "object",
294
+ "additionalProperties": false,
295
+ "required": ["comment", "keyword", "functionName", "variable", "string", "number", "typeName", "operator", "punctuation"],
296
+ "properties": {
297
+ "comment": { "$ref": "#/$defs/colorToken" },
298
+ "keyword": { "$ref": "#/$defs/colorToken" },
299
+ "functionName": { "$ref": "#/$defs/colorToken" },
300
+ "variable": { "$ref": "#/$defs/colorToken" },
301
+ "string": { "$ref": "#/$defs/colorToken" },
302
+ "number": { "$ref": "#/$defs/colorToken" },
303
+ "typeName": { "$ref": "#/$defs/colorToken" },
304
+ "operator": { "$ref": "#/$defs/colorToken" },
305
+ "punctuation": { "$ref": "#/$defs/colorToken" }
306
+ }
307
+ },
308
+ "thinkingSection": {
309
+ "type": "object",
310
+ "additionalProperties": false,
311
+ "required": ["off", "minimal", "low", "medium", "high", "xhigh"],
312
+ "properties": {
313
+ "off": { "$ref": "#/$defs/colorToken" },
314
+ "minimal": { "$ref": "#/$defs/colorToken" },
315
+ "low": { "$ref": "#/$defs/colorToken" },
316
+ "medium": { "$ref": "#/$defs/colorToken" },
317
+ "high": { "$ref": "#/$defs/colorToken" },
318
+ "xhigh": { "$ref": "#/$defs/colorToken" }
319
+ }
320
+ },
321
+ "modesSection": {
322
+ "type": "object",
323
+ "additionalProperties": false,
324
+ "required": ["bashBorder"],
325
+ "properties": {
326
+ "bashBorder": { "$ref": "#/$defs/colorToken" }
327
+ }
328
+ },
329
+ "exportSection": {
330
+ "type": "object",
331
+ "additionalProperties": false,
332
+ "properties": {
333
+ "page": { "$ref": "#/$defs/colorToken" },
334
+ "card": { "$ref": "#/$defs/colorToken" },
335
+ "info": { "$ref": "#/$defs/colorToken" }
336
+ }
337
+ }
338
+ }
339
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indusagi-coding-agent",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "description": "Local TypeScript coding-agent workspace built around the sibling indusagi package.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",