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>
114 lines
3.0 KiB
Go
114 lines
3.0 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) || (freebsd && arm64) || (linux && 386) || (linux && amd64) || (linux && arm64) || (linux && loong64) || (linux && ppc64le) || (linux && riscv64) || (linux && s390x) || (netbsd && amd64) || (openbsd && amd64) || (openbsd && arm64)
|
|
|
|
package sqlite3
|
|
|
|
import (
|
|
"modernc.org/libc"
|
|
)
|
|
|
|
type Titimerval = struct {
|
|
Fit_interval Ttimeval
|
|
Fit_value Ttimeval
|
|
}
|
|
|
|
/*
|
|
** An instance of the following structure serves as the key used
|
|
** to locate a particular unixInodeInfo object.
|
|
*/
|
|
type TunixFileId = struct {
|
|
Fdev Tdev_t
|
|
Fino Tu64
|
|
}
|
|
|
|
var _aFlagOp = [21]struct {
|
|
Fop int32
|
|
Fmask Tu64
|
|
}{
|
|
0: {
|
|
Fop: int32(SQLITE_DBCONFIG_ENABLE_FKEY),
|
|
Fmask: uint64(SQLITE_ForeignKeys),
|
|
},
|
|
1: {
|
|
Fop: int32(SQLITE_DBCONFIG_ENABLE_TRIGGER),
|
|
Fmask: uint64(SQLITE_EnableTrigger),
|
|
},
|
|
2: {
|
|
Fop: int32(SQLITE_DBCONFIG_ENABLE_VIEW),
|
|
Fmask: uint64(SQLITE_EnableView),
|
|
},
|
|
3: {
|
|
Fop: int32(SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER),
|
|
Fmask: uint64(SQLITE_Fts3Tokenizer),
|
|
},
|
|
4: {
|
|
Fop: int32(SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION),
|
|
Fmask: uint64(SQLITE_LoadExtension),
|
|
},
|
|
5: {
|
|
Fop: int32(SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE),
|
|
Fmask: uint64(SQLITE_NoCkptOnClose),
|
|
},
|
|
6: {
|
|
Fop: int32(SQLITE_DBCONFIG_ENABLE_QPSG),
|
|
Fmask: uint64(SQLITE_EnableQPSG),
|
|
},
|
|
7: {
|
|
Fop: int32(SQLITE_DBCONFIG_TRIGGER_EQP),
|
|
Fmask: uint64(SQLITE_TriggerEQP),
|
|
},
|
|
8: {
|
|
Fop: int32(SQLITE_DBCONFIG_RESET_DATABASE),
|
|
Fmask: uint64(SQLITE_ResetDatabase),
|
|
},
|
|
9: {
|
|
Fop: int32(SQLITE_DBCONFIG_DEFENSIVE),
|
|
Fmask: uint64(SQLITE_Defensive),
|
|
},
|
|
10: {
|
|
Fop: int32(SQLITE_DBCONFIG_WRITABLE_SCHEMA),
|
|
Fmask: libc.Uint64FromInt32(libc.Int32FromInt32(SQLITE_WriteSchema) | libc.Int32FromInt32(SQLITE_NoSchemaError)),
|
|
},
|
|
11: {
|
|
Fop: int32(SQLITE_DBCONFIG_LEGACY_ALTER_TABLE),
|
|
Fmask: uint64(SQLITE_LegacyAlter),
|
|
},
|
|
12: {
|
|
Fop: int32(SQLITE_DBCONFIG_DQS_DDL),
|
|
Fmask: uint64(SQLITE_DqsDDL),
|
|
},
|
|
13: {
|
|
Fop: int32(SQLITE_DBCONFIG_DQS_DML),
|
|
Fmask: uint64(SQLITE_DqsDML),
|
|
},
|
|
14: {
|
|
Fop: int32(SQLITE_DBCONFIG_LEGACY_FILE_FORMAT),
|
|
Fmask: uint64(SQLITE_LegacyFileFmt),
|
|
},
|
|
15: {
|
|
Fop: int32(SQLITE_DBCONFIG_TRUSTED_SCHEMA),
|
|
Fmask: uint64(SQLITE_TrustedSchema),
|
|
},
|
|
16: {
|
|
Fop: int32(SQLITE_DBCONFIG_STMT_SCANSTATUS),
|
|
Fmask: uint64(SQLITE_StmtScanStatus),
|
|
},
|
|
17: {
|
|
Fop: int32(SQLITE_DBCONFIG_REVERSE_SCANORDER),
|
|
Fmask: uint64(SQLITE_ReverseOrder),
|
|
},
|
|
18: {
|
|
Fop: int32(SQLITE_DBCONFIG_ENABLE_ATTACH_CREATE),
|
|
Fmask: libc.Uint64FromInt32(libc.Int32FromInt32(0x00010)) << libc.Int32FromInt32(32),
|
|
},
|
|
19: {
|
|
Fop: int32(SQLITE_DBCONFIG_ENABLE_ATTACH_WRITE),
|
|
Fmask: libc.Uint64FromInt32(libc.Int32FromInt32(0x00020)) << libc.Int32FromInt32(32),
|
|
},
|
|
20: {
|
|
Fop: int32(SQLITE_DBCONFIG_ENABLE_COMMENTS),
|
|
Fmask: libc.Uint64FromInt32(libc.Int32FromInt32(0x00040)) << libc.Int32FromInt32(32),
|
|
},
|
|
}
|