@pmate/cli 0.29.2 → 0.29.4

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
@@ -162,7 +162,7 @@ a specific app; the default remains `@pmate/cli`.
162
162
 
163
163
  Notes:
164
164
  - Existing single-session files are migrated automatically on first read.
165
- - Platform commands such as `pmate sts`, `pmate agent`, and `pmate app` still
165
+ - Platform commands such as `pmate sts`, `pmate function`, and `pmate app` still
166
166
  default to the `@pmate/cli` session.
167
167
 
168
168
  ## IM1 / CC messages
package/dist/index.d.ts CHANGED
@@ -22,8 +22,6 @@ declare enum Command {
22
22
  Random = "random",
23
23
  Collect = "collect",
24
24
  ChatRoom = "chat-room",
25
- Agent = "agent",
26
- Runner = "runner",
27
25
  Function = "function",
28
26
  Worker = "worker",
29
27
  Call = "call",
@@ -701,111 +699,6 @@ type ChatRoomCommandArgs = (ChatRoomCommonArgs & {
701
699
  hubUrl?: string;
702
700
  authBaseUrl?: string;
703
701
  };
704
- type AgentCommandArgs = {
705
- type: Command.Agent;
706
- action: "list";
707
- namespace?: string;
708
- baseUrl?: string;
709
- json: boolean;
710
- } | {
711
- type: Command.Agent;
712
- action: "namespaces";
713
- baseUrl?: string;
714
- json: boolean;
715
- } | {
716
- type: Command.Agent;
717
- action: "get" | "view";
718
- namespace: string;
719
- name: string;
720
- baseUrl?: string;
721
- json: boolean;
722
- } | {
723
- type: Command.Agent;
724
- action: "create";
725
- namespace: string;
726
- filePath: string;
727
- baseUrl?: string;
728
- json: boolean;
729
- } | {
730
- type: Command.Agent;
731
- action: "update";
732
- namespace: string;
733
- name: string;
734
- filePath: string;
735
- baseUrl?: string;
736
- json: boolean;
737
- } | {
738
- type: Command.Agent;
739
- action: "delete";
740
- namespace: string;
741
- name: string;
742
- baseUrl?: string;
743
- json: boolean;
744
- } | {
745
- type: Command.Agent;
746
- action: "call";
747
- namespace: string;
748
- name: string;
749
- payload?: Record<string, unknown>;
750
- filePath?: string;
751
- baseUrl?: string;
752
- hubBaseUrl?: string;
753
- profileId?: string;
754
- json: boolean;
755
- } | {
756
- type: Command.Agent;
757
- action: "rename";
758
- namespace: string;
759
- fromName: string;
760
- toName: string;
761
- baseUrl?: string;
762
- json: boolean;
763
- } | {
764
- type: Command.Agent;
765
- action: "move";
766
- namespace: string;
767
- fromName: string;
768
- targetNamespace: string;
769
- toName?: string;
770
- baseUrl?: string;
771
- json: boolean;
772
- };
773
- type RunnerCommandArgs = {
774
- type: Command.Runner;
775
- action: "list";
776
- namespace?: string;
777
- baseUrl?: string;
778
- json: boolean;
779
- } | {
780
- type: Command.Runner;
781
- action: "get" | "view";
782
- namespace: string;
783
- name: string;
784
- baseUrl?: string;
785
- json: boolean;
786
- } | {
787
- type: Command.Runner;
788
- action: "create";
789
- namespace: string;
790
- filePath: string;
791
- baseUrl?: string;
792
- json: boolean;
793
- } | {
794
- type: Command.Runner;
795
- action: "update";
796
- namespace: string;
797
- name: string;
798
- filePath: string;
799
- baseUrl?: string;
800
- json: boolean;
801
- } | {
802
- type: Command.Runner;
803
- action: "delete";
804
- namespace: string;
805
- name: string;
806
- baseUrl?: string;
807
- json: boolean;
808
- };
809
702
  type RegistryResourceCommandArgs<T extends Command.Function | Command.Worker> = {
810
703
  type: T;
811
704
  action: "list";
@@ -1236,7 +1129,7 @@ type VercelDeploysCommandArgs = {
1236
1129
  lastWeek: boolean;
1237
1130
  };
1238
1131
  type VercelCommandArgs = VercelProjectsCommandArgs | VercelDeploysCommandArgs;
1239
- type CommandArgs = NoneCommandArgs | ListCommandArgs | LoginCommandArgs | AddDnsCommandArgs | StsCommandArgs | BucketCommandArgs | DeployCommandArgs | LogCommandArgs | InitCommandArgs | DeleteCommandArgs | DevCommandArgs | EnvCommandArgs | PrCommandArgs | CommitCommandArgs | SummaryCommandArgs | QuizCommandArgs | ServiceCommandArgs | LinearCommandArgs | NotionCommandArgs | OssCommandArgs | QrcodeCommandArgs | RandomCommandArgs | CollectCommandArgs | ChatRoomCommandArgs | AgentCommandArgs | RunnerCommandArgs | FunctionCommandArgs | WorkerCommandArgs | CallCommandArgs | NsCommandArgs | RoleCommandArgs | AccountCommandArgs | OrgCommandArgs | StoreCommandArgs | AppCommandArgs | VercelCommandArgs | HostCommandArgs;
1132
+ type CommandArgs = NoneCommandArgs | ListCommandArgs | LoginCommandArgs | AddDnsCommandArgs | StsCommandArgs | BucketCommandArgs | DeployCommandArgs | LogCommandArgs | InitCommandArgs | DeleteCommandArgs | DevCommandArgs | EnvCommandArgs | PrCommandArgs | CommitCommandArgs | SummaryCommandArgs | QuizCommandArgs | ServiceCommandArgs | LinearCommandArgs | NotionCommandArgs | OssCommandArgs | QrcodeCommandArgs | RandomCommandArgs | CollectCommandArgs | ChatRoomCommandArgs | FunctionCommandArgs | WorkerCommandArgs | CallCommandArgs | NsCommandArgs | RoleCommandArgs | AccountCommandArgs | OrgCommandArgs | StoreCommandArgs | AppCommandArgs | VercelCommandArgs | HostCommandArgs;
1240
1133
 
1241
1134
  interface ParsedArgs {
1242
1135
  help: boolean;