ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IStorageService, StorageScope, StorageTarget } from '../../../../platform/storage/common/storage.js';
const MILLISECONDS_PER_DAY = 24 * 60 * 60 * 1000;
const HOURS_PER_HUNGER_STATE = 6;
const STREAK_COUNT_KEY = 'sessions.aquarium.streak.count';
const STREAK_LAST_FED_KEY = 'sessions.aquarium.streak.lastFedAt';
const STREAK_LAST_FED_DAY_KEY = 'sessions.aquarium.streak.lastFedDay';
const STREAK_REVIVABLE_KEY = 'sessions.aquarium.streak.revivable';
function getLocalCalendarDaytimestamp
date timestamp
Datedate date date
count
started
revived
storageService IStorageService
Datenow
timestamp getLocalCalendarDay
storageService StorageScope
storageService StorageScope
storageService StorageScope
storageService StorageScope
now
lastFedDay lastFedDay
rawCount
lastFedDay
now lastFedDay
isAlive rawCount
FishHungerState
count rawCount
count
revivableCount
now
lastFedDay lastFedDay
lastFedDay
daysSinceFed now lastFedDay
daysSinceFed
daysSinceFed
hour now
hour
hour
hour
lastFedDay lastFedDay
rawCount lastFedDay
now
daysSinceFed now lastFedDay
daysSinceFed daysSinceFed
nextBoundary now
nextHour daysSinceFed
MathnextBoundary
nextBoundarynextHour
Math nextBoundary now
now
count rawCount
count now
revivable MathrevivableCount count
revivable
count
IFeedResult
now
calendarDay now
now
alive now
lastFedDay lastFedDay
revivable revivableCount
count
revived
alive lastFedDay calendarDay lastFedDay
count rawCount
count
alive
count rawCount
revivable
count revivable
revived
count
count
count
now
calendarDay
revivable
count started alive revived revived
rawCount
lastFedAt lastFedAt
lastFedAt
lastFedAt
lastFedAt
lastFedDay
lastFedAt
count alive
count
storageService StorageScope
alive
now
count
now
now
storageService StorageScope
count
key value
storageServicekey value StorageScope StorageTarget