refactor: @aaif/goose-acp -> @aaif/goose-sdk (#8555)
This commit is contained in:
+6
-6
@@ -1,4 +1,4 @@
|
||||
# @aaif/goose-acp
|
||||
# @aaif/goose-sdk
|
||||
|
||||
TypeScript client library for the Goose Agent Client Protocol (ACP).
|
||||
|
||||
@@ -9,7 +9,7 @@ This package provides:
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
npm install @aaif/goose-acp
|
||||
npm install @aaif/goose-sdk
|
||||
```
|
||||
|
||||
The native `goose` binaries are distributed as optional dependencies
|
||||
@@ -52,7 +52,7 @@ npm run build
|
||||
npm link
|
||||
|
||||
# In ui/text (or another project)
|
||||
npm link @aaif/goose-acp
|
||||
npm link @aaif/goose-sdk
|
||||
```
|
||||
|
||||
### Schema Generation
|
||||
@@ -84,7 +84,7 @@ Platform-specific npm packages for the `goose` binary are located in
|
||||
| `@aaif/goose-binary-linux-x64` | Linux x64 |
|
||||
| `@aaif/goose-binary-win32-x64` | Windows x64 |
|
||||
|
||||
These are published separately from `@aaif/goose-acp`.
|
||||
These are published separately from `@aaif/goose-sdk`.
|
||||
|
||||
### Building Native Binaries
|
||||
|
||||
@@ -111,14 +111,14 @@ For manual publishing:
|
||||
```
|
||||
|
||||
This will:
|
||||
1. Build and publish `@aaif/goose-acp`
|
||||
1. Build and publish `@aaif/goose-sdk`
|
||||
2. Publish all native binary packages
|
||||
3. Publish `@aaif/goose` (which depends on the above)
|
||||
|
||||
## Usage
|
||||
|
||||
```typescript
|
||||
import { GooseClient } from "@aaif/goose-acp";
|
||||
import { GooseClient } from "@aaif/goose-sdk";
|
||||
|
||||
const client = new GooseClient({
|
||||
// ... configuration
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@aaif/goose-acp",
|
||||
"name": "@aaif/goose-sdk",
|
||||
"version": "0.16.0",
|
||||
"description": "Agent Client Protocol (ACP) SDK for Goose AI agent",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"i18n:compile": "node scripts/i18n-compile.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aaif/goose-acp": "workspace:*",
|
||||
"@aaif/goose-sdk": "workspace:*",
|
||||
"@mcp-ui/client": "6.1.0",
|
||||
"@modelcontextprotocol/ext-apps": "^1.1.1",
|
||||
"@radix-ui/react-accordion": "^1.2.12",
|
||||
|
||||
@@ -43,7 +43,7 @@ For manual publishing:
|
||||
./ui/scripts/publish.sh --real
|
||||
```
|
||||
|
||||
This will publish all native packages along with `@aaif/goose-acp` and `@aaif/goose`.
|
||||
This will publish all native packages along with `@aaif/goose-sdk` and `@aaif/goose`.
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -43,7 +43,7 @@ importers:
|
||||
|
||||
desktop:
|
||||
dependencies:
|
||||
'@aaif/goose-acp':
|
||||
'@aaif/goose-sdk':
|
||||
specifier: workspace:*
|
||||
version: link:../acp
|
||||
'@mcp-ui/client':
|
||||
@@ -664,7 +664,7 @@ importers:
|
||||
|
||||
text:
|
||||
dependencies:
|
||||
'@aaif/goose-acp':
|
||||
'@aaif/goose-sdk':
|
||||
specifier: workspace:*
|
||||
version: link:../acp
|
||||
'@agentclientprotocol/sdk':
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"lint": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aaif/goose-acp": "workspace:*",
|
||||
"@aaif/goose-sdk": "workspace:*",
|
||||
"@agentclientprotocol/sdk": "^0.14.1",
|
||||
"@inkjs/ui": "^2.0.0",
|
||||
"ink": "^6.8.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, { useState, useEffect, useCallback } from "react";
|
||||
import { Box, Text, useInput, useStdout } from "ink";
|
||||
import type { GooseClient, ProviderDetailEntry } from "@aaif/goose-acp";
|
||||
import type { GooseClient, ProviderDetailEntry } from "@aaif/goose-sdk";
|
||||
import {
|
||||
TEAL,
|
||||
GOLD,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useState, useEffect, useCallback } from "react";
|
||||
import { Box, Text, useInput, useStdout } from "ink";
|
||||
import { TextInput, PasswordInput } from '@inkjs/ui';
|
||||
import type { GooseClient, ProviderDetailEntry } from "@aaif/goose-acp";
|
||||
import type { GooseClient, ProviderDetailEntry } from "@aaif/goose-sdk";
|
||||
import {
|
||||
CRANBERRY,
|
||||
TEAL,
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import type {
|
||||
ToolCallUpdate,
|
||||
} from "@agentclientprotocol/sdk";
|
||||
import { ndJsonStream } from "@agentclientprotocol/sdk";
|
||||
import { GooseClient } from "@aaif/goose-acp";
|
||||
import { GooseClient } from "@aaif/goose-sdk";
|
||||
import Onboarding from "./onboarding.js";
|
||||
import ConfigureScreen from "./configure.js";
|
||||
import type { PendingPermission, ResponseItem, Turn } from "./types.js";
|
||||
|
||||
Reference in New Issue
Block a user