pipellm-pi-provider 0.0.0-stage → 0.3.6
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/LICENSE +21 -0
- package/README.md +171 -2
- package/SECURITY.md +54 -0
- package/SKILL.md +28 -0
- package/THIRD_PARTY_LICENSES/@modelcontextprotocol__server/LICENSE +216 -0
- package/THIRD_PARTY_LICENSES/@toon-format__toon/LICENSE +21 -0
- package/THIRD_PARTY_LICENSES/incur/LICENSE +21 -0
- package/THIRD_PARTY_LICENSES/tokenx/LICENSE +21 -0
- package/THIRD_PARTY_LICENSES/yaml/LICENSE +13 -0
- package/THIRD_PARTY_LICENSES/zod/LICENSE +21 -0
- package/dist/chunk-bxsvsr7t.js +158 -0
- package/dist/chunk-s7tayn79.js +78 -0
- package/dist/cli.js +50622 -0
- package/dist/index.js +595 -0
- package/package.json +54 -4
- package/source/.prettierrc.json +6 -0
- package/source/AGENTS.md +32 -0
- package/source/LICENSE +21 -0
- package/source/README.md +172 -0
- package/source/SECURITY.md +54 -0
- package/source/SKILL.md +28 -0
- package/source/SPEC.md +49 -0
- package/source/bun.lock +590 -0
- package/source/distribution/README.md +172 -0
- package/source/distribution/SKILL.md +28 -0
- package/source/distribution/ci.yml +41 -0
- package/source/distribution/install.sh.in +116 -0
- package/source/distribution/release.yml +152 -0
- package/source/llms.txt +16 -0
- package/source/package.json +62 -0
- package/source/scripts/build.ts +155 -0
- package/source/scripts/security-gate.ts +17 -0
- package/source/scripts/security-scan.ts +132 -0
- package/source/src/auth.ts +230 -0
- package/source/src/classify.ts +58 -0
- package/source/src/cli.ts +393 -0
- package/source/src/compat-tools.ts +167 -0
- package/source/src/compat.ts +104 -0
- package/source/src/contract.ts +29 -0
- package/source/src/credential-policy.ts +95 -0
- package/source/src/gateway-config.ts +134 -0
- package/source/src/index.ts +67 -0
- package/source/src/keychain.ts +85 -0
- package/source/src/secret-input.ts +59 -0
- package/source/tests/auth.test.ts +258 -0
- package/source/tests/classify.test.ts +56 -0
- package/source/tests/compat.test.ts +30 -0
- package/source/tests/credential-policy.test.ts +105 -0
- package/source/tests/distribution.test.ts +316 -0
- package/source/tests/e2e.test.ts +111 -0
- package/source/tests/fixtures/compat-golden.json +382 -0
- package/source/tests/fixtures/request-observer.ts +25 -0
- package/source/tests/fixtures/responses.json +29 -0
- package/source/tests/guard.test.ts +127 -0
- package/source/tests/live-transport.test.ts +57 -0
- package/source/tests/live.test.ts +140 -0
- package/source/tests/security-gate.test.ts +68 -0
- package/source/tsconfig.json +15 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 pipellm-pi-provider contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,172 @@
|
|
|
1
|
-
#
|
|
1
|
+
# pipellm-pi-provider
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Connect Pi to the PipeLLM gateway using the Anthropic Messages API. Configure models, sign in
|
|
4
|
+
through macOS Keychain, and manage settings with Pi slash commands or the Incur CLI.
|
|
5
|
+
|
|
6
|
+
Built with Pi's [custom provider API](https://pi.dev/docs/latest/custom-provider),
|
|
7
|
+
[extension API](https://pi.dev/docs/latest/extensions) and
|
|
8
|
+
[package format](https://pi.dev/docs/latest/packages). The npm package includes compiled JavaScript,
|
|
9
|
+
corresponding source/tests in `source/`, and CLI dependency notices in `THIRD_PARTY_LICENSES/`.
|
|
10
|
+
Licensed under [MIT](LICENSE).
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
Register the extension with Pi:
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
pi install npm:pipellm-pi-provider
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Install the independent CLI or run it with npx:
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
npm install -g pipellm-pi-provider
|
|
24
|
+
pipellm-pi-provider --help
|
|
25
|
+
npx --yes pipellm-pi-provider --help
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
`pi install` registers the extension; `npm install` installs the CLI. Node.js 22+ is required.
|
|
29
|
+
Pi host packages are optional peers and are not bundled. Default commands use npm's `latest`;
|
|
30
|
+
use `pi install npm:pipellm-pi-provider@0.3.6` to pin a reproducible version. The package declares
|
|
31
|
+
`pi-package` for discovery in the [Pi gallery](https://pi.dev/packages).
|
|
32
|
+
|
|
33
|
+
Alternatively, install the compiled package from the latest GitHub Release:
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
curl -fL https://github.com/lwyBZss8924d/pipellm-pi-provider/releases/latest/download/pipellm-pi-provider-install.sh -o pipellm-pi-provider-install.sh && sh pipellm-pi-provider-install.sh
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The script embeds the archive, verifies SHA-256, then calls `pi install`. Versioned assets and
|
|
40
|
+
`SHA256SUMS` are also available. After download, extraction needs POSIX sh, tar, base64 and
|
|
41
|
+
sha256sum or shasum. It installs under
|
|
42
|
+
`${XDG_DATA_HOME:-$HOME/.local/share}/pi-packages/pipellm-pi-provider`; keep this directory because
|
|
43
|
+
Pi loads it in place. Reinstallation uses the same registration path. Options: `--client pi-fork`,
|
|
44
|
+
`--package-command` for `CLIENT package install`, `--prefix DIR`, or `--extract-only DIR`.
|
|
45
|
+
The installed CLI is also runnable with `node /absolute/installed/directory/dist/cli.js`.
|
|
46
|
+
Restart Pi or use `/reload`.
|
|
47
|
+
|
|
48
|
+
## Configure and sign in
|
|
49
|
+
|
|
50
|
+
| Command | Purpose |
|
|
51
|
+
| ----------------- | ---------------------------------------------------------- |
|
|
52
|
+
| `/pipellm-config` | Set HTTPS gateway, model, token limits and thinking policy |
|
|
53
|
+
| `/pipellm-login` | Validate hidden input and save it to macOS Keychain |
|
|
54
|
+
| `/pipellm-status` | Show models and credential metadata |
|
|
55
|
+
|
|
56
|
+
Run those commands in order, then `/model pipellm/claude-sonnet-5-5` or your configured model.
|
|
57
|
+
Hidden input requires the terminal TUI; RPC clients use the CLI for login. Validation confirms
|
|
58
|
+
its destination/model and sends one small request before saving. The key is passed to `security`
|
|
59
|
+
on stdin, never argv, and the write is verified. Cancellation or failed validation saves no key.
|
|
60
|
+
|
|
61
|
+
A validated session key takes precedence, followed by `PIPELLM_API_KEY` in the environment and
|
|
62
|
+
Keychain items with that account name. Existing Keychain service labels are preserved when updating.
|
|
63
|
+
Configuration merges other providers/models, backs up existing bytes and atomically writes private
|
|
64
|
+
files. `models.json` holds a credential reference; this extension never reads or writes `auth.json`
|
|
65
|
+
and ignores its legacy credential. Use `/pipellm-login`; native `/login pipellm` directs you there.
|
|
66
|
+
Backups can contain older user-supplied secrets; keep them private.
|
|
67
|
+
|
|
68
|
+
**Do not save or inject `PIPELLM_API_KEY` through `.env` files.** Prefer Keychain on macOS;
|
|
69
|
+
otherwise use an authorized secret manager to inject only into the child process. The extension
|
|
70
|
+
never loads dotenv credentials. Startup, configuration and status check project/Pi agent directories
|
|
71
|
+
for assignments and loader indicators, reporting only fixed warnings and flags. Inspection covers
|
|
72
|
+
up to 32 regular `.env`/`.env.*` files and 64 KiB per file, skips symlinks/special files and reports
|
|
73
|
+
incomplete checks. Values/paths are not printed and files are not changed. Environment provenance
|
|
74
|
+
cannot be proven and is reported as unverified.
|
|
75
|
+
|
|
76
|
+
Pi supplies native Anthropic streaming and thinking behavior. With a gateway requiring adaptive
|
|
77
|
+
thinking, select `minimal` or higher: Pi `off` sends `disabled`, which such gateways reject.
|
|
78
|
+
New custom models have zero displayed cost estimates until you supply pricing in `models.json`.
|
|
79
|
+
Keychain persistence requires macOS; other platforms use the process environment.
|
|
80
|
+
|
|
81
|
+
## Management CLI
|
|
82
|
+
|
|
83
|
+
```sh
|
|
84
|
+
pipellm-pi-provider status --json
|
|
85
|
+
pipellm-pi-provider config show --json
|
|
86
|
+
pipellm-pi-provider config set --base-url https://cc-api.pipellm.ai/anthropic --model claude-sonnet-5-5 --dry-run --json
|
|
87
|
+
pipellm-pi-provider auth discover --json
|
|
88
|
+
pipellm-pi-provider auth policy --json
|
|
89
|
+
pipellm-pi-provider auth login --model claude-sonnet-5-5 --dry-run --json
|
|
90
|
+
pipellm-pi-provider auth login --model claude-sonnet-5-5 --yes
|
|
91
|
+
pipellm-pi-provider auth check --model claude-sonnet-5-5 --yes --json
|
|
92
|
+
pipellm-pi-provider doctor --json
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Remove `--dry-run` to save configuration. Login accepts hidden terminal input, `--from-env` or
|
|
96
|
+
`--stdin`, never a key argument. Authorized agents may inject the key into the child and use
|
|
97
|
+
`auth login --from-env --yes --json`. `--yes` authorizes validation; only validated keys are saved.
|
|
98
|
+
`auth check` validates without saving. Authentication dry runs read no keys/dotenv contents and
|
|
99
|
+
send no request. `auth policy`, `status`, `auth discover` and `doctor` include dotenv-policy flags;
|
|
100
|
+
metadata operations never resolve Keychain passwords. Interactive login/check show the reminder.
|
|
101
|
+
|
|
102
|
+
Use `--agent-dir DIR` or `PI_CODING_AGENT_DIR` for isolated settings. Incur supports
|
|
103
|
+
`--schema --json`, `--llms --json`, field filters, JSON/JSONL, token limits, completions and opt-in
|
|
104
|
+
MCP/skill integration. Non-TTY output defaults to `{ ok, data/error, meta }` JSON envelopes.
|
|
105
|
+
|
|
106
|
+
## Compatibility and removal
|
|
107
|
+
|
|
108
|
+
Pi 1.0.2 is tested. Forks need Pi's JavaScript extension loader, native custom-provider API,
|
|
109
|
+
commands and TUI contracts; manifest metadata alone is insufficient. **Prime Agent 0.9.8 cannot
|
|
110
|
+
load this extension** because its TS/JS runtime was removed. The installer rejects clients without
|
|
111
|
+
advertised extension loading before changing settings/files. Prime can use its own model settings.
|
|
112
|
+
|
|
113
|
+
The default observer leaves requests/tools unchanged. It warns once per session for a returned
|
|
114
|
+
tool absent from the request, without blocking or logging payloads, headers, arguments or tool names.
|
|
115
|
+
Legacy fallback remains opt-in and needs Pi host helpers:
|
|
116
|
+
|
|
117
|
+
```sh
|
|
118
|
+
PIPELLM_COMPAT_MODELS=claude-opus-5-5 pi
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Remove registration with `pi remove npm:pipellm-pi-provider` or
|
|
122
|
+
`pi remove /absolute/installed/directory`. Remove the CLI with `npm uninstall -g pipellm-pi-provider`.
|
|
123
|
+
Delete credentials separately in macOS Keychain Access.
|
|
124
|
+
|
|
125
|
+
## Develop and release
|
|
126
|
+
|
|
127
|
+
`src/` contains the extension, CLI and shared code; `scripts/` builds/releases; `tests/` holds
|
|
128
|
+
contracts and fixtures. `distribution/` contains canonical README/CLI-guide/workflow templates;
|
|
129
|
+
root copies stay aligned. Source `pi.extensions` points to TypeScript. The repository manifest is
|
|
130
|
+
private; packing creates a publishable compiled manifest with `bin`, `exports` and optional peers.
|
|
131
|
+
|
|
132
|
+
From the repository or the archive's `source/` directory:
|
|
133
|
+
|
|
134
|
+
```sh
|
|
135
|
+
bun install --frozen-lockfile --ignore-scripts
|
|
136
|
+
bun test tests
|
|
137
|
+
bun run typecheck
|
|
138
|
+
bun run format:check
|
|
139
|
+
bun run pack
|
|
140
|
+
sh dist/pipellm-pi-provider-install.sh
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Build output includes the `.tgz`, stable/versioned installers and `SHA256SUMS`. CI tests Linux/macOS,
|
|
144
|
+
types, formatting and installations. Releases bind the version tag to its commit, verify checksums,
|
|
145
|
+
run the pinned [Codex Security SDK](https://learn.chatgpt.com/docs/security/sdk)
|
|
146
|
+
([source](https://github.com/openai/codex-security)), publish that tested
|
|
147
|
+
archive to npm `latest`, and upload GitHub assets. npm uses the repository's `NPM_TOKEN` secret.
|
|
148
|
+
|
|
149
|
+
Security scans use a dedicated maintainer-controlled self-hosted runner labelled
|
|
150
|
+
`codex-security-chatgpt`, with Node 24, Bun, Python 3.10+ and private `CODEX_HOME` outside the checkout.
|
|
151
|
+
Provision ChatGPT login with `codex login --device-auth`; verify `codex login status`. The SDK uses
|
|
152
|
+
`auth: "chatgpt"`. The SDK and native Codex CLI are pinned separately; the scanner uses the project's
|
|
153
|
+
CLI rather than the SDK's older bundled runtime. Select an account-supported model with the
|
|
154
|
+
`CODEX_SECURITY_MODEL` repository variable; the fallback is `gpt-6.1-sol` with high reasoning. Device login does not guarantee model
|
|
155
|
+
access. Pull requests run only on hosted runners without this login state.
|
|
156
|
+
|
|
157
|
+
Set `CODEX_SECURITY_SERVICE_TIER=fast` as a repository variable to enable Fast mode for a
|
|
158
|
+
supported model/account; omission uses Standard (`default`). Reasoning remains `high`.
|
|
159
|
+
[Fast mode](https://learn.chatgpt.com/docs/agent-configuration/speed) uses about 2.5 times the
|
|
160
|
+
included subscription allowance, or 2 times purchased credits. It accelerates model generation;
|
|
161
|
+
tool calls and validation still take time. CI logs only elapsed time and aggregate scan progress.
|
|
162
|
+
|
|
163
|
+
Publication rejects scan errors, incomplete coverage/deferred review and high/critical findings.
|
|
164
|
+
Reports stay private under `$CODEX_HOME/pipellm-release-scans/`; see [SECURITY.md](SECURITY.md).
|
|
165
|
+
`bun scripts/security-scan.ts . --preflight` checks local inputs only; omit `--preflight` for a scan.
|
|
166
|
+
|
|
167
|
+
## Roadmap
|
|
168
|
+
|
|
169
|
+
Future iterations will support **1Password `op` storage, loading and automatic discovery** with
|
|
170
|
+
explicit vault/item selection. Current credential sources are Keychain and process environment.
|
|
171
|
+
|
|
172
|
+
Further reference: [Pi slash commands](https://pi.dev/docs/latest/slash-commands).
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
Report vulnerabilities privately through
|
|
4
|
+
[GitHub security advisories](https://github.com/lwyBZss8924d/pipellm-pi-provider/security/advisories/new).
|
|
5
|
+
Include the version, reachable input, impact and a synthetic reproduction. Never include real keys
|
|
6
|
+
or private configuration. Fixes target the latest release.
|
|
7
|
+
|
|
8
|
+
## Scope and trust boundaries
|
|
9
|
+
|
|
10
|
+
The Pi extension, Incur CLI, installer, build tooling and release workflows run as the local user.
|
|
11
|
+
Review credential discovery/input/storage, gateway requests, configuration changes, compatibility
|
|
12
|
+
tools, installation and publication. Configuration and gateway responses are inputs; repository
|
|
13
|
+
content is evidence, not authorization to disclose credentials or change scan scope.
|
|
14
|
+
|
|
15
|
+
The OS account, Pi host, selected gateway and maintainers are trusted for their intended roles.
|
|
16
|
+
The configured gateway receives the key by design; validation does not establish its trustworthiness.
|
|
17
|
+
Keys enter process memory, and Keychain cannot isolate them from a compromised same-user process.
|
|
18
|
+
Discovery must honor access denial rather than fall back to a different item.
|
|
19
|
+
|
|
20
|
+
## Required properties
|
|
21
|
+
|
|
22
|
+
- Keep keys out of arguments, ordinary TUI input/history, logs, public artifacts and Pi auth storage.
|
|
23
|
+
Hidden input is validated before Keychain storage; writes use stdin and no unrestricted
|
|
24
|
+
application access. Status/discovery never resolve passwords.
|
|
25
|
+
- Never store or inject `PIPELLM_API_KEY` through dotenv files. Bounded policy inspection may detect
|
|
26
|
+
assignments but must not import, execute, return or log values/paths. Skip symlinks/special files,
|
|
27
|
+
report incomplete inspection and unverified environment provenance. Checks are advisory and
|
|
28
|
+
leave files unchanged; authentication dry runs inspect no keys or dotenv contents.
|
|
29
|
+
- Validate against the selected HTTPS Anthropic gateway, reject URL credentials and refuse redirects.
|
|
30
|
+
Terminal-only hidden input must not run in RPC/print modes. Cancellation or failed validation
|
|
31
|
+
must not save an unvalidated key.
|
|
32
|
+
- Preserve unrelated models/providers and private backups; replace configuration atomically.
|
|
33
|
+
Invalid input must not overwrite files. Old backups may contain secrets and need local protection.
|
|
34
|
+
- Verify the embedded archive before replacement. Require an ownership marker for existing
|
|
35
|
+
installations and restore prior files on failed registration. Checksums detect corruption;
|
|
36
|
+
the distribution channel establishes authenticity.
|
|
37
|
+
- Leave default requests/tools unchanged and warn without payloads or tool names. Legacy tools
|
|
38
|
+
require explicit model opt-in and retain Pi's tool permission boundary.
|
|
39
|
+
- Ship portable code, source and licenses only: no credentials, workstation paths, local catalogs,
|
|
40
|
+
private state or security scan reports in public source, npm archives or release assets.
|
|
41
|
+
- Gate npm/GitHub publication on tests and a completed Codex Security SDK scan with complete
|
|
42
|
+
coverage, no deferred review and no high/critical findings. Authentication/scan errors fail closed.
|
|
43
|
+
Medium/low findings still require review; the threshold must not suppress them.
|
|
44
|
+
|
|
45
|
+
## Release scans and reportability
|
|
46
|
+
|
|
47
|
+
Only maintainer-controlled tags/manual releases run on the dedicated ChatGPT-authenticated runner;
|
|
48
|
+
never execute untrusted pull-request code there. Pull requests use hosted runners without login
|
|
49
|
+
state. Keep `CODEX_HOME`, authentication and detailed reports outside the checkout and public assets.
|
|
50
|
+
Device login does not guarantee access to the required models/security capabilities.
|
|
51
|
+
|
|
52
|
+
Report reachable credential disclosure, unauthorized mutation, unsafe installation or gate bypass
|
|
53
|
+
with evidence of exposure and impact. There are no repository-wide finding exclusions. Assess
|
|
54
|
+
advisories through reachable package behavior. 1Password integration is future work.
|
package/SKILL.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pipellm-pi-provider
|
|
3
|
+
description: Configure the PipeLLM Pi provider and manage macOS Keychain credentials with its CLI.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Discover commands with `pipellm-pi-provider --llms --json` and inputs with
|
|
7
|
+
`pipellm-pi-provider config set --schema --json`. Use JSON and field filters for bounded output.
|
|
8
|
+
`status`, `config show`, `auth discover`, `auth policy` and `doctor` send no gateway request and
|
|
9
|
+
never resolve Keychain passwords. Credential metadata includes dotenv-policy flags.
|
|
10
|
+
|
|
11
|
+
Preview configuration with `config set --dry-run --json`; select settings with `--agent-dir`
|
|
12
|
+
or `PI_CODING_AGENT_DIR`. Authorized writes merge other models/providers and back up existing bytes.
|
|
13
|
+
Register the extension separately with `pi install npm:pipellm-pi-provider`.
|
|
14
|
+
|
|
15
|
+
Never put keys in arguments, prompts, output or dotenv files. Prefer macOS Keychain; authorized
|
|
16
|
+
agents may inject `PIPELLM_API_KEY` into a child and use `auth login --from-env --yes --json`.
|
|
17
|
+
Humans use hidden CLI input or `/pipellm-login` in Pi's terminal TUI. `--yes` authorizes one small
|
|
18
|
+
validation request; only validated keys are saved. `auth check --yes` validates without saving.
|
|
19
|
+
Authentication dry runs read no key/dotenv contents and send no request. Live operations and
|
|
20
|
+
credential writes require authorization from the active task.
|
|
21
|
+
|
|
22
|
+
`auth policy --json` detects bounded regular-file assignments and dotenv loader indicators;
|
|
23
|
+
output contains fixed warnings and flags, never values/paths. Checks do not modify files and
|
|
24
|
+
cannot prove environment provenance. Incomplete inspection is reported.
|
|
25
|
+
|
|
26
|
+
Pi 1.0.2 is tested. Compatible forks require its native extension/provider/command/TUI APIs;
|
|
27
|
+
Prime Agent 0.9.8 cannot load JS extensions. Gateways requiring adaptive thinking need `minimal`
|
|
28
|
+
or higher. 1Password storage/loading/discovery is planned, not implemented.
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
The MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 ("Apache-2.0"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.
|
|
2
|
+
|
|
3
|
+
Contributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License.
|
|
4
|
+
|
|
5
|
+
No rights beyond those granted by the applicable original license are conveyed for such contributions.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Apache License
|
|
10
|
+
Version 2.0, January 2004
|
|
11
|
+
http://www.apache.org/licenses/
|
|
12
|
+
|
|
13
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
14
|
+
|
|
15
|
+
1. Definitions.
|
|
16
|
+
|
|
17
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
18
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
19
|
+
|
|
20
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
21
|
+
the copyright owner that is granting the License.
|
|
22
|
+
|
|
23
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
24
|
+
other entities that control, are controlled by, or are under common
|
|
25
|
+
control with that entity. For the purposes of this definition,
|
|
26
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
27
|
+
direction or management of such entity, whether by contract or
|
|
28
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
29
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
30
|
+
|
|
31
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
32
|
+
exercising permissions granted by this License.
|
|
33
|
+
|
|
34
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
35
|
+
including but not limited to software source code, documentation
|
|
36
|
+
source, and configuration files.
|
|
37
|
+
|
|
38
|
+
"Object" form shall mean any form resulting from mechanical
|
|
39
|
+
transformation or translation of a Source form, including but
|
|
40
|
+
not limited to compiled object code, generated documentation,
|
|
41
|
+
and conversions to other media types.
|
|
42
|
+
|
|
43
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
44
|
+
Object form, made available under the License, as indicated by a
|
|
45
|
+
copyright notice that is included in or attached to the work
|
|
46
|
+
(an example is provided in the Appendix below).
|
|
47
|
+
|
|
48
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
49
|
+
form, that is based on (or derived from) the Work and for which the
|
|
50
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
51
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
52
|
+
of this License, Derivative Works shall not include works that remain
|
|
53
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
54
|
+
the Work and Derivative Works thereof.
|
|
55
|
+
|
|
56
|
+
"Contribution" shall mean any work of authorship, including
|
|
57
|
+
the original version of the Work and any modifications or additions
|
|
58
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
59
|
+
submitted to the Licensor for inclusion in the Work by the copyright
|
|
60
|
+
owner or by an individual or Legal Entity authorized to submit on behalf
|
|
61
|
+
of the copyright owner. For the purposes of this definition, "submitted"
|
|
62
|
+
means any form of electronic, verbal, or written communication sent
|
|
63
|
+
to the Licensor or its representatives, including but not limited to
|
|
64
|
+
communication on electronic mailing lists, source code control systems,
|
|
65
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
66
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
67
|
+
excluding communication that is conspicuously marked or otherwise
|
|
68
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
69
|
+
|
|
70
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
71
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
72
|
+
subsequently incorporated within the Work.
|
|
73
|
+
|
|
74
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
78
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
79
|
+
Work and such Derivative Works in Source or Object form.
|
|
80
|
+
|
|
81
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
82
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
83
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
84
|
+
(except as stated in this section) patent license to make, have made,
|
|
85
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
86
|
+
where such license applies only to those patent claims licensable
|
|
87
|
+
by such Contributor that are necessarily infringed by their
|
|
88
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
89
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
90
|
+
institute patent litigation against any entity (including a
|
|
91
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
92
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
93
|
+
or contributory patent infringement, then any patent licenses
|
|
94
|
+
granted to You under this License for that Work shall terminate
|
|
95
|
+
as of the date such litigation is filed.
|
|
96
|
+
|
|
97
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
98
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
99
|
+
modifications, and in Source or Object form, provided that You
|
|
100
|
+
meet the following conditions:
|
|
101
|
+
|
|
102
|
+
(a) You must give any other recipients of the Work or
|
|
103
|
+
Derivative Works a copy of this License; and
|
|
104
|
+
|
|
105
|
+
(b) You must cause any modified files to carry prominent notices
|
|
106
|
+
stating that You changed the files; and
|
|
107
|
+
|
|
108
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
109
|
+
that You distribute, all copyright, patent, trademark, and
|
|
110
|
+
attribution notices from the Source form of the Work,
|
|
111
|
+
excluding those notices that do not pertain to any part of
|
|
112
|
+
the Derivative Works; and
|
|
113
|
+
|
|
114
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
115
|
+
distribution, then any Derivative Works that You distribute must
|
|
116
|
+
include a readable copy of the attribution notices contained
|
|
117
|
+
within such NOTICE file, excluding those notices that do not
|
|
118
|
+
pertain to any part of the Derivative Works, in at least one
|
|
119
|
+
of the following places: within a NOTICE text file distributed
|
|
120
|
+
as part of the Derivative Works; within the Source form or
|
|
121
|
+
documentation, if provided along with the Derivative Works; or,
|
|
122
|
+
within a display generated by the Derivative Works, if and
|
|
123
|
+
wherever such third-party notices normally appear. The contents
|
|
124
|
+
of the NOTICE file are for informational purposes only and
|
|
125
|
+
do not modify the License. You may add Your own attribution
|
|
126
|
+
notices within Derivative Works that You distribute, alongside
|
|
127
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
128
|
+
that such additional attribution notices cannot be construed
|
|
129
|
+
as modifying the License.
|
|
130
|
+
|
|
131
|
+
You may add Your own copyright statement to Your modifications and
|
|
132
|
+
may provide additional or different license terms and conditions
|
|
133
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
134
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
135
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
136
|
+
the conditions stated in this License.
|
|
137
|
+
|
|
138
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
139
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
140
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
141
|
+
this License, without any additional terms or conditions.
|
|
142
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
143
|
+
the terms of any separate license agreement you may have executed
|
|
144
|
+
with Licensor regarding such Contributions.
|
|
145
|
+
|
|
146
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
147
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
148
|
+
except as required for reasonable and customary use in describing the
|
|
149
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
150
|
+
|
|
151
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
152
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
153
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
154
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
155
|
+
implied, including, without limitation, any warranties or conditions
|
|
156
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
157
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
158
|
+
appropriateness of using or redistributing the Work and assume any
|
|
159
|
+
risks associated with Your exercise of permissions under this License.
|
|
160
|
+
|
|
161
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
162
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
163
|
+
unless required by applicable law (such as deliberate and grossly
|
|
164
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
165
|
+
liable to You for damages, including any direct, indirect, special,
|
|
166
|
+
incidental, or consequential damages of any character arising as a
|
|
167
|
+
result of this License or out of the use or inability to use the
|
|
168
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
169
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
170
|
+
other commercial damages or losses), even if such Contributor
|
|
171
|
+
has been advised of the possibility of such damages.
|
|
172
|
+
|
|
173
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
174
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
175
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
176
|
+
or other liability obligations and/or rights consistent with this
|
|
177
|
+
License. However, in accepting such obligations, You may act only
|
|
178
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
179
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
180
|
+
defend, and hold each Contributor harmless for any liability
|
|
181
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
182
|
+
of your accepting any such warranty or additional liability.
|
|
183
|
+
|
|
184
|
+
END OF TERMS AND CONDITIONS
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
MIT License
|
|
189
|
+
|
|
190
|
+
Copyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.
|
|
191
|
+
|
|
192
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
193
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
194
|
+
in the Software without restriction, including without limitation the rights
|
|
195
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
196
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
197
|
+
furnished to do so, subject to the following conditions:
|
|
198
|
+
|
|
199
|
+
The above copyright notice and this permission notice shall be included in all
|
|
200
|
+
copies or substantial portions of the Software.
|
|
201
|
+
|
|
202
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
203
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
204
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
205
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
206
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
207
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
208
|
+
SOFTWARE.
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
Creative Commons Attribution 4.0 International (CC-BY-4.0)
|
|
213
|
+
|
|
214
|
+
Documentation in this project (excluding specifications) is licensed under
|
|
215
|
+
CC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for
|
|
216
|
+
the full license text.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-PRESENT Johann Schopplich
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-present weth, LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023-PRESENT Johann Schopplich
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright Eemeli Aro <eemeli@gmail.com>
|
|
2
|
+
|
|
3
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
4
|
+
with or without fee is hereby granted, provided that the above copyright notice
|
|
5
|
+
and this permission notice appear in all copies.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
9
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
11
|
+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
12
|
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
13
|
+
THIS SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Colin McDonnell
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|