@the-open-engine/zeroshot 6.16.0 → 6.17.0
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/README.md +2 -2
- package/lib/agent-cli-provider/adapters/omp.d.ts +3 -0
- package/lib/agent-cli-provider/adapters/omp.d.ts.map +1 -0
- package/lib/agent-cli-provider/adapters/omp.js +356 -0
- package/lib/agent-cli-provider/adapters/omp.js.map +1 -0
- package/lib/agent-cli-provider/contract-options.d.ts.map +1 -1
- package/lib/agent-cli-provider/contract-options.js +5 -0
- package/lib/agent-cli-provider/contract-options.js.map +1 -1
- package/lib/agent-cli-provider/index.d.ts +1 -1
- package/lib/agent-cli-provider/index.d.ts.map +1 -1
- package/lib/agent-cli-provider/index.js.map +1 -1
- package/lib/agent-cli-provider/provider-registry.d.ts +46 -0
- package/lib/agent-cli-provider/provider-registry.d.ts.map +1 -1
- package/lib/agent-cli-provider/provider-registry.js +39 -0
- package/lib/agent-cli-provider/provider-registry.js.map +1 -1
- package/lib/agent-cli-provider/types.d.ts +19 -1
- package/lib/agent-cli-provider/types.d.ts.map +1 -1
- package/lib/agent-cli-provider/types.js.map +1 -1
- package/package.json +1 -1
- package/src/agent-cli-provider/adapters/omp.ts +448 -0
- package/src/agent-cli-provider/contract-options.ts +5 -0
- package/src/agent-cli-provider/index.ts +1 -0
- package/src/agent-cli-provider/provider-registry.ts +39 -0
- package/src/agent-cli-provider/types.ts +20 -0
|
@@ -5,6 +5,7 @@ import { copilotAdapter } from './adapters/copilot';
|
|
|
5
5
|
import { gatewayAdapter, gatewaySettingsDefaults, validateGatewaySettings } from './adapters/gateway';
|
|
6
6
|
import { geminiAdapter } from './adapters/gemini';
|
|
7
7
|
import { opencodeAdapter } from './adapters/opencode';
|
|
8
|
+
import { ompAdapter } from './adapters/omp';
|
|
8
9
|
import { piAdapter } from './adapters/pi';
|
|
9
10
|
import { resolveClaudeCommand } from './claude-command';
|
|
10
11
|
import type { ModelLevel, ProviderAdapter } from './types';
|
|
@@ -400,6 +401,44 @@ export const providerRegistry = [
|
|
|
400
401
|
},
|
|
401
402
|
adapter: piAdapter,
|
|
402
403
|
},
|
|
404
|
+
{
|
|
405
|
+
id: 'omp',
|
|
406
|
+
aliases: [],
|
|
407
|
+
displayName: 'OMP',
|
|
408
|
+
binary: 'omp',
|
|
409
|
+
command: { kind: 'fixed', command: 'omp', args: [] },
|
|
410
|
+
invoke: SPAWN_INVOKE,
|
|
411
|
+
installInstructions: 'npm install -g --ignore-scripts @oh-my-pi/pi-coding-agent',
|
|
412
|
+
authInstructions: 'omp\n/login',
|
|
413
|
+
credentialPaths: ['~/.omp'],
|
|
414
|
+
credentialEnvKeys: ompAdapter.credentialEnvKeys,
|
|
415
|
+
settingsFields: [],
|
|
416
|
+
availabilityProbe: 'help-or-version',
|
|
417
|
+
capabilities: {
|
|
418
|
+
...STANDARD_CAPABILITIES,
|
|
419
|
+
mcpServers: false,
|
|
420
|
+
jsonSchema: false,
|
|
421
|
+
reasoningEffort: true,
|
|
422
|
+
},
|
|
423
|
+
docs: {
|
|
424
|
+
label: 'OMP',
|
|
425
|
+
setupHeading: 'OMP Setup',
|
|
426
|
+
},
|
|
427
|
+
docker: {
|
|
428
|
+
mount: {
|
|
429
|
+
host: '~/.omp',
|
|
430
|
+
container: '$HOME/.omp',
|
|
431
|
+
readonly: true,
|
|
432
|
+
},
|
|
433
|
+
envPassthrough: [],
|
|
434
|
+
},
|
|
435
|
+
defaultLevels: {
|
|
436
|
+
min: ompAdapter.defaultMinLevel,
|
|
437
|
+
default: ompAdapter.defaultLevel,
|
|
438
|
+
max: ompAdapter.defaultMaxLevel,
|
|
439
|
+
},
|
|
440
|
+
adapter: ompAdapter,
|
|
441
|
+
},
|
|
403
442
|
{
|
|
404
443
|
id: 'kiro',
|
|
405
444
|
aliases: [],
|
|
@@ -152,6 +152,20 @@ export interface PiCliFeatures extends BaseCliFeatures {
|
|
|
152
152
|
readonly supportsNoApprove: boolean;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
+
export interface OmpCliFeatures extends BaseCliFeatures {
|
|
156
|
+
readonly provider: 'omp';
|
|
157
|
+
readonly supportsModeJson: boolean;
|
|
158
|
+
readonly supportsPrint: boolean;
|
|
159
|
+
readonly supportsCwd: boolean;
|
|
160
|
+
readonly supportsAutoApprove: boolean;
|
|
161
|
+
readonly supportsModel: boolean;
|
|
162
|
+
readonly supportsThinking: boolean;
|
|
163
|
+
readonly supportsNoExtensions: boolean;
|
|
164
|
+
readonly supportsNoSkills: boolean;
|
|
165
|
+
readonly supportsNoRules: boolean;
|
|
166
|
+
readonly supportsNoTitle: boolean;
|
|
167
|
+
}
|
|
168
|
+
|
|
155
169
|
export interface CopilotCliFeatures extends BaseCliFeatures {
|
|
156
170
|
readonly provider: 'copilot';
|
|
157
171
|
readonly supportsJsonOutput: boolean;
|
|
@@ -188,6 +202,7 @@ export type ProviderCliFeatures =
|
|
|
188
202
|
| GeminiCliFeatures
|
|
189
203
|
| OpencodeCliFeatures
|
|
190
204
|
| PiCliFeatures
|
|
205
|
+
| OmpCliFeatures
|
|
191
206
|
| CopilotCliFeatures
|
|
192
207
|
| GatewayCliFeatures
|
|
193
208
|
| AcpCliFeatures;
|
|
@@ -216,6 +231,11 @@ export interface CliFeatureOverrides {
|
|
|
216
231
|
readonly supportsNoPromptTemplates?: boolean;
|
|
217
232
|
readonly supportsNoContextFiles?: boolean;
|
|
218
233
|
readonly supportsNoApprove?: boolean;
|
|
234
|
+
readonly supportsModeJson?: boolean;
|
|
235
|
+
readonly supportsPrint?: boolean;
|
|
236
|
+
readonly supportsThinking?: boolean;
|
|
237
|
+
readonly supportsNoRules?: boolean;
|
|
238
|
+
readonly supportsNoTitle?: boolean;
|
|
219
239
|
readonly supportsJsonOutput?: boolean;
|
|
220
240
|
readonly supportsAllowAll?: boolean;
|
|
221
241
|
readonly supportsNoAskUser?: boolean;
|