@avocadostudio-ai/orchestrator-core 0.10.0 → 0.11.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.
@@ -967,10 +967,19 @@ export function createOrchestrator(config = {}) {
967
967
  }
968
968
  };
969
969
  if (!runtime.adapter?.onPublish) {
970
+ /*
971
+ * Two audiences, and they had been given the same sentence. `reason` is
972
+ * for whatever called the API; `message` is what the editor prints as
973
+ * the summary under a green tick, so a first-run user read the words
974
+ * "adapter has no onPublish; publish is a no-op" as the report on the
975
+ * button they had just pressed.
976
+ */
970
977
  const reason = "adapter has no onPublish; publish is a no-op";
978
+ const message = "Nothing was written — this site's content adapter is read-only. Your edits are " +
979
+ "still here as a draft; to publish them, give the adapter somewhere to write.";
971
980
  record(true, "Nothing written — the adapter has no onPublish");
972
981
  return jsonResponse({
973
- ...publishEnvelope(body.session, slugs, reason),
982
+ ...publishEnvelope(body.session, slugs, message),
974
983
  ok: true,
975
984
  written: false,
976
985
  count: pages.length,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avocadostudio-ai/orchestrator-core",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
@@ -22,8 +22,8 @@
22
22
  "openai": "^4.87.1",
23
23
  "sharp": "^0.35.4",
24
24
  "zod": "^4.3.6",
25
- "@avocadostudio-ai/shared": "^0.10.0",
26
- "@avocadostudio-ai/migration-sdk": "^0.10.0"
25
+ "@avocadostudio-ai/shared": "^0.11.0",
26
+ "@avocadostudio-ai/migration-sdk": "^0.11.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@anthropic-ai/claude-agent-sdk": "^0.3.220",