@gajae-code/coding-agent 0.7.6 → 0.7.7
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 +6 -0
- package/dist/types/config/model-profiles.d.ts +2 -2
- package/dist/types/config/model-registry.d.ts +3 -3
- package/dist/types/config/models-config-schema.d.ts +0 -5
- package/dist/types/config/settings-schema.d.ts +78 -9
- package/dist/types/export/html/template.generated.d.ts +1 -1
- package/dist/types/gjc-runtime/state-renderer.d.ts +5 -0
- package/dist/types/gjc-runtime/ultragoal-guard.d.ts +37 -1
- package/dist/types/gjc-runtime/ultragoal-runtime.d.ts +80 -0
- package/dist/types/tools/browser/tab-supervisor.d.ts +31 -0
- package/dist/types/tools/computer-gc.d.ts +23 -0
- package/dist/types/tools/cron.d.ts +36 -61
- package/dist/types/tools/index.d.ts +0 -1
- package/dist/types/tools/resource-gc.d.ts +54 -0
- package/dist/types/web/search/index.d.ts +1 -0
- package/dist/types/web/search/providers/utils.d.ts +11 -4
- package/package.json +7 -7
- package/src/cli/args.ts +0 -1
- package/src/cli/fast-help.ts +0 -1
- package/src/cli/web-search-cli.ts +5 -0
- package/src/config/model-profiles.ts +3 -4
- package/src/config/model-registry.ts +3 -6
- package/src/config/models-config-schema.ts +1 -1
- package/src/config/settings-schema.ts +80 -10
- package/src/export/html/template.generated.ts +1 -1
- package/src/export/html/template.js +0 -12
- package/src/gjc-runtime/state-renderer.ts +13 -0
- package/src/gjc-runtime/ultragoal-guard.ts +167 -0
- package/src/gjc-runtime/ultragoal-runtime.ts +221 -1
- package/src/goals/tools/goal-tool.ts +14 -1
- package/src/internal-urls/docs-index.generated.ts +3 -4
- package/src/modes/controllers/selector-controller.ts +6 -0
- package/src/prompts/system/system-prompt.md +2 -2
- package/src/prompts/tools/cron.md +5 -3
- package/src/prompts/tools/read.md +1 -1
- package/src/sdk.ts +5 -0
- package/src/session/agent-session.ts +44 -0
- package/src/tools/browser/tab-supervisor.ts +86 -2
- package/src/tools/computer-gc.ts +66 -0
- package/src/tools/computer.ts +2 -0
- package/src/tools/cron.ts +75 -112
- package/src/tools/index.ts +2 -8
- package/src/tools/read.ts +25 -55
- package/src/tools/renderers.ts +0 -2
- package/src/tools/resource-gc.ts +291 -0
- package/src/tools/ultragoal-ask-guard.ts +7 -1
- package/src/web/search/index.ts +1 -0
- package/src/web/search/providers/utils.ts +22 -5
- package/vendor/insane-search/MANIFEST.json +3 -1
- package/vendor/insane-search/engine/__init__.py +14 -0
- package/vendor/insane-search/engine/content_safety.py +151 -0
- package/vendor/insane-search/engine/fetch_chain.py +32 -0
- package/vendor/insane-search/engine/tests/test_u8.py +216 -0
- package/dist/types/tools/inspect-image-renderer.d.ts +0 -26
- package/dist/types/tools/inspect-image.d.ts +0 -31
- package/src/prompts/tools/inspect-image-system.md +0 -20
- package/src/prompts/tools/inspect-image.md +0 -32
- package/src/tools/inspect-image-renderer.ts +0 -103
- package/src/tools/inspect-image.ts +0 -172
|
@@ -2071,16 +2071,6 @@ export const SETTINGS_SCHEMA = {
|
|
|
2071
2071
|
},
|
|
2072
2072
|
},
|
|
2073
2073
|
|
|
2074
|
-
"inspect_image.enabled": {
|
|
2075
|
-
type: "boolean",
|
|
2076
|
-
default: false,
|
|
2077
|
-
ui: {
|
|
2078
|
-
tab: "tools",
|
|
2079
|
-
label: "Inspect Image",
|
|
2080
|
-
description: "Enable the inspect_image tool, delegating image understanding to a vision-capable model",
|
|
2081
|
-
},
|
|
2082
|
-
},
|
|
2083
|
-
|
|
2084
2074
|
"checkpoint.enabled": {
|
|
2085
2075
|
type: "boolean",
|
|
2086
2076
|
default: false,
|
|
@@ -2178,6 +2168,17 @@ export const SETTINGS_SCHEMA = {
|
|
|
2178
2168
|
},
|
|
2179
2169
|
},
|
|
2180
2170
|
|
|
2171
|
+
"web_search.timeout": {
|
|
2172
|
+
type: "number",
|
|
2173
|
+
default: 300,
|
|
2174
|
+
validate: (value: number) => Number.isFinite(value) && value > 0,
|
|
2175
|
+
ui: {
|
|
2176
|
+
tab: "tools",
|
|
2177
|
+
label: "Web Search Timeout",
|
|
2178
|
+
description: "Hard timeout in seconds for a single web search request (default 300)",
|
|
2179
|
+
},
|
|
2180
|
+
},
|
|
2181
|
+
|
|
2181
2182
|
"browser.enabled": {
|
|
2182
2183
|
type: "boolean",
|
|
2183
2184
|
default: true,
|
|
@@ -2208,6 +2209,46 @@ export const SETTINGS_SCHEMA = {
|
|
|
2208
2209
|
},
|
|
2209
2210
|
},
|
|
2210
2211
|
|
|
2212
|
+
"browser.gc.enabled": {
|
|
2213
|
+
type: "boolean",
|
|
2214
|
+
default: true,
|
|
2215
|
+
ui: {
|
|
2216
|
+
tab: "tools",
|
|
2217
|
+
label: "Browser Tab GC",
|
|
2218
|
+
description: "Automatically reclaim idle, unheld GJC-managed headless/spawned browser tabs.",
|
|
2219
|
+
},
|
|
2220
|
+
},
|
|
2221
|
+
"browser.gc.idleMs": {
|
|
2222
|
+
type: "number",
|
|
2223
|
+
default: 300_000,
|
|
2224
|
+
validate: (value: number) => Number.isFinite(value) && value >= 0,
|
|
2225
|
+
ui: {
|
|
2226
|
+
tab: "tools",
|
|
2227
|
+
label: "Browser Tab GC Idle (ms)",
|
|
2228
|
+
description: "Evict headless/spawned tabs idle longer than this many milliseconds.",
|
|
2229
|
+
},
|
|
2230
|
+
},
|
|
2231
|
+
"browser.gc.rssLimitMb": {
|
|
2232
|
+
type: "number",
|
|
2233
|
+
default: 1536,
|
|
2234
|
+
validate: (value: number) => Number.isFinite(value) && value > 0,
|
|
2235
|
+
ui: {
|
|
2236
|
+
tab: "tools",
|
|
2237
|
+
label: "Browser Tab GC RSS Limit (MB)",
|
|
2238
|
+
description: "Parent-process RSS (MB) above which idle tabs are opportunistically evicted LRU.",
|
|
2239
|
+
},
|
|
2240
|
+
},
|
|
2241
|
+
"resourceGc.sweepIntervalMs": {
|
|
2242
|
+
type: "number",
|
|
2243
|
+
default: 30_000,
|
|
2244
|
+
validate: (value: number) => Number.isFinite(value) && value > 0,
|
|
2245
|
+
ui: {
|
|
2246
|
+
tab: "tools",
|
|
2247
|
+
label: "Resource GC Sweep Interval (ms)",
|
|
2248
|
+
description: "How often the resource GC sweeps browser tabs and stale screenshot directories.",
|
|
2249
|
+
},
|
|
2250
|
+
},
|
|
2251
|
+
|
|
2211
2252
|
"computer.enabled": {
|
|
2212
2253
|
type: "boolean",
|
|
2213
2254
|
default: false,
|
|
@@ -2267,6 +2308,35 @@ export const SETTINGS_SCHEMA = {
|
|
|
2267
2308
|
description: "Persist audit records for enabled computer-use actions.",
|
|
2268
2309
|
},
|
|
2269
2310
|
},
|
|
2311
|
+
"computer.screenshotGc.enabled": {
|
|
2312
|
+
type: "boolean",
|
|
2313
|
+
default: true,
|
|
2314
|
+
ui: {
|
|
2315
|
+
tab: "tools",
|
|
2316
|
+
label: "Computer Screenshot GC",
|
|
2317
|
+
description: "Delete stale computer-use screenshot fallback directories on disk.",
|
|
2318
|
+
},
|
|
2319
|
+
},
|
|
2320
|
+
"computer.screenshotGc.staleMs": {
|
|
2321
|
+
type: "number",
|
|
2322
|
+
default: 43_200_000,
|
|
2323
|
+
validate: (value: number) => Number.isFinite(value) && value >= 0,
|
|
2324
|
+
ui: {
|
|
2325
|
+
tab: "tools",
|
|
2326
|
+
label: "Computer Screenshot GC Stale Age (ms)",
|
|
2327
|
+
description: "Remove screenshot fallback directories whose mtime is older than this many milliseconds.",
|
|
2328
|
+
},
|
|
2329
|
+
},
|
|
2330
|
+
"computer.screenshotGc.scanIntervalMs": {
|
|
2331
|
+
type: "number",
|
|
2332
|
+
default: 1_800_000,
|
|
2333
|
+
validate: (value: number) => Number.isFinite(value) && value > 0,
|
|
2334
|
+
ui: {
|
|
2335
|
+
tab: "tools",
|
|
2336
|
+
label: "Computer Screenshot GC Scan Interval (ms)",
|
|
2337
|
+
description: "Minimum interval between os.tmpdir scans for stale screenshot directories.",
|
|
2338
|
+
},
|
|
2339
|
+
},
|
|
2270
2340
|
|
|
2271
2341
|
// Tool execution
|
|
2272
2342
|
"tools.intentTracing": {
|