agy-family 0.6.7 → 0.6.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agy-family",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Zero-privacy-leak transparent usage dashboard, /family slash command, and fair-use budget guardrail for Google One / Antigravity family groups.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -71,7 +71,7 @@ import {
71
71
  upsertHostEntry,
72
72
  } from '../src/host.mjs';
73
73
 
74
- const CLI_VERSION = '0.6.7';
74
+ const CLI_VERSION = '0.6.8';
75
75
  const THIS_CLI_PATH = fileURLToPath(import.meta.url);
76
76
  const PACKAGE_ROOT = resolve(dirname(THIS_CLI_PATH), '..', '..', '..');
77
77
 
@@ -890,7 +890,7 @@ export async function runHeadlessSync({ cfg, fullSync = false, home = homedir(),
890
890
  const { payload, scan, nextSyncedHashes, nextAccountLedger } = await buildSyncPayload({
891
891
  deviceId,
892
892
  clientKind: 'cli',
893
- clientVersion: '0.6.7',
893
+ clientVersion: '0.6.8',
894
894
  home,
895
895
  fileCache: cache,
896
896
  syncedHashes: prevHashes,
@@ -83,7 +83,7 @@ export function diffSyncBuckets(buckets, syncedHashes = null, { fullSync = false
83
83
  export async function buildSyncPayload({
84
84
  deviceId,
85
85
  clientKind = 'cli',
86
- clientVersion = '0.6.7',
86
+ clientVersion = '0.6.8',
87
87
  home,
88
88
  roots = null,
89
89
  sourceFilter = 'all',
@@ -164,7 +164,7 @@ export async function buildSyncPayload({
164
164
  deviceId: String(deviceId || deriveAnonymousDeviceId()).slice(0, 32),
165
165
  client: {
166
166
  kind: clientKind === 'extension' ? 'extension' : 'cli',
167
- version: String(clientVersion || '0.6.7').slice(0, 24),
167
+ version: String(clientVersion || '0.6.8').slice(0, 24),
168
168
  ...(platformLabel ? { platform: platformLabel } : {}),
169
169
  },
170
170
  account: {
@@ -26,7 +26,7 @@ import {
26
26
  import { FAVICON_SVG, renderDashboardHtml } from './ui.mjs';
27
27
  import { dispatchWebhook, sendDedupedAlert, validateWebhookUrl } from './webhooks.mjs';
28
28
 
29
- export const SERVER_VERSION = '0.6.7';
29
+ export const SERVER_VERSION = '0.6.8';
30
30
  const MAX_BUCKETS_PER_SYNC = 1000;
31
31
  const MAX_DEVICES_PER_MEMBER = 8;
32
32
  const MAX_TOKENS_PER_BUCKET = 500_000_000;
@@ -1968,6 +1968,7 @@ export function renderDashboardHtml({ boardTitle = 'Antigravity 家庭组' } = {
1968
1968
  <span id="updatedLine">--:--</span>
1969
1969
  <span class="sync-sep" aria-hidden="true">·</span>
1970
1970
  <select class="refresh-select" id="autoRefreshSelect" data-compact="true" aria-label="自动刷新间隔" title="自动刷新间隔">
1971
+ <option value="5">5s</option>
1971
1972
  <option value="10">10s</option>
1972
1973
  <option value="15">15s</option>
1973
1974
  <option value="30" selected>30s</option>
@@ -2157,7 +2158,7 @@ export function renderDashboardHtml({ boardTitle = 'Antigravity 家庭组' } = {
2157
2158
 
2158
2159
  <footer class="foot">
2159
2160
  <span data-i18n="privacyNote">隐私承诺:客户端仅只读扫描本地 SQLite 数值元数据,绝不上传 Prompt、代码、文件路径或 Google 凭据。</span>
2160
- <span class="mono">agy-family v0.6.7 · MIT</span>
2161
+ <span class="mono">agy-family v0.6.8 · MIT</span>
2161
2162
  </footer>
2162
2163
  </main>
2163
2164
 
@@ -4746,7 +4747,7 @@ document.getElementById('agfSelectMenu')?.addEventListener('click', (e) => {
4746
4747
  window.addEventListener('resize', () => closeCustomSelect(false));
4747
4748
  document.getElementById('adminContent')?.addEventListener('scroll', () => closeCustomSelect(false), { passive: true });
4748
4749
 
4749
- const ALLOWED_REFRESH_SECS = [0, 10, 15, 30, 60, 300];
4750
+ const ALLOWED_REFRESH_SECS = [0, 5, 10, 15, 30, 60, 300];
4750
4751
  let autoRefreshSec = (() => {
4751
4752
  const raw = localStorage.getItem('agf_refresh_sec');
4752
4753
  if (raw === null || raw === '') return 30;