@owlmeans/viable-claude 0.0.0-stage → 0.1.19
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 +38 -0
- package/README.md +81 -2
- package/agent-meta/manifest.json +16 -0
- package/agent-meta/skills/viable-claude/SKILL.md +61 -0
- package/build/bin.d.ts +2 -0
- package/build/bin.js +3 -0
- package/build/chunk-e5dmrkms.js +2 -0
- package/build/chunk-jdfp5ve9.js +3 -0
- package/build/chunk-rp8qrtm4.js +2 -0
- package/build/chunk-tnepyx9b.js +29 -0
- package/build/config.d.ts +5 -0
- package/build/consts.d.ts +9 -0
- package/build/consts.local.d.ts +10 -0
- package/build/edition.d.ts +9 -0
- package/build/index.d.ts +5 -0
- package/build/index.js +2 -0
- package/build/server.d.ts +4 -0
- package/build/types.d.ts +1 -0
- package/build/version.d.ts +1 -0
- package/package.json +56 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
OwlMeans Closed-Source Package License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 OwlMeans. All rights reserved.
|
|
4
|
+
|
|
5
|
+
This license applies to every package published from the OwlMeans closed-source repository
|
|
6
|
+
(each package whose package.json reads "license": "SEE LICENSE IN LICENSE"), as distributed
|
|
7
|
+
through the npm registry ("the Software").
|
|
8
|
+
|
|
9
|
+
1. Grant. You may install and run the Software, unmodified and in the form in which it is
|
|
10
|
+
distributed, free of charge, for any lawful purpose, including commercial use, and you may
|
|
11
|
+
use it as a dependency of your own software.
|
|
12
|
+
|
|
13
|
+
2. Restrictions. You may not:
|
|
14
|
+
a. modify, adapt, translate or create derivative works of the Software;
|
|
15
|
+
b. decompile, disassemble or otherwise reverse engineer the Software, or attempt to
|
|
16
|
+
reconstruct its source code, except to the extent applicable law expressly permits it
|
|
17
|
+
notwithstanding this restriction;
|
|
18
|
+
c. redistribute, sublicense, sell, rent or lease the Software on its own, or republish it under
|
|
19
|
+
another name; installing it from the npm registry as a dependency of your software is not
|
|
20
|
+
redistribution.
|
|
21
|
+
|
|
22
|
+
3. Ownership. The Software is licensed, not sold. OwlMeans retains all right, title and interest in
|
|
23
|
+
it, including its source code, which is not published.
|
|
24
|
+
|
|
25
|
+
4. Open-source components. The Software depends on packages published under their own licenses,
|
|
26
|
+
including the MIT-licensed OwlMeans common packages (https://github.com/owlmeans/common). Those
|
|
27
|
+
licenses govern those packages; this license does not restrict your rights under them.
|
|
28
|
+
|
|
29
|
+
5. No warranty. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
|
30
|
+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
|
|
31
|
+
AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
32
|
+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
33
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
34
|
+
|
|
35
|
+
6. Termination. This license terminates automatically if you breach it; you must then stop using
|
|
36
|
+
the Software and delete every copy you hold.
|
|
37
|
+
|
|
38
|
+
Questions and issues: https://github.com/owlmeans/common/issues
|
package/README.md
CHANGED
|
@@ -1,3 +1,82 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @owlmeans/viable-claude
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
OwlMeans for Claude Code: the local MCP server of the OwlMeans Claude Code plugin. Claude Code
|
|
4
|
+
starts it over stdio; it builds full-stack web applications on the OwlMeans platform and writes the
|
|
5
|
+
project into your local workspace. Every model call runs on the OwlMeans platform. To drive the
|
|
6
|
+
platform from your own host or script instead, use the open-source
|
|
7
|
+
[`@owlmeans/viable-sdk`](https://github.com/owlmeans/common/tree/main/packages/viable-sdk).
|
|
8
|
+
|
|
9
|
+
This package is closed-source and published as built code under the [OwlMeans Closed-Source Package
|
|
10
|
+
License](LICENSE). Issues: https://github.com/owlmeans/common/issues
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
The OwlMeans plugin starts it for you. To run it by hand:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx -y @owlmeans/viable-claude@^0.1.19 login # once: browser sign-in → ~/.owlmeans
|
|
18
|
+
claude mcp add owlmeans -- npx -y @owlmeans/viable-claude@^0.1.19
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Concepts
|
|
22
|
+
|
|
23
|
+
- **Local project** — the generated project lives in the client's workspace (its first MCP root),
|
|
24
|
+
or in `--project-dir`.
|
|
25
|
+
- **Cloud inference** — the platform performs every model call, billed to your credits. This server
|
|
26
|
+
never takes model tasks, never offers a task loop and never switches inference.
|
|
27
|
+
- **Credentials** — a token stored in `~/.owlmeans` (or `OWLMEANS_CREDENTIALS`) under
|
|
28
|
+
`VIABLE_CLAUDE_TOKEN`, beside `VIABLE_CLAUDE_API_URL`, the API it belongs to. It is never read from
|
|
29
|
+
the environment or a command line. With none stored, the first tool that needs the platform starts
|
|
30
|
+
a browser sign-in.
|
|
31
|
+
- **Session** — one per attached project, opened by the first tool that needs it.
|
|
32
|
+
|
|
33
|
+
## Usage
|
|
34
|
+
|
|
35
|
+
| Command / option | Meaning |
|
|
36
|
+
|---|---|
|
|
37
|
+
| (none) | Serve MCP over stdio |
|
|
38
|
+
| `login` · `logout` · `status` | Browser sign-in into `~/.owlmeans`; revoke and forget; report (stderr) |
|
|
39
|
+
| `url` | Print the platform's hosted MCP URL for Claude (`<api>/mcp/claude`) on stdout |
|
|
40
|
+
| `--api-url <url>` / `VIABLE_API_URL` | The platform's public API origin; else the file's `VIABLE_CLAUDE_API_URL`, else `https://api.owlmeans.com` |
|
|
41
|
+
| `--project-dir <path>` / `VIABLE_PROJECT_DIR` | The local project directory (default: the client workspace, then the working directory) |
|
|
42
|
+
| `OWLMEANS_CREDENTIALS` | Path of the credentials file (default `~/.owlmeans`) |
|
|
43
|
+
|
|
44
|
+
## API
|
|
45
|
+
|
|
46
|
+
| Export | Description |
|
|
47
|
+
|---|---|
|
|
48
|
+
| `makeViableClaudeServer(cfg)` → `{ server, close }` | The configured `McpServer` |
|
|
49
|
+
| `configHelper.readConfig(argv, env)` · `configHelper.parseArgs(argv)` · `HELP` | Its configuration |
|
|
50
|
+
| `viableClaudeEdition` | The edition (see [`@owlmeans/viable-mcp-core`](https://www.npmjs.com/package/@owlmeans/viable-mcp-core)) |
|
|
51
|
+
| `CLIENT_ID` · `ENV_CLAUDE_TOKEN` · `ENV_CLAUDE_API_URL` · `HOSTED_PATH` · `VERSION` | Constants |
|
|
52
|
+
|
|
53
|
+
## Common pitfalls
|
|
54
|
+
|
|
55
|
+
- **stdout is the protocol.** Everything else the process prints goes to stderr.
|
|
56
|
+
- **`VIABLE_API_TOKEN` is ignored.** Sign in with `login`; the token lives in the credentials file.
|
|
57
|
+
- `VIABLE_API_URL` is the platform's public API origin, never a web app's `/api`.
|
|
58
|
+
|
|
59
|
+
## Related packages
|
|
60
|
+
|
|
61
|
+
- [`@owlmeans/viable-mcp-core`](https://www.npmjs.com/package/@owlmeans/viable-mcp-core) — the shared
|
|
62
|
+
server and command line
|
|
63
|
+
- [`@owlmeans/viable-codex`](https://www.npmjs.com/package/@owlmeans/viable-codex) — the Codex
|
|
64
|
+
plugin's server
|
|
65
|
+
- [`@owlmeans/viable-sdk`](https://github.com/owlmeans/common/tree/main/packages/viable-sdk) — the
|
|
66
|
+
catalogue and sessions this server exposes
|
|
67
|
+
|
|
68
|
+
<!-- owlmeans:agent-guidance:start -->
|
|
69
|
+
## Agent guidance
|
|
70
|
+
|
|
71
|
+
This package ships embedded agent skills under `agent-meta/`. After installing your
|
|
72
|
+
`@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
|
|
73
|
+
your project's skill store (`.agents/skills/`):
|
|
74
|
+
|
|
75
|
+
```sh
|
|
76
|
+
npx @owlmeans/agent-skills@^0.1.19
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
The embedded files are version-matched to this package release. Do not edit them
|
|
80
|
+
directly — they are regenerated on each publish. This package is closed-source; report a guidance
|
|
81
|
+
problem at https://github.com/owlmeans/common/issues.
|
|
82
|
+
<!-- owlmeans:agent-guidance:end -->
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 3,
|
|
3
|
+
"package": "@owlmeans/viable-claude",
|
|
4
|
+
"version": "0.1.19",
|
|
5
|
+
"generatedAt": "2026-11-01T22:25:24.205Z",
|
|
6
|
+
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
|
+
"entries": [
|
|
8
|
+
{
|
|
9
|
+
"kind": "skill",
|
|
10
|
+
"name": "viable-claude",
|
|
11
|
+
"category": "package-specific",
|
|
12
|
+
"file": "skills/viable-claude/SKILL.md",
|
|
13
|
+
"canonicalPath": ".agents/skills/viable-claude/SKILL.md"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: viable-claude
|
|
3
|
+
description: How to use @owlmeans/viable-claude — the local stdio MCP server of the OwlMeans Claude Code plugin (owlmeans-local), an edition of @owlmeans/viable-mcp-core — a local project, the platform's models only (no task loop, no Model executor, model tasks refused), Claude Code as the fixed harness, the local plugin tool profile, a token read only from its own ~/.owlmeans keys, `url` printing /mcp/claude, and the platform-side kind that refuses it every inference door. Use when changing the package, the plugin's local server, its sign-in or configuration, or diagnosing the Claude Code plugin.
|
|
4
|
+
user-invocable: false
|
|
5
|
+
---
|
|
6
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
7
|
+
|
|
8
|
+
# @owlmeans/viable-claude
|
|
9
|
+
|
|
10
|
+
**Layer:** Tooling (CLI)
|
|
11
|
+
**Install:** nothing — the `owlmeans-local` Claude Code plugin starts it (`npx -y @owlmeans/viable-claude@0.1.19`); bin name `viable-claude`
|
|
12
|
+
**Closed-source** (this repo); `/closed-publishing` governs its manifest, README and tarball.
|
|
13
|
+
|
|
14
|
+
**An edition of [[viable-mcp-core]]**: `edition.ts` (`viableClaudeEdition`), its constants,
|
|
15
|
+
`version.ts` (its own manifest), `config.ts`, `server.ts`, `index.ts`, `bin.ts`. Everything about
|
|
16
|
+
the stdio process — the stdout guard, sign-in, the session holder, workspace roots — is the core's.
|
|
17
|
+
|
|
18
|
+
## What the edition fixes
|
|
19
|
+
|
|
20
|
+
| Field | Value | Why |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| `serverName` · log prefix | `owlmeans` · `[owlmeans]` | What the host shows the person — the product's name |
|
|
23
|
+
| `client` | `ConnectClientKind.Claude` (`viable-claude`), sent as `viable-claude/<version>` | A `CONNECT_CLIENT_NO_INFERENCE` kind: the platform refuses it every inference door |
|
|
24
|
+
| `credentials` | OAuth client `viable-claude` ("OwlMeans for Claude Code"), keys `VIABLE_CLAUDE_TOKEN` + `VIABLE_CLAUDE_API_URL`, `fromEnvironment: false` | A plugin's token is its own, listed apart in Settings, never an exported `VIABLE_API_TOKEN` |
|
|
25
|
+
| `flags` | `--api-url`, `--project-dir` only | No `--target`, `--llm`, `--harness` or `--http` |
|
|
26
|
+
| `targets` / `llms` / `harness` | `local` / `cloud` / `claude-code` | The project lands in the client's workspace; every model call is the platform's, billed to credits |
|
|
27
|
+
| `extensions` / `profile` | none / `localPluginProfile` | No agent-setup tools; the listing's presentation with the local tools and the question loop kept |
|
|
28
|
+
| `modelTasks` | `false` | A model task is answered `Unavailable` once, never queued |
|
|
29
|
+
| `hostedUrl` | `/mcp/claude` | `url` prints `<api>/mcp/claude` — the hosted Claude endpoint of the configured API |
|
|
30
|
+
|
|
31
|
+
So it never offers `next_task` / `submit_task_result`, `describe_capabilities`, `describe_harness`,
|
|
32
|
+
`install_harness`, `set_inference_mode` or `inference_settings`, never advertises `Model`, and
|
|
33
|
+
`--llm local` / `VIABLE_LLM=local` / the account preference change nothing. `session_status` reports
|
|
34
|
+
how the platform sees the connection (`viable-claude <version> (via http) — it never performs the
|
|
35
|
+
platform's model calls`); signed out, that line is `null` without opening a browser.
|
|
36
|
+
|
|
37
|
+
## Credentials
|
|
38
|
+
|
|
39
|
+
The token lives only in the credentials file (`~/.owlmeans`, moved by `OWLMEANS_CREDENTIALS`) under
|
|
40
|
+
`VIABLE_CLAUDE_TOKEN`, beside `VIABLE_CLAUDE_API_URL`; `login` writes them, the first platform tool
|
|
41
|
+
signs in when none is stored. The API URL resolves `--api-url`, then `VIABLE_API_URL`, then the
|
|
42
|
+
file's `VIABLE_CLAUDE_API_URL`, then `https://api.owlmeans.com`; a stored token is used only for the
|
|
43
|
+
API it was issued for. A release plugin passes no token and no credentials path (the default file
|
|
44
|
+
under `HOME`); a dev bundle's `.mcp.json` sets `OWLMEANS_CREDENTIALS: "${OWLMEANS_CREDENTIALS:-}"`
|
|
45
|
+
— Claude Code expands it, and an unset variable arrives empty, which means the default file
|
|
46
|
+
(internal's `aistores-pack`).
|
|
47
|
+
|
|
48
|
+
## Tests
|
|
49
|
+
|
|
50
|
+
`bun test ./tests` (after `bun run build`) — `config.spec.ts` (the edition's names, client, keys,
|
|
51
|
+
pinned target/llm/harness whatever the flags and environment say, file-only token, the API and
|
|
52
|
+
hosted URLs, the help), `stdio.spec.ts` (the built bin against the core's fake platform: no task
|
|
53
|
+
loop, inference switch or agent-setup tools, the local tools kept; `owlmeans` at its manifest version;
|
|
54
|
+
`[owlmeans]` on stderr only; an environment token never used; every request named `viable-claude`;
|
|
55
|
+
`url`, `status`, `--help`), `version.spec.ts`.
|
|
56
|
+
|
|
57
|
+
## Related
|
|
58
|
+
|
|
59
|
+
- [[viable-mcp-core]] — the server and CLI · [[viable-codex]] — the Codex twin
|
|
60
|
+
- internal's `aistores-pack` — the plugin bundle that starts this server
|
|
61
|
+
- [[viable-sdk]] — `localPluginProfile` and the `modelTasks` seam · [[viable-common]] — the client kinds
|
package/build/bin.d.ts
ADDED
package/build/bin.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/*! closed-source build — @owlmeans; see LICENSE */
|
|
3
|
+
import"@owlmeans/viable-mcp-core/stdout-guard";var[{runMcpCli:i},{configHelper:o},{viableClaudeEdition:r}]=await Promise.all([import("@owlmeans/viable-mcp-core/cli"),import("./chunk-rp8qrtm4.js"),import("./chunk-e5dmrkms.js")]);await i(r,o);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*! closed-source build — @owlmeans; see LICENSE */
|
|
2
|
+
import{ConnectClientKind as R,ConnectHarness as w}from"@owlmeans/viable-common";import{localPluginProfile as g}from"@owlmeans/viable-sdk";import{CONNECT_DEFAULT_API_URL as _}from"@owlmeans/viable-common";import{ENV_API_URL as C,ENV_PROJECT_DIR as L}from"@owlmeans/viable-sdk";var i="viable-claude",o="VIABLE_CLAUDE_TOKEN",t="VIABLE_CLAUDE_API_URL",a="/mcp/claude",l=`viable-claude — OwlMeans for Claude Code
|
|
3
|
+
|
|
4
|
+
Build full-stack web applications on the OwlMeans platform from Claude Code, with the project
|
|
5
|
+
written into your local workspace. Model calls run on the OwlMeans platform.
|
|
6
|
+
|
|
7
|
+
viable-claude [command] [options]
|
|
8
|
+
|
|
9
|
+
Options
|
|
10
|
+
--api-url <url> The platform's API. Default: ${_}
|
|
11
|
+
--project-dir <path> Override the local project directory. Default: client workspace, then working directory
|
|
12
|
+
--help
|
|
13
|
+
|
|
14
|
+
Commands
|
|
15
|
+
login Sign in with your browser and store the token in ~/.owlmeans
|
|
16
|
+
logout Revoke the stored token and forget it
|
|
17
|
+
status Report whether this machine is signed in (stderr only)
|
|
18
|
+
url Print the platform's hosted MCP URL for Claude (stdout)
|
|
19
|
+
|
|
20
|
+
Environment
|
|
21
|
+
${C} Same as --api-url
|
|
22
|
+
${L} Same as --project-dir
|
|
23
|
+
OWLMEANS_CREDENTIALS Path to the credentials file. Default: ~/.owlmeans
|
|
24
|
+
|
|
25
|
+
The token lives only in the credentials file, as ${o} beside ${t} (the API
|
|
26
|
+
it belongs to) — never in the environment or on a command line. With none stored, the server starts
|
|
27
|
+
anyway and signs in on first use, opening your browser.
|
|
28
|
+
`;import{ConnectLlm as N,ConnectTarget as h}from"@owlmeans/viable-common";import{McpFlag as p}from"@owlmeans/viable-mcp-core";var m=Object.freeze([p.ApiUrl,p.ProjectDir]),E=Object.freeze([h.Local]),d=Object.freeze([N.Cloud]),c="@owlmeans/viable-claude",f="owlmeans",u="[owlmeans]",A="0.0.0";import{readFileSync as O}from"node:fs";var P=()=>{try{let n=JSON.parse(O(new URL("../package.json",import.meta.url),"utf8"));if(n.name===c&&typeof n.version==="string"&&n.version!=="")return n.version}catch{}return A},r=P();var s=()=>({packageName:c,serverName:f,version:r,client:R.Claude,logPrefix:u,help:l,flags:m,credentials:{clientId:i,tokenKey:o,apiUrlKey:t,fromEnvironment:!1},targets:E,llms:d,harness:w.ClaudeCode,extensions:[],profile:g,modelTasks:!1,hostedUrl:a}),e=s();
|
|
29
|
+
export{i,o,t,a,l,r,s,e};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type ConfigHelper } from '@owlmeans/viable-mcp-core';
|
|
2
|
+
/** What this server was started with — `--api-url` / `--project-dir`, the environment and
|
|
3
|
+
* `~/.owlmeans`, held to this edition (local target, cloud inference, Claude Code). */
|
|
4
|
+
export declare const createConfigHelper: () => ConfigHelper;
|
|
5
|
+
export declare const configHelper: ConfigHelper;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** The platform's static OAuth client this edition signs in as ('OwlMeans for Claude Code'). */
|
|
2
|
+
export declare const CLIENT_ID = "viable-claude";
|
|
3
|
+
/** The credentials-file key holding this edition's token — never read from the environment. */
|
|
4
|
+
export declare const ENV_CLAUDE_TOKEN = "VIABLE_CLAUDE_TOKEN";
|
|
5
|
+
/** The credentials-file key recording the API URL that token belongs to. */
|
|
6
|
+
export declare const ENV_CLAUDE_API_URL = "VIABLE_CLAUDE_API_URL";
|
|
7
|
+
/** The platform's hosted MCP endpoint for Claude, on the configured API — what `url` prints. */
|
|
8
|
+
export declare const HOSTED_PATH = "/mcp/claude";
|
|
9
|
+
export declare const HELP = "viable-claude \u2014 OwlMeans for Claude Code\n\nBuild full-stack web applications on the OwlMeans platform from Claude Code, with the project\nwritten into your local workspace. Model calls run on the OwlMeans platform.\n\n viable-claude [command] [options]\n\nOptions\n --api-url <url> The platform's API. Default: https://api.owlmeans.com\n --project-dir <path> Override the local project directory. Default: client workspace, then working directory\n --help\n\nCommands\n login Sign in with your browser and store the token in ~/.owlmeans\n logout Revoke the stored token and forget it\n status Report whether this machine is signed in (stderr only)\n url Print the platform's hosted MCP URL for Claude (stdout)\n\nEnvironment\n VIABLE_API_URL Same as --api-url\n VIABLE_PROJECT_DIR Same as --project-dir\n OWLMEANS_CREDENTIALS Path to the credentials file. Default: ~/.owlmeans\n\nThe token lives only in the credentials file, as VIABLE_CLAUDE_TOKEN beside VIABLE_CLAUDE_API_URL (the API\nit belongs to) \u2014 never in the environment or on a command line. With none stored, the server starts\nanyway and signs in on first use, opening your browser.\n";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ConnectLlm, ConnectTarget } from '@owlmeans/viable-common';
|
|
2
|
+
/** No `--target`, `--llm`, `--harness` or `--http`: a plugin runs locally, on cloud inference, as Claude Code. */
|
|
3
|
+
export declare const FLAGS: readonly string[];
|
|
4
|
+
export declare const TARGETS: readonly ConnectTarget[];
|
|
5
|
+
export declare const LLMS: readonly ConnectLlm[];
|
|
6
|
+
export declare const PACKAGE_NAME = "@owlmeans/viable-claude";
|
|
7
|
+
/** What the host shows this server as. */
|
|
8
|
+
export declare const SERVER_NAME = "owlmeans";
|
|
9
|
+
export declare const LOG_PREFIX = "[owlmeans]";
|
|
10
|
+
export declare const UNKNOWN_VERSION = "0.0.0";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { McpEdition } from '@owlmeans/viable-mcp-core';
|
|
2
|
+
/**
|
|
3
|
+
* `@owlmeans/viable-claude` — the Claude Code plugin's local server as an edition of the core: the
|
|
4
|
+
* project on this machine, every model call the platform's (no task loop, no `Model` executor, a
|
|
5
|
+
* model task refused rather than delivered), Claude Code as the fixed harness, no agent-setup
|
|
6
|
+
* tools, the local plugin profile, and a token read only from its own keys in `~/.owlmeans`.
|
|
7
|
+
*/
|
|
8
|
+
export declare const createViableClaudeEdition: () => McpEdition;
|
|
9
|
+
export declare const viableClaudeEdition: McpEdition;
|
package/build/index.d.ts
ADDED
package/build/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! closed-source build — @owlmeans; see LICENSE */
|
|
2
|
+
import{i,o,t,a,l,r,s,e}from"./chunk-tnepyx9b.js";import{n,p}from"./chunk-jdfp5ve9.js";import{makeMcpCoreServer as f}from"@owlmeans/viable-mcp-core";var v=async(m)=>await f(m,e);export{i as CLIENT_ID,t as ENV_CLAUDE_API_URL,o as ENV_CLAUDE_TOKEN,l as HELP,a as HOSTED_PATH,r as VERSION,p as configHelper,n as createConfigHelper,s as createViableClaudeEdition,v as makeViableClaudeServer,e as viableClaudeEdition};
|
package/build/types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { BuiltServer, ConfigHelper, McpConfig, McpEdition, ParsedArgs } from '@owlmeans/viable-mcp-core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VERSION: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/viable-claude",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"version": "0.1.19",
|
|
4
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
5
|
+
"description": "OwlMeans for Claude Code: the local MCP server of the OwlMeans plugin — build full-stack web applications on the OwlMeans platform and have them written into your workspace.",
|
|
6
|
+
"homepage": "https://github.com/owlmeans/common#readme",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://github.com/owlmeans/common/issues"
|
|
9
|
+
},
|
|
10
|
+
"type": "module",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "tsc -b && bun ../../scripts/build.ts",
|
|
13
|
+
"dev": "sleep 2 && nodemon -e ts,tsx,json --watch src --exec \"tsc -b && bun ../../scripts/build.ts\"",
|
|
14
|
+
"watch": "nodemon -e ts,tsx,json --watch src --exec \"tsc -b && bun ../../scripts/build.ts\"",
|
|
15
|
+
"test": "bun test ./tests",
|
|
16
|
+
"prepublishOnly": "bun ../../scripts/build.ts --check"
|
|
17
|
+
},
|
|
18
|
+
"bin": {
|
|
19
|
+
"viable-claude": "./build/bin.js"
|
|
20
|
+
},
|
|
21
|
+
"main": "build/index.js",
|
|
22
|
+
"module": "build/index.js",
|
|
23
|
+
"types": "build/index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"import": "./build/index.js",
|
|
27
|
+
"require": "./build/index.js",
|
|
28
|
+
"default": "./build/index.js",
|
|
29
|
+
"module": "./build/index.js",
|
|
30
|
+
"types": "./build/index.d.ts"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"build/**/*.js",
|
|
35
|
+
"build/**/*.d.ts",
|
|
36
|
+
"agent-meta",
|
|
37
|
+
"LICENSE"
|
|
38
|
+
],
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=22"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@owlmeans/viable-common": "^0.1.19",
|
|
44
|
+
"@owlmeans/viable-mcp-core": "^0.1.19",
|
|
45
|
+
"@owlmeans/viable-sdk": "^0.1.19"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
49
|
+
"@owlmeans/dep-config": "^0.1.19",
|
|
50
|
+
"@types/bun": "^1.4.4",
|
|
51
|
+
"@types/node": "^26.6.5",
|
|
52
|
+
"nodemon": "^3.1.14",
|
|
53
|
+
"typescript": "^7.0.2"
|
|
54
|
+
},
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public"
|
|
57
|
+
}
|
|
58
|
+
}
|