@cubos/agent-sdk 0.0.1142284 → 0.0.1142885

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.
@@ -7296,6 +7296,8 @@ export interface paths {
7296
7296
  * @description Replaces a page's markdown. Send the `revision` you loaded; a mismatch means someone else saved first (409). The edit is recorded as new material so the curating agent integrates around it on its next run — it is not pinned or protected, and the agent may reorganize it.
7297
7297
  *
7298
7298
  * Refused with 423 while a curation run holds this knowledge base: the run applies its whole wiki at once, so a concurrent edit would be silently overwritten.
7299
+ *
7300
+ * The `index` page is refused with 405: it is the curating agent's map of the wiki, rebuilt from the pages on every run, and it is the one page rendered into the system prompt of every agent this base is attached to. An edit to it would last until the next run and could not be checked for the two properties the prompt depends on. Use the curate endpoint to have it rewritten.
7299
7301
  */
7300
7302
  put: {
7301
7303
  parameters: {
@@ -7349,6 +7351,13 @@ export interface paths {
7349
7351
  };
7350
7352
  content?: never;
7351
7353
  };
7354
+ /** @description The `index` page is written only by the curating agent. */
7355
+ 405: {
7356
+ headers: {
7357
+ [name: string]: unknown;
7358
+ };
7359
+ content?: never;
7360
+ };
7352
7361
  /** @description The page changed since you loaded it. */
7353
7362
  409: {
7354
7363
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubos/agent-sdk",
3
- "version": "0.0.1142284",
3
+ "version": "0.0.1142885",
4
4
  "type": "module",
5
5
  "description": "Client for the Cubos Agent conversation API. Runs anywhere fetch does.",
6
6
  "license": "SEE LICENSE IN LICENSE",