@narumitw/pi-sync 0.5.0 → 0.6.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/sync.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-sync",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
4
  "description": "Pi extension that syncs Pi configuration through Cloudflare R2 or S3-compatible storage.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/sync.ts CHANGED
@@ -299,7 +299,7 @@ async function showConfig(ctx: ExtensionCommandContext) {
299
299
  }
300
300
 
301
301
  async function status(ctx: ExtensionCommandContext) {
302
- ctx.ui.setStatus(STATUS_KEY, "🔄 checking");
302
+ ctx.ui.setStatus(STATUS_KEY, "checking");
303
303
  const config = await loadConfig();
304
304
  const client = new S3Client(config);
305
305
  const local = await createSnapshot(config.profile, snapshotOptionsForContext(ctx, config));
@@ -330,7 +330,7 @@ async function status(ctx: ExtensionCommandContext) {
330
330
  }
331
331
 
332
332
  async function diff(ctx: ExtensionCommandContext) {
333
- ctx.ui.setStatus(STATUS_KEY, "🔄 diff");
333
+ ctx.ui.setStatus(STATUS_KEY, "diff");
334
334
  const config = await loadConfig();
335
335
  const client = new S3Client(config);
336
336
  const local = await createSnapshot(config.profile, snapshotOptionsForContext(ctx, config));
@@ -395,7 +395,7 @@ async function push(
395
395
  options: CommandOptions,
396
396
  input?: PushInput,
397
397
  ) {
398
- ctx.ui.setStatus(STATUS_KEY, "🔄 pushing");
398
+ ctx.ui.setStatus(STATUS_KEY, "pushing");
399
399
  const config = input?.config ?? (await loadConfig());
400
400
  const client = input?.client ?? new S3Client(config);
401
401
  const state = input?.state ?? (await readState(config.profile));
@@ -446,7 +446,7 @@ async function push(
446
446
  }
447
447
 
448
448
  async function pull(ctx: ExtensionCommandContext | ExtensionContext, options: CommandOptions) {
449
- ctx.ui.setStatus(STATUS_KEY, "🔄 pulling");
449
+ ctx.ui.setStatus(STATUS_KEY, "pulling");
450
450
  const config = await loadConfig();
451
451
  const client = new S3Client(config);
452
452
  const state = await readState(config.profile);