@yoloship/ai 0.2.0-beta.4 → 0.2.0-beta.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/dist/index.d.mts CHANGED
@@ -25,7 +25,7 @@ interface RunOptions {
25
25
  /**
26
26
  * Response language for textual outputs (logs, PR comments, reviews).
27
27
  * Forwarded to the underlying runtime which injects a "respond in X"
28
- * directive into the system prompt. Code identifiers must stay in English
28
+ * directive into the system prompt. Code identifiers must stay in English -
29
29
  * enforced by an invariant injected from `@yoloship/action` agent prompts.
30
30
  *
31
31
  * Future runtimes (opencode, Codex) implement their own mapping or prompt
@@ -95,7 +95,7 @@ declare const PROVIDER_ENV_VAR: Record<RuntimeProvider, string | undefined>;
95
95
  * shared is `private: true` and @yoloship/ai is published, so a workspace
96
96
  * dep here would break the publish chain. Drift protection lives in
97
97
  * @yoloship/action's `validateRunLevelModel` (which DOES check the catalog)
98
- * and in `agentProviderOverrideSchema` for per-agent overrides by the
98
+ * and in `agentProviderOverrideSchema` for per-agent overrides - by the
99
99
  * time these defaults are observed, the run-level model has already been
100
100
  * validated upstream.
101
101
  */
@@ -104,8 +104,8 @@ declare const DEFAULT_MODEL_BY_PROVIDER: Record<RuntimeProvider, string | undefi
104
104
  * Resolve the effective model for a run.
105
105
  *
106
106
  * Precedence (highest to lowest):
107
- * 1. `runOverride` CLI flag / `model` from yolo.config.ts
108
- * 2. `agentModel` per-agent `model` in `AgentConfig`
107
+ * 1. `runOverride` - CLI flag / `model` from yolo.config.ts
108
+ * 2. `agentModel` - per-agent `model` in `AgentConfig`
109
109
  * 3. Provider default from `DEFAULT_MODEL_BY_PROVIDER`
110
110
  *
111
111
  * Returns `undefined` only when the provider has no default and nothing
@@ -122,7 +122,7 @@ interface ClaudeRuntimeOptions {
122
122
  ci?: boolean;
123
123
  }
124
124
  /**
125
- * Shape returned by `buildMcpConfig` for Claude the exact wire payload
125
+ * Shape returned by `buildMcpConfig` for Claude - the exact wire payload
126
126
  * the Claude CLI expects for `--mcp-config`. Exposed as a distinct type so
127
127
  * callers that serialise the config themselves have something to bind to.
128
128
  */
@@ -149,7 +149,7 @@ declare class ClaudeRuntime implements Runtime {
149
149
  * serialised payload directly (e.g. writing an mcp-config file).
150
150
  */
151
151
  buildMcpConfig(servers: Record<string, McpServerConfig>): ClaudeMcpConfig;
152
- /** Claude Code consumes `allowedTools` in its native shape pass through. */
152
+ /** Claude Code consumes `allowedTools` in its native shape - pass through. */
153
153
  translateAllowedTools(tools: string[]): string[];
154
154
  }
155
155
 
package/dist/index.d.ts CHANGED
@@ -25,7 +25,7 @@ interface RunOptions {
25
25
  /**
26
26
  * Response language for textual outputs (logs, PR comments, reviews).
27
27
  * Forwarded to the underlying runtime which injects a "respond in X"
28
- * directive into the system prompt. Code identifiers must stay in English
28
+ * directive into the system prompt. Code identifiers must stay in English -
29
29
  * enforced by an invariant injected from `@yoloship/action` agent prompts.
30
30
  *
31
31
  * Future runtimes (opencode, Codex) implement their own mapping or prompt
@@ -95,7 +95,7 @@ declare const PROVIDER_ENV_VAR: Record<RuntimeProvider, string | undefined>;
95
95
  * shared is `private: true` and @yoloship/ai is published, so a workspace
96
96
  * dep here would break the publish chain. Drift protection lives in
97
97
  * @yoloship/action's `validateRunLevelModel` (which DOES check the catalog)
98
- * and in `agentProviderOverrideSchema` for per-agent overrides by the
98
+ * and in `agentProviderOverrideSchema` for per-agent overrides - by the
99
99
  * time these defaults are observed, the run-level model has already been
100
100
  * validated upstream.
101
101
  */
@@ -104,8 +104,8 @@ declare const DEFAULT_MODEL_BY_PROVIDER: Record<RuntimeProvider, string | undefi
104
104
  * Resolve the effective model for a run.
105
105
  *
106
106
  * Precedence (highest to lowest):
107
- * 1. `runOverride` CLI flag / `model` from yolo.config.ts
108
- * 2. `agentModel` per-agent `model` in `AgentConfig`
107
+ * 1. `runOverride` - CLI flag / `model` from yolo.config.ts
108
+ * 2. `agentModel` - per-agent `model` in `AgentConfig`
109
109
  * 3. Provider default from `DEFAULT_MODEL_BY_PROVIDER`
110
110
  *
111
111
  * Returns `undefined` only when the provider has no default and nothing
@@ -122,7 +122,7 @@ interface ClaudeRuntimeOptions {
122
122
  ci?: boolean;
123
123
  }
124
124
  /**
125
- * Shape returned by `buildMcpConfig` for Claude the exact wire payload
125
+ * Shape returned by `buildMcpConfig` for Claude - the exact wire payload
126
126
  * the Claude CLI expects for `--mcp-config`. Exposed as a distinct type so
127
127
  * callers that serialise the config themselves have something to bind to.
128
128
  */
@@ -149,7 +149,7 @@ declare class ClaudeRuntime implements Runtime {
149
149
  * serialised payload directly (e.g. writing an mcp-config file).
150
150
  */
151
151
  buildMcpConfig(servers: Record<string, McpServerConfig>): ClaudeMcpConfig;
152
- /** Claude Code consumes `allowedTools` in its native shape pass through. */
152
+ /** Claude Code consumes `allowedTools` in its native shape - pass through. */
153
153
  translateAllowedTools(tools: string[]): string[];
154
154
  }
155
155
 
package/dist/index.mjs CHANGED
@@ -62,7 +62,7 @@ class ClaudeRuntime {
62
62
  buildMcpConfig(servers) {
63
63
  return { mcpServers: servers };
64
64
  }
65
- /** Claude Code consumes `allowedTools` in its native shape pass through. */
65
+ /** Claude Code consumes `allowedTools` in its native shape - pass through. */
66
66
  translateAllowedTools(tools) {
67
67
  return tools;
68
68
  }
@@ -120,7 +120,7 @@ function getRuntime(runtime = "claude-code", opts = {}) {
120
120
  case "claude-code":
121
121
  return new ClaudeRuntime({ ci: opts.ci });
122
122
  case "opencode":
123
- throw new Error("opencode runtime is not yet implemented \u2014 see YOL-204");
123
+ throw new Error("opencode runtime is not yet implemented - see YOL-204");
124
124
  default: {
125
125
  const unknown = runtime;
126
126
  throw new Error(`Unknown runtime: ${String(unknown)}`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yoloship/ai",
3
3
  "type": "module",
4
- "version": "0.2.0-beta.4",
4
+ "version": "0.2.0-beta.6",
5
5
  "private": false,
6
6
  "description": "Yoloship AI — runtime-agnostic coding-agent orchestration layer (consumes @yoloship/claude-sdk today, opencode next)",
7
7
  "author": "Yoloship Team <team@yoloship.dev>",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "zod": "^4.4.3",
36
- "@yoloship/claude-sdk": "0.2.0-beta.4"
36
+ "@yoloship/claude-sdk": "0.2.0-beta.6"
37
37
  },
38
38
  "devDependencies": {
39
39
  "cross-env": "^10.1.0",