@puckeditor/cloud-client 0.9.0-canary.e1a77bb6 → 0.9.0-canary.f2867fd7
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.
|
@@ -22411,10 +22411,10 @@ async function fetchWithRetry(input, init) {
|
|
|
22411
22411
|
// src/lib/cloud-api.ts
|
|
22412
22412
|
var DEFAULT_API_VERSION = "v2";
|
|
22413
22413
|
var DEFAULT_V2_MODELS = {
|
|
22414
|
-
assembly: "openai/gpt-6-luna",
|
|
22415
|
-
design: "openai/gpt-6-luna"
|
|
22414
|
+
assembly: "openai/gpt-5.6-luna",
|
|
22415
|
+
design: "openai/gpt-5.6-luna"
|
|
22416
22416
|
};
|
|
22417
|
-
var CLOUD_CLIENT_VERSION = true ? "0.9.0-canary.
|
|
22417
|
+
var CLOUD_CLIENT_VERSION = true ? "0.9.0-canary.f2867fd7" : "unknown";
|
|
22418
22418
|
var cloudApi = async (path, body, options = {}, onChunk, forwardHeaders) => {
|
|
22419
22419
|
const {
|
|
22420
22420
|
ai = {},
|
package/dist/experimental.js
CHANGED
|
@@ -22454,10 +22454,10 @@ async function fetchWithRetry(input, init) {
|
|
|
22454
22454
|
// src/lib/cloud-api.ts
|
|
22455
22455
|
var DEFAULT_API_VERSION = "v2";
|
|
22456
22456
|
var DEFAULT_V2_MODELS = {
|
|
22457
|
-
assembly: "openai/gpt-6-luna",
|
|
22458
|
-
design: "openai/gpt-6-luna"
|
|
22457
|
+
assembly: "openai/gpt-5.6-luna",
|
|
22458
|
+
design: "openai/gpt-5.6-luna"
|
|
22459
22459
|
};
|
|
22460
|
-
var CLOUD_CLIENT_VERSION = true ? "0.9.0-canary.
|
|
22460
|
+
var CLOUD_CLIENT_VERSION = true ? "0.9.0-canary.f2867fd7" : "unknown";
|
|
22461
22461
|
var cloudApi = async (path, body, options = {}, onChunk, forwardHeaders) => {
|
|
22462
22462
|
const {
|
|
22463
22463
|
ai = {},
|
package/dist/experimental.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -642,7 +642,7 @@ type DesignModeOptions = {
|
|
|
642
642
|
scripts?: boolean;
|
|
643
643
|
/**
|
|
644
644
|
* Model override for design-mode requests. Falls back to `ai.model`, or
|
|
645
|
-
* `openai/gpt-6-luna` when unset.
|
|
645
|
+
* `openai/gpt-5.6-luna` when unset.
|
|
646
646
|
*/
|
|
647
647
|
model?: PuckAiModel;
|
|
648
648
|
/**
|
|
@@ -667,11 +667,11 @@ type PuckAiOptions = {
|
|
|
667
667
|
designMode?: DesignModeOptions;
|
|
668
668
|
mode?: "assembly" | "design";
|
|
669
669
|
/**
|
|
670
|
-
* Provider-qualified model id, e.g. "openai/gpt-6-luna". When explicitly
|
|
670
|
+
* Provider-qualified model id, e.g. "openai/gpt-5.6-luna". When explicitly
|
|
671
671
|
* configured, it runs on Puck's managed infrastructure (supported models
|
|
672
672
|
* only) unless a provider key is available, in which case it runs on your
|
|
673
673
|
* own provider account (BYOK).
|
|
674
|
-
* Defaults to `openai/gpt-6-luna` in both assembly and design modes.
|
|
674
|
+
* Defaults to `openai/gpt-5.6-luna` in both assembly and design modes.
|
|
675
675
|
*/
|
|
676
676
|
model?: PuckAiModel;
|
|
677
677
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -642,7 +642,7 @@ type DesignModeOptions = {
|
|
|
642
642
|
scripts?: boolean;
|
|
643
643
|
/**
|
|
644
644
|
* Model override for design-mode requests. Falls back to `ai.model`, or
|
|
645
|
-
* `openai/gpt-6-luna` when unset.
|
|
645
|
+
* `openai/gpt-5.6-luna` when unset.
|
|
646
646
|
*/
|
|
647
647
|
model?: PuckAiModel;
|
|
648
648
|
/**
|
|
@@ -667,11 +667,11 @@ type PuckAiOptions = {
|
|
|
667
667
|
designMode?: DesignModeOptions;
|
|
668
668
|
mode?: "assembly" | "design";
|
|
669
669
|
/**
|
|
670
|
-
* Provider-qualified model id, e.g. "openai/gpt-6-luna". When explicitly
|
|
670
|
+
* Provider-qualified model id, e.g. "openai/gpt-5.6-luna". When explicitly
|
|
671
671
|
* configured, it runs on Puck's managed infrastructure (supported models
|
|
672
672
|
* only) unless a provider key is available, in which case it runs on your
|
|
673
673
|
* own provider account (BYOK).
|
|
674
|
-
* Defaults to `openai/gpt-6-luna` in both assembly and design modes.
|
|
674
|
+
* Defaults to `openai/gpt-5.6-luna` in both assembly and design modes.
|
|
675
675
|
*/
|
|
676
676
|
model?: PuckAiModel;
|
|
677
677
|
/**
|
package/dist/index.js
CHANGED
|
@@ -22456,10 +22456,10 @@ async function fetchWithRetry(input, init) {
|
|
|
22456
22456
|
// src/lib/cloud-api.ts
|
|
22457
22457
|
var DEFAULT_API_VERSION = "v2";
|
|
22458
22458
|
var DEFAULT_V2_MODELS = {
|
|
22459
|
-
assembly: "openai/gpt-6-luna",
|
|
22460
|
-
design: "openai/gpt-6-luna"
|
|
22459
|
+
assembly: "openai/gpt-5.6-luna",
|
|
22460
|
+
design: "openai/gpt-5.6-luna"
|
|
22461
22461
|
};
|
|
22462
|
-
var CLOUD_CLIENT_VERSION = true ? "0.9.0-canary.
|
|
22462
|
+
var CLOUD_CLIENT_VERSION = true ? "0.9.0-canary.f2867fd7" : "unknown";
|
|
22463
22463
|
var cloudApi = async (path, body, options = {}, onChunk, forwardHeaders) => {
|
|
22464
22464
|
const {
|
|
22465
22465
|
ai = {},
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@puckeditor/cloud-client",
|
|
3
|
-
"version": "0.9.0-canary.
|
|
3
|
+
"version": "0.9.0-canary.f2867fd7",
|
|
4
4
|
"author": "Chris Villa <chris@puckeditor.com>",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"vite-tsconfig-paths": "^5.1.4",
|
|
48
48
|
"vitest": "^4.1.11",
|
|
49
49
|
"zod": "^4.1.12",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
50
|
+
"eslint-config-custom": "0.9.0-canary.f2867fd7",
|
|
51
|
+
"tsconfig": "0.9.0-canary.f2867fd7",
|
|
52
|
+
"tsup-config": "0.9.0-canary.f2867fd7"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"lint": "eslint \"**/*.ts*\"",
|