6c92f85d10
Bring the Nexus/Praxis/Hexis integration in line with MAVEN_ECOSYSTEM_ARCHITECTURE.md: - Praxis over HTTP: drop the in-process praxis.db open (praxisstore/ praxistools) and call praxisd's /api/v1/tools/* API via a new praxisClient. Honors the "no component reads another's DB" invariant (AC#12). PraxisConfig.DBPath -> URL. - Hexis confirmation gate: mutating capabilities (ReadOnly=false) now park a bound pendingHexis confirmation and require a spoken "да" before executing; read-only run immediately (AC#7, no auto attention->action). - Capability safety: >1 verb match is ambiguous -> ask instead of firing the first; ambiguous Nexus resolution asks for clarification (AC#2). - Correlation IDs on Hexis execute, recorded in the cross-service trace. - Bug: importance arrives as JSON float64 over HTTP, not int. - Tests: confirm-gate, decline, read-only, and ambiguity paths. Build: vendor/ bakes in the hexis client (replace-directed at a sibling repo outside the Docker context); Dockerfile builds from vendor and no longer `go mod download`s the unreachable replace paths. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
142 lines
3.3 KiB
Go
142 lines
3.3 KiB
Go
// Code generated by modernc.org/undup from the per-target sqlite_*.go files; DO NOT EDIT.
|
|
|
|
//go:build (darwin && amd64) || (darwin && arm64) || (freebsd && 386) || (freebsd && amd64) || (linux && 386) || (linux && amd64) || (linux && loong64) || (netbsd && amd64) || (openbsd && amd64) || (windows && (amd64 || arm64))
|
|
|
|
package sqlite3
|
|
|
|
// C documentation
|
|
//
|
|
// /*
|
|
// ** A structure for holding a single date and time.
|
|
// */
|
|
type TDateTime = struct {
|
|
FiJD Tsqlite3_int64
|
|
FY int32
|
|
FM int32
|
|
FD int32
|
|
Fh int32
|
|
Fm int32
|
|
Ftz int32
|
|
Fs float64
|
|
FvalidJD int8
|
|
FvalidYMD int8
|
|
FvalidHMS int8
|
|
FnFloor int8
|
|
F__ccgo44 uint8
|
|
}
|
|
|
|
type TJsonString = struct {
|
|
FpCtx uintptr
|
|
FzBuf uintptr
|
|
FnAlloc Tu64
|
|
FnUsed Tu64
|
|
FbStatic Tu8
|
|
FeErr Tu8
|
|
FzSpace [100]int8
|
|
}
|
|
|
|
// C documentation
|
|
//
|
|
// /*
|
|
// ** Each open file is managed by a separate instance of the "Pager" structure.
|
|
// */
|
|
type TPager = struct {
|
|
FpVfs uintptr
|
|
FexclusiveMode Tu8
|
|
FjournalMode Tu8
|
|
FuseJournal Tu8
|
|
FnoSync Tu8
|
|
FfullSync Tu8
|
|
FextraSync Tu8
|
|
FsyncFlags Tu8
|
|
FwalSyncFlags Tu8
|
|
FtempFile Tu8
|
|
FnoLock Tu8
|
|
FreadOnly Tu8
|
|
FmemDb Tu8
|
|
FmemVfs Tu8
|
|
FeState Tu8
|
|
FeLock Tu8
|
|
FchangeCountDone Tu8
|
|
FsetSuper Tu8
|
|
FdoNotSpill Tu8
|
|
FsubjInMemory Tu8
|
|
FbUseFetch Tu8
|
|
FhasHeldSharedLock Tu8
|
|
FdbSize TPgno
|
|
FdbOrigSize TPgno
|
|
FdbFileSize TPgno
|
|
FdbHintSize TPgno
|
|
FerrCode int32
|
|
FnRec int32
|
|
FcksumInit Tu32
|
|
FnSubRec Tu32
|
|
FpInJournal uintptr
|
|
Ffd uintptr
|
|
Fjfd uintptr
|
|
Fsjfd uintptr
|
|
FjournalOff Ti64
|
|
FjournalHdr Ti64
|
|
FpBackup uintptr
|
|
FaSavepoint uintptr
|
|
FnSavepoint int32
|
|
FiDataVersion Tu32
|
|
FdbFileVers [16]int8
|
|
FnMmapOut int32
|
|
FszMmap Tsqlite3_int64
|
|
FpMmapFreelist uintptr
|
|
FnExtra Tu16
|
|
FnReserve Ti16
|
|
FvfsFlags Tu32
|
|
FsectorSize Tu32
|
|
FmxPgno TPgno
|
|
FlckPgno TPgno
|
|
FpageSize Ti64
|
|
FjournalSizeLimit Ti64
|
|
FzFilename uintptr
|
|
FzJournal uintptr
|
|
FxBusyHandler uintptr
|
|
FpBusyHandlerArg uintptr
|
|
FaStat [4]Tu32
|
|
FxReiniter uintptr
|
|
FxGet uintptr
|
|
FpTmpSpace uintptr
|
|
FpPCache uintptr
|
|
FpWal uintptr
|
|
FzWal uintptr
|
|
}
|
|
|
|
type Tsqlite3rbu = struct {
|
|
FeStage int32
|
|
FdbMain uintptr
|
|
FdbRbu uintptr
|
|
FzTarget uintptr
|
|
FzRbu uintptr
|
|
FzState uintptr
|
|
FzStateDb [5]int8
|
|
Frc int32
|
|
FzErrmsg uintptr
|
|
FnStep int32
|
|
FnProgress Tsqlite3_int64
|
|
Fobjiter TRbuObjIter
|
|
FzVfsName uintptr
|
|
FpTargetFd uintptr
|
|
FnPagePerSector int32
|
|
FiOalSz Ti64
|
|
FnPhaseOneStep Ti64
|
|
FpRenameArg uintptr
|
|
FxRename uintptr
|
|
FiMaxFrame Tu32
|
|
FmLock Tu32
|
|
FnFrame int32
|
|
FnFrameAlloc int32
|
|
FaFrame uintptr
|
|
Fpgsz int32
|
|
FaBuf uintptr
|
|
FiWalCksum Ti64
|
|
FszTemp Ti64
|
|
FszTempLimit Ti64
|
|
FnRbu int32
|
|
FpRbuFd uintptr
|
|
}
|