vibe-coding-master 0.4.32 → 0.4.34

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.
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>VibeCodingMaster</title>
7
- <script type="module" crossorigin src="/assets/index-CKX3RbCz.js"></script>
7
+ <script type="module" crossorigin src="/assets/index-B0hNcYoB.js"></script>
8
8
  <link rel="stylesheet" crossorigin href="/assets/index-CuNHDIFw.css">
9
9
  </head>
10
10
  <body>
@@ -12,7 +12,7 @@ first channel was based on the local Tencent iLink smoke test at:
12
12
  Supported gateway channels:
13
13
 
14
14
  - Tencent iLink Bot API / Weixin DM
15
- - Lark bot over WebSocket event delivery
15
+ - Lark QR setup plus bot WebSocket event delivery
16
16
 
17
17
  ## Product Definition
18
18
 
@@ -73,8 +73,10 @@ Weixin DM or Lark identity
73
73
 
74
74
  The gateway stores channel credentials and the bound mobile user identity in
75
75
  app-local state. Weixin stores the iLink bot account token from QR login. Lark
76
- stores App ID/App Secret and binds a user only after that user sends a valid
77
- short-lived `/bind CODE` generated by desktop VCM.
76
+ QR setup creates/configures the bot app, stores App ID/App Secret locally, and
77
+ binds a user only after that user sends a valid short-lived `/bind CODE`
78
+ generated by desktop VCM. VCM does not support manual Lark App ID/App Secret
79
+ configuration.
78
80
 
79
81
  Messages from the bound identity are accepted. Messages from any other identity
80
82
  are ignored or receive a minimal "not bound" reply. They are not treated as
@@ -563,6 +565,7 @@ src/backend/gateway/
563
565
  gateway-audit-log.ts
564
566
  channels/
565
567
  lark-channel.ts
568
+ lark-registration.ts
566
569
  weixin-ilink-channel.ts
567
570
 
568
571
  src/backend/api/gateway-routes.ts
@@ -577,6 +580,8 @@ Responsibilities:
577
580
  - `lark-channel`: implement the generic adapter with Lark WebSocket event
578
581
  delivery, text send, chat id routing, mention filtering for groups, and
579
582
  pairing-code binding.
583
+ - `lark-registration`: implement QR setup (`init`, `begin`, `poll`) against
584
+ Lark account registration, then save the returned App ID/App Secret locally.
580
585
  - `gateway-command-parser`: parse `/help`, `/status`, `/projects`,
581
586
  `/use-project`, `/pull-current`, `/tasks`, `/use-task`, `/create-task`,
582
587
  `/close-task`, and `/translate`.
@@ -584,8 +589,8 @@ Responsibilities:
584
589
  - `gateway-service`: lifecycle, poll loop, command dispatch, PM terminal
585
590
  submission, PM Stop reply push, and error backoff. It must depend on the
586
591
  channel registry and generic adapter types, not Weixin/iLink-specific types.
587
- - `gateway-routes`: desktop UI settings, QR login start/status, Lark pairing
588
- code creation, enable/disable, rebind, and gateway status.
592
+ - `gateway-routes`: desktop UI settings, QR login start/status, Lark QR setup,
593
+ Lark pairing code creation, enable/disable, rebind, and gateway status.
589
594
 
590
595
  Service dependencies:
591
596
 
@@ -617,7 +622,7 @@ Binding: not bound / bound
617
622
  Translation: off / on
618
623
  Current project
619
624
  Current task
620
- QR login / Lark pairing code / Rebind
625
+ QR login / Lark QR setup / Lark pairing code / Rebind
621
626
  Last poll status
622
627
  Last message status
623
628
  ```
@@ -627,7 +632,7 @@ The user should be able to:
627
632
  - enable or disable gateway
628
633
  - select the gateway channel
629
634
  - start Weixin QR login
630
- - save Lark App ID/App Secret
635
+ - start Lark QR setup
631
636
  - generate a short-lived Lark pairing code
632
637
  - see whether the phone is bound
633
638
  - reset binding
@@ -767,9 +767,10 @@ Gateway product rules:
767
767
  identity.
768
768
 
769
769
  The Weixin channel uses Tencent iLink QR login, `getupdates` long polling, and
770
- `sendmessage` text replies. The Lark channel uses Lark bot App ID/App Secret,
771
- WebSocket event delivery, and a short-lived `/bind CODE` pairing flow. Gateway
772
- details and implementation plan live in `docs/gateway-design.md`.
770
+ `sendmessage` text replies. The Lark channel uses QR setup to create/configure a
771
+ bot app, stores the resulting App ID/App Secret locally, then uses WebSocket
772
+ event delivery and a short-lived `/bind CODE` pairing flow. Gateway details and
773
+ implementation plan live in `docs/gateway-design.md`.
773
774
 
774
775
  ## 15. Local State
775
776
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-coding-master",
3
- "version": "0.4.32",
3
+ "version": "0.4.34",
4
4
  "description": "Local GUI session cockpit for Claude Code role sessions.",
5
5
  "type": "module",
6
6
  "files": [