@ycodium-ai/agent-pi 0.0.0-stage → 0.2.3576

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.
@@ -0,0 +1,45 @@
1
+ {
2
+ "setupNote": "Choose Chat Completions, OpenAI Responses or Anthropic Messages, then configure the API base URL, API key and model ID. Pi runs tools with the permissions of its process; it does not provide a sandbox or per-tool approvals.",
3
+ "connectionNotVerified": "API credentials and model access will be checked on the first request.",
4
+ "connection": {
5
+ "protocolUnknown": "Choose a supported protocol",
6
+ "invalidProtocol": "The saved API protocol is unsupported. Choose one of the supported protocols.",
7
+ "protocols": {
8
+ "openai-completions": "Chat Completions",
9
+ "openai-responses": "OpenAI Responses",
10
+ "anthropic-messages": "Anthropic Messages"
11
+ },
12
+ "baseUrlGuidance": {
13
+ "openai-completions": "Use the API base URL, usually ending in /v1. Do not include /chat/completions.",
14
+ "openai-responses": "Use the API base URL, usually ending in /v1. Do not include /responses.",
15
+ "anthropic-messages": "Use the service root or a base URL ending in /v1. Do not include /messages."
16
+ },
17
+ "key": "API key",
18
+ "stored": "Key saved; enter a new value to replace it",
19
+ "invalidUrl": "Enter an HTTP(S) base URL without credentials, a query or a fragment.",
20
+ "modelRequired": "Enter the model ID accepted by your API service.",
21
+ "keyRequired": "Enter an API key."
22
+ },
23
+ "form": {
24
+ "apiProtocol": {
25
+ "title": "API protocol",
26
+ "description": "Choose the request format supported by your API service."
27
+ },
28
+ "apiBaseUrl": {
29
+ "title": "API base URL",
30
+ "description": "The base URL for the selected API protocol, without the final request endpoint."
31
+ },
32
+ "model": {
33
+ "title": "Model ID",
34
+ "description": "The exact model ID accepted by your API service."
35
+ },
36
+ "binaryPath": {
37
+ "title": "Pi executable",
38
+ "description": "Optional path to Pi 1.4.0 or newer. Uses pi from PATH when empty."
39
+ },
40
+ "homePath": {
41
+ "title": "Session directory",
42
+ "description": "Optional storage root for this instance. Keep separate instances in separate directories."
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "setupNote": "选择 Chat Completions、OpenAI Responses 或 Anthropic Messages,再配置 API 地址、API Key 和模型名称。Pi 按进程权限执行工具,不提供沙箱或逐工具审批。",
3
+ "connectionNotVerified": "首次请求时将验证 API 凭据和模型访问权限。",
4
+ "connection": {
5
+ "protocolUnknown": "请选择支持的协议",
6
+ "invalidProtocol": "已保存的 API 协议不受支持,请重新选择。",
7
+ "protocols": {
8
+ "openai-completions": "Chat Completions",
9
+ "openai-responses": "OpenAI Responses",
10
+ "anthropic-messages": "Anthropic Messages"
11
+ },
12
+ "baseUrlGuidance": {
13
+ "openai-completions": "填写 API 基础地址,通常以 /v1 结尾,不包含 /chat/completions。",
14
+ "openai-responses": "填写 API 基础地址,通常以 /v1 结尾,不包含 /responses。",
15
+ "anthropic-messages": "填写服务根地址或以 /v1 结尾的基础地址,不包含 /messages。"
16
+ },
17
+ "key": "API Key",
18
+ "stored": "已保存密钥;输入新值可替换",
19
+ "invalidUrl": "请填写 HTTP(S) 基础地址,不包含凭据、查询参数或片段。",
20
+ "modelRequired": "请填写 API 服务接受的模型 ID。",
21
+ "keyRequired": "请填写 API Key。"
22
+ },
23
+ "form": {
24
+ "apiProtocol": {
25
+ "title": "API 协议",
26
+ "description": "选择 API 服务支持的请求格式。"
27
+ },
28
+ "apiBaseUrl": {
29
+ "title": "API 地址",
30
+ "description": "所选 API 协议的基础地址,不包含最终请求端点。"
31
+ },
32
+ "model": { "title": "模型名称", "description": "API 服务接受的准确模型 ID。" },
33
+ "binaryPath": {
34
+ "title": "Pi 程序",
35
+ "description": "可选的 Pi 1.4.0 或更高版本程序路径。留空则从 PATH 查找 pi。"
36
+ },
37
+ "homePath": {
38
+ "title": "会话目录",
39
+ "description": "可选的实例存储根目录。不同实例应使用各自的目录。"
40
+ }
41
+ }
42
+ }
package/package.json CHANGED
@@ -1,6 +1,79 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-pi",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.2.3576",
4
+ "description": "Pi executor over the native RPC protocol.",
5
+ "keywords": [
6
+ "ycodium",
7
+ "ycodium-plugin"
8
+ ],
9
+ "license": "UNLICENSED",
10
+ "files": [
11
+ "dist",
12
+ "assets",
13
+ "locales",
14
+ "README.md"
15
+ ],
16
+ "type": "module",
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "devDependencies": {
21
+ "@tailwindcss/node": "^4.3.0",
22
+ "@tailwindcss/oxide": "^4.3.0",
23
+ "@types/node": "24.12.4",
24
+ "@types/react": "~19.2.14",
25
+ "@types/react-dom": "^19.2.3",
26
+ "effect": "4.0.0-beta.103",
27
+ "esbuild": "0.28.1",
28
+ "react": "19.2.6",
29
+ "react-dom": "19.2.6",
30
+ "tailwindcss": "^4.0.0",
31
+ "typescript": "~6.0.3",
32
+ "vite-plus": "0.2.2",
33
+ "@ycodium-ai/plugin-api": "0.2.3576",
34
+ "@ycodium/contracts": "0.0.33",
35
+ "ycodium-executor-testing": "0.0.0"
36
+ },
37
+ "ycodium": {
38
+ "plugin": "./dist/index.js",
39
+ "displayName": "Pi",
40
+ "description": "Run Pi with your model API, native session resume and searchable Ycodium tools.",
41
+ "icon": "./assets/icon.svg",
42
+ "permissions": [
43
+ {
44
+ "kind": "executor"
45
+ }
46
+ ],
47
+ "ui": {
48
+ "assets": "./assets",
49
+ "entry": "ui.js",
50
+ "providerSettings": [
51
+ {
52
+ "id": "connection",
53
+ "driverKind": "pi",
54
+ "ownedFields": {
55
+ "add": [
56
+ "apiProtocol",
57
+ "apiBaseUrl",
58
+ "model"
59
+ ],
60
+ "edit": [
61
+ "apiProtocol",
62
+ "apiBaseUrl",
63
+ "model"
64
+ ]
65
+ },
66
+ "ownedEnvironment": [
67
+ "YCODIUM_PI_API_KEY"
68
+ ],
69
+ "genericFields": "collapsed"
70
+ }
71
+ ]
72
+ }
73
+ },
74
+ "scripts": {
75
+ "build": "node build.mjs",
76
+ "typecheck": "tsgo --noEmit && tsgo --noEmit -p tsconfig.ui.json",
77
+ "test": "vp test run"
78
+ }
6
79
  }