@evanston/plankton 0.2.0 → 0.2.1

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 CHANGED
@@ -16,7 +16,7 @@ plankton --help
16
16
 
17
17
  Command groups: projects, boards, lists, cards, checklists, tasks. Use `<group> <command> --help` for required inputs and options. Text output is the default; `--json` prints `{ok:true,data}` to stdout or `{ok:false,error}` to stderr with exit code 1. Lists default to 25 rows; follow `paging.<collection>.nextOffset` with `--offset`. Truncated title searches require narrowing or a known ID/link. Card details are fetched with `cards get`; writes return compact summaries.
18
18
 
19
- Setup/login can run without terminal prompts when a URL is supplied or saved. The user completes browser sign-in, including SSO. Credentials stay in the native OS vault. Linux requires an unlocked Secret Service provider. Manual cookie import (`login --manual`) is for a user's interactive terminal. Ordinary commands use the API and never open a browser. `doctor` checks the connection; `logout` removes local credentials.
19
+ Run setup in your own terminal before using the agent. It opens a separate browser, so you will need to sign into Planka again, including Google or your other SSO provider. To reuse your usual browser's Planka session, use `plankton setup https://your-planka.example --manual` and follow the [cookie import instructions](https://github.com/Evanston09/plankton#manual-setup-with-cookies). Credentials stay in the native OS vault. Linux requires an unlocked Secret Service provider. Ordinary commands use the API and never open a browser. `doctor` checks the connection; `logout` removes local credentials.
20
20
 
21
21
  The shared Codex and Claude Code skill lives in `skills/plankton` in the [repository](https://github.com/Evanston09/plankton). Install with `npx skills add Evanston09/plankton --skill plankton --agent codex claude-code`; see the repository README for installation details. The instructions load only on explicit invocation; no integration server is needed. The CLI must be on the assistant's PATH. See the [command reference](https://github.com/Evanston09/plankton/blob/main/docs/cli.md) for the output contract and examples.
22
22
 
package/dist/commands.js CHANGED
@@ -71,7 +71,7 @@ export async function runCli(argv) {
71
71
  const program = new Command()
72
72
  .name("plankton")
73
73
  .description("Browse and update Planka boards, cards and checklists")
74
- .version("0.2.0")
74
+ .version("0.2.1")
75
75
  .option("--json", "Machine-readable results on stdout, errors on stderr")
76
76
  .addHelpCommand()
77
77
  .exitOverride()
package/dist/prompt.js CHANGED
@@ -4,6 +4,6 @@ export async function ask(prompt, secret = false) {
4
4
  if (!process.stdin.isTTY) {
5
5
  throw new PlanktonError("VALIDATION", "Run setup/login interactively in a terminal. Never pass credentials as command arguments.");
6
6
  }
7
- return (await (secret ? password : input)({ message: prompt }, { output: process.stderr })).trim();
7
+ return (await (secret ? password : input)({ message: prompt, ...(secret ? { mask: "*" } : {}) }, { output: process.stderr })).trim();
8
8
  }
9
9
  //# sourceMappingURL=prompt.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prompt.js","sourceRoot":"","sources":["../src/prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,MAAM,CAAC,KAAK,UAAU,GAAG,CAAC,MAAc,EAAE,MAAM,GAAG,KAAK;IACtD,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;QACzB,MAAM,IAAI,aAAa,CACrB,YAAY,EACZ,2FAA2F,CAC5F,CAAC;IACJ,CAAC;IACD,OAAO,CACL,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAC/B,EAAE,OAAO,EAAE,MAAM,EAAE,EACnB,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAC3B,CACF,CAAC,IAAI,EAAE,CAAC;AACX,CAAC"}
1
+ {"version":3,"file":"prompt.js","sourceRoot":"","sources":["../src/prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,MAAM,CAAC,KAAK,UAAU,GAAG,CAAC,MAAc,EAAE,MAAM,GAAG,KAAK;IACtD,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;QACzB,MAAM,IAAI,aAAa,CACrB,YAAY,EACZ,2FAA2F,CAC5F,CAAC;IACJ,CAAC;IACD,OAAO,CACL,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAC/B,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EACrD,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAC3B,CACF,CAAC,IAAI,EAAE,CAAC;AACX,CAAC"}
package/dist/storage.d.ts CHANGED
@@ -29,6 +29,6 @@ export declare function connectedClient(store: CredentialStore): Promise<PlankaC
29
29
  export declare function saveValidatedConnection(store: CredentialStore, url: string, session: Session): Promise<{
30
30
  id: string;
31
31
  name: string | undefined;
32
- username: string | undefined;
32
+ username: string | null | undefined;
33
33
  }>;
34
34
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Evan Kim",
3
3
  "name": "@evanston/plankton",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "description": "Planka CLI for people and explicitly invoked agent skills",
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@inquirer/prompts": "^7.10.1",
24
24
  "@napi-rs/keyring": "^1.2.0",
25
- "@evanston/plankton-core": "^0.2.0",
25
+ "@evanston/plankton-core": "^0.2.1",
26
26
  "commander": "^14.0.3",
27
27
  "playwright": "^1.55.0",
28
28
  "zod": "^4.0.0"