@wafflebase/cli 0.6.12 → 0.6.13
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/README.md +5 -0
- package/dist/bin.js +18 -3
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -252,6 +252,11 @@ the YAML frontmatter for safety + tool list, and `wafflebase schema
|
|
|
252
252
|
<command>` for parameter shapes. See [`skills/SKILL.md`](skills/SKILL.md)
|
|
253
253
|
for the index.
|
|
254
254
|
|
|
255
|
+
The [Claude Code plugin](../../plugins/wafflebase/README.md) carries
|
|
256
|
+
copies of these files as references. After changing a skill, a command,
|
|
257
|
+
or the package version, run `pnpm cli build:plugin`; `pnpm cli test`
|
|
258
|
+
fails until the copies match.
|
|
259
|
+
|
|
255
260
|
## Design
|
|
256
261
|
|
|
257
262
|
Full design in [`/docs/design/rest-api.md`](../../docs/design/rest-api.md)
|
package/dist/bin.js
CHANGED
|
@@ -1072,7 +1072,7 @@ var HttpClient = class {
|
|
|
1072
1072
|
};
|
|
1073
1073
|
|
|
1074
1074
|
// package.json
|
|
1075
|
-
var version = "0.6.
|
|
1075
|
+
var version = "0.6.13";
|
|
1076
1076
|
|
|
1077
1077
|
// src/commands/root.ts
|
|
1078
1078
|
function getGlobalOpts(cmd) {
|
|
@@ -47162,7 +47162,7 @@ import { readFileSync as readFileSync5 } from "fs";
|
|
|
47162
47162
|
import { basename as basename2, extname as extname5 } from "path";
|
|
47163
47163
|
import { createInterface as createInterface2 } from "readline";
|
|
47164
47164
|
|
|
47165
|
-
// ../slides/dist/node-
|
|
47165
|
+
// ../slides/dist/node-DfmgjrKm.js
|
|
47166
47166
|
var O42 = Object.defineProperty;
|
|
47167
47167
|
var B42 = (n, t, e) => t in n ? O42(n, t, { enumerable: true, configurable: true, writable: true, value: e }) : n[t] = e;
|
|
47168
47168
|
var We = (n, t, e) => B42(n, typeof t != "symbol" ? t + "" : t, e);
|
|
@@ -98018,7 +98018,7 @@ function kf2(n) {
|
|
|
98018
98018
|
}
|
|
98019
98019
|
function xi2(n, t) {
|
|
98020
98020
|
if (/^[a-z]+:\/\//i.test(t)) return t;
|
|
98021
|
-
const e = n.lastIndexOf("/"), o = ((e >= 0 ? n.slice(0, e) : "") + "/" + t).split("/"), i = [];
|
|
98021
|
+
const e = n.lastIndexOf("/"), o = ((t.startsWith("/") ? "" : e >= 0 ? n.slice(0, e) : "") + "/" + t).split("/"), i = [];
|
|
98022
98022
|
for (const s of o)
|
|
98023
98023
|
s === "" || s === "." || (s === ".." ? i.pop() : i.push(s));
|
|
98024
98024
|
return i.join("/");
|
|
@@ -105513,6 +105513,15 @@ var registry = [
|
|
|
105513
105513
|
parameters: {},
|
|
105514
105514
|
response: {}
|
|
105515
105515
|
},
|
|
105516
|
+
{
|
|
105517
|
+
name: "schema",
|
|
105518
|
+
description: "Describe command parameters and response shape",
|
|
105519
|
+
safety: "read-only",
|
|
105520
|
+
parameters: {
|
|
105521
|
+
command: { type: "string", required: false, description: "Command name (e.g. docs.list); omit to list every command" }
|
|
105522
|
+
},
|
|
105523
|
+
response: { commands: "Array<{ name, description, safety }> (no command) | CommandSchema (one command)" }
|
|
105524
|
+
},
|
|
105516
105525
|
{
|
|
105517
105526
|
name: "status",
|
|
105518
105527
|
description: "Show current auth state",
|
|
@@ -106356,6 +106365,12 @@ var registry = [
|
|
|
106356
106365
|
"--data": { type: "string", required: false, description: "JSON data (or pipe from stdin)" }
|
|
106357
106366
|
},
|
|
106358
106367
|
response: { updated: "number" },
|
|
106368
|
+
// A `null` entry deletes that cell — the same effect `cells delete`
|
|
106369
|
+
// (destructive) has, so a batch carrying one is destructive too.
|
|
106370
|
+
variants: [
|
|
106371
|
+
{ when: "default", safety: "write", modifies: "the given cells" },
|
|
106372
|
+
{ when: "a value is null", safety: "destructive", removes: "that cell" }
|
|
106373
|
+
],
|
|
106359
106374
|
aliases: ["cell.batch", "cells.batch", "sheet.cells.batch", "sheet.cell.batch", "sheets.cell.batch"]
|
|
106360
106375
|
},
|
|
106361
106376
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wafflebase/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.13",
|
|
4
4
|
"description": "CLI for Wafflebase spreadsheet API",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -32,12 +32,13 @@
|
|
|
32
32
|
"tsx": "^4.19.0",
|
|
33
33
|
"typescript": "^5.9.3",
|
|
34
34
|
"vitest": "^4.1.8",
|
|
35
|
-
"@wafflebase/core": "0.6.
|
|
36
|
-
"@wafflebase/
|
|
37
|
-
"@wafflebase/
|
|
35
|
+
"@wafflebase/core": "0.6.13",
|
|
36
|
+
"@wafflebase/docs": "0.6.13",
|
|
37
|
+
"@wafflebase/slides": "0.6.13"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "tsup",
|
|
41
|
+
"build:plugin": "tsx scripts/build-plugin.ts",
|
|
41
42
|
"dev": "tsx src/bin.ts",
|
|
42
43
|
"test": "vitest --run",
|
|
43
44
|
"test:watch": "vitest",
|