@mawaru/sdk 0.26.0 → 0.28.0
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/_schemas/ai-manifest.ts
CHANGED
|
@@ -5,6 +5,8 @@ import { jsonSchemaSchema, PORT_KEY_PATTERN } from "./node.js"
|
|
|
5
5
|
// エイリアス("opus" 等)は採らずバージョンを固定する:実行のたびに黙って別モデルへ
|
|
6
6
|
// 乗り換わると品質も費用も再現しないため。新モデルが出たらこの配列を足して SDK を publish する
|
|
7
7
|
export const AI_MODELS = [
|
|
8
|
+
"claude-fable-5-1",
|
|
9
|
+
"claude-fable-5",
|
|
8
10
|
"claude-opus-5",
|
|
9
11
|
"claude-opus-4-8",
|
|
10
12
|
"claude-sonnet-5",
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const AI_MODELS: readonly ["claude-opus-5", "claude-opus-4-8", "claude-sonnet-5", "claude-haiku-4-5"];
|
|
2
|
+
export declare const AI_MODELS: readonly ["claude-fable-5-1", "claude-fable-5", "claude-opus-5", "claude-opus-4-8", "claude-sonnet-5", "claude-haiku-4-5"];
|
|
3
3
|
export declare const aiModelSchema: z.ZodEnum<{
|
|
4
|
+
"claude-fable-5-1": "claude-fable-5-1";
|
|
5
|
+
"claude-fable-5": "claude-fable-5";
|
|
4
6
|
"claude-opus-5": "claude-opus-5";
|
|
5
7
|
"claude-opus-4-8": "claude-opus-4-8";
|
|
6
8
|
"claude-sonnet-5": "claude-sonnet-5";
|
|
@@ -18,6 +20,8 @@ export declare const aiManifestSchema: z.ZodObject<{
|
|
|
18
20
|
description: z.ZodOptional<z.ZodString>;
|
|
19
21
|
prompt: z.ZodString;
|
|
20
22
|
model: z.ZodDefault<z.ZodEnum<{
|
|
23
|
+
"claude-fable-5-1": "claude-fable-5-1";
|
|
24
|
+
"claude-fable-5": "claude-fable-5";
|
|
21
25
|
"claude-opus-5": "claude-opus-5";
|
|
22
26
|
"claude-opus-4-8": "claude-opus-4-8";
|
|
23
27
|
"claude-sonnet-5": "claude-sonnet-5";
|
|
@@ -4,6 +4,8 @@ import { jsonSchemaSchema, PORT_KEY_PATTERN } from "./node.js";
|
|
|
4
4
|
// エイリアス("opus" 等)は採らずバージョンを固定する:実行のたびに黙って別モデルへ
|
|
5
5
|
// 乗り換わると品質も費用も再現しないため。新モデルが出たらこの配列を足して SDK を publish する
|
|
6
6
|
export const AI_MODELS = [
|
|
7
|
+
"claude-fable-5-1",
|
|
8
|
+
"claude-fable-5",
|
|
7
9
|
"claude-opus-5",
|
|
8
10
|
"claude-opus-4-8",
|
|
9
11
|
"claude-sonnet-5",
|
package/package.json
CHANGED
|
@@ -59,7 +59,7 @@ secret)でも、**足りない値を推測・生成・空文字で代用しな
|
|
|
59
59
|
|
|
60
60
|
疎通確認のあと `GET {MAWARU_API_URL}/tenants/{MAWARU_TENANT_ID}/openapi.json`
|
|
61
61
|
(ヘッダ `x-api-key: $MAWARU_API_KEY`)を取得すると、機械 API 面
|
|
62
|
-
(loops の一覧・作成・詳細・graph PUT、runs/start、members、api-keys、steps の end / decision)の
|
|
62
|
+
(loops の一覧・作成・詳細・graph PUT、runs/start、runs/{runId}/cancel、members、api-keys、steps の end / decision)の
|
|
63
63
|
パス・メソッド・リクエストボディ(Zod 由来の JSON Schema)が載っている。ここが常に正。
|
|
64
64
|
段階導入中で未掲載のエンドポイントもある(その場合だけ `api/index.ts` 相当を辿る)。
|
|
65
65
|
|