@crewx/sdk 0.8.3 → 0.8.4-rc.1
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/conversation/types.d.ts +1 -1
- package/dist/esm/index.js +46 -59
- package/dist/esm/plugins/index.js +3 -3
- package/dist/esm/repository/index.js +8 -8
- package/dist/facade/Crewx.d.ts +1 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.js +46 -59
- package/dist/plugins/index.js +3 -3
- package/dist/provider/acp/adapter.d.ts +43 -0
- package/dist/provider/acp/adapters/claude.d.ts +2 -0
- package/dist/provider/acp/adapters/codex.d.ts +2 -0
- package/dist/provider/acp/adapters/copilot.d.ts +2 -0
- package/dist/provider/acp/adapters/gemini.d.ts +2 -0
- package/dist/provider/acp/adapters/index.d.ts +7 -0
- package/dist/provider/acp/adapters/opencode.d.ts +2 -0
- package/dist/provider/acp/connection.d.ts +40 -0
- package/dist/provider/acp/index.d.ts +9 -0
- package/dist/provider/acp/register.d.ts +2 -0
- package/dist/provider/acp/runtime.d.ts +16 -0
- package/dist/provider/acp/types.d.ts +24 -0
- package/dist/provider/bridge.d.ts +6 -1
- package/dist/provider/{adapter.types.d.ts → cli/adapter.types.d.ts} +2 -2
- package/dist/provider/{adapters → cli/adapters}/agent-call.util.d.ts +1 -1
- package/dist/provider/{adapters → cli/adapters}/index.d.ts +1 -1
- package/dist/provider/cli/adapters/tool-input.util.d.ts +1 -0
- package/dist/provider/cli/index.d.ts +3 -0
- package/dist/repository/index.js +8 -8
- package/dist/repository/workspace.repository.d.ts +4 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/task-log.types.d.ts +1 -1
- package/dist/utils/workspace.d.ts +2 -0
- package/package.json +22 -1
- /package/dist/provider/{adapters → cli/adapters}/claude.d.ts +0 -0
- /package/dist/provider/{adapters → cli/adapters}/codex.d.ts +0 -0
- /package/dist/provider/{adapters → cli/adapters}/copilot.d.ts +0 -0
- /package/dist/provider/{adapters → cli/adapters}/gemini.d.ts +0 -0
- /package/dist/provider/{adapters → cli/adapters}/opencode.d.ts +0 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -1297,6 +1297,7 @@ export interface QueryOptions {
|
|
|
1297
1297
|
threadId?: string;
|
|
1298
1298
|
platform?: Platform;
|
|
1299
1299
|
messages?: import('../conversation/types').TemplateMessage[];
|
|
1300
|
+
vars?: Record<string, unknown>;
|
|
1300
1301
|
}
|
|
1301
1302
|
export interface QueryResult {
|
|
1302
1303
|
ok: boolean;
|
|
@@ -1327,6 +1328,7 @@ export interface ExecuteOptions {
|
|
|
1327
1328
|
threadId?: string;
|
|
1328
1329
|
platform?: Platform;
|
|
1329
1330
|
messages?: import('../conversation/types').TemplateMessage[];
|
|
1331
|
+
vars?: Record<string, unknown>;
|
|
1330
1332
|
}
|
|
1331
1333
|
export interface ExecuteResult {
|
|
1332
1334
|
ok: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type TaskLogEntryType = 'text' | 'tool_use' | 'tool_result' | 'error' | 'info' | 'agent_call';
|
|
1
|
+
export type TaskLogEntryType = 'text' | 'thinking' | 'tool_use' | 'tool_result' | 'error' | 'info' | 'agent_call';
|
|
2
2
|
export interface TaskLogEntry {
|
|
3
3
|
timestamp: string;
|
|
4
4
|
type: TaskLogEntryType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewx/sdk",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4-rc.1",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.19.0"
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"README.md"
|
|
70
70
|
],
|
|
71
71
|
"dependencies": {
|
|
72
|
+
"@agentclientprotocol/sdk": "^0.21.0",
|
|
72
73
|
"@modelcontextprotocol/sdk": "^1.27.0",
|
|
73
74
|
"ai": "^4.0.0",
|
|
74
75
|
"drizzle-orm": "^0.45.2",
|
|
@@ -77,9 +78,29 @@
|
|
|
77
78
|
"zod": "^3.24.1"
|
|
78
79
|
},
|
|
79
80
|
"peerDependencies": {
|
|
81
|
+
"@agentclientprotocol/claude-agent-acp": ">=0.33.0",
|
|
82
|
+
"@agentclientprotocol/codex-acp": ">=0.0.43",
|
|
83
|
+
"@ai-sdk/anthropic": "^1.0.8",
|
|
84
|
+
"@ai-sdk/google": "^1.0.10",
|
|
85
|
+
"@ai-sdk/openai": "^1.0.11",
|
|
80
86
|
"better-sqlite3": "^12.0.0"
|
|
81
87
|
},
|
|
82
88
|
"peerDependenciesMeta": {
|
|
89
|
+
"@agentclientprotocol/claude-agent-acp": {
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
"@agentclientprotocol/codex-acp": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
95
|
+
"@ai-sdk/anthropic": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"@ai-sdk/google": {
|
|
99
|
+
"optional": true
|
|
100
|
+
},
|
|
101
|
+
"@ai-sdk/openai": {
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
83
104
|
"better-sqlite3": {
|
|
84
105
|
"optional": true
|
|
85
106
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|