Tweak
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
||||||
|
|
||||||
import { join } from "node:path";
|
import { join } from "node:path";
|
||||||
import { log } from "../utils/cli.ts";
|
import { log } from "../utils/cli.ts";
|
||||||
import { spawn } from "../utils/subprocess.ts";
|
import { spawn } from "../utils/subprocess.ts";
|
||||||
@@ -10,6 +11,14 @@ import {
|
|||||||
setupProcessAgentEnv,
|
setupProcessAgentEnv,
|
||||||
} from "./shared.ts";
|
} from "./shared.ts";
|
||||||
|
|
||||||
|
// import { createOpencode } from "@opencode-ai/sdk"
|
||||||
|
|
||||||
|
// const { client } = await createOpencode({
|
||||||
|
// config: {
|
||||||
|
// ''
|
||||||
|
// }
|
||||||
|
// })
|
||||||
|
|
||||||
// opencode cli event types inferred from json output format
|
// opencode cli event types inferred from json output format
|
||||||
interface OpenCodeInitEvent {
|
interface OpenCodeInitEvent {
|
||||||
type: "init";
|
type: "init";
|
||||||
|
|||||||
@@ -83358,6 +83358,7 @@ var package_default = {
|
|||||||
"@octokit/rest": "^22.0.0",
|
"@octokit/rest": "^22.0.0",
|
||||||
"@octokit/webhooks-types": "^7.6.1",
|
"@octokit/webhooks-types": "^7.6.1",
|
||||||
"@openai/codex-sdk": "0.58.0",
|
"@openai/codex-sdk": "0.58.0",
|
||||||
|
"@opencode-ai/sdk": "^1.0.143",
|
||||||
"@standard-schema/spec": "1.0.0",
|
"@standard-schema/spec": "1.0.0",
|
||||||
arktype: "2.1.28",
|
arktype: "2.1.28",
|
||||||
dotenv: "^17.2.3",
|
dotenv: "^17.2.3",
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
Use the debug_shell_command MCP tool to run `git status` and tell me what agent is running
|
Tell me a joke
|
||||||
@@ -31,6 +31,7 @@
|
|||||||
"@octokit/rest": "^22.0.0",
|
"@octokit/rest": "^22.0.0",
|
||||||
"@octokit/webhooks-types": "^7.6.1",
|
"@octokit/webhooks-types": "^7.6.1",
|
||||||
"@openai/codex-sdk": "0.58.0",
|
"@openai/codex-sdk": "0.58.0",
|
||||||
|
"@opencode-ai/sdk": "^1.0.143",
|
||||||
"@standard-schema/spec": "1.0.0",
|
"@standard-schema/spec": "1.0.0",
|
||||||
"arktype": "2.1.28",
|
"arktype": "2.1.28",
|
||||||
"dotenv": "^17.2.3",
|
"dotenv": "^17.2.3",
|
||||||
|
|||||||
Generated
+8
@@ -32,6 +32,9 @@ importers:
|
|||||||
'@openai/codex-sdk':
|
'@openai/codex-sdk':
|
||||||
specifier: 0.58.0
|
specifier: 0.58.0
|
||||||
version: 0.58.0
|
version: 0.58.0
|
||||||
|
'@opencode-ai/sdk':
|
||||||
|
specifier: ^1.0.143
|
||||||
|
version: 1.0.143
|
||||||
'@standard-schema/spec':
|
'@standard-schema/spec':
|
||||||
specifier: 1.0.0
|
specifier: 1.0.0
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
@@ -440,6 +443,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-Z5vK294gUS9cn7bpU/lJtgzqJy1UqIGee7WMP+1Z4a6AxDcTxFCLZI4YkH9praJfrgoj5bFeu+3V9HIoBBTzcw==}
|
resolution: {integrity: sha512-Z5vK294gUS9cn7bpU/lJtgzqJy1UqIGee7WMP+1Z4a6AxDcTxFCLZI4YkH9praJfrgoj5bFeu+3V9HIoBBTzcw==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
|
|
||||||
|
'@opencode-ai/sdk@1.0.143':
|
||||||
|
resolution: {integrity: sha512-dtmkBfJ7IIAHzL6KCzAlwc9GybfJONVeCsF6ePYySpkuhslDbRkZBJYb5vqGd1H5zdsgjc6JjuvmOf0rPWUL6A==}
|
||||||
|
|
||||||
'@sec-ant/readable-stream@0.4.1':
|
'@sec-ant/readable-stream@0.4.1':
|
||||||
resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==}
|
resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==}
|
||||||
|
|
||||||
@@ -1410,6 +1416,8 @@ snapshots:
|
|||||||
|
|
||||||
'@openai/codex-sdk@0.58.0': {}
|
'@openai/codex-sdk@0.58.0': {}
|
||||||
|
|
||||||
|
'@opencode-ai/sdk@1.0.143': {}
|
||||||
|
|
||||||
'@sec-ant/readable-stream@0.4.1': {}
|
'@sec-ant/readable-stream@0.4.1': {}
|
||||||
|
|
||||||
'@sindresorhus/merge-streams@4.0.0': {}
|
'@sindresorhus/merge-streams@4.0.0': {}
|
||||||
|
|||||||
Reference in New Issue
Block a user