@masslessai/push-todo 4.5.3 → 4.5.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.
Files changed (2) hide show
  1. package/lib/connect.js +8 -11
  2. package/package.json +1 -1
package/lib/connect.js CHANGED
@@ -53,7 +53,7 @@ const VERSION = getVersion();
53
53
 
54
54
  // Client types
55
55
  const CLIENT_NAMES = {
56
- 'claude-code': 'Claude Code',
56
+ 'claude-code': 'Folders',
57
57
  'openai-codex': 'OpenAI Codex',
58
58
  'openclaw': 'OpenClaw'
59
59
  };
@@ -725,7 +725,7 @@ function getDeviceName() {
725
725
  * Initiate device code flow.
726
726
  */
727
727
  async function initiateDeviceFlow(clientType = 'claude-code') {
728
- const clientName = CLIENT_NAMES[clientType] || 'Claude Code';
728
+ const clientName = CLIENT_NAMES[clientType] || 'Folders';
729
729
 
730
730
  const response = await fetch(`${API_BASE}/device-auth/init`, {
731
731
  method: 'POST',
@@ -797,7 +797,7 @@ function openBrowser(url) {
797
797
  * Full device auth flow with browser sign-in.
798
798
  */
799
799
  async function doFullDeviceAuth(clientType = 'claude-code') {
800
- const clientName = CLIENT_NAMES[clientType] || 'Claude Code';
800
+ const clientName = CLIENT_NAMES[clientType] || 'Folders';
801
801
 
802
802
  console.log(' Initializing...');
803
803
 
@@ -902,7 +902,7 @@ async function doFullDeviceAuth(clientType = 'claude-code') {
902
902
  * Register project with backend.
903
903
  */
904
904
  async function registerProjectWithBackend(apiKey, clientType = 'claude-code', keywords = '', description = '') {
905
- const clientName = CLIENT_NAMES[clientType] || 'Claude Code';
905
+ const clientName = CLIENT_NAMES[clientType] || 'Folders';
906
906
 
907
907
  const payload = {
908
908
  client_type: clientType,
@@ -1157,7 +1157,7 @@ export async function runConnect(options = {}) {
1157
1157
  // Auto-detect calling agent (Claude Code, OpenClaw, Codex, etc.)
1158
1158
  const detection = detectCallerAgent(options.client);
1159
1159
  let clientType = detection.clientType;
1160
- const clientName = CLIENT_NAMES[clientType] || 'Claude Code';
1160
+ const clientName = CLIENT_NAMES[clientType] || 'Folders';
1161
1161
 
1162
1162
  // Handle --check-version (JSON output)
1163
1163
  if (options['check-version'] || options.checkVersion) {
@@ -1212,11 +1212,8 @@ export async function runConnect(options = {}) {
1212
1212
  // ─────────────────────────────────────────────────────────────────
1213
1213
 
1214
1214
  console.log('');
1215
- console.log(` Push Voice Tasks Connect`);
1216
- console.log(' ' + '='.repeat(40));
1217
- if (detection.method !== 'default') {
1218
- console.log(` Agent: ${clientName} (detected via ${detection.method})`);
1219
- }
1215
+ console.log(` Folders`);
1216
+ console.log(' ' + ''.repeat(30));
1220
1217
  console.log('');
1221
1218
 
1222
1219
  // Step 1: Check for updates
@@ -1390,7 +1387,7 @@ export async function runConnect(options = {}) {
1390
1387
  * @returns {Promise<Object>} Registration result with status, action_id, action_type, etc.
1391
1388
  */
1392
1389
  async function registerProjectWithBackendExplicit(apiKey, clientType, projectPath, gitRemote, projectContext = null) {
1393
- const clientName = CLIENT_NAMES[clientType] || 'Claude Code';
1390
+ const clientName = CLIENT_NAMES[clientType] || 'Folders';
1394
1391
 
1395
1392
  const payload = {
1396
1393
  client_type: clientType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masslessai/push-todo",
3
- "version": "4.5.3",
3
+ "version": "4.5.4",
4
4
  "description": "Voice tasks from Push iOS app for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {