CLI (packages/inkreach-cli):
- new src/lib/field-normalize.ts: type aliases (sel/num/text/mul/…),
select string-choices -> {name}, compact --fields 'Name:type:choices'
expansion, smart type inference from --options shape / --name
(--type now optional), name->ID resolution for foreignTableName /
linkFieldName / lookupFieldName (incl. link-field foreignTableId
backfill + unknown-key stripping), rating/number/button required-
option defaults
- field create: +--description/--lookup-options/--is-lookup
- field update --options + table create --fields route through the
normalizer; DEFAULT_ENDPOINT :3000 -> :3003
- 20 unit tests (field-normalize.spec.ts, vitest); live-verified:
string choices, alias, foreignTableName, lookup-by-names, compact
format, inference (priority->singleSelect, max:5->rating)
Skill docs (.agents/skills/inkreach-teable):
- ports :3000 -> :3003 everywhere (backend real port; :3000 is an
unrelated container on this host)
- remove dead hr_admin account; note throwaway signup + real admin
- plugin register: actual URL-based flags; document plugin csp
list/set; view/dashboard install requires config enable first
- field-types.md marked verified-2026-08 (aliases/inference/name
resolution now implemented + tested)
- development.md: webpack dist/index.js cache trap; PGPASSWORD
placeholder instead of wrong literal
27 lines
760 B
JSON
27 lines
760 B
JSON
{
|
|
"name": "@inkreach/teable-cli",
|
|
"version": "0.1.0",
|
|
"description": "CLI (command: inkreach-teable) for operating inkreach-teable: tables, fields, records, views, and the self-built automation engine (8 triggers + 6 actions).",
|
|
"license": "MIT",
|
|
"type": "commonjs",
|
|
"bin": {
|
|
"inkreach-teable": "./dist/bin.js"
|
|
},
|
|
"main": "dist/bin.js",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"dev": "tsc -p tsconfig.build.json --watch",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"clean": "rimraf dist tsconfig.build.tsbuildinfo"
|
|
},
|
|
"dependencies": {
|
|
"commander": "^12.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.18.0",
|
|
"rimraf": "^5.0.5",
|
|
"typescript": "^5.4.3",
|
|
"vitest": "4.1.10"
|
|
}
|
|
}
|