- table get/update: 改用真实路由 /api/base/:baseId/table/:tableId(/name)
- view get/update/delete: table 域路由;view update 实现文档承诺的
--filter/--sort/--group/--column-meta(sort 自动包装 sortObjs)
- record create --fields 自动包装 {records:[{fields}]}
- record delete 单条走单删端点(修复单值 query 解析成 string 的 400),
支持位置参数;record list 加为 record get 别名
- record get-one / record get --record-id 走 table 域路由
- 移除 sql 命令:后端无 SQL 查询 API(404),技能文档 5 处同步改写
- plugin 技能 dev-workflow 内联 known-good webpack.config
(禁止 output.library.type=iife,评估轨迹中 with_skill 组也反复踩坑)
41 lines
1.0 KiB
JSON
41 lines
1.0 KiB
JSON
{
|
|
"name": "@inkreach/inkreach-teable",
|
|
"version": "0.1.5",
|
|
"description": "CLI (command: inkreach-teable) for operating inkreach-teable: tables, fields, records, views, and the self-built automation engine (8 triggers + 7 actions).",
|
|
"license": "MIT",
|
|
"type": "commonjs",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "ssh://git@gitea.inkreach.cc:2222/inkreachhub/inkreach-teable-cli.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"bin": {
|
|
"inkreach-teable": "dist/bin.js"
|
|
},
|
|
"main": "dist/bin.js",
|
|
"files": [
|
|
"dist",
|
|
"skills",
|
|
"docs"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"dev": "tsc -p tsconfig.build.json --watch",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "vitest run",
|
|
"clean": "rimraf dist tsconfig.build.tsbuildinfo",
|
|
"prepare": "npm run build"
|
|
},
|
|
"dependencies": {
|
|
"commander": "^12.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.18.0",
|
|
"rimraf": "^5.0.5",
|
|
"typescript": "^5.4.3",
|
|
"vitest": "4.1.10"
|
|
}
|
|
}
|