@hearsay-tools/squawk 0.18.0-dev.7118 → 0.18.0-dev.7128
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/ci-wait/tools.d.ts +4 -4
- package/dist/core/agent-runner.d.ts +7 -0
- package/dist/core/agent-runner.js +1 -0
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/claude-cli-runner.js +5 -4
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/codex-app-server-runner.js +7 -13
- package/dist/core/codex-app-server-runner.js.map +1 -1
- package/dist/core/codex-permissions.d.ts +7 -0
- package/dist/core/codex-permissions.js +7 -0
- package/dist/core/codex-permissions.js.map +1 -1
- package/dist/core/codex-thread-config.d.ts +18 -0
- package/dist/core/codex-thread-config.js +30 -0
- package/dist/core/codex-thread-config.js.map +1 -0
- package/dist/core/omp-runner.d.ts +3 -0
- package/dist/core/omp-runner.js +7 -0
- package/dist/core/omp-runner.js.map +1 -1
- package/dist/core/opencode-minimal.d.ts +42 -0
- package/dist/core/opencode-minimal.js +59 -0
- package/dist/core/opencode-minimal.js.map +1 -0
- package/dist/core/opencode-server-runner.js +10 -14
- package/dist/core/opencode-server-runner.js.map +1 -1
- package/dist/core/pi-args.d.ts +9 -2
- package/dist/core/pi-args.js +9 -3
- package/dist/core/pi-args.js.map +1 -1
- package/dist/core/pi-runner.js +5 -2
- package/dist/core/pi-runner.js.map +1 -1
- package/dist/delegation/routes.d.ts +62 -62
- package/dist/delegation/transport.d.ts +62 -62
- package/dist/runs/auto-name.js +2 -0
- package/dist/runs/auto-name.js.map +1 -1
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/server.d.ts +98 -98
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/package.json +4 -4
- package/scripts/mock-codex-app-server.mjs +9 -1
- package/scripts/mock-omp-rpc.mjs +1 -1
package/dist/server/server.d.ts
CHANGED
|
@@ -2981,12 +2981,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2981
2981
|
output: {
|
|
2982
2982
|
generation: string;
|
|
2983
2983
|
results: ({
|
|
2984
|
-
projectId: string;
|
|
2985
|
-
runId: string;
|
|
2986
|
-
type: "error" | "reset";
|
|
2987
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
2988
|
-
error: string;
|
|
2989
|
-
} | {
|
|
2990
2984
|
projectId: string;
|
|
2991
2985
|
runId: string;
|
|
2992
2986
|
type: "batch";
|
|
@@ -3000,6 +2994,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3000
2994
|
cursor: string;
|
|
3001
2995
|
afterSeq: number;
|
|
3002
2996
|
hasMore: boolean;
|
|
2997
|
+
} | {
|
|
2998
|
+
projectId: string;
|
|
2999
|
+
runId: string;
|
|
3000
|
+
type: "error" | "reset";
|
|
3001
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
3002
|
+
error: string;
|
|
3003
3003
|
})[];
|
|
3004
3004
|
};
|
|
3005
3005
|
outputFormat: "json";
|
|
@@ -4516,19 +4516,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4516
4516
|
} & {
|
|
4517
4517
|
"/repo/commit/:sha": {
|
|
4518
4518
|
$get: {
|
|
4519
|
-
output: string;
|
|
4520
|
-
outputFormat: "text";
|
|
4521
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4522
|
-
input: {
|
|
4523
|
-
query: {
|
|
4524
|
-
structured?: string | undefined;
|
|
4525
|
-
};
|
|
4526
|
-
} & {
|
|
4527
|
-
param: {
|
|
4528
|
-
sha: string;
|
|
4529
|
-
};
|
|
4530
|
-
};
|
|
4531
|
-
} | {
|
|
4532
4519
|
output: {
|
|
4533
4520
|
error: string;
|
|
4534
4521
|
code?: "invalid_input" | undefined;
|
|
@@ -4592,6 +4579,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4592
4579
|
sha: string;
|
|
4593
4580
|
};
|
|
4594
4581
|
};
|
|
4582
|
+
} | {
|
|
4583
|
+
output: string;
|
|
4584
|
+
outputFormat: "text";
|
|
4585
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4586
|
+
input: {
|
|
4587
|
+
query: {
|
|
4588
|
+
structured?: string | undefined;
|
|
4589
|
+
};
|
|
4590
|
+
} & {
|
|
4591
|
+
param: {
|
|
4592
|
+
sha: string;
|
|
4593
|
+
};
|
|
4594
|
+
};
|
|
4595
4595
|
};
|
|
4596
4596
|
};
|
|
4597
4597
|
} & {
|
|
@@ -8319,22 +8319,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8319
8319
|
"/runs/:id/worker-destroy": {
|
|
8320
8320
|
$post: {
|
|
8321
8321
|
output: {
|
|
8322
|
-
|
|
8323
|
-
|
|
8324
|
-
readonly modelChoices?: {
|
|
8325
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
8326
|
-
requestedModel: string;
|
|
8327
|
-
availableModels: {
|
|
8328
|
-
id: string;
|
|
8329
|
-
label: string;
|
|
8330
|
-
description: string;
|
|
8331
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8332
|
-
}[];
|
|
8333
|
-
otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
|
|
8334
|
-
} | undefined;
|
|
8322
|
+
error: string;
|
|
8323
|
+
code?: "invalid_input" | undefined;
|
|
8335
8324
|
};
|
|
8336
8325
|
outputFormat: "json";
|
|
8337
|
-
status: 400
|
|
8326
|
+
status: 400;
|
|
8338
8327
|
input: {
|
|
8339
8328
|
query: {
|
|
8340
8329
|
[x: string]: string | string[];
|
|
@@ -8348,11 +8337,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8348
8337
|
};
|
|
8349
8338
|
} | {
|
|
8350
8339
|
output: {
|
|
8351
|
-
|
|
8352
|
-
|
|
8340
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8341
|
+
readonly error: string;
|
|
8342
|
+
readonly modelChoices?: {
|
|
8343
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
8344
|
+
requestedModel: string;
|
|
8345
|
+
availableModels: {
|
|
8346
|
+
id: string;
|
|
8347
|
+
label: string;
|
|
8348
|
+
description: string;
|
|
8349
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8350
|
+
}[];
|
|
8351
|
+
otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
|
|
8352
|
+
} | undefined;
|
|
8353
8353
|
};
|
|
8354
8354
|
outputFormat: "json";
|
|
8355
|
-
status: 400;
|
|
8355
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
8356
8356
|
input: {
|
|
8357
8357
|
query: {
|
|
8358
8358
|
[x: string]: string | string[];
|
|
@@ -18100,20 +18100,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18100
18100
|
} & {
|
|
18101
18101
|
"/runs/:id/handoff": {
|
|
18102
18102
|
$get: {
|
|
18103
|
-
output:
|
|
18104
|
-
|
|
18105
|
-
|
|
18103
|
+
output: {
|
|
18104
|
+
error: string;
|
|
18105
|
+
};
|
|
18106
|
+
outputFormat: "json";
|
|
18107
|
+
status: 404;
|
|
18106
18108
|
input: {
|
|
18107
18109
|
param: {
|
|
18108
18110
|
id: string;
|
|
18109
18111
|
};
|
|
18110
18112
|
};
|
|
18111
18113
|
} | {
|
|
18112
|
-
output:
|
|
18113
|
-
|
|
18114
|
-
|
|
18115
|
-
outputFormat: "json";
|
|
18116
|
-
status: 404;
|
|
18114
|
+
output: string;
|
|
18115
|
+
outputFormat: "text";
|
|
18116
|
+
status: 200;
|
|
18117
18117
|
input: {
|
|
18118
18118
|
param: {
|
|
18119
18119
|
id: string;
|
|
@@ -18151,20 +18151,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18151
18151
|
} & {
|
|
18152
18152
|
"/runs/:id/diff": {
|
|
18153
18153
|
$get: {
|
|
18154
|
-
output:
|
|
18155
|
-
|
|
18156
|
-
|
|
18154
|
+
output: {
|
|
18155
|
+
error: string;
|
|
18156
|
+
};
|
|
18157
|
+
outputFormat: "json";
|
|
18158
|
+
status: 404 | 409;
|
|
18157
18159
|
input: {
|
|
18158
18160
|
param: {
|
|
18159
18161
|
id: string;
|
|
18160
18162
|
};
|
|
18161
18163
|
};
|
|
18162
18164
|
} | {
|
|
18163
|
-
output:
|
|
18164
|
-
|
|
18165
|
-
|
|
18166
|
-
outputFormat: "json";
|
|
18167
|
-
status: 404 | 409;
|
|
18165
|
+
output: string;
|
|
18166
|
+
outputFormat: "text";
|
|
18167
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18168
18168
|
input: {
|
|
18169
18169
|
param: {
|
|
18170
18170
|
id: string;
|
|
@@ -20186,19 +20186,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20186
20186
|
} & {
|
|
20187
20187
|
"/repo/commit/:sha": {
|
|
20188
20188
|
$get: {
|
|
20189
|
-
output: string;
|
|
20190
|
-
outputFormat: "text";
|
|
20191
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20192
|
-
input: {
|
|
20193
|
-
query: {
|
|
20194
|
-
structured?: string | undefined;
|
|
20195
|
-
};
|
|
20196
|
-
} & {
|
|
20197
|
-
param: {
|
|
20198
|
-
sha: string;
|
|
20199
|
-
};
|
|
20200
|
-
};
|
|
20201
|
-
} | {
|
|
20202
20189
|
output: {
|
|
20203
20190
|
error: string;
|
|
20204
20191
|
code?: "invalid_input" | undefined;
|
|
@@ -20262,6 +20249,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20262
20249
|
sha: string;
|
|
20263
20250
|
};
|
|
20264
20251
|
};
|
|
20252
|
+
} | {
|
|
20253
|
+
output: string;
|
|
20254
|
+
outputFormat: "text";
|
|
20255
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20256
|
+
input: {
|
|
20257
|
+
query: {
|
|
20258
|
+
structured?: string | undefined;
|
|
20259
|
+
};
|
|
20260
|
+
} & {
|
|
20261
|
+
param: {
|
|
20262
|
+
sha: string;
|
|
20263
|
+
};
|
|
20264
|
+
};
|
|
20265
20265
|
};
|
|
20266
20266
|
};
|
|
20267
20267
|
} & {
|
|
@@ -23989,22 +23989,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
23989
23989
|
"/runs/:id/worker-destroy": {
|
|
23990
23990
|
$post: {
|
|
23991
23991
|
output: {
|
|
23992
|
-
|
|
23993
|
-
|
|
23994
|
-
readonly modelChoices?: {
|
|
23995
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
23996
|
-
requestedModel: string;
|
|
23997
|
-
availableModels: {
|
|
23998
|
-
id: string;
|
|
23999
|
-
label: string;
|
|
24000
|
-
description: string;
|
|
24001
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24002
|
-
}[];
|
|
24003
|
-
otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
|
|
24004
|
-
} | undefined;
|
|
23992
|
+
error: string;
|
|
23993
|
+
code?: "invalid_input" | undefined;
|
|
24005
23994
|
};
|
|
24006
23995
|
outputFormat: "json";
|
|
24007
|
-
status: 400
|
|
23996
|
+
status: 400;
|
|
24008
23997
|
input: {
|
|
24009
23998
|
query: {
|
|
24010
23999
|
[x: string]: string | string[];
|
|
@@ -24018,11 +24007,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24018
24007
|
};
|
|
24019
24008
|
} | {
|
|
24020
24009
|
output: {
|
|
24021
|
-
|
|
24022
|
-
|
|
24010
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
24011
|
+
readonly error: string;
|
|
24012
|
+
readonly modelChoices?: {
|
|
24013
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
24014
|
+
requestedModel: string;
|
|
24015
|
+
availableModels: {
|
|
24016
|
+
id: string;
|
|
24017
|
+
label: string;
|
|
24018
|
+
description: string;
|
|
24019
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24020
|
+
}[];
|
|
24021
|
+
otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
|
|
24022
|
+
} | undefined;
|
|
24023
24023
|
};
|
|
24024
24024
|
outputFormat: "json";
|
|
24025
|
-
status: 400;
|
|
24025
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
24026
24026
|
input: {
|
|
24027
24027
|
query: {
|
|
24028
24028
|
[x: string]: string | string[];
|
|
@@ -33770,20 +33770,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33770
33770
|
} & {
|
|
33771
33771
|
"/runs/:id/handoff": {
|
|
33772
33772
|
$get: {
|
|
33773
|
-
output:
|
|
33774
|
-
|
|
33775
|
-
|
|
33773
|
+
output: {
|
|
33774
|
+
error: string;
|
|
33775
|
+
};
|
|
33776
|
+
outputFormat: "json";
|
|
33777
|
+
status: 404;
|
|
33776
33778
|
input: {
|
|
33777
33779
|
param: {
|
|
33778
33780
|
id: string;
|
|
33779
33781
|
};
|
|
33780
33782
|
};
|
|
33781
33783
|
} | {
|
|
33782
|
-
output:
|
|
33783
|
-
|
|
33784
|
-
|
|
33785
|
-
outputFormat: "json";
|
|
33786
|
-
status: 404;
|
|
33784
|
+
output: string;
|
|
33785
|
+
outputFormat: "text";
|
|
33786
|
+
status: 200;
|
|
33787
33787
|
input: {
|
|
33788
33788
|
param: {
|
|
33789
33789
|
id: string;
|
|
@@ -33821,20 +33821,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33821
33821
|
} & {
|
|
33822
33822
|
"/runs/:id/diff": {
|
|
33823
33823
|
$get: {
|
|
33824
|
-
output:
|
|
33825
|
-
|
|
33826
|
-
|
|
33824
|
+
output: {
|
|
33825
|
+
error: string;
|
|
33826
|
+
};
|
|
33827
|
+
outputFormat: "json";
|
|
33828
|
+
status: 404 | 409;
|
|
33827
33829
|
input: {
|
|
33828
33830
|
param: {
|
|
33829
33831
|
id: string;
|
|
33830
33832
|
};
|
|
33831
33833
|
};
|
|
33832
33834
|
} | {
|
|
33833
|
-
output:
|
|
33834
|
-
|
|
33835
|
-
|
|
33836
|
-
outputFormat: "json";
|
|
33837
|
-
status: 404 | 409;
|
|
33835
|
+
output: string;
|
|
33836
|
+
outputFormat: "text";
|
|
33837
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33838
33838
|
input: {
|
|
33839
33839
|
param: {
|
|
33840
33840
|
id: string;
|
|
@@ -7,12 +7,6 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
7
7
|
output: {
|
|
8
8
|
generation: string;
|
|
9
9
|
results: ({
|
|
10
|
-
projectId: string;
|
|
11
|
-
runId: string;
|
|
12
|
-
type: "error" | "reset";
|
|
13
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
14
|
-
error: string;
|
|
15
|
-
} | {
|
|
16
10
|
projectId: string;
|
|
17
11
|
runId: string;
|
|
18
12
|
type: "batch";
|
|
@@ -26,6 +20,12 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
26
20
|
cursor: string;
|
|
27
21
|
afterSeq: number;
|
|
28
22
|
hasMore: boolean;
|
|
23
|
+
} | {
|
|
24
|
+
projectId: string;
|
|
25
|
+
runId: string;
|
|
26
|
+
type: "error" | "reset";
|
|
27
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
28
|
+
error: string;
|
|
29
29
|
})[];
|
|
30
30
|
};
|
|
31
31
|
outputFormat: "json";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-dev.
|
|
3
|
+
"version": "0.18.0-dev.7128",
|
|
4
4
|
"description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/parser": "^8.0.8",
|
|
65
65
|
"@babel/types": "^8.0.8",
|
|
66
|
-
"@open-mercato/cezar-api-client": "0.18.0-dev.
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-dev.
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-dev.7128",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-dev.7128",
|
|
68
68
|
"@types/node": "^24.19.1",
|
|
69
69
|
"@types/ws": "^8.18.1",
|
|
70
70
|
"esbuild": "^0.28.1",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "9773e06e0f200d8d6e2584dcac0391869f2f0774"
|
|
85
85
|
}
|
|
@@ -424,7 +424,7 @@ function replyWithRequirements(msg) {
|
|
|
424
424
|
async function handleThread(msg) {
|
|
425
425
|
if (process.env.CEZ_MOCK_CI_PR) { const { probeCiTool } = await import('./mock-ci-tool.mjs'); await probeCiTool('codex', msg.params); }
|
|
426
426
|
ciWire = msg.params;
|
|
427
|
-
const expectedSandbox =
|
|
427
|
+
const expectedSandbox = expectedThreadSandbox(msg);
|
|
428
428
|
rejectedPermissionOverride = managedRequirements !== null && msg.params?.sandbox !== undefined;
|
|
429
429
|
if (rejectedPermissionOverride) permissionWarning();
|
|
430
430
|
if (rejectThreadPermissions(msg, expectedSandbox)) return;
|
|
@@ -450,6 +450,13 @@ async function handleThread(msg) {
|
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
+
/** The sandbox Squawk must send under an unmanaged policy. A minimal session (its config turns
|
|
454
|
+
* hooks off) runs read-only. */
|
|
455
|
+
function expectedThreadSandbox(msg) {
|
|
456
|
+
if (msg.params?.config?.['features.hooks'] === false) return 'read-only';
|
|
457
|
+
return productEnv('CODEX_NETWORK') === '0' ? 'workspace-write' : 'danger-full-access';
|
|
458
|
+
}
|
|
459
|
+
|
|
453
460
|
function rejectThreadPermissions(msg, expectedSandbox) {
|
|
454
461
|
const unknownRequirements = process.env.MOCK_CODEX_REQUIREMENTS_ERROR || process.env.MOCK_CODEX_REQUIREMENTS_MALFORMED;
|
|
455
462
|
if ((!managedRequirements && !unknownRequirements && msg.params?.sandbox !== expectedSandbox) || msg.params?.approvalPolicy !== undefined) {
|
|
@@ -463,6 +470,7 @@ function threadSandbox(msg) {
|
|
|
463
470
|
return managedRequirements
|
|
464
471
|
? { type: 'readOnly', networkAccess: process.env.MOCK_CODEX_MANAGED_NETWORK === '1' }
|
|
465
472
|
: msg.params?.sandbox === 'danger-full-access' ? { type: 'dangerFullAccess' }
|
|
473
|
+
: msg.params?.sandbox === 'read-only' ? { type: 'readOnly', networkAccess: false }
|
|
466
474
|
: { type: 'workspaceWrite', networkAccess: false, writableRoots: [], excludeTmpdirEnvVar: false, excludeSlashTmp: false };
|
|
467
475
|
}
|
|
468
476
|
|
package/scripts/mock-omp-rpc.mjs
CHANGED
|
@@ -30,7 +30,7 @@ const BUILTIN_TOOLS = ['read', 'bash', 'edit', 'ast_grep', 'ast_edit', 'ask', 'd
|
|
|
30
30
|
const GATED_TOOLS = new Set(['ast_grep']);
|
|
31
31
|
const DEFAULT_TOOLS = ['read', 'bash', 'edit', 'eval', 'glob', 'grep', 'find', 'task', 'wait', 'todo', 'web_search', 'write'];
|
|
32
32
|
const VALUE_FLAGS = new Set(['--mode', '--extension', '--resume', '--append-system-prompt', '--model', '--thinking', '--add-dir', '--config', '--tools']);
|
|
33
|
-
const BOOLEAN_FLAGS = new Set(['--no-tools']);
|
|
33
|
+
const BOOLEAN_FLAGS = new Set(['--no-tools', '--no-extensions', '--no-skills', '--no-rules', '--no-context-files', '--no-lsp', '--no-session', '--no-title']);
|
|
34
34
|
|
|
35
35
|
function startupError(code, message) {
|
|
36
36
|
process.stderr.write(`${message}\nRun \`omp --help\` for available flags.\n`);
|