@pmate/cli 0.13.2 → 0.14.0
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 +10 -3
- package/dist/index.d.ts +5 -0
- package/dist/index.js +3514 -3142
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,6 +32,7 @@ pmate login --app @pmate/chat
|
|
|
32
32
|
pmate sts
|
|
33
33
|
pmate oss list
|
|
34
34
|
pmate oss upload --file ./path/to/file --key assets/file.txt
|
|
35
|
+
pmate oss upload --file ./path/to/file --key upload/file.txt --bucket parrot-static
|
|
35
36
|
pmate pr
|
|
36
37
|
pmate commit
|
|
37
38
|
pmate commit --push
|
|
@@ -148,9 +149,15 @@ pmate linear pr --account work
|
|
|
148
149
|
|
|
149
150
|
## Auth session
|
|
150
151
|
|
|
151
|
-
`pmate login` stores
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
`pmate login` stores sessions in `~/.pmate/session.json`. The file now keeps a
|
|
153
|
+
multi-app session registry keyed by app id, so logging into one app no longer
|
|
154
|
+
overwrites another app's session. Use `--app <app-id>` to authenticate against
|
|
155
|
+
a specific app; the default remains `@pmate/cli`.
|
|
156
|
+
|
|
157
|
+
Notes:
|
|
158
|
+
- Existing single-session files are migrated automatically on first read.
|
|
159
|
+
- Platform commands such as `pmate sts`, `pmate agent`, and `pmate app` still
|
|
160
|
+
default to the `@pmate/cli` session.
|
|
154
161
|
|
|
155
162
|
## Notion config
|
|
156
163
|
|
package/dist/index.d.ts
CHANGED
|
@@ -61,6 +61,10 @@ type LogCommandArgs = {
|
|
|
61
61
|
type: Command.Log;
|
|
62
62
|
logApp: string;
|
|
63
63
|
logCwd: string;
|
|
64
|
+
logNamespace?: string;
|
|
65
|
+
logPage: number;
|
|
66
|
+
logHistory: boolean;
|
|
67
|
+
logSearch?: string;
|
|
64
68
|
};
|
|
65
69
|
type InitCommandArgs = {
|
|
66
70
|
type: Command.Init;
|
|
@@ -227,6 +231,7 @@ type OssCommandArgs = {
|
|
|
227
231
|
} | {
|
|
228
232
|
type: Command.Oss;
|
|
229
233
|
action: "upload";
|
|
234
|
+
bucket?: string;
|
|
230
235
|
filePath: string;
|
|
231
236
|
objectKey: string;
|
|
232
237
|
};
|